claude/skills/code-clean/SKILL.md
Bastien Chanot 61a98573d7 chore(skills): remove disable-model-invocation repo-wide
Strip the disable-model-invocation frontmatter key from all 19 editable skills. Absent = default = model invocation enabled. 8 were 'true' and blocked the model AND orchestrators from self-routing (status, plugin-check, analyze, onboard, refactor, init-project, pdf-translate, ship-feature) — contradicting the CLAUDE.md skill-routing rules. The other 11 were 'false', a no-op noise line.

The setting is binary (no per-caller granularity), so enabling orchestrator chaining also enables model auto-fire — accepted. Genuinely destructive operations remain guarded by the careful/guard hooks, independent of this flag.

Capitalized: BDR-019 (decision), LRN-026 (learning), journal 2026-06-09.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 16:18:10 +02:00

869 B

name description argument-hint allowed-tools
code-clean Full codebase cleanup: dead code removal, style/norm enforcement, structural issues. Two-phase workflow: audit first (read-only report), then execute approved fixes only. Delegates refactoring to the refactorer agent. Trigger: "code-clean", "clean up the code", "remove dead code", "enforce code style", "cleanup", "nettoyage du code", "code hygiene". For targeted refactoring without audit → use /refactor instead. For bug fixes discovered during cleanup → logged to .claude/audits/BUGS-FOUND.md, not fixed here. <file, directory, or blank for entire project>
Read
Edit
Write
Bash
Grep
Glob
Agent
AskUserQuestion

Load and follow strictly:

  • $HOME/.claude/agents/code-cleaner.md

Execute the CODE-CLEANER agent on the following target:

$ARGUMENTS