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.
git clone --depth 1 https://github.com/Venkateshvenki404224/frappe-apps-managerWrote 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/venkateshvenki404224/frappe-apps-manager/frappe-cache)<a href="https://agentmods.dev/commands/venkateshvenki404224/frappe-apps-manager/frappe-cache"><img src="https://agentmods.dev/badge/commands/venkateshvenki404224/frappe-apps-manager/frappe-cache/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/venkateshvenki404224/frappe-apps-manager/frappe-cache"><img src="https://agentmods.dev/badge/commands/venkateshvenki404224/frappe-apps-manager/frappe-cache.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.00015 | $0.02135 |
| Opus 5 | $0.00008 | $0.01068 |
| Sonnet 5 | $0.00003 | $0.00427 |
| Haiku 4.5 | $0.00002 | $0.00214 |
Grade B, and why
frappe-cache 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 12d 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.
sudo systemctl restart redis-server How it starts
The opening of the file, as written. The whole thing — 380 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frappe Cache Command
Manage Frappe's Redis cache including clearing cache, monitoring cache statistics, and optimizing cache performance.
Steps to Execute
1. Verify Environment
- Check if in valid Frappe bench
- Verify Redis is running:
redis-cli ping - Check site exists
2. Cache Operation Selection
Ask user what cache operation they want:
A. Clear Cache
- Clear all cache
- Clear specific doctype cache
- Clear user-specific cache
- Clear specific cache keys
B. View Cache Stats
- Cache size and memory usage
- Hit/miss ratio
- Key count
- Expiration info
C. Inspect Cache
- List cache keys
- View specific key values
- Search cache keys by pattern
D. Monitor Cache
- Real-time cache monitoring
- Performance metrics
- Memory usage trends
3. Clear Cache Operations
Clear All Cache:
bench --site [site-name] clear-cache
Clear Specific DocType:
bench --site [site-name] console
>>> frappe.clear_cache(doctype='Customer')
>>> exit()
Clear User Cache:
# Via console
bench --site [site-name] console
>>> frappe.clear_cache(user='[email protected]')
Clear Specific Keys:
# Via Redis CLI
redis-cli --scan --pattern "*customer*" | xargs redis-cli del
4. Cache Statistics
View Cache Info:
redis-cli info memory
redis-cli info stats
Display formatted output:
Memory Usage: 45.2 MB / 512 MB (8.8%)
Total Keys: 1,247
Hit Rate: 87.3%
Evictions: 12
Key Count by Pattern:
# Count DocType cache keys
redis-cli --scan --pattern "*doctype*" | wc -l
# Count user cache keys
redis-cli --scan --pattern "*user*" | wc -l
5. Cache Inspection
List Recent Keys:
redis-cli --scan --pattern "*" | head -20
View Key Value:
redis-cli get "cache_key_name"
Check Key TTL:
redis-cli ttl "cache_key_name"
Search Keys:
# Find keys matching pattern
redis-cli --scan --pattern "*customer*"
6. Cache Monitoring
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.
- 12d ago First seen · 380 lines · 15 tokens per session scan B a4db0139f4d5
frappe-cache is a command published in the GitHub repository Venkateshvenki404224/frappe-apps-manager (27 stars, last pushed 3mo ago), licensed MIT. It adds 15 tokens to every session and 2,135 once invoked, about $0.0001 per session on Opus 5. 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-30.
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.
implement-caching
Implement comprehensive multi-level API caching strategies with Redis, CDN, and intelligent invalidation.
redis-channel-configure
Add or update an endpoint in the local redis-channel registry.