Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add StepzeroLab/research-git --skill rgit-capturegit clone --depth 1 https://github.com/StepzeroLab/research-gitWrote 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.
[](https://agentmods.dev/skills/stepzerolab/research-git/rgit-capture)<a href="https://agentmods.dev/skills/stepzerolab/research-git/rgit-capture"><img src="https://agentmods.dev/badge/skills/stepzerolab/research-git/rgit-capture/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.
<a href="https://agentmods.dev/skills/stepzerolab/research-git/rgit-capture"><img src="https://agentmods.dev/badge/skills/stepzerolab/research-git/rgit-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 57 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.01569 |
| Opus 5.5 | $0.00028 | $0.00628 |
| Sonnet 5.5 | $0.00014 | $0.00314 |
| Haiku 4.5 | $0.00007 | $0.00157 |
Grade A, and why
rgit-capture 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rgit-capture
Orchestrates the two-phase capture: a free, deterministic Phase 1 through the rgit CLI, then an agentic Phase 2 dispatched natively onto the host session's subscription — no paid API.
Prerequisites: the target repo has been rgit init-ed.
Locating the agent definitions. On Claude Code the plugin runtime resolves agent paths for you. On other CLIs (Codex, Gemini, opencode) this skill is symlinked into ~/.agents/skills/rgit-capture, so resolve the plugin root once and reference the agents from there:
SKILL_REAL=$(realpath ~/.agents/skills/rgit-capture 2>/dev/null || readlink -f ~/.agents/skills/rgit-capture)
PLUGIN_ROOT=$(dirname "$(dirname "$SKILL_REAL")") # the bundled _plugin/ directory
Every agents/<name>.md reference below (agents/capsule-segmenter.md, agents/edge-judge.md) lives at $PLUGIN_ROOT/agents/<name>.md.
Process
1. Ensure there are proposals to segment (Phase 1 — free, deterministic)
If the user just made changes and there is no open proposal yet:
rgit capture # picks for you: uncommitted work, or the last commit when the tree is clean
rgit capture main..HEAD # a specific span of commits (any A..B range)
Repeated captures of the same diff dedup into the existing proposal, and repos with the post-commit hook (rgit install-hooks) capture each commit automatically — don't capture the same commit twice. Proposals also appear from rgit run and the rgit watch daemon.
2. Read the pending captures
Run rgit pending --json → a list of {proposal_id, trigger, diff, candidates}. The diff is the raw material; the candidates are crude heuristic guesses you are about to replace. If the list is empty, tell the user there is nothing to segment and stop.
3. Dispatch the capsule-segmenter subagent (Phase 2 — agentic, on subscription)
For each pending proposal, dispatch a subagent using the capsule-segmenter agent definition (agents/capsule-segmenter.md); run independent proposals concurrently. Pass in the dispatch prompt: proposal_id, repo_root (absolute path of the target repo), diff (verbatim from rgit pending), and symbols if available. The subagent returns {"capsules": [...], "dropped": [...]} — high-quality capsules with real intent / knobs / data_assumptions / resurrection_guide, infrastructure noise dropped.
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.
- 2mo ago First seen · 97 lines · 71 tokens per session scan A e0001e0b8c91
rgit-capture is a skill published in the GitHub repository StepzeroLab/research-git (44 stars, last pushed 3mo ago), licensed MIT. It adds 71 tokens to every session and 1,569 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
rgit-capture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rgit-captureStepzeroLab/research-git | Skill | 44 | 3mo ago | MIT | A | 71 | Claude Code |
| dataladK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 147 | Claude Code |
| project-session-managerYeachan-Heo/oh-my-claudecode | Skill | 41k | yesterday | MIT | A | 23 | Claude Code |
| prYeachan-Heo/oh-my-claudecode | Skill | 41k | yesterday | MIT | A | 47 | Claude Code |
| commit-contextrohitg00/agentmemory | Skill | 30k | yesterday | Apache-2.0 | A | 61 | Claude Code |
| commit-historyrohitg00/agentmemory | Skill | 30k | yesterday | Apache-2.0 | A | 49 | Claude Code |
| baby-sitlangchain-ai/open-swe | Skill | 11k | yesterday | MIT | A | 30 | Claude Code, Codex |