Skip to content
Back to skills

Clean Context

ASecurity

Clean and compress host-repository context by compacting completed task files, deduplicating memory/rules/debug notes, and refreshing a high-signal context summary. Use after finishing tasks, before handoff, or when context artifacts become noisy.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
tools

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add TimothyMeadows/Hephaera --skill clean-context --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clean Context?

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

Security grade badge for Clean Context
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/timothymeadows-clean-context/badge)](https://www.skillsdirectory.com/skills/timothymeadows-clean-context)

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: clean-context
description: Clean and compress host-repository context by compacting completed task files, deduplicating memory/rules/debug notes, and refreshing a high-signal context summary. Use after finishing tasks, before handoff, or when context artifacts become noisy.
engines: [AGNOSTIC]
---

## When to use
Use when active context has grown noisy and you need to keep only high-signal artifacts for the next session.

## Workflow
1. Verify task changes first.
2. Compact a specific completed task note when needed:
   - `../commands/archive-task-context.sh "<task-name>"`
3. Run full cleanup and summary refresh:
   - `../commands/clean-context.sh`

## Output
- task files compacted
- system and tagged project memory entries merged
- repository-map entries merged
- duplicate rules removed
- debug notes compressed
- tag inventory and context summary refreshed

## Safety rules
- Never delete durable knowledge without archiving first.
- Prefer summarization over destruction.
- Keep system memory flat and project memory tagged, concise, and high-value.
- Preserve traceability through the resolved project archive and report directories.
- All context lives under `<project-root>/.hephaera/.cache/`. This ignored directory holds durable project state; its name never authorizes deleting it as a disposable tool cache.

Files in this skill

  • SKILL.md1.3 KB
  • agents/openai.yaml212 B

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.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.