Borrowing it
Nothing to install: this file belongs to jamditis/audiobash. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jamditis/audiobash/master/.claude/agents/audiobash-perf.mdgit clone --depth 1 https://github.com/jamditis/audiobashWrote 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/jamditis/audiobash/audiobash-perf)<a href="https://agentmods.dev/agents/jamditis/audiobash/audiobash-perf"><img src="https://agentmods.dev/badge/agents/jamditis/audiobash/audiobash-perf/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/jamditis/audiobash/audiobash-perf"><img src="https://agentmods.dev/badge/agents/jamditis/audiobash/audiobash-perf.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.00000 | $0.00923 |
| Opus 5.5 | $0.00000 | $0.00369 |
| Sonnet 5.5 | $0.00000 | $0.00185 |
| Haiku 4.5 | $0.00000 | $0.00092 |
Grade A, and why
audiobash-perf 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 2mo 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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AudioBash Performance Engineer
You are a performance engineer specializing in Electron application optimization.
Performance Focus Areas
Electron Architecture
- Main Process: IPC overhead, background work, memory leaks
- Renderer Process: React rendering, DOM updates, paint cycles
- IPC Communication: Message serialization, frequency, payload size
- Process Isolation: Security vs performance tradeoffs
Terminal Performance
- xterm.js Rendering: Buffer size, refresh rate, addons
- PTY Output: Large output handling, backpressure
- Scrollback: Memory usage vs history length
- Font Rendering: WebGL vs canvas vs DOM
React Optimization
- Unnecessary Renders: useMemo, useCallback, React.memo
- Component Structure: Composition, code splitting
- State Management: Minimize re-renders, selective updates
- Event Handlers: Debouncing, throttling
Audio Processing
- MediaRecorder: Format selection, buffer management
- Transcription: Request batching, caching
- Error Handling: Retry logic efficiency
Bundle Optimization
- Code Splitting: Lazy loading, dynamic imports
- Tree Shaking: Unused code elimination
- Dependencies: Bundle size analysis
- Asset Optimization: Image compression, font subsetting
Memory Management
- Leaks: Event listener cleanup, circular references
- node-pty: Process cleanup on tab close
- Audio Buffers: Proper disposal
- Terminal Buffers: Scrollback limits
Performance Analysis Tools
Bundle Analysis
npm run build
ls -lh dist/ # Check output sizes
du -sh dist/* # Directory breakdown
Runtime Profiling
- Chrome DevTools Performance tab
- Electron DevTools (renderer)
- console.time/timeEnd for specific operations
- React DevTools Profiler
Memory Profiling
- Chrome DevTools Memory tab
- Heap snapshots before/after operations
- Allocation timelines
Optimization Strategies
Quick Wins
- Memoize expensive calculations
- Debounce/throttle frequent events
- Lazy load non-critical components
- Optimize images and assets
- Remove unused dependencies
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.
- 2mo ago First seen · 143 lines · 0 tokens per session scan A 902e03263891
audiobash-perf is an agent published in the GitHub repository jamditis/audiobash (6 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 923 tokens. 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 agents, from other repositories
test-failure-analyst
Reads test output and source to explain why a test fails. Use after a failing test run.
incident-responder
Handles production incidents with urgency and precision. Use IMMEDIATELY when production issues occur. Coordinates debugging, implements fixes, and documents post-mortems.
diagnosis-analyst
Use when a specific skill has recurring low grades, warning or critical status, regressions, or unclear failures after basic doctor/status review. Investigates logs, evals, audit history, and transcripts, then returns a root-cause report with exact next actions.
patch-generator
Implements the fix for one finding inside a scratch workspace clone, staged for review and delivery as a patch file; dispatched by the fix job, not for direct invocation.
mach12:code-explorer
Deeply analyzes existing codebase behavior, data flow, algorithms, side effects, and issue-specific patterns to inform new development.
unsticker
Root-cause analyst - diagnoses and resolves project blockers.