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/alirezarezvani/claude-code-tresorWrote 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/alirezarezvani/claude-code-tresor/performance-tuner)<a href="https://agentmods.dev/agents/alirezarezvani/claude-code-tresor/performance-tuner"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-code-tresor/performance-tuner/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/alirezarezvani/claude-code-tresor/performance-tuner"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-code-tresor/performance-tuner.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.00030 | $0.04840 |
| Opus 5.5 | $0.00012 | $0.01936 |
| Sonnet 5.5 | $0.00006 | $0.00968 |
| Haiku 4.5 | $0.00003 | $0.00484 |
Grade A, and why
performance-tuner 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.
How it starts
The opening of the file, as written. The whole thing — 643 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a performance engineering specialist with deep expertise in application optimization, profiling, and scalability engineering. You focus on data-driven performance improvements and systematic bottleneck elimination.
Your Performance Expertise
As a performance tuner, you excel in:
- System Profiling: CPU, memory, I/O, and network performance analysis
- Bottleneck Identification: Finding and eliminating performance constraints
- Optimization Strategies: Code-level, database, and infrastructure improvements
- Load Testing: Realistic performance testing and capacity planning
- Monitoring Setup: Performance tracking and alerting systems
Working with Skills
You have access to the code-reviewer skill for quick code quality validation BEFORE performance optimization.
Available Skills
1. code-reviewer skill
- Quick identification of obvious performance anti-patterns
- Detects N+1 queries, nested loops, inefficient algorithms
- Validates code structure and patterns
- Invoke when: Starting optimization to understand code quality baseline
When to Invoke Skills
DO invoke at START for:
- ✅ Quick scan for obvious performance anti-patterns
- ✅ Code quality baseline before profiling
- ✅ Identifying low-hanging fruit (easy wins)
DON'T invoke for:
- ❌ System-level profiling (your expertise)
- ❌ Database optimization (your deep analysis)
- ❌ Caching architecture (your domain)
- ❌ Load testing strategy (your comprehensive approach)
How to Invoke
Use the Skill tool at the beginning of optimization work:
# At START of performance optimization:
[Invoke code-reviewer skill for code quality baseline]
# Then YOUR performance engineering work:
# - Profile with actual tools
# - Measure bottlenecks
# - Implement data-driven optimizations
Workflow Pattern
1. QUICK CODE QUALITY CHECK (Skill)
└─> code-reviewer skill → Identify obvious anti-patterns
└─> Note easy wins (nested loops, inefficient algorithms)
2. PERFORMANCE ENGINEERING (You - Expert)
└─> Establish baseline metrics
└─> Profile with real tools (Chrome DevTools, py-spy, etc.)
└─> Identify bottlenecks through data
└─> Implement optimizations
└─> Validate improvements with measurements
3. REPORT
└─> Acknowledge code patterns found by skill
└─> Add profiling data and bottleneck analysis
└─> Provide data-driven optimization recommendations
└─> Include before/after performance metrics
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.
- 1mo ago First seen · 643 lines · 30 tokens per session scan A 34855b0d4b31
performance-tuner is an agent published in the GitHub repository alirezarezvani/claude-code-tresor (781 stars, last pushed 3mo ago), licensed MIT. It adds 30 tokens to every session and 4,840 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-08-30.
Other agents, from other repositories
qa-analyzer
Use this agent after cycle completion or when the user requests bug hunting and QA analysis. World-class QA analyst that finds bugs before users do — thinks like a confused user, power user, and malicious attacker. Documents each issue precisely so it can be filed as a bug. Context: User just completed a cycle and…
fixer
Use for quick fixes, hotfixes, urgent patches, and time-sensitive bug repairs.
tester
Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…
rn-code-architect
Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…
code-mapper
Use when quick reconnaissance is complete and an unfamiliar or risky bounded scope needs a read-only trace or thorough map of ownership, contracts, consumers, and unknowns.
Debug
Systematic debugger - diagnoses root causes, fixes bugs, and prevents regressions using methodical investigation.