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 commands/fatihkan/badi/content-searchgit clone --depth 1 https://github.com/fatihkan/badiWrote 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/fatihkan/badi/content-search)<a href="https://agentmods.dev/commands/fatihkan/badi/content-search"><img src="https://agentmods.dev/badge/commands/fatihkan/badi/content-search.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.00452 |
| Opus 5 | $0.00000 | $0.00226 |
| Sonnet 5 | $0.00000 | $0.00090 |
| Haiku 4.5 | $0.00000 | $0.00045 |
Grade A, and why
content-search 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 5d 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.
What it actually says
Content archive search command. Keyword search, similarity detection, and filtering across all generated content.
Required Tools
- Bash (badi content search)
Procedure
Step 1: Get the Search Query
The user provides the query (topic, word, hashtag). With no query, show the most recent content.
Step 2: Run the Search
badi content search "productivity"
Fields to search:
.claude/workspace/icerikler/(posts, carousels).claude/workspace/senaryolar/(videos).claude/workspace/gorseller/(visual briefs).claude/workspace/takvim/(calendars).claude/workspace/sablonlar/(custom templates)marka-sesi.md(brand voice)
Step 3: Filters
badi content search [query] --platform instagram # Platform filter
badi content search [query] --type post # Type filter
badi content search [query] --last 30 # Last 30 days
badi content search [query] --hashtag productivity # Hashtag
badi content search [query] --format json # JSON output
Step 4: Interpret the Results
For each result:
- Score (keyword frequency + recency bonus)
- Directory (icerikler, senaryolar, etc.)
- Snippet (short form of the matching line)
Step 5: Similarity Warning
If the user is about to create new content and 60%+ similarity exists on the same topic, warn. Skippable with --force.
Step 6: Follow-up Actions
- Recurring topic detected: "Shall we suggest a different angle?"
- Nothing found: "Shall we create something new with
/content-generate?" - Old content could be refreshed: "Would you like to update this topic?"
Example
/content-search "productivity"
/content-search "AI" --platform linkedin --last 7
/content-search "tutorial" --type video
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.
- 5d ago First seen · 60 lines · 0 tokens per session scan A effd396ca14f
content-search is a command published in the GitHub repository fatihkan/badi (7 stars, last pushed 18d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 452 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 commands, from other repositories
audit-agents-skills
Audit quality of agents, skills, and commands in a Claude Code project.
land-and-deploy
Merge PR, wait for CI, verify deploy, run canary — the complete landing pipeline.
check-cache-bugs
Audit Claude Code setup for cache bugs (CC#40524) — sentinel, --resume/--continue, attribution header + ArkNill B3/B4/B5.
scaffold
Interactive coach that asks 4-5 questions to determine whether you need an agent, command, skill, hook, or rule — then generates a ready-to-use template. Usage: /scaffold (no arguments — starts the coaching session).
investigate
Systematic root-cause debugging — find the cause before writing any fix.
sonarqube
Analyze SonarCloud quality issues for a specific PR.