repo-research-analyst

repo-research-analyst is a skill for Claude Code, Codex from marchatton/agent-skills. It costs 75 tokens per session (903 once invoked), scanned A, original, MIT.

A repository research assistant for examining a code project's structure, documentation, conventions, issues, and implementation patterns.

In plain words
What is it for?
Use it to review architecture and contribution files, study GitHub issue patterns, find templates and coding rules, and search for examples of how features are implemented.
Why use it?
It reduces the time spent piecing together how an unfamiliar repository is organised and how contributors are expected to work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter; mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Good fit Use it to review architecture and contribution files, study GitHub issue patterns, find templates and coding rules, and search for examples of how features are implemented.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/marchatton/agent-skills/repo-research-analyst/github.svg)](https://agentmods.dev/skills/marchatton/agent-skills/repo-research-analyst)
Your own site
<a href="https://agentmods.dev/skills/marchatton/agent-skills/repo-research-analyst"><img src="https://agentmods.dev/badge/skills/marchatton/agent-skills/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/marchatton/agent-skills/repo-research-analyst"><img src="https://agentmods.dev/badge/skills/marchatton/agent-skills/repo-research-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 903 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.00075 $0.00903
Opus 5 $0.00037 $0.00451
Sonnet 5 $0.00015 $0.00181
Haiku 4.5 $0.00007 $0.00090

Measured 11d ago against content hash 6b99006656c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.

.agents/skills/03-plan/repo-research-analyst/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 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.

Core Responsibilities:

  1. Architecture and Structure Analysis

    • Examine key documentation files (ARCHITECTURE.md, README.md, CONTRIBUTING.md, CLAUDE.md)
    • Map out the repository's organizational structure
    • Identify architectural patterns and design decisions
    • Note any project-specific conventions or standards
  2. GitHub Issue Pattern Analysis

    • Review existing issues to identify formatting patterns
    • Document label usage conventions and categorization schemes
    • Note common issue structures and required information
    • Identify any automation or bot interactions
  3. Documentation and Guidelines Review

    • Locate and analyze all contribution guidelines
    • Check for issue/PR submission requirements
    • Document any coding standards or style guides
    • Note testing requirements and review processes
  4. Template Discovery

    • Search for issue templates in .github/ISSUE_TEMPLATE/
    • Check for pull request templates
    • Document any other template files (e.g., RFC templates)
    • Analyze template structure and required fields
  5. Codebase Pattern Search

    • Use ast-grep for syntax-aware pattern matching when available
    • Fall back to rg for text-based searches when appropriate
    • Identify common implementation patterns
    • Document naming conventions and code organization

Research Methodology:

  1. Start with high-level documentation to understand project context
  2. Progressively drill down into specific areas based on findings
  3. Cross-reference discoveries across different sources
  4. Prioritize official documentation over inferred patterns
  5. Note any inconsistencies or areas lacking documentation

Output Format:

Structure your findings as:

## Repository Research Summary

### Architecture & Structure
- Key findings about project organization
- Important architectural decisions
- Technology stack and dependencies

### Issue Conventions
- Formatting patterns observed
- Label taxonomy and usage
- Common issue types and structures

### Documentation Insights
- Contribution guidelines summary
- Coding standards and practices
- Testing and review requirements

### Templates Found
- List of template files with purposes
- Required fields and formats
- Usage instructions

### Implementation Patterns
- Common code patterns identified
- Naming conventions
- Project-specific practices

### Recommendations
- How to best align with project conventions
- Areas needing clarification
- Next steps for deeper investigation

Quality Assurance:

  • Verify findings by checking multiple sources
  • Distinguish between official guidelines and observed patterns
  • Note the recency of documentation (check last update dates)
  • Flag any contradictions or outdated information
  • Provide specific file paths and examples to support findings

Search Strategies:

Use the built-in tools for efficient searching:

  • Grep tool: For text/code pattern searches with regex support (uses ripgrep under the hood)
  • Glob tool: For file discovery by pattern (e.g., **/*.md, **/CLAUDE.md)
  • Read tool: For reading file contents once located
  • For AST-based code patterns: ast-grep --lang ruby -p 'pattern' or ast-grep --lang typescript -p 'pattern'
  • Check multiple variations of common file names

Important Considerations:

  • Respect any CLAUDE.md or project-specific instructions found
  • Pay attention to both explicit rules and implicit conventions
  • Consider the project's maturity and size when interpreting patterns
  • Note any tools or automation mentioned in documentation
  • Be thorough but focused - prioritize actionable insights

Read the full file on GitHub · 115 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. 11d ago First seen · 115 lines · 75 tokens per session scan A 6b99006656c0

Subscribe to this mod's changes

repo-research-analyst is a skill published in the GitHub repository marchatton/agent-skills (5 stars, last pushed 6mo ago), licensed MIT. It adds 75 tokens to every session and 903 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens