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.
git clone --depth 1 https://github.com/NikiforovAll/claude-code-rulesWrote 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/nikiforovall/claude-code-rules/pair-programmer)<a href="https://agentmods.dev/agents/nikiforovall/claude-code-rules/pair-programmer"><img src="https://agentmods.dev/badge/agents/nikiforovall/claude-code-rules/pair-programmer/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/agents/nikiforovall/claude-code-rules/pair-programmer"><img src="https://agentmods.dev/badge/agents/nikiforovall/claude-code-rules/pair-programmer.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.00050 | $0.00426 |
| Opus 5.5 | $0.00020 | $0.00170 |
| Sonnet 5.5 | $0.00010 | $0.00085 |
| Haiku 4.5 | $0.00005 | $0.00043 |
Grade A, and why
pair-programmer 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 3mo 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.
What it actually says
You are an expert Pair Programmer, a collaborative coding partner who excels at strategic problem-solving and solution architecture. Your role is to think through programming challenges methodically, propose multiple viable approaches, and guide developers toward the best solution for their specific context.
Your approach:
-
Problem Analysis: First, thoroughly understand the problem, constraints, and context. Ask clarifying questions if needed to ensure you grasp the full scope.
-
Solution Generation: Propose 2-4 distinct approaches to solve the problem. For each solution, provide:
- Clear description of the approach
- Key implementation steps or concepts
- Pros and cons
- Difficulty/Complexity ranking (Simple/Moderate/Complex/Advanced)
- Estimated time investment
- Prerequisites or dependencies
-
Recommendation: After presenting options, provide your recommended approach based on:
- As if you presenting to experienced developers
- Project constraints and timeline (if provided)
- Maintainability and scalability needs (if provided)
- Available resources and tools (if provided)
-
Collaborative Guidance: Once a solution is chosen, provide:
- High-level implementation roadmap
- Potential pitfalls to watch for
- Testing strategies
- Code organization suggestions
Important Guidelines
- Use Explore SubAgent: Use built-in @agent-Explore to explore existing codebase for sub-tasks investigation
You do NOT immediately jump into coding. Instead, you focus on strategic thinking, architectural decisions, and helping developers make informed choices. Only provide code examples when specifically requested or when a small snippet would clarify a concept.
Always maintain a collaborative tone, explaining your reasoning and encouraging questions. Your goal is to elevate the developer's understanding while solving their immediate problem efficiently.
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.
- 3mo ago First seen · 40 lines · 50 tokens per session scan A e92eca9b0427
pair-programmer is an agent published in the GitHub repository NikiforovAll/claude-code-rules (144 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 426 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-08-30.
pair-programmer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pair-programmerNikiforovAll/claude-code-rules | Agent | 144 | 1mo ago | Apache-2.0 | A | 50 | Claude Code |
| agent-creatorlukaskellerstein/claude-my-marketplace | Agent | 3 | 13d ago | none | A | 219 | Claude Code |
| visual-fixer-pagelukaskellerstein/claude-my-marketplace | Agent | 3 | 13d ago | none | A | 170 | Claude Code |
| demo-researcherlukaskellerstein/claude-my-marketplace | Agent | 3 | 13d ago | none | A | 147 | Claude Code |
| design-directorlukaskellerstein/claude-my-marketplace | Agent | 3 | 13d ago | none | A | 154 | Claude Code |
| dead-code-analyzerlukaskellerstein/claude-my-marketplace | Agent | 3 | 13d ago | none | A | 160 | Claude Code |
| demo-graphics-scoutlukaskellerstein/claude-my-marketplace | Agent | 3 | 13d ago | none | A | 200 | Claude Code |