Re-indexes GitNexus knowledge graph via gitnexus CLI. Checks status, analyzes repo (incremental or force), verifies, and reports nodes/edges/communities stats. Use after refactors or PRs.
From gitnexus-toolsnpx claudepluginhub terrylica/cc-skills --plugin gitnexus-toolsThis skill is limited to using the following tools:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Optimizes cloud costs on AWS, Azure, GCP via rightsizing, tagging strategies, reserved instances, spot usage, and spending analysis. Use for expense reduction and governance.
CLI ONLY — no MCP server exists. Never use
readMcpResourcewithgitnexus://URIs.
Re-index the current repository's GitNexus knowledge graph and verify the updated stats.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
The gitnexus binary is installed via npm/mise. The mise shim may fail if node isn't active in the current project. Run this pre-flight before any gitnexus command:
# Test if gitnexus is actually callable (not just a broken shim)
gitnexus --version 2>/dev/null || mise use node@25.8.0
All commands below run from the repo root. If multiple repos are indexed in the workspace, add --repo <repo-name> to specify the target. Otherwise --repo is optional.
gitnexus status
If already current (lastCommit matches HEAD), report "Index is up to date" and stop.
gitnexus analyze
Use --force if the index appears corrupted or if a normal analyze doesn't pick up changes:
gitnexus analyze --force
This may take 30–120 seconds depending on codebase size.
gitnexus status
Present the updated stats:
## GitNexus Reindex Complete
| Metric | Before | After |
| ----------- | ------ | ----- |
| Nodes | ... | ... |
| Edges | ... | ... |
| Communities | ... | ... |
| Flows | ... | ... |
| Last Commit | ... | ... |
Index is now current with HEAD.
analyze command runs locally — no network calls.gitnexus/ at the repo root--force flag rebuilds from scratch; without it, incremental analysis is usedAfter this skill completes, reflect before closing the task:
Do NOT defer. The next invocation inherits whatever you leave behind.