/ekosistem-edho-ferdian:config-hygiene-edho-ferdianfrom ekosistem-edho-ferdian
Scans and cleans up the ~/.claude environment: redundant skills, stale memory, orphaned hooks, duplicate permissions, broken MCP servers, and caches. Proposes one item at a time with undo path.
Ships in ekosistem-edho-ferdian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Target: the user's own Claude Code environment — ~/.claude/*,
project-level .claude/*, ~/.claude.json, and .mcp.json.
This is the deliberate complement to skill-audit-edho-ferdian, which
audits the content quality of this ecosystem's skills/* and explicitly
refuses to look at ~/.claude. This skill looks at exactly what that one
refuses to: the environment those skills run inside.
| Question | Skill |
|---|---|
| Is this ecosystem's skill well-written, non-redundant, links intact? | skill-audit-edho-ferdian |
| Should a new skill exist at all, and is it actually obeyed? | skill-authoring-edho-ferdian |
| Is the environment carrying dead weight, and what does it cost? | this skill |
Never delete autonomously. Every candidate gets its own confirmation.
.disabled > move to
~/.claude/_gc_trash/<date>/ > real deletion. Always keep an undo path.[y/n/skip].
There is no "yes to all".~/.claude/gc_log.md: what was touched, why, and
how to undo it.| # | Channel | Path | Staleness / redundancy signals |
|---|---|---|---|
| 1 | Skills | ~/.claude/skills/*/ | Heavily overlapping names; never triggered in recent transcripts; domain mismatch with actual work; broken or empty SKILL.md |
| 2 | Memory | ~/.claude/**/memory/*.md + index | Several index entries for one topic; contents contradicted by newer entries; dates already passed; orphans missing from the index; sub-100-word fragments that should merge |
| 3 | Hooks | ~/.claude/hooks/ + settings | Scripts on disk referenced by no hook config; old versions superseded by rewrites |
| 4 | Permissions | permissions.allow in settings.json / settings.local.json | Duplicates; specific entries already covered by a wildcard; one-off grants from past experiments |
| 5 | MCP servers | ~/.claude.json, project .mcp.json | Servers that fail to connect; functional duplicates; long unused |
| 6 | Automations | scheduled jobs / reminders, wherever kept | Fired one-shots older than 30 days; jobs whose target script no longer exists |
| 7 | Project history | ~/.claude/projects/*/ | Stale handoff snapshots; session records superseded by newer state |
| 8 | Runtime caches | cache/, file-history/, logs/, shell-snapshots/ | Sort by size and mtime; propose items >30 days old and large |
| 9 | Context cost | every loaded component | See §Context budget below — a component can be healthy and still not worth its tokens |
plankton-code-quality)A distinct failure mode from all nine channels above: an agent facing a
failing lint/format/build gate loosens the config instead of fixing the
code — relaxing a .eslintrc rule, widening ruff.toml's ignore list,
disabling a .shellcheckrc/.yamllint/.hadolint.yaml check — so the gate
goes green without the underlying issue being fixed. This is metric-gaming,
not cleanup, and it is the same shape of problem the false-positive/gaming
patterns in gan-harness-edho-ferdian/references/loop-design-review.md
already name for evaluator loops ("Goodhart-gaming the verifier" — the score
climbs while the artifact gets worse). Treat a lint/format config edit found
during a scan as a high-confidence flag, not a routine change: check whether
it was made because a check was failing at the time, and whether it
narrows coverage rather than reflecting a genuinely agreed convention (a
narrowing with an inline comment explaining the deliberate exception is a
documented convention, not tampering — same test language-code-review- edho-ferdian's Reflection gate already applies to a suppressed lens
finding). This is a detection responsibility for this skill's channel 3/4
scans, not a new channel — a tampered config is the same "stale/unreachable
correctness" concern as any other hook/permission drift, just with a
gaming motive behind it.
plankton-code-quality)Useful as a quick cross-check when this skill (or build-fix-edho-ferdian
Phase 0) needs to confirm which formatter/linter should be running for a
given file extension before treating its absence as a gap:
| Extension / stack | Formatter | Linter | Optional |
|---|---|---|---|
.py | ruff format | ruff | ty, vulture, bandit |
.ts/.tsx/.js/.jsx | biome (or prettier) | biome (or eslint) | oxlint, semgrep, knip |
.sh/.bash | shfmt | shellcheck | — |
.yml/.yaml | — | yamllint | — |
.md | — | markdownlint-cli2 | — |
Dockerfile | — | hadolint (≥2.12.0) | — |
.toml | taplo | — | — |
.json | jaq | — | — |
Not exhaustive for every stack in this ecosystem (e.g. Go/Rust/Java tooling
lives in those stacks' own build-fix/review references) — this table covers
what ECC's plankton-code-quality ships and is meant as a fast reference,
not a replacement for the per-stack detection tables already in
build-fix-edho-ferdian and language-code-review-edho-ferdian. It is
also not the setup guide — installing and wiring any of these tools
(including the Husky/lint-staged git-hook layer around them) is
code-quality-tooling-edho-ferdian's job; this table exists only so this
skill's own tamper-detection scan (above) has a fast fact-check for
"what should be running here" before flagging its absence or a suspicious
edit as drift.
Channels 1-8 ask "is this dead?". Channel 9 asks a different and often more useful question: "is this alive but not worth what it costs to keep loaded?" A perfectly maintained skill that is loaded every session and fires twice a year is a context-budget problem, not a staleness problem.
Estimate per component — skills (frontmatter always loaded, body on trigger), MCP server tool definitions (always loaded, frequently the single largest line item), rules and always-on memory files, hook definitions. Rank by tokens-per-session against observed usefulness, and report the top offenders with a concrete recommendation: disable, narrow the description so it stops loading speculatively, or move to LIBRARY (below).
DAILY vs LIBRARY. Borrowed from ECC agent-sort (fetched 2026-09-04) —
the classification idea only, never its ECC install-planning machinery.
Split components in two buckets, and require repo evidence for every DAILY
call rather than a feeling:
Not everything here is deletion. Context also gets reclaimed by compacting at the right moment. Auto-compaction fires at an arbitrary token threshold, which usually lands mid-task and discards exactly the working state that was still needed.
Compact deliberately at a phase boundary instead — for work running
under dev-kickoff-edho-ferdian, that means after Stage 6 REMEMBER of a
task, once the memory files have been written and the state that matters
is on disk rather than in the window. A session that has just snapshotted
can afford to lose its context; one mid-IMPLEMENT cannot.
Hook wiring per-type and per-language, model routing tiers, context-budget
mechanics, permission-widening posture, and todo-list-as-steering-surface —
all detail that channels 3 (hooks), 6 (automations), and 9 (context cost)
draw on but that doesn't need to sit inline in this file — lives in
references/harness-operation.md.
This ecosystem's stated end state (D-005) is to stop depending on the ECC install entirely. That removal is a config-hygiene operation, and it is the one place where this skill is allowed to look at ECC-managed paths — to remove them, never to maintain them.
Run this track only on explicit request. It is ordered so that nothing breaks before its replacement exists:
~/.claude/agents/*,
~/.claude/rules/ecc/*, ECC-installed skills, ECC hook entries in
settings.json, ECC-specific env vars (ECC_*).skills/ (the porting record in project-memory/02-gap-analysis.md
and the decision register are the source of truth for this map)..disabled, run normally for at
least one working session, and only then move to _gc_trash/.skills/ for pointers into ECC paths. A native skill
pointing at an ECC file is a D-005 violation and was already found once
during the kelompok 3 port (e2e-testing-edho-ferdian, 4 locations).[y/n/skip]. The user
can stop at any point.gc_log.md, then remove it from the allow array.dead-code-cleanup-edho-ferdian.skills/ content quality; that is
skill-audit-edho-ferdian's job. Channel 1 here only asks whether a
skill is installed and loaded, never whether it is well written.When a hook may not be firing, or after moving a config directory or plugin:
references/hook-path-audit.md (read-only check that every hook command's
script path resolves).
references/inventory-scripts.md — read-only scripts for skills, duplicates, settings, MCP, memory and disk, plus the change log and before/after proof. Read it when doing the work, not before routing.
references/worked-config-gc.md — one scan of a cluttered ~/.claude: ranked candidates, per-item confirmation, soft-delete, log entry and before/after.
| You say | Mode or reference it loads | Parameters |
|---|---|---|
| "audit setup gue" | Workflow over all nine channels | channels = all |
| "kebanyakan skill, sesi lambat mulai" | Channels 1 and 9 (context cost, DAILY vs LIBRARY) | channels = 1, 9 |
| "bersihin permission yang numpuk" | Channel 4, backup then verbatim log | channels = 4 |
| "hook-nya kayaknya gak jalan" | references/hook-path-audit.md, read-only | none |
| "lepas ECC sepenuhnya" | ECC decommissioning track, only on explicit request | track = ecc |
| Parameter | Required | Values | Default |
|---|---|---|---|
channels | optional | the nine in Scan channels: skills, memory, hooks, permissions, MCP, automations, project history, caches, context cost | all nine |
| candidate cap | fixed | about 20 per run | not adjustable per item |
| decision per item | required | y, n, skip | none: there is no "yes to all" |
track | optional | ecc decommissioning | off: only on explicit request |
Output: a numbered table ranked by confidence (broken before merely old),
one confirmation per item, soft-deleted items with an undo path, an entry in
~/.claude/gc_log.md, and a closing report with a next review date.
When the work reaches one of these, load that skill with the Skill tool and follow it — don't write its part from memory.
skill-audit-edho-ferdiansafe-execution-edho-ferdianAdapted from ECC config-gc, context-budget, workspace-surface-audit,
automation-audit-ops, strategic-compact, and the DAILY/LIBRARY concept
of agent-sort — all fetched 2026-09-04. Consolidated into one skill with
per-channel lenses per D-009 rather than six near-overlapping skills.
The ECC decommissioning track has no upstream equivalent; it exists
because of D-005 and inverts agent-sort's purpose (which was to plan an
ECC install, not to retire one). The config tamper guard and language/tool
gate table are a small harvest from ECC plankton-code-quality, fetched
2026-09-06 — only those two concepts were pulled in, not its PreToolUse/
Stop-hook enforcement machinery, since this skill works by human-confirmed
scan-and-flag, not automatic blocking. references/harness-operation.md
is a further D-005 harvest, fetched 2026-09-06, from ECC
rules/common/hooks.md, rules/common/performance.md, and the 21
rules/<lang>/hooks.md files — these were still active global instructions
loading from the ECC rule tree, and this skill already owns the ~/.claude
surface those files govern.
hooks/antigravity-adapter.js (opens in a new tab)hooks/inject-rules.js (opens in a new tab)hooks/log-skill-use.js (opens in a new tab)hooks/log-subagent-run.js (opens in a new tab)hooks/skill-guard.js (opens in a new tab)hooks/statusline-usage.js (opens in a new tab)hooks/suggest-skill.js (opens in a new tab)references/harness-operation.md (opens in a new tab)references/hook-path-audit.md (opens in a new tab)references/inventory-scripts.md (opens in a new tab)references/worked-config-gc.md (opens in a new tab)scripts/skill-report.js (opens in a new tab)scripts/subagent-report.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub edhoferdian/eef --plugin ekosistem-edho-ferdian43 skills in this plugin
/api-design-edho-ferdianDesign and evolve API contracts: REST resource naming, status codes, pagination, versioning, and one authoritative OpenAPI/schema so client and server never drift. Use for "desain API untuk fitur ini", "struktur endpoint yang baik", "API contract berubah", "REST vs apa", or a new API surface./ask-eefEntry point to the EEF skills: reads the request and the project, then loads the right skill or sequence (dev-kickoff, design-engineering, build-fix, code-review...). Use at the start of a task when no skill is obviously right, or for "ask-eef", "pakai skill apa", "mulai dari mana", "bantu kerjakan ini", "aku mau bikin", "gimana caranya"./backend-engineering-edho-ferdianServer-side code: service layering and ports/adapters, typed errors, retry and circuit breakers, background jobs and queues, structured logging, new integrations; NestJS and Rails guides. Use for "struktur service layer", "error handling di backend", "retry/circuit breaker", "background job", "tambah integrasi baru", "bikin app Rails"./billing-ops-edho-ferdianDiagnose billing incidents (duplicate subscriptions, failed checkout, double charges, broken portal) and verify pricing/entitlement claims against code. Refunds, credits, cancellations need an explicit go-ahead. Use for "pelanggan minta refund", "subscription ganda", "checkout gagal", "kena tagih dua kali", "billing portal rusak"./build-fix-edho-ferdianFix build, compile, dependency and startup failures with a minimal verified diff, never a cast, ts-ignore or disabled check that hides the error; lenses for ~20 stacks. Load it even for one pasted error. Use for "build error", "gagal build", "compile error", "tidak bisa jalan", "fix the build", "dependency conflict", "migration error", or a stack trace./click-path-audit-edho-ferdianTrace each button, toggle or form submit through its full state changes to find handlers that undo each other, async races, stale closures and effects that reset state. Use for "tombolnya gak jalan", "diklik tapi gak ada yang terjadi", "the button does nothing", "state-nya balik lagi", or after refactoring a shared store.Other plugins' skills for the same job