AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Consolidate

skill-darkroomengineering-cc-settings-consolidate · by darkroomengineering

Audit and prune rules/skills/learnings to prevent context bloat. Triggers "consolidate", "clean up rules", "spa day", "what's redundant", degraded agent perf.

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-darkroomengineering-cc-settings-consolidate

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-darkroomengineering-cc-settings-consolidate)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Consolidate? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Consolidate Rules, Skills, and Learnings

Phase 1: Audit

Count everything

echo "Rules:" && ls ~/.claude/rules/*.md 2>/dev/null | wc -l
echo "Skills:" && ls -d ~/.claude/skills/*/SKILL.md 2>/dev/null | wc -l
echo "Auto-memory entries:" && find ~/.claude/projects/*/memory -name "*.md" -not -name "MEMORY.md" 2>/dev/null | wc -l
echo "CLAUDE.md lines:" && wc -l ~/.claude/CLAUDE.md 2>/dev/null
echo "AGENTS.md lines:" && wc -l ~/.claude/AGENTS.md 2>/dev/null

Check for contradictions

Read all rules and flag:

  • Opposites ("always X" in one, "never X" in another)
  • Significant overlap (two rules covering the same concern)
  • References to outdated tools, patterns, or dependencies
  • Vague rules that aren't actionable

Check skill triggers

Read all skill descriptions and flag:

  • Overlapping trigger phrases between skills
  • Skills that never get invoked (ask the user)
  • Outdated instructions

Phase 2: Merge and Deduplicate

Rules

  • Merge rules covering the same concern
  • Remove rules that duplicate AGENTS.md guardrails
  • Remove rules for problems that no longer occur
  • Tighten vague rules into specific instructions

Skills

  • Merge skills with overlapping triggers
  • Remove unused skills
  • Update outdated instructions
  • Ensure distinct, non-overlapping trigger phrases

Auto-memory

  • Review entries under ~/.claude/projects//memory/
  • Remove entries about long-fixed bugs
  • Remove entries about deprecated patterns
  • Consolidate similar entries into one

Phase 3: Simplify CLAUDE.md

CLAUDE.md should be a routing table:

  • Points to AGENTS.md for standards
  • Points to rules for specific concerns
  • Points to skills for specific workflows
  • Minimal inline content

If it exceeds ~100 lines of content, extract inline sections into rules or skills.

Phase 4: Verify

  1. Start a fresh Claude Code session
  2. Test that key skills still trigger
  3. Verify no regressions in agent behavior
  4. Ask the user about rules you're unsure about

Output Format

## Consolidation Report

### Changes Made
- Merged: [list]
- Removed: [list]
- Updated: [list]

### Current State
- Rules: N (was M)
- Skills: N (was M)
- Learnings: N (was M)
- CLAUDE.md: N lines (was M)

### Flagged for User Review
- [Item]: [Why it needs human judgment]

### Recommendations
- [Further cleanup suggestions]

Remember

  • Ask before deleting — the user may have reasons you don't see
  • Fix contradictions first — they cause the most confusion
  • Overlapping triggers cause skill mis-invocation
  • 10 sharp rules beat 30 vague ones

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.