Agent skill · software engineering · abhigyanpatwari

gitnexus-cli

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\

Why this skill is useful

Provides specific commands and flags for managing GitNexus indexing and documentation generation that the AI wouldn't reliably generate on its own.

What it needs

Requires gitnexus installed locally. Requires gitnexus account access. About 4k tokens when loaded. Last updated 2026-08-06. 45,147 stars on the source repository.

What this skill does

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.cjs reports Cannot find module (the gitignored runner is absent — e.g. a fresh clone or git clean)? (Re)generate it with npx gitnexus analyze from the project root, or bunx gitnexus@latest analyze on a bun-only machine. On npm 11.x, if npx crashes during install (node.target is null), install once with npm i -g gitnexus (then gitnexus analyze), or use bunx gitnexus@latest analyze, or pnpm --allow-build=@ladybugdb/core --allow-build=gitnexus --allow-build=tree-sitter dlx gitnexus@latest analyze. See #1939. Commands analyze — Build or refresh the index Run 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 pdgquery (taint, CDG, and REACHINGDEF). --spring-actuator <path> Import opt-in Spring Boot Actuator mappings, beans, conditions, configprops, and env snapshots. Forces a full rebuild; unsupported with --watch. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills abhigyanpatwari/gitnexus-cli--253806

View the source on GitHub

Browse the @skills marketplace