rgit-recall

A skill for finding a previously recorded feature and rebuilding it in the current codebase. It coordinates searching, assembling the feature's context, and handing the work to a regeneration agent.

In plain words
What is it for?
Use it when you want to recall, resurrect, or re-apply a stored feature, including features that depend on other stored features.
Why use it?
A feature written for an older version of a project may need adaptation before it can return. This process treats the saved record as a description of intent and uses current code as the source of truth.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/stepzerolab/research-git/rgit-recall
Any agent
npx skills add StepzeroLab/research-git --skill rgit-recall
Clone the repo
git clone --depth 1 https://github.com/StepzeroLab/research-git

Made for: Claude Code, Codex.

Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 953 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00045 $0.00953
Opus 5 $0.00023 $0.00477
Sonnet 5 $0.00009 $0.00191
Haiku 4.5 $0.00005 $0.00095

Measured 2d ago against content hash f39d6e88e5a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rgit-recall 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 2d 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.

src/rgit/_plugin/skills/rgit-recall/SKILL.md · 59 lines

How it starts

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

rgit-recall

Drives the recall → compose → regenerate half of the research-git loop. The stored capsule is a spec; the regenerator rebuilds it onto today's code.

Prerequisites: the repo is rgit init-ed and the research-git MCP server is connected (it exposes recall and compose).

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-recall, so resolve the plugin root once and reference the agent from there:

SKILL_REAL=$(realpath ~/.agents/skills/rgit-recall 2>/dev/null || readlink -f ~/.agents/skills/rgit-recall)
PLUGIN_ROOT=$(dirname "$(dirname "$SKILL_REAL")")    # the bundled _plugin/ directory

The agents/capsule-regenerator.md reference below lives at $PLUGIN_ROOT/agents/capsule-regenerator.md.

Process

1. Recall the capsule(s)

Take the user's natural-language ask and call the MCP tool recall(query). It returns matches, each with its depends_on subgraph. Show the user a short list (name + intent) and confirm which feature(s) to bring back. Default to the top match if unambiguous. If nothing matches, tell the user and stop (suggest list_features to browse).

2. Resolve the full feature set

Include each chosen capsule plus its depends_on dependencies (a feature often needs its prerequisites). Collect the final list of feature_ids.

3. Compose the regeneration brief (against current code)

Call the MCP tool compose(feature_ids). It returns, per feature: intent, knobs, data_assumptions, resurrection_guide, the reference code_slices, the live current_source of each touched symbol, and any conflicts (symbols touched by more than one chosen feature).

4. Dispatch the capsule-regenerator subagent (on subscription)

Dispatch a subagent using the capsule-regenerator agent definition (agents/capsule-regenerator.md). Pass the full brief verbatim plus repo_root. The subagent edits the working tree to re-implement the feature(s) onto today's code, resolves conflicts, sanity-checks syntax, and returns an applied report with provenance (clean vs adapted) per feature.

Read the full file on GitHub · 59 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. 2d ago First seen · 59 lines · 45 tokens per session scan A f39d6e88e5a6

Subscribe to this mod's changes

rgit-recall is a skill published in the GitHub repository StepzeroLab/research-git (42 stars, last pushed 27d ago), licensed MIT. It adds 45 tokens to every session and 953 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

trellis-meta

Understand and customize the local Trellis architecture inside a user project. Use when modifying .trellis plus platform hooks, settings, agents, skills, commands, prompts, workflows, the channel runtime (trellis channel), bundled runtime agents under .trellis/agents/, selectable workflow templates, registry-backed…

mindfold-ai/Trellis · 110 tokens

trellis-meta

Understand and customize the local Trellis architecture inside a user project. Use when modifying .trellis plus platform hooks, settings, agents, skills, commands, prompts, workflows, the channel runtime (trellis channel), bundled runtime agents under .trellis/agents/, selectable workflow templates, registry-backed…

mindfold-ai/Trellis · 110 tokens

trellis-channel

Use Trellis channel for live multi-agent collaboration, spawned workers, cross-agent review, progress inspection, forum channels, and channel log debugging.

mindfold-ai/Trellis · 32 tokens

trellis-channel

Use Trellis channel for live multi-agent collaboration, spawned workers, cross-agent review, progress inspection, forum channels, and channel log debugging.

mindfold-ai/Trellis · 32 tokens

gitnexus-guide

Use when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or workflow reference. Examples: "What GitNexus tools are available?", "How do I use GitNexus?".

mindfold-ai/Trellis · 56 tokens

trellis-bootstrap

Initialize Trellis AI workflow system in a project. Use when user mentions "Trellis", "初始化 Trellis", "setup Trellis", "install Trellis", or wants to add AI-assisted development workflow to their project. This is a one-time setup skill.

mindfold-ai/Trellis · 58 tokens