gabrywu-public/knowledge-bank: An intelligent knowledge management system for Claude Code that automatically captures, stores, and retrieves development knowledge during your coding sessions.


An intelligent knowledge management system for Claude Code that automatically captures, stores, and retrieves development knowledge during your coding sessions.

Knowledge Bank is a lightweight Claude Code plugin that transforms your development workflow by:

  • ๐Ÿง  Automatically capturing valuable development insights through Claude Code’s hook system
  • ๐Ÿ“š Storing knowledge in a local SQLite database with powerful full-text search
  • ๐Ÿ” Smart retrieval of relevant context during development sessions
  • ๐Ÿ—๏ธ Intelligent organization using multi-dimensional classification
  • โšก Zero-friction integration with your existing Claude Code workflow
  • Node.js >= 18.0.0
  • Claude Code CLI installed and configured
# Install Knowledge Bank globally
npm install -g @gabrywu/knowledge-bank --registry https://registry.npmjs.org
# For alpha/beta versions, use:
npm install -g @gabrywu/knowledge-bank@alpha --registry https://registry.npmjs.org

# Install the Knowledge Bank plugin
knowledge-bank install

# Uninstall plugin
knowledge-bank uninstall
# Check installation status
knowledge-bank knowledge-status

Knowledge Bank includes a built-in web interface for browsing and exploring your local knowledge database through a user-friendly dashboard.

Starting the Web Interface

# Start web server (production mode)
knowledge-bank web

The web interface will be available at http://localhost:3000 (or your specified port).

The web interface provides comprehensive access to your knowledge database:

  • System Statistics: Quick overview of repositories, sessions, knowledge items, and hook events
  • Repository Browser: Navigate through your Git repositories and their associated knowledge
  • Real-time Data: Live view of your current knowledge database state

๐Ÿ“Š Knowledge Management

  • Knowledge Items Viewer: Browse, search, and filter all captured knowledge items
    • Filter by type (architecture, code_pattern, tool_usage, config, pitfall, API_usage, exploration)
    • Filter by status (draft, suggested, verified)
    • Filter by scope (personal, project, organization)
    • Full-text search across titles, summaries, and content
  • Markdown Rendering: Rich display of knowledge content with proper formatting
  • Knowledge Details: Expandable rows showing complete knowledge item information
  • Session History: View all Claude Code sessions organized by repository
  • Session Details: Browse session metadata including working directory, branch, and timestamps
  • Session Filtering: Search sessions by session ID, branch, or working directory
  • Event History: Monitor all Claude Code hook events across sessions
  • Event Filtering: Filter by event name, session ID, or repository
  • Event Timeline: Chronological view of hook activations and system events
  • Table Explorer: Direct access to all database tables (repository, session, knowledge_item, hook_event)
  • Schema Viewer: Inspect database structure and relationships
  • Advanced Filtering: Multiple filter options per table with pagination
  • Sortable Columns: Click headers to sort by any column (ascending/descending)

๐Ÿ” Advanced Search & Navigation

  • Cross-table Relationships: Navigate between related repositories, sessions, and knowledge items
  • Repository-centric View: See all sessions, knowledge, and events for each repository
  • Responsive Design: Works seamlessly on desktop and mobile devices
  • Real-time Updates: Reflects the latest database state on page refresh

The web interface transforms your local knowledge database into an accessible, browsable resource that helps you leverage your accumulated development experience effectively.

This project is licensed under the ISC License – see the LICENSE file for details.


Transform your development workflow with intelligent knowledge management. Get started with Knowledge Bank today!



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *