Skills durable-files-weekly-review-public
Run a weekly token-optimization audit for durable instruction files in any OpenClaw workspace, generate a markdown report, and propose approval-gated cleanup actions. Use when users want to keep AGENTS/USER/TOOLS/MEMORY-style docs lean without silent deletions.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/andyylin/durable-files-weekly-review-public" ~/.claude/skills/openclaw-skills-durable-files-weekly-review-public && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/andyylin/durable-files-weekly-review-public" ~/.openclaw/skills/openclaw-skills-durable-files-weekly-review-public && rm -rf "$T"
manifest:
skills/andyylin/durable-files-weekly-review-public/SKILL.mdsource content
Durable Files Weekly Review (Sanitized / ClawHub)
Use this skill to audit durable instruction files and prepare cleanup proposals.
Default scope
Audit these files relative to a workspace root:
AGENTS.mdSOUL.mdUSER.mdTOOLS.mdMEMORY.mdIDENTITY.mdPRIORITIES.mdSKILLS.mdprojects.md
Run
python3 scripts/durable_files_review_generic.py --root .
Optional:
python3 scripts/durable_files_review_generic.py --root /path/to/workspace --out knowledge/reports/durable-files
Workflow
- Run scanner.
- Open generated report.
- Summarize top token-heavy files + stale markers.
- Propose cleanup in batches.
- Require explicit user approval before any deletions.
- Apply approved edits and post concise changelog.
Success output
- Dated markdown report with metrics/findings
- Clear approval queue for removals
- No silent content removal