Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
Wrote 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/letitbk/claude-academic-setup/search-prompts)<a href="https://agentmods.dev/commands/letitbk/claude-academic-setup/search-prompts"><img src="https://agentmods.dev/badge/commands/letitbk/claude-academic-setup/search-prompts/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/letitbk/claude-academic-setup/search-prompts"><img src="https://agentmods.dev/badge/commands/letitbk/claude-academic-setup/search-prompts.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.01371 |
| Opus 5 | $0.00000 | $0.00685 |
| Sonnet 5 | $0.00000 | $0.00274 |
| Haiku 4.5 | $0.00000 | $0.00137 |
Grade A, and why
search-prompts 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 10d 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 — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Search across all your Claude Code conversation history for: $ARGUMENTS
Multi-Source Prompt Search
Search through your Claude Code conversation history using multiple methods to find relevant prompts, discussions, and insights.
Database Search (SQLite)
First, search the main conversation database:
# Search user messages for keywords
sqlite3 ~/.claude/__store.db "
SELECT
b.session_id,
datetime(b.timestamp, 'unixepoch') as date,
substr(u.message, 1, 100) as preview
FROM user_messages u
JOIN base_messages b ON u.uuid = b.uuid
WHERE u.message LIKE '%$ARGUMENTS%'
ORDER BY b.timestamp DESC
LIMIT 10;"
Project History Search (JSON)
Search through project-specific conversation history:
import json
import re
from datetime import datetime
def search_project_history(search_term):
try:
with open('/Users/YOUR_USERNAME/.claude.json', 'r') as f:
data = json.load(f)
results = []
if 'projects' in data:
for project_path, project_data in data['projects'].items():
if 'history' in project_data:
for i, item in enumerate(project_data['history']):
text = ""
if isinstance(item, dict) and 'display' in item:
text = item['display']
elif isinstance(item, str):
text = item
if search_term.lower() in text.lower():
results.append({
'project': project_path.split('/')[-1],
'index': i,
'text': text[:200] + "..." if len(text) > 200 else text,
'relevance': text.lower().count(search_term.lower())
})
# Sort by relevance
results.sort(key=lambda x: x['relevance'], reverse=True)
return results[:15] # Top 15 results
except Exception as e:
return [{'error': f"Search failed: {e}"}]
# Execute search
results = search_project_history("$ARGUMENTS")
for result in results:
if 'error' in result:
print(f"❌ {result['error']}")
else:
print(f"📁 Project: {result['project']}")
print(f"🔢 Relevance: {result['relevance']} matches")
print(f"💬 Text: {result['text']}")
print("---")
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.
- 10d ago First seen · 204 lines · 0 tokens per session scan A 156bd2ec1c7e
search-prompts is a command published in the GitHub repository letitbk/claude-academic-setup (44 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,371 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-30.
Other commands, from other repositories
cancel-ralph
Cancel active Ralph Loop.
obsidian-recap
Summarize a time period from the vault - today, week, or month.
setup-pm-skills
Onboard a new user — find out what they do, recommend the right bundles & top skills, and set up a project CONTEXT.md so every skill is tailored to them.
statusbar-style
Switch the status-bar style (classic / capsule / hairline).
engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement.
superpowers-execute
Execute the current GSD phase plan with Superpowers instead of gsd-execute-phase.