By Sixz-AI
Progressive codebase knowledge base — clone git repos, auto-generate documentation, and build a searchable knowledge cache that grows smarter with every query.
Use this agent to scan a cloned code repository and generate per-function/class markdown documentation. Invoke during rk-create (full initial index) or rk-update (incremental processing of changed files). The agent enforces documentation granularity rules (one doc per function, split large classes by method) and builds _index.md summaries.
Use this agent to search a codebase knowledge base via 4-layer progressive matching (alias lookup → semantic index match → verify in cached doc → source-code fallback). The agent updates aliases on successful matches so future queries resolve faster. Invoke during rk-search for any natural-language query about an indexed project.
Create a new codebase knowledge base from a git repository URL. Clones the repo, scans all code files, generates documentation for each function/class, and builds a searchable index. Use when user says 'create knowledge base', 'index a repo', 'add a codebase', or provides a git URL to index.
Delete a codebase knowledge base and all its cached documentation. Removes the project cache, cloned repo, and registry entry. Use when user says 'delete knowledge base', 'remove repo', 'rk-delete', or wants to clean up a project.
List all codebase knowledge bases in the registry. Shows project name, git URL, last update time, and document count. Use when user says 'list repos', 'show knowledge bases', 'what codebases do I have', or 'rk-list'.
Save a piece of personal knowledge to the user's personal knowledge base (_personal project). No git repo needed — stores anything the user knows by heart: commands, tips, best practices, personal workflows. Searchable via rk-search, synced via rk-push/pull. Use when user says 'remember this', 'save this note', 'rk-memo', or wants to store a frequently-used snippet or trick.
Pull knowledge base from remote and merge into local. Fetches remote state, Agent compares diffs and merges (alias LRU merge for _index.md, union dedup for _registry.md, newer-cached-date wins for docs). Does NOT push — local only. Use when user says 'pull knowledge', 'sync from remote', 'rk-pull', or on a new machine to get existing knowledge without re-indexing.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A progressive codebase knowledge base plugin for AI coding assistants.
Clone any Git repo, auto-generate per-function/class documentation, and build a searchable cache that grows smarter with every query.
/plugin marketplace add Sixz-AI/repo-knowledge
/plugin install repo-knowledge@repo-knowledge
All commands use the repo-knowledge: namespace prefix, auto-registered by Claude Code's plugin system.
| Command | Description |
|---|---|
/repo-knowledge:rk-create <git-url> | Index a new repo |
/repo-knowledge:rk-search <query> | Semantic search |
/repo-knowledge:rk-update <project> | Incremental update + auto-sync |
/repo-knowledge:rk-memo <title>: <content> | Save personal knowledge (no repo needed) |
/repo-knowledge:rk-list | List all knowledge bases |
/repo-knowledge:rk-delete <project> | Delete a knowledge base |
/repo-knowledge:rk-remote-init <git-url> | Set up cross-machine sync |
/repo-knowledge:rk-push | Push to remote |
/repo-knowledge:rk-pull | Pull from remote |
Chinese docs: docs/zh/
~/.repo-knowledge/
|-- _registry.md # All registered projects
|-- _repos/ # Cloned git repositories
`-- <project>/ # Knowledge cache
|-- _meta.md # Project metadata
|-- _index.md # Searchable index with aliases
`-- docs/ # Cached documentation files
MIT
npx claudepluginhub sixz-ai/repo-knowledge --plugin repo-knowledgeRepository knowledge engine plugin. Bundles CLI-backed slash commands (ag-setup / ag-init / ag-refresh / ag-ask) plus the agent-repo-init skill. Works in both Claude Code and Codex CLI.
Optimized file search, semantic indexing, and persistent memory for Claude Code — with optional sync to a self-hosted web dashboard
Local-first memory server — hybrid BM25+vector search, vault management, lint, and launchd lifecycle for project knowledge.
5 methods to retrieve code context: DeepWiki, Context7, Exa, git clone, and web search+fetch
CodeAlive context engine for semantic code search and AI-powered codebase Q&A. Enables AI coding agents to understand entire codebases beyond just open files — search across all indexed repositories, trace cross-service dependencies, discover usage patterns, and get synthesized answers to architectural questions. Includes a lightweight code exploration subagent, authentication hooks, and multiple search modes (fast lexical, semantic, and deep cross-cutting). Works standalone or alongside the CodeAlive MCP server for direct tool access via the Model Context Protocol.
Full AI context layer over MCP — tree-sitter code-map, document RAG (PDF/Office/HTML/email + OCR + reranker), shared agent memory, on-demand web crawl, git history + blame + per-symbol diff. 300+ languages, 8 coding-agent harnesses, content-addressed Fjall + LanceDB.