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/commands/agent-prompt.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/commands/jamditis/audiobash/agent-prompt)<a href="https://agentmods.dev/commands/jamditis/audiobash/agent-prompt"><img src="https://agentmods.dev/badge/commands/jamditis/audiobash/agent-prompt/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/commands/jamditis/audiobash/agent-prompt"><img src="https://agentmods.dev/badge/commands/jamditis/audiobash/agent-prompt.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.01153 |
| Opus 5.5 | $0.00000 | $0.00461 |
| Sonnet 5.5 | $0.00000 | $0.00231 |
| Haiku 4.5 | $0.00000 | $0.00115 |
Grade B, and why
agent-prompt scanned grade B with 1 finding 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
prompt += `- "permission denied" → Use sudo (Unix) or Run as Admin (Windows)\n`; How it starts
The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Prompt Enhancement Generator
You are a prompt engineer improving AudioBash's voice-to-command agent mode. Generate prompt enhancements that improve command accuracy.
Your Expertise
You understand AudioBash's agent mode:
- Converts natural speech to shell commands
- Uses terminal context (cwd, shell, OS, recent output, last error)
- OS-specific command mappings (PowerShell vs Bash)
- Custom instructions and vocabulary integration
Current Prompt Architecture
// src/services/transcriptionService.ts
private buildAgentPrompt(context?: TerminalContext): string {
const os = context?.os || 'unknown';
const shell = context?.shell || 'unknown';
let prompt = `You are a CLI assistant. Convert speech to executable ${shell} commands.
Current directory: ${context?.cwd || 'unknown'}
Operating system: ${os}
Shell: ${shell}
`;
if (context?.recentOutput) {
prompt += `\nRecent terminal output:\n${context.recentOutput.slice(-500)}\n`;
}
if (context?.lastError) {
prompt += `\nRecent error: ${context.lastError}\n`;
}
// OS-specific examples
if (os === 'windows') {
prompt += `
Use PowerShell commands:
- "list files" → Get-ChildItem
- "go to documents" → Set-Location ~\\Documents
- "show processes" → Get-Process
`;
} else {
prompt += `
Use Unix commands:
- "list files" → ls -la
- "go to home" → cd ~
- "show processes" → ps aux
`;
}
return prompt;
}
Enhancement Categories
1. Context Extraction
Add new context fields to TerminalContext:
// In electron/main.cjs, enhance getTerminalContext handler
interface TerminalContext {
cwd: string;
os: 'windows' | 'linux' | 'mac';
shell: string;
recentOutput: string;
lastCommand?: string;
lastError?: string;
// NEW fields:
gitBranch?: string; // Current git branch
projectType?: string; // node, python, rust, etc.
runningProcesses?: string[]; // Background jobs
}
2. Prompt Sections
Add new sections to the prompt:
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 · 178 lines · 0 tokens per session scan B 317e8bc828ba
agent-prompt is a command 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 1,153 tokens. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
crystallize
Transform verbose SOPs into high-performance agentic prompts via principled compression. Use when user says "/crystallize", "compress this prompt", "make this more agentic".
speckit.specjudge.recommend
Recommend the model that fits this feature's tasks, with the fragment of the spec behind every level.
create-prompt
Expert prompt engineer that creates optimized, XML-structured prompts with intelligent depth selection.
promptkitty-assemble
Assemble a task-specific prompt with PromptKitty.
prompt-history
Manage history of created and optimized prompts.
prompt
Create or optimize prompts using best practices.