gitnexus-cli
Skill2.2k starsChanged 24 days agoApache-2.0View on GitHub
Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples: \"Index this repo\", \"Reanalyze the codebase\", \"Generate a wiki\"
- Reads credentials
- Installs packages
13 other projects use a version of this, 12 of them edited; most edited versions we compared are an older text (9 of 12); 0 new projects in the last 4 weeks, against 1 the 4 before.
How people change it
Most projects run an older version: 9 of 12 add nothing and lack rules this one has, most likely added since.
Of the 12 edited versions we compared: 1 keep every rule, 9 are an older text, 2 made changes of their own.
Not in older versions
- Default location is
<repo>/.gitnexus/. Override with environment variables (also documented in README):missing from 9 of 9 - Index is stale after re-analyzing: Wait for the next MCP tool call to reopen the published index; this normally takes no more than five secondsmissing from 5 of 9
Rules people drop
- Default location is
<repo>/.gitnexus/. Override with environment variables (also documented in README):dropped by 2 of 2 - Index is stale after re-analyzing: Wait for the next MCP tool call to reopen the published index; this normally takes no more than five secondsdropped by 2 of 2
Rules people add
- All commands work via
npx— no global install required.added by 2 of 2
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Cooling: 0 new projects took it in the last 4 weeks, 0× the 4 weeks before.thin data
Most recently taken up by
- andrecrjr/mockzillaedited, first seen Nov 29, 2026
- VKirill/agent-consultedited, first seen Nov 16, 2026
- eduardtomasek/agent-code-inteledited, first seen Nov 8, 2026
- pandich93/youtube-niche-finderword for word, first seen Nov 1, 2026
- MarkChu-git/typesafe-mcpedited, first seen Nov 1, 2026
- metagit-ai/metagit-cliedited, first seen Oct 31, 2026
Who's talking about doobidoo/mcp-memory-service
- @mara.x0f.nl“what i use is github.com/doobidoo/mcp... it's quite advanced, and overall i'm quite happy with it it has a …”Bluesky · Sep 7, 2026 · 7 likes
- anthropics/claude-code“[Windows] SessionStart hooks cause infinite hang during initialization”GitHub · Oct 14, 2025 · 5 reactions
- @mara.x0f.nl“opencode is such a breath of fresh air after cc only thing i've been missing is a memory system but i'm now …”Bluesky · May 26, 2026 · 2 likes
- @mara.x0f.nl“you can add memory to opencode with a plugin, this is quite a popular one github.com/doobidoo/mcp... …”Bluesky · May 18, 2026 · 2 likes
- UfoMiao/zcf“Miscellaneous set of tools”GitHub · Aug 18, 2025 · 2 reactions
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub and Bluesky (53 times).
On GitHub · 50
- Oct 14, 2025[Windows] SessionStart hooks cause infinite hang during initialization — anthropics/claude-code5 reactions · 7 comments
- Aug 18, 2025Miscellaneous set of tools — UfoMiao/zcf2 reactions · 1 comment
- May 31, 2026fix(lychee): exclude deleted doobidoo/mcp-memory-service (404 on main) — techempower-org/mempalace1 reaction · 1 comment
- May 27, 2026Add doobidoo/mcp-memory-service — open-gitagent/registry1 reaction
- Nov 20, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: 12.11.0 → 13.0.0 — sudosubin/agents.nix0 reactions
45 more on GitHub
- Nov 20, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: 12.11.0 → 13.0.0 — sudosubin/agents.nix0 reactions
- Nov 16, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: 12.10.0 → 12.11.0 — sudosubin/agents.nix0 reactions
- Nov 16, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: 12.10.0 → 12.11.0 — sudosubin/agents.nix0 reactions
- Nov 16, 2026feat: expose measured consolidation progress to the dashboard — Jacob-Met/mcp-memory-servicesays it tested it0 reactions
- Nov 15, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: 12.9.0 → 12.10.0 — sudosubin/agents.nix0 reactions
- Nov 14, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: 12.9.0 → 12.10.0 — sudosubin/agents.nix0 reactions
- Nov 13, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: 12.8.0 → 12.9.0 — sudosubin/agents.nix0 reactions
- Nov 13, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: 12.8.0 → 12.9.0 — sudosubin/agents.nix0 reactions
- Nov 11, 2026feat(ai): give every agent brain tools through MCP, CLI and skill — dan-petty/devops-cli0 reactions · 9 comments
- Nov 10, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: 12.7.0 → 12.8.0 — sudosubin/agents.nix0 reactions
- Nov 10, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: 12.7.0 → 12.8.0 — sudosubin/agents.nix0 reactions
- Nov 7, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: 12.6.0 → 12.7.0 — sudosubin/agents.nix0 reactions
- Nov 7, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: 12.6.0 → 12.7.0 — sudosubin/agents.nix0 reactions
- Nov 5, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: 12.5.0 → 12.6.0 — sudosubin/agents.nix0 reactions
- Nov 5, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: 12.5.0 → 12.6.0 — sudosubin/agents.nix0 reactions
- Nov 3, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: 12.4.0 → 12.5.0 — sudosubin/agents.nix0 reactions
- Nov 3, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: 12.4.0 → 12.5.0 — sudosubin/agents.nix0 reactions
- Oct 29, 2026README: refresh the first screen and the comparison table for the 2026 landscape — maxkuminov/obsidian-mcp0 reactions
- Oct 28, 2026claude-code-plugins.github.doobidoo.mcp-memory-service: init at 12.4.0 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.doobidoo.mcp-memory-service: init at 12.4.0 — sudosubin/agents.nix0 reactions
- Oct 24, 2026Growth plan: reach 1,000 stars and build a real distribution engine — thedavidweng/agent-sessions0 reactions
- Oct 23, 2026MEMSYNC — Umbrella: governed synchronization of persistent memories across Cogentia agents — JeanHuguesRobert/cogentia0 reactions
- Oct 10, 2026docs: add MCP Memory Service Cell insight note — Giorno-Giovanna-Dio/AI-Agent-Products-Reviewed0 reactions
- Oct 7, 2026docs(profile): refresh live PR evidence — ducanhnguyen223/ducanhnguyen2230 reactions
- Oct 4, 2026Upstream release: MCP Memory Service 13.0.0 (pinned 11.14.0) — dockhold/mcp-memory-service-starter0 reactions
- Sep 19, 2026P3 CANDIDATE / NOT EXECUTION-AUTHORIZED — Provenance-preserving memory compaction gate — pashamango/minutta-rp-pr-cycle-lab0 reactions
- Sep 4, 2026[New Service] September 4 OSS catalog additions — haoruilee/awesome-agent-native-services0 reactions
- Aug 14, 2026[Argus] CVE-2026-50027: mcp-memory-service: Document API 엔드포인트 인증 누락으로 인한 비인증 메모리 읽기/쓰기/삭제 — LEEKIYOON-SEC/Argus-DEV0 reactions
- Aug 4, 2026fix(memory): pin mcp-memory-service to PyPI 11.6.1 — grantkl/claudebot0 reactions
- Aug 1, 2026Broken links detected in guide markdown — AMusso19/CUSTOM-claude-code-ultimate-guide-Florian0 reactions
- Aug 1, 2026Broken links detected in guide markdown — JAYcodr/claude-code-ultimate-guide-zh0 reactions
- Aug 1, 2026Broken links detected in guide markdown — alexica00/claude-code-ultimate-guide0 reactions
- Aug 1, 2026Broken links detected in guide markdown — FlorianBruniaux/claude-code-ultimate-guide0 reactions · 1 comment
- Jul 7, 2026Add Tree Ring Memory — jvidal86/awesome-claude-code-memory0 reactions
- Jul 7, 2026Add Tree Ring Memory — LangGPT/awesome-claude-code0 reactions
- Jul 1, 2026Broken links detected in guide markdown — AMusso19/CUSTOM-claude-code-ultimate-guide-Florian0 reactions
- Jul 1, 2026Broken links detected in guide markdown — alexica00/claude-code-ultimate-guide0 reactions
- Jul 1, 2026Broken links detected in guide markdown — JAYcodr/claude-code-ultimate-guide-zh0 reactions
- Jul 1, 2026Broken links detected in guide markdown — FlorianBruniaux/claude-code-ultimate-guide0 reactions · 1 comment
- Jun 16, 2026deps: bump mcp-memory-service from 10.54.0 to 10.74.1 — learn-ukrainian/learn-ukrainian.github.io0 reactions
- Jun 1, 2026stale-row: mcp-memory-service-doobidoo--gh-doobidoo-mcp-memory-service (abandoned, 1460d since last commit) — MrPeppersDev/agent-infrastructure-landscape0 reactions · 1 comment
- Jun 1, 2026Broken links detected in guide markdown — alexica00/claude-code-ultimate-guide0 reactions
- Jun 1, 2026Broken links detected in guide markdown — JAYcodr/claude-code-ultimate-guide-zh0 reactions
- Jun 1, 2026Broken links detected in guide markdown — FlorianBruniaux/claude-code-ultimate-guide0 reactions · 1 comment
- May 31, 2026ci(lychee): main-level link liabilities fail the gate on every PR (dead external ref + commit/HEAD placeholders) — techempower-org/mempalace0 reactions · 1 comment
On Bluesky · 3
- Sep 7, 2026what i use is github.com/doobidoo/mcp... it's quite advanced, and overall i'm quite happy with it it has a knowledge graph you can view on… — @mara.x0f.nl7 likes and reposts · 6 replies
- May 26, 2026opencode is such a breath of fresh air after cc only thing i've been missing is a memory system but i'm now trying… — @mara.x0f.nl2 likes and reposts · 1 reply
- May 18, 2026you can add memory to opencode with a plugin, this is quite a popular one github.com/doobidoo/mcp... (haven't personally tried it though) — @mara.x0f.nl2 likes and reposts · 1 reply
Other versions13 projects use a version of this.
Word for word · 1
- pandich93/youtube-niche-finder★ 33100% same
Edited · 12
- abhigyanpatwari/GitNexus★ 49k92% same
- ucsandman/DashClaw★ 318100% same
- kunwarVivek/mcp-github-project-manager★ 105100% same
- haoxiang-xu/PuPu★ 3794% same
- andrecrjr/mockzilla★ 894% same
- metagit-ai/metagit-cli★ 499% same
- MarkChu-git/typesafe-mcp★ 294% same
- vasceannie/slopgate★ 194% same
- VKirill/agent-consult★ 172% same
- AlexHercules/skills★ 077% same
2 more not listed
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/directives/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- site/llms.txtllms.txt
- gitnexus-debuggingSkill
- gitnexus-exploringSkill
- gitnexus-guideSkill
- gitnexus-impact-analysisSkill
- gitnexus-refactoringSkill
The file
We split this skill into the rules it gives an agent
5 rules. 1 is common, 1 is distinctive, and 3 are very specific to this project.
1
Common
Most of the 12 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Run from the project root.
- Very specific: line 39
Default location is <repo>/.gitnexus/.
- Very specific: line 104
Use the other GitNexus skills (exploring, debugging, impact-analysis, refactoring) for your task
- Common: line 108
"Not inside a git repository": Run from a directory inside a git repo
- Distinctive: line 109
Index is stale after re-analyzing: Wait for the next MCP tool call to reopen the published index.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitNexus CLI Commands
Commands below use node .gitnexus/run.cjs <command> — the project-local runner gitnexus analyze drops next to the index. It auto-selects an available runner at call time (global gitnexus, else pnpm dlx, else bunx, else npx), so no package-manager assumption and no global install is required — including on a bun-only machine, which has no npm, npx or pnpm at all.
Not analyzed yet, or
node .gitnexus/run.cjsreportsCannot find module(the gitignored runner is absent — e.g. a fresh clone orgit clean)? (Re)generate it withnpx gitnexus analyzefrom the project root, orbunx gitnexus@latest analyzeon a bun-only machine. On npm 11.x, ifnpxcrashes during install (node.target is null), install once withnpm i -g gitnexus(thengitnexus analyze), or usebunx gitnexus@latest analyze, orpnpm --allow-build=@ladybugdb/core --allow-build=gitnexus --allow-build=tree-sitter dlx gitnexus@latest analyze. See #1939.
Commands
analyze — Build or refresh the index
node .gitnexus/run.cjs analyzeRun from the project root. This parses all source files, builds the knowledge graph, writes it to .gitnexus/, and generates CLAUDE.md / AGENTS.md context files.
| Flag | Effect |
--watch | Keep a Git repository index current with serialized refreshes |
--debounce <ms> | Watch quiet period before refresh (default: 300 ms) |
--force | Force full re-index even if up to date |
--embeddings | Enable embedding generation for semantic search (off by default) |
--drop-embeddings | Drop existing embeddings on rebuild. By default, an analyze without --embeddings preserves them. |
--pdg | Build the program-dependence layers used by explain and pdg_query (taint, CDG, and REACHING_DEF). |
--spring-actuator <path> | Import opt-in Spring Boot Actuator mappings, beans, conditions, configprops, and env snapshots. Forces a full rebuild; unsupported with --watch. |
--asyncapi-spec <path> | Read opt-in AsyncAPI 3.x documents (directory or single file) and mint Destination nodes from their operations. 2.x is refused, not mapped. Unsupported with --watch. |
When to run: First time in a project, after major code changes, or when gitnexus://repo/{name}/context reports the index is stale. In Claude Code, a PostToolUse hook detects staleness after git commit and git merge and notifies the agent to run analyze — the hook does not run analyze itself, to avoid blocking the agent for up to 120s and risking KuzuDB corruption on timeout.
For Spring runtime enrichment, pass a JSON bundle, one endpoint JSON file, or a directory containing endpoint files. Route evidence is authoritative only when runtimeConfirmed === true; runtimeSource records provenance and may also accompany handler-conflict. Env/configprops values are never persisted.
Index storage and retention
Default location is <repo>/.gitnexus/. Override with environment variables (also documented in README):
| Env | Effect |
GITNEXUS_STORAGE_PATH | One complete external index directory. Wins if both storage vars are set. |
GITNEXUS_STORAGE_ROOT | Absolute root; GitNexus creates an isolated <repo-basename>-<12-hex>/ slot per repository. |
GITNEXUS_CONTENT_RETENTION | full (default) keeps file text; symbol keeps snippets; none keeps the graph only. |
list_repos, gitnexus://repo/{name}/context, and HTTP GET /api/repos / GET /api/repo expose storagePath, contentRetention, and sourceAvailable. HTTP /api/file and /api/grep return 410 unless retention is full. MCP include_content may still return symbol spans when retention is symbol.
Use node .gitnexus/run.cjs analyze --watch for a long-lived local Git repository. It performs an initial analysis, queues scanner-admitted file changes, and retries intact failed batches with bounded backoff. Watch refreshes update only the graph: they skip AGENTS.md / CLAUDE.md injection and standard skill installation, so run a one-shot analyze when those generated files need updating. Watch rejects one-shot or context-output flags including --force, embedding flags, --skills, --default-branch, --skip-agents-md, --skip-skills, --no-stats, --self-commit, --index-only, and --skip-git. It never pulls remotes. Scheduled remote clone/pull is a different command: gitnexus auto-sync. Bare gitnexus watch is reserved and does not start either job. Running MCP and serve processes periodically check for a published replacement and reopen it without a restart. MCP checks are throttled to once every five seconds, so a tool call before the next check can briefly use the previous index.
status — Check index freshness
node .gitnexus/run.cjs statusShows whether the current repo has a GitNexus index, when it was last updated, and symbol/relationship counts. Use this to check if re-indexing is needed.
clean — Delete the index
node .gitnexus/run.cjs cleanDeletes the .gitnexus/ directory and unregisters the repo from the global registry. Use before re-indexing if the index is corrupt or after removing GitNexus from a project.
| Flag | Effect |
--force | Skip confirmation prompt |
--all | Clean all indexed repos, not just the current one |
wiki — Generate documentation from the graph
node .gitnexus/run.cjs wikiGenerates repository documentation from the knowledge graph using an LLM. HTTP providers require an API key (saved to ~/.gitnexus/config.json on first use). Local CLI providers (--provider cursor|claude|codex|opencode|grok) use your existing CLI login.
| Flag | Effect |
--force | Force full regeneration, also required to re-generate an existing wiki in a different language |
--provider <name> | LLM provider: minimax, openai, openrouter, azure, custom, cursor, claude, codex, opencode, or grok (default: minimax). Local CLIs (cursor, claude, codex, opencode, grok) use your existing CLI login and skip --api-key. |
--model <model> | LLM model (default: MiniMax-M3) |
--base-url <url> | LLM API base URL |
--api-key <key> | LLM API key |
--concurrency <n> | Parallel LLM calls (default: 3) |
--timeout <seconds> | LLM request timeout in seconds (default: disabled) |
--retries <n> | Max LLM retry attempts per request (default: 3) |
--lang <lang> | Output language for generated documentation (e.g. english, chinese, spanish, japanese) |
--gist | Publish wiki as a public GitHub Gist |
list — Show all indexed repos
node .gitnexus/run.cjs listLists all repositories registered in ~/.gitnexus/registry.json. The MCP list_repos tool provides the same information.
After Indexing
- Read
gitnexus://repo/{name}/contextto verify the index loaded - Use the other GitNexus skills (
exploring,debugging,impact-analysis,refactoring) for your task
Troubleshooting
- "Not inside a git repository": Run from a directory inside a git repo
- Index is stale after re-analyzing: Wait for the next MCP tool call to reopen the published index; this normally takes no more than five seconds
- Embeddings slow: Omit
--embeddings(it's off by default) or setOPENAI_API_KEYfor faster API-based embedding
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

