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 marchatton/agent-skills --skill repo-research-analystgit clone --depth 1 https://github.com/marchatton/agent-skillsWrote 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/marchatton/agent-skills/repo-research-analyst)<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.
<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>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.00075 | $0.00903 |
| Opus 5 | $0.00037 | $0.00451 |
| Sonnet 5 | $0.00015 | $0.00181 |
| Haiku 4.5 | $0.00007 | $0.00090 |
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.
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:
-
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
-
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
-
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
-
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
- Search for issue templates in
-
Codebase Pattern Search
- Use
ast-grepfor syntax-aware pattern matching when available - Fall back to
rgfor text-based searches when appropriate - Identify common implementation patterns
- Document naming conventions and code organization
- Use
Research Methodology:
- Start with high-level documentation to understand project context
- Progressively drill down into specific areas based on findings
- Cross-reference discoveries across different sources
- Prioritize official documentation over inferred patterns
- 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'orast-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
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.
- 11d ago First seen · 115 lines · 75 tokens per session scan A 6b99006656c0
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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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…
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…
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…
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…
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…