Official agent skill

Gitnexus CLI

by aws-samples in aws-samples/sample-kolya-br-proxy

A skill your agent uses 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.

OfficialMIT-0Auto-check passedKnowledge Management

Install Gitnexus CLI

skills CLI
$ npx skills add aws-samples/sample-kolya-br-proxy --skill gitnexus-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aws-samples/sample-kolya-br-proxy gitnexus-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aws-samples/sample-kolya-br-proxy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/gitnexus/gitnexus-cli .claude/skills/gitnexus-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gitnexus-cli
GitHub stars
106
Used in
10 other repos
Token cost
~822 tokens
SKILL.md length
308 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT-0

At a glance

A skill your agent uses 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.

  • Works in 2 steps: Read gitnexus://repo/{name}/context to… → Use the other GitNexus skills…
  • The user needs to run GitNexus CLI commands like analyze/index a repo
  • SKILL.md covers Commands, After Indexing and Troubleshooting
  • Calls npx; needs OPENAI_API_KEY

What it does

Gitnexus CLI is an agent skill from aws-samples/sample-kolya-br-proxy, published by the product's own GitHub organization. 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"

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management. The licence is MIT-0.

When your agent uses it

  • The user needs to run GitNexus CLI commands like analyze/index a repo
  • Clean the index
  • Generate a wiki
  • List indexed repos

Example prompts

  • “Index this repo”
  • “Reanalyze the codebase”
  • “Generate a wiki”
  • “/gitnexus-cli”

Requirements

  • Node.js
  • A credential in OPENAI_API_KEY

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Read gitnexus://repo/{name}/context to verify the index loaded
  2. Use the other GitNexus skills (exploring, debugging, impact-analysis, refactoring) for your task

What it can do on your machine

Read from SKILL.md and the folder at commit 9c3dcee. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gitnexus CLI loads about 822 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 308 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~822

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aws-samples/sample-kolya-br-proxy at commit 9c3dcee, republished under its MIT-0 licence (© aws-samples). 308 words, ~822 tokens.

Download SKILL.mdSave it as .claude/skills/gitnexus-cli/SKILL.md (or your agent's skills folder).
name
gitnexus-cli
description
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"

GitNexus CLI Commands

All commands work via npx — no global install required.

Commands

analyze — Build or refresh the index
bash
npx gitnexus analyze

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.

FlagEffect
--forceForce full re-index even if up to date
--embeddingsEnable embedding generation for semantic search (off by default)

When to run: First time in a project, after major code changes, or when gitnexus://repo/{name}/context reports the index is stale.

status — Check index freshness
bash
npx gitnexus status

Shows 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
bash
npx gitnexus clean

Deletes 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.

FlagEffect
--forceSkip confirmation prompt
--allClean all indexed repos, not just the current one
wiki — Generate documentation from the graph
bash
npx gitnexus wiki

Generates repository documentation from the knowledge graph using an LLM. Requires an API key (saved to ~/.gitnexus/config.json on first use).

FlagEffect
--forceForce full regeneration
--model <model>LLM model (default: minimax/minimax-m2.5)
--base-url <url>LLM API base URL
--api-key <key>LLM API key
--concurrency <n>Parallel LLM calls (default: 3)
--gistPublish wiki as a public GitHub Gist
list — Show all indexed repos
bash
npx gitnexus list

Lists all repositories registered in ~/.gitnexus/registry.json. The MCP list_repos tool provides the same information.

After Indexing

  1. Read gitnexus://repo/{name}/context to verify the index loaded
  2. 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: Restart Claude Code to reload the MCP server
  • Embeddings slow: Omit --embeddings (it's off by default) or set OPENAI_API_KEY for faster API-based embedding

© aws-samples, MIT-0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/gitnexus/gitnexus-cli of aws-samples/sample-kolya-br-proxy.

Open the folder on GitHubat commit 9c3dcee

Used in 11 other repositories

We found 13 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 10 other GitHub owners. This page covers the copy in aws-samples/sample-kolya-br-proxy, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Gitnexus CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gitnexus CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gitnexus CLI this skillaws-samples/sample-kolya-br-proxy10610 repos~822Automated safety check: PassMIT-0
Qmdalsk1992/CloddsBot2.9k3 repos~1.2kAutomated safety check: PassMIT
Ragu BuildRaguTeam/RAGU135—~3.8kAutomated safety check: NotesMIT
Gate Checkundefined-ui/second-brain-os999—~861Automated safety check: PassMIT
Goal Testundefined-ui/second-brain-os999—~761Automated safety check: PassMIT
Using Mineecho SkillsHealth-Yang/MineEcho220—~124Automated safety check: PassCustom licence

Similar skills

  • Qmd

    alsk1992/CloddsBot

    Local hybrid search for markdown notes and docs. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 3 repos~1.2k tokens
    Knowledge ManagementAuto-check passed
  • Ragu Build

    RaguTeam/RAGU

    Interview the user about their RAGU use case, select an appropriate RAGU pipeline, and generate a validated ragubuild.yaml plus a runnable build<name.py script.

    135 GitHub stars~3.8k tokensUpdated 2 days ago
    Knowledge ManagementAuto-check: notes
  • Gate Check

    undefined-ui/second-brain-os

    Find the decisions in a pipeline that do not need the expensive model and propose the gate for each: a rule, a classic classifier, or a small model, with fail-closed routing.

    999 GitHub stars~861 tokensUpdated 8 days ago
    Knowledge ManagementAuto-check passed
  • Goal Test

    undefined-ui/second-brain-os

    Turn a vague task into a testable definition of done and generate an executable goal-test script for it, optionally with a bounded retry loop around a headless agent.

    999 GitHub stars~761 tokensUpdated 8 days ago
    Knowledge ManagementAuto-check passed
  • Using Mineecho Skills

    Health-Yang/MineEcho

    技能系统导航。当用户询问"你能做什么"、"有什么功能"、"有什么技能"或不确定如何完成某个任务时,使用此技能列出所有可用技能并建议最合适的技能。此技能是每个对话开始时默认加载的,用于技能发现。

    220 GitHub stars~124 tokensUpdated 4 mo ago
    Knowledge ManagementAuto-check passed
  • Hyperspacedb Graph

    YARlabs/hyperspace-db

    Graph traversal, Lorentz hierarchy, and concept relationship operations for HyperspaceDB.

    160 GitHub stars~1.4k tokensUpdated 28 days ago
    Knowledge ManagementAuto-check passed

More from aws-samples/sample-kolya-br-proxy

  • Gitnexus Debugging

    aws-samples/sample-kolya-br-proxy

    Official

    A skill your agent uses when the user is debugging a bug, tracing an error, or asking why something fails.

    106 GitHub starsUsed in 11 repos~780 tokens
    Auto-check passed
  • Gitnexus Exploring

    aws-samples/sample-kolya-br-proxy

    Official

    A skill your agent uses when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of the codebase.

    106 GitHub starsUsed in 11 repos~749 tokens
    Auto-check passed
  • Gitnexus Impact Analysis

    aws-samples/sample-kolya-br-proxy

    Official

    A skill your agent uses when the user wants to know what will break if they change something, or needs safety analysis before editing code.

    106 GitHub starsUsed in 11 repos~723 tokens
    Auto-check passed
  • Gitnexus Refactoring

    aws-samples/sample-kolya-br-proxy

    Official

    A skill your agent uses when the user wants to rename, extract, split, move, or restructure code safely.

    106 GitHub starsUsed in 11 repos~1k tokens
    Auto-check passed
  • Gitnexus Guide

    aws-samples/sample-kolya-br-proxy

    Official

    A skill your agent uses when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or workflow reference.

    106 GitHub starsUsed in 10 repos~867 tokens
    Auto-check passed

Questions about Gitnexus CLI

What does Gitnexus CLI do?

A skill your agent uses 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. Gitnexus CLI is an agent skill from aws-samples/sample-kolya-br-proxy, published by the product's own GitHub organization. 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.

When should I use Gitnexus CLI?

Gitnexus CLI fits situations like: the user needs to run GitNexus CLI commands like analyze/index a repo; clean the index; generate a wiki; list indexed repos.

How do I install Gitnexus CLI in Claude Code?

Run `npx skills add aws-samples/sample-kolya-br-proxy --skill gitnexus-cli -a claude-code`. Or copy the skill folder (.claude/skills/gitnexus/gitnexus-cli in aws-samples/sample-kolya-br-proxy) into .claude/skills/gitnexus-cli in your project. Claude Code loads it when a task matches its description.

How do I install Gitnexus CLI in Codex?

Run `npx skills add aws-samples/sample-kolya-br-proxy --skill gitnexus-cli -a codex`. Or copy the skill folder (.claude/skills/gitnexus/gitnexus-cli in aws-samples/sample-kolya-br-proxy) into .agents/skills/gitnexus-cli in your project. Codex loads it when a task matches its description.

Can I use Gitnexus CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aws-samples/sample-kolya-br-proxy --skill gitnexus-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gitnexus-cli, .gemini/skills/gitnexus-cli, .github/skills/gitnexus-cli and .opencode/skills/gitnexus-cli in your project.

What does Gitnexus CLI need to run?

Going by SKILL.md and its folder, Gitnexus CLI needs the command-line tools its instructions call (npx) and credentials named OPENAI_API_KEY. Our summary lists: Node.js; A credential in OPENAI_API_KEY.

Does Gitnexus CLI access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Gitnexus CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gitnexus CLI use?

Gitnexus CLI is published under the MIT-0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gitnexus CLI use?

About 822 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gitnexus CLI?

Skills that share tags, products or a category with Gitnexus CLI: Qmd (alsk1992/CloddsBot, 2.9k stars), Ragu Build (RaguTeam/RAGU, 135 stars), Gate Check (undefined-ui/second-brain-os, 999 stars) and Goal Test (undefined-ui/second-brain-os, 999 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gitnexus CLI?

aws-samples (a GitHub organization, an official publisher) maintains it in aws-samples/sample-kolya-br-proxy, which has 106 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 5, 2026.

Source: aws-samples/sample-kolya-br-proxy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.