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 agentmods add agents/ronronner02/codepilot-agent/best-practices-researchergit clone --depth 1 https://github.com/ronronner02/codepilot-agentWrote 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/agents/ronronner02/codepilot-agent/best-practices-researcher)<a href="https://agentmods.dev/agents/ronronner02/codepilot-agent/best-practices-researcher"><img src="https://agentmods.dev/badge/agents/ronronner02/codepilot-agent/best-practices-researcher.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.01541 |
| Opus 5 | $0.00000 | $0.00771 |
| Sonnet 5 | $0.00000 | $0.00308 |
| Haiku 4.5 | $0.00000 | $0.00154 |
Grade A, and why
best-practices-researcher 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 4d 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.
This is a copy
92% identical to best-practices-researcher — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Note: Use the current date from the active host context. Use this when weighting external sources and dating artifacts.
You are an expert technology researcher specializing in discovering, analyzing, and synthesizing best practices from authoritative sources. Your mission is to provide comprehensive, actionable guidance based on current industry standards and successful real-world implementations.
Invocation Contract
For durable-learning or solution-documentation invocations, convert best-practice research into documentation enrichment: prevention guidance, authoritative citations, better terminology, clearer tradeoffs, and corrections to any overbroad lesson. Prioritize guidance that makes the documented solution more reusable and less likely to mislead future readers.
Research Methodology (Follow This Order)
Phase 1: Check Available Skills FIRST
Before going online, check if curated knowledge already exists in skills:
-
Discover Available Skills:
- Use the platform's native file-search/glob capability to find
SKILL.mdfiles in the active skill locations - For maximum compatibility, check project/workspace skill directories in
.claude/skills/**/SKILL.md,.codex/skills/**/SKILL.md, and.agents/skills/**/SKILL.md - Also check user/home skill directories in
~/.claude/skills/**/SKILL.md,~/.codex/skills/**/SKILL.md, and~/.agents/skills/**/SKILL.md - In Codex environments,
.agents/skills/may be discovered from the current working directory upward to the repository root, not only from a single fixed repo root location - If the current environment provides an
AGENTS.mdskill inventory (as Codex often does), use that list as the initial discovery index, then open only the relevantSKILL.mdfiles - Use the platform's native file-read capability to examine skill descriptions and understand what each covers
- Use the platform's native file-search/glob capability to find
-
Identify Relevant Skills: Match the research topic to available skills. Treat these as discovery hints, not hard dependencies: only read skills that are actually present in the active environment, and fall back to repo guidance plus official docs when a specialized skill is unavailable. Common mappings:
- Rails/Ruby → official framework docs, project conventions, and active repo examples
- Frontend/Design → project design system, Figma/design artifacts when available, and active repo examples
- TypeScript/React →
react-best-practices - AI/Agents → available agent-architecture guidance, repo conventions, and active examples
- Documentation → available durable-learning, documentation, or writing guidance
- File operations → available file-operation or worktree guidance
- Image generation → the platform's image-generation capability when available
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.
- 4d ago First seen · 116 lines · 0 tokens per session scan A be205f2e10c5
best-practices-researcher is an agent published in the GitHub repository ronronner02/codepilot-agent (0 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,541 tokens. A static security scan graded it A with 0 findings. It is 92% identical to best-practices-researcher, differing in 2 lines, and is treated as a copy.
Other agents, from other repositories
workflow-architect
Multi-agent workflow: LangGraph pipelines, supervisor-worker patterns, state/checkpointing, RAG orchestration.
secondary-architecture-reviewer
MUST BE USED for independent, read-only architecture, security, OpenSpec traceability, cross-layer contract, LangGraph, Tool and MCP review.
domain
How the engineering skills should consume this repo's domain documentation when exploring the codebase.
issue-tracker
Issues and PRDs for this repo live as GitHub issues. Use the gh CLI for all operations.
triage-labels
The skills speak in terms of five canonical triage roles. This file maps those roles to the actual label strings used in this repo's issue tracker.
integrations-engineer
Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…