Skip to content
Back to skills

Smart Cache

ASecurity

Use for cache scan, cleanup, skill archiving, and warm-cache reports.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 4, 2026
ai-agentspythongobashnodesecurity

Works with

  • cli

Security analysis

A100/100

Scanned October 4, 2026

npx -y skills add openamer/openamer --skill smart-cache --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Smart Cache?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Smart Cache
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openamer-smart-cache/badge)](https://www.skillsdirectory.com/skills/openamer-smart-cache)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: smart-cache
description: Use for cache scan, cleanup, skill archiving, and warm-cache reports.
category: system
---

# Smart Cache

Cache-Analyse + Auto-Cleanup + Skill-Archivierung + Warm-Cache.

## CLI

```bash
python scripts/smart-cache.py --scan          # Cache-Grössen anzeigen
python scripts/smart-cache.py --clean --force  # Veraltete Dateien löschen
python scripts/smart-cache.py --warm           # Seltene Skills archivieren
python scripts/smart-cache.py --stats          # JSON-Report
python scripts/smart-cache.py --dry-run        # Nur zeigen, nichts löschen
```

## Exit Codes

| Code | Bedeutung         |
|------|-------------------|
| 0    | Alles sauber      |
| 1    | Cache > 1 GB      |
| 2    | Kein Cleanup nötig |

## Automatische Cron-Jobs

- `smart-cache-clean`: alle 6h — `--clean --force`
- `smart-cache-warm`: alle 24h — `--warm`

## Was wird analysiert

| Ordner              | Limit | Lösch-Regel         |
|---------------------|-------|---------------------|
| `skills/.hub/`      | 500MB | Ganzer Cache wenn   |
| `scripts/node_modules/` | 500MB | Ganzer Cache wenn  |
| `logs/*.log`        | 500MB | > 7 Tage            |
| `.security-cve/`    | 500MB | Ganzer Cache wenn   |
| `.predictive-health/`| 500MB | Ganzer Cache wenn   |
| `cron/output/`      | 500MB | > 72h               |
| Temp-Dateien        | —     | > 24h               |

## Skills – Archivierung (Warm-Cache)

Skills die > 30 Tage nicht benutzt wurden werden nach `/.skill-archives/` als ZIP archiviert und aus dem aktiven Skills-Verzeichnis entfernt. Bei Bedarf können sie manuell zurückgeholt werden.

## Pfad

OpenAmer Home: `$OPENAMER_HOME`
Skript: `scripts/smart-cache.py`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…