Tidy Context — Security skill for Claude Code
Audit and prune CLAUDE.md / nested CLAUDE.md / project memory files — verify claims against the repo, remove stale/duplicate/ephemeral content, split if bloated.
How to install Tidy Context
Installs to ~/.claude/skills/ozkanugr-context-gardener-tidy-context/SKILL.md
mkdir -p ~/.claude/skills/ozkanugr-context-gardener-tidy-context && curl -fsSL https://raw.githubusercontent.com/ozkanugr/context-gardener/HEAD/commands/tidy-context.md -o ~/.claude/skills/ozkanugr-context-gardener-tidy-context/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Tidy Context does
description: Audit and prune CLAUDE.md / nested CLAUDE.md / project memory files — verify claims against the repo, remove stale/duplicate/ephemeral content, split if bloated. argument-hint: "[path-to-file] [--apply] [--report-only]"
Run a full grooming pass using the `context-gardener` skill, scoped to: $ARGUMENTS
If no path is given, scope to `CLAUDE.md` at the repo root plus any nested `CLAUDE.md` and `.claude/context/*.md` files.
- If
--report-onlyis passed: do steps 1–4 of the
Alternatives in Security
- Google Workspace Model Armor — Filter user-generated content for safety 21.6k ★
- Azure Content Safety Java — Content moderation and safety for Java 1.8k ★
- Maestro Knowledge — Intent-driven knowledge-store and Run knowledge lifecycle management — audit/prune, stage candidates (with sig 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Group Membership Audit
Audit Entra/AD group memberships — who's in a group, a user's full group list, nested/dynamic groups, and stal
Audit Design
Audit an existing codebase against its original docs/specs, auto-update stale docs, clean up dangling/duplicat
Memory Compress
Audit and compress this project's persistent memory (MEMORY.md + memory/.md) — merge duplicates, prune stale o
Claude Desktop Tools
Native Windows 11 desktop application that acts as an autonomous visual command center to audit local storage,
Clean AI Writing
Audit and rewrite content to remove AI writing patterns
Gaia Audit
Audit memory, wiki, and auto-loaded files for duplication, conflicting instructions, and stale content. The de
Related Agents
Curate Chatlog
Curate the m3-chatlog store — clean, dedupe, decay ephemeral turns, prune abandoned conversations, promote hig
Housekeeper
Tidy-up worker (Sonnet) that finds clutter - trial images, temp folders, old backups, finished worktrees, dupl
Bd Manager
Beads (bd) database expert. Knows the Dolt-backed schema, runs bd query for meta-analysis, dedupes near-duplic