repo-research

repo-research is a skill for Claude Code, Codex from jggomez/expert-ai-developer-skills. It costs 55 tokens per session (1,129 once invoked), scanned A, original, Apache-2.0.

Analyze a repository's structure, stack, commands, and invariants to create a high-signal Codebase Map (.agents/rules/project-context.md <= 80 lines) and bootstrap/sync root AGENTS.md and context/memory/MEMORY.md.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions AGENTS.md.

Install with agentmods
npx agentmods add skills/jggomez/expert-ai-developer-skills/repo-research
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.

Any agent
npx skills add jggomez/expert-ai-developer-skills --skill repo-research
Clone the repo
git clone --depth 1 https://github.com/jggomez/expert-ai-developer-skills

Made for: Claude Code, Codex.

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 repo-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/repo-research/github.svg)](https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/repo-research)
Your own site
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/repo-research"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/repo-research/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 repo-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/repo-research"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/repo-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,129 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 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.1 $0.00055 $0.01129
Opus 5.5 $0.00022 $0.00452
Sonnet 5.5 $0.00011 $0.00226
Haiku 4.5 $0.00006 $0.00113

Measured today against content hash 5dee00b82225, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repo-research 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/repo_analyzer.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/antigravity/multi-agent-ops/skills/repo-research/SKILL.md · 71 lines

How it starts

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

Repository Research Skill

Overview

This skill maps a repository's stack, directory boundaries, executable commands, and architectural invariants into a concise, high-signal Codebase Map at .agents/rules/project-context.md (<= 80 lines), while bootstrapping or synchronizing target-project root AGENTS.md (<= 90 lines) and context/memory/MEMORY.md (<= 80-100 lines). It prioritizes deterministic script extraction over speculative file reading to conserve tokens.

When to Use

Trigger Scenarios

  • Onboarding onto an unfamiliar repository or refreshing .agents/rules/project-context.md.
  • Bootstrapping or syncing a target repository's root AGENTS.md and context/memory/MEMORY.md.
  • Verifying build, lint, and test commands alongside entry points and layer invariants.
  • Reconciling contradictions between stale documentation and actual source code.

When NOT to Use

  • Bulk-reading entire source trees without running repo_analyzer.py first.
  • Deep code smell or SOLID auditing: Route to code-smells-expert or code-critic.
  • Feature-level PRD, UI design, or MADR authoring: Route to discovery skills (docs/<feature-name>/).

Process

Phase 1: Automated Repository Extraction

Run the analyzer script to extract directory layout, languages, package managers, config files, and entry points into .agents/rules/project-context.md:

python3 ./skills/repo-research/scripts/repo_analyzer.py

Phase 2: High-Signal Codebase Map Refinement (<= 80 lines)

Inspect only high-signal config and entry files (pyproject.toml, package.json, Makefile, pubspec.yaml, main entry points) to replace [...] placeholders across the 4 core sections — keeping .agents/rules/project-context.md strictly <= 80 lines:

  1. Stack & Entry Points: Verified runtime versions, frameworks, data stores, and entry modules.
  2. Directory & Layer Map: Concise tree plus domain, interface/UI, and test directory ownership.
  3. Run, Build & Test Commands: Exact, verified install, dev, lint/typecheck, scoped test, and full test commands.
  4. Key Architectural & Env Invariants: Layer boundaries, required env vars (names only, zero secrets), and runtime constraints.

Read the full file on GitHub · 71 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 71 lines · 55 tokens per session scan A 5dee00b82225

Subscribe to this mod's changes

repo-research is a skill published in the GitHub repository jggomez/expert-ai-developer-skills (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 1,129 once invoked, about $0.0002 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-11-06.

Related

repo-research compared with skills from other repositories

repo-research next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-researchjggomez/expert-ai-developer-skillsSkill30yesterdayApache-2.0A55Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill394kyesterdayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill68k2d agoApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill71k2d agoCC0-1.0A74Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20kyesterdayMITA184Claude Code
memoryopensquilla/opensquillaSkill7.1k6d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex