PuPu: Skill for Claude Code

.claude/skills/gitnexus-guide/SKILL.md

gitnexus-guide is a skill for Claude Code from haoxiang-xu/PuPu. It costs 56 tokens per session (2,518 once invoked), scanned A, a copy of gitnexus-guide, Apache-2.0.

A reference guide for GitNexus, including its tools, repository resources, knowledge-graph structure, and related skills. A knowledge graph is a linked map of code elements and their relationships.

In plain words
What is it for?
Use it to learn GitNexus commands and resources, query code relationships, inspect symbols, and select the appropriate guide for a code task.
Why use it?
It helps an agent choose the right GitNexus workflow for understanding, debugging, impact analysis, or refactoring code, and explains when the repository index must be refreshed.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is haoxiang-xu/PuPu's own configuration. It tells Claude Code how to work on PuPu itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything PuPu configures →

Reuse

Borrowing it

Nothing to install: this file belongs to haoxiang-xu/PuPu. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/haoxiang-xu/PuPu/main/.claude/skills/gitnexus-guide/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/haoxiang-xu/PuPu

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gitnexus-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/haoxiang-xu/pupu/gitnexus-guide/github.svg)](https://agentmods.dev/skills/haoxiang-xu/pupu/gitnexus-guide)
Your own site
<a href="https://agentmods.dev/skills/haoxiang-xu/pupu/gitnexus-guide"><img src="https://agentmods.dev/badge/skills/haoxiang-xu/pupu/gitnexus-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gitnexus-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/haoxiang-xu/pupu/gitnexus-guide"><img src="https://agentmods.dev/badge/skills/haoxiang-xu/pupu/gitnexus-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,518 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.02518
Opus 5 $0.00028 $0.01259
Sonnet 5 $0.00011 $0.00504
Haiku 4.5 $0.00006 $0.00252

Measured 9d ago against content hash 746d057790de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gitnexus-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to gitnexus-guide — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/gitnexus-guide/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitNexus Guide

Quick reference for all GitNexus MCP tools, resources, and the knowledge graph schema.

Always Start Here

For any task involving code understanding, debugging, impact analysis, or refactoring:

  1. Read gitnexus://repo/{name}/context — codebase overview + check index freshness
  2. Match your task to a skill below and read that skill file
  3. Follow the skill's workflow and checklist

If step 1 warns the index is stale, run node .gitnexus/run.cjs analyze in the terminal first.

Skills

Task Skill to read
Understand architecture / "How does X work?" gitnexus-exploring
Blast radius / "What breaks if I change X?" gitnexus-impact-analysis
Trace bugs / "Why is X failing?" gitnexus-debugging
Rename / extract / split / refactor gitnexus-refactoring
Tools, resources, schema reference gitnexus-guide (this file)
Index, status, clean, wiki CLI commands gitnexus-cli

Tools Reference

Tool What it gives you
query Process-grouped code intelligence — execution flows related to a concept
context 360-degree symbol view — categorized refs, processes it participates in
impact Symbol blast radius — what breaks at depth 1/2/3 with confidence
trace Shortest path between two symbols — "how does A reach B?" in one call
detect_changes Git-diff impact — what do your current changes affect
rename Multi-file coordinated rename with confidence-tagged edits
cypher Raw graph queries (read gitnexus://repo/{name}/schema first)
explain Persisted taint findings — source→sink data flows (needs analyze --pdg)
pdg_query Control/data dependence — what gates X (CDG) / where Y flows (REACHING_DEF); needs analyze --pdg
check Check graph invariants such as circular imports
route_map API route map — which components/hooks fetch which endpoints, and the handler files that serve them
shape_check Response-shape drift — keys each route returns vs keys its consumers access (flags MISMATCH)
api_impact Pre-change report for an API route — consumers, middleware, shape mismatches, risk level
tool_map MCP/RPC tool definitions and the files that handle them
group_list List configured multi-repo groups, or one group's config
group_sync Rebuild a group's Contract Registry (cross-repo HTTP contract links); run after group.yaml changes or member re-index
list_repos Discover indexed repos (paginated — limit/offset)

Read the full file on GitHub · 139 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 139 lines · 56 tokens per session scan A 746d057790de

Subscribe to this mod's changes

gitnexus-guide is a skill published in the GitHub repository haoxiang-xu/PuPu (36 stars, last pushed yesterday), licensed Apache-2.0. It adds 56 tokens to every session and 2,518 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to gitnexus-guide, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

skill-creator

Create new Comis skills, modify and improve existing skills, and validate them against the platform's manifest schema. Use this skill whenever the user wants to create a skill from scratch, turn a workflow into a reusable skill, update or fix an existing skill, understand the skill format, or asks about how skills…

comisai/comis · 82 tokens

deep-research

MANDATORY: Conduct systematic, multi-angle web research before answering any request to understand or explain a topic properly, deeply, thoroughly, comprehensively, or beyond a short paragraph, even when general knowledge could produce an answer. Also use for comparisons, explicit research, current online information…

comisai/comis · 117 tokens

autonomy

Use when a task is more than a single step — a read/research fan-out, spawning sub-agents, running a DAG, scheduling your own work, or messaging your channel. Teaches when to route work through orchestrate(script), how to fan out with capability attenuation, how to read a denial, and the bounded contract you operate…

comisai/comis · 76 tokens

log-troubleshooting

Investigate and troubleshoot daemon logs at /.comis/logs/. Covers NDJSON log format, Pino level codes, field dictionary, and staged analysis strategies for efficient troubleshooting of large log files. Use this skill whenever the user asks about logs, errors, warnings, daemon issues, slow operations, debugging daemon…

comisai/comis · 89 tokens

find-skills

MANDATORY: For requests asking whether a skill or specialized capability exists, load this skill and run its catalog workflow before answering. This includes elliptical follow-ups such as 'find something that does' when the preceding turn names the task. Do not answer from general capabilities, search workspace…

comisai/comis · 67 tokens

image-generation

Generate images using structured prompts and optional reference images. Supports character design, scenes, product visualization, and any visual content creation. Use this skill when the user requests to generate, create, imagine, draw, or visualize images, characters, portraits, scenes, products, or any visual…

comisai/comis · 72 tokens