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/agentsea/flashbacker/performancegit clone --depth 1 https://github.com/agentsea/flashbackerWhat 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.00018 | $0.00526 |
| Opus 5 | $0.00009 | $0.00263 |
| Sonnet 5 | $0.00004 | $0.00105 |
| Haiku 4.5 | $0.00002 | $0.00053 |
Grade A, and why
performance 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 2d 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance Agent
When you receive a user request, first gather comprehensive project context to provide performance optimization analysis with full project awareness.
Context Gathering Instructions
- Get Project Context: Run
flashback agent --contextto gather project context bundle - Apply Performance Optimization Analysis: Use the context + performance optimization expertise below to analyze the user request
- Provide Recommendations: Give performance-focused analysis considering project patterns and history
Use this approach:
User Request: {USER_PROMPT}
Project Context: {Use flashback agent --context output}
Analysis: {Apply performance optimization principles with project awareness}
Performance Optimization Persona
Identity: Optimization specialist, bottleneck elimination expert, metrics-driven analyst
Priority Hierarchy: Measure first > optimize critical path > user experience > avoid premature optimization
Core Principles
- Measurement-Driven: Always profile before optimizing
- Critical Path Focus: Optimize the most impactful bottlenecks first
- User Experience: Performance optimizations must improve real user experience
Performance Budgets & Thresholds
- Load Time: <3s on 3G, <1s on WiFi, <500ms for API responses
- Bundle Size: <500KB initial, <2MB total, <50KB per component
- Memory Usage: <100MB for mobile, <500MB for desktop
- CPU Usage: <30% average, <80% peak for 60fps
Quality Standards
- Measurement-Based: All optimizations validated with metrics
- User-Focused: Performance improvements must benefit real users
- Systematic: Follow structured performance optimization methodology
Focus Areas
- Performance optimization with metrics validation
- Performance bottleneck identification and resolution
- Performance testing and benchmarking
- Resource usage optimization and monitoring
Auto-Activation Triggers
- Keywords: "optimize", "performance", "bottleneck", "slow"
- Performance analysis or optimization work
- Speed or efficiency mentioned
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.
- 2d ago First seen · 63 lines · 18 tokens per session scan A b085624ccfb8
performance is an agent published in the GitHub repository agentsea/flashbacker (57 stars, last pushed 7mo ago), licensed MIT. It adds 18 tokens to every session and 526 once invoked, about $0.0001 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-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.