Borrowing it
Nothing to install: this file belongs to Ninjabeam20/SportIQ-MCP. 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/Ninjabeam20/SportIQ-MCP/main/.claude/commands/refresh-cache.mdgit clone --depth 1 https://github.com/Ninjabeam20/SportIQ-MCPWrote 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/ninjabeam20/sportiq-mcp/refresh-cache)<a href="https://agentmods.dev/commands/ninjabeam20/sportiq-mcp/refresh-cache"><img src="https://agentmods.dev/badge/commands/ninjabeam20/sportiq-mcp/refresh-cache.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.1 | $0.00012 | $0.00238 |
| Opus 5 | $0.00006 | $0.00119 |
| Sonnet 5 | $0.00002 | $0.00048 |
| Haiku 4.5 | $0.00001 | $0.00024 |
Grade A, and why
refresh-cache 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 8d 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
/project:refresh-cache $ARGUMENTS
Clear cache entries for a sport or a specific tool.
Examples:
/project:refresh-cache cricket→ clearssportiq:cricket:*/project:refresh-cache cricket:live_score→ clearssportiq:cricket:live_score:*
Workflow
- Confirm with user before clearing. Cache wipes can amplify upstream rate-limit pressure.
- Detect active backend via
sportiq_health(). Use the appropriate clear:- Redis:
SCAN+DELby pattern. - diskcache:
cache.evict(tag=...).
- Redis:
- Report number of keys cleared.
- Append to
docs/log.md:## [YYYY-MM-DD] cache-cleared | {pattern}.
Hard rules
- NEVER run
FLUSHALLorcache.clear()— always scoped by pattern. - NEVER clear
ratelimit:*— that resets quota tracking and lies to the chain about budget.
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.
- 8d ago First seen · 27 lines · 12 tokens per session scan A ea9804b89f7d
refresh-cache is a command published in the GitHub repository Ninjabeam20/SportIQ-MCP (10 stars, last pushed 6d ago), licensed MIT. It adds 12 tokens to every session and 238 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-31.
Other commands, from other repositories
index-management
Create, inspect, and drop search indexes. Wait for indexing to complete after data changes. Indexes automatically track Redis keys matching a specified prefix.
v-memory-refresh
(Re)index docs/superpowers prose into the local V-memory cache so recall is current. Incremental by file hash; runs fully offline (FTS5, pure stdlib). Optionally enable the semantic lane with a one-time bootstrap. Run it after pulling new docs, or when /v:remember looks stale.
laravel-performance-cache
Add caching to reduce work; use the laravel:performance-caching skill exactly as written.
database-scaling
Design database scaling strategy with read replicas, partitioning, and sharding recommendations.
frappe-cache
Manage Redis cache - clear, monitor, and optimize Frappe cache performance.
implement-caching
Implement comprehensive multi-level API caching strategies with Redis, CDN, and intelligent invalidation.