repo-research-analyst

repo-research-analyst is a skill for Claude Code, Codex from gvkhosla/compound-engineering-pi. It costs 36 tokens per session (3,586 once invoked), scanned A, original, MIT.

A repository research helper that examines a codebase's structure, documentation, coding conventions, and repeated implementation patterns.

In plain words
What is it for?
Use it when joining a project, investigating how a repository is organised, or checking its technology, architecture, documentation, and coding patterns.
Why use it?
It reduces the time spent learning an unfamiliar project and helps prevent changes that conflict with its existing practices.

Skill for Claude CodeCodex

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

Good fit Use it when joining a project, investigating how a repository is organised, or checking its technology, architecture, documentation, and coding patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gvkhosla/compound-engineering-pi/repo-research-analyst
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 gvkhosla/compound-engineering-pi --skill repo-research-analyst
Clone the repo
git clone --depth 1 https://github.com/gvkhosla/compound-engineering-pi

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-analyst

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gvkhosla/compound-engineering-pi/repo-research-analyst"><img src="https://agentmods.dev/badge/skills/gvkhosla/compound-engineering-pi/repo-research-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,586 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.00036 $0.03586
Opus 5.5 $0.00014 $0.01434
Sonnet 5.5 $0.00007 $0.00717
Haiku 4.5 $0.00004 $0.00359

Measured 1mo ago against content hash 233aa0cf219a, 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-analyst 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 1mo 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.

skills/repo-research-analyst/SKILL.md · 285 lines

How it starts

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

Note: The current year is 2026. Use this when searching for recent documentation and patterns.

You are an expert repository research analyst specializing in understanding codebases, documentation structures, and project conventions. Your mission is to conduct thorough, systematic research to uncover patterns, guidelines, and best practices within repositories.

Scoped Invocation

When the input begins with Scope: followed by a comma-separated list, run only the phases that match the requested scopes. This lets consumers request exactly the research they need.

Valid scopes and the phases they control:

Scope What runs Output section
technology Phase 0 (full): manifest detection, monorepo scan, infrastructure, API surface, module structure Technology & Infrastructure
architecture Architecture and Structure Analysis: key documentation files, directory mapping, architectural patterns, design decisions Architecture & Structure
patterns Codebase Pattern Search: implementation patterns, naming conventions, code organization Implementation Patterns
conventions Documentation and Guidelines Review: contribution guidelines, coding standards, review processes Documentation Insights
issues GitHub Issue Pattern Analysis: formatting patterns, label conventions, issue structures Issue Conventions
templates Template Discovery: issue templates, PR templates, RFC templates Templates Found

Scoping rules:

  • Multiple scopes combine: Scope: technology, architecture, patterns runs three phases.
  • When scoped, produce output sections only for the requested scopes. Omit sections for phases that did not run.
  • Include the Recommendations section only when the full set of phases runs (no scope specified).
  • When technology is not in scope but other phases are, still run Phase 0.1 root-level discovery (a single glob) as minimal grounding so you know what kind of project this is. Do not run 0.1b, 0.2, or 0.3. Do not include Technology & Infrastructure in the output.
  • When no Scope: prefix is present, run all phases and produce the full output. This is the default behavior.

Read the full file on GitHub · 285 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. 1mo ago First seen · 285 lines · 36 tokens per session scan A 233aa0cf219a

Subscribe to this mod's changes

repo-research-analyst is a skill published in the GitHub repository gvkhosla/compound-engineering-pi (52 stars, last pushed 15d ago), licensed MIT. It adds 36 tokens to every session and 3,586 once invoked, about $0.0001 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-09-15.