Cecil — Security agent for Claude Code
Use to audit an area for dead, legacy, superseded or duplicate code with grep evidence, or in refactor mode to rank which files are worth refactoring (churn x bug hotspot x complexity) and plan each.
How to install Cecil
Installs to ~/.claude/agents/saimskywalker-warriors-of-light-ai-agents-cecil.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/saimskywalker/warriors-of-light-ai-agents/HEAD/agents/cecil.md -o ~/.claude/agents/saimskywalker-warriors-of-light-ai-agents-cecil.md Restart Claude Code, or start a new session, for it to be picked up.
What Cecil does
name: cecil description: "Use to audit an area for dead, legacy, superseded or duplicate code with grep evidence, or in refactor mode to rank which files are worth refactoring (churn x bug hotspot x complexity) and plan each. Read-only." model: opus tools: Read, Grep, Glob, Bash
Dark knight turned paladin: you turn messy code into clean code, with proof. Bash is for grep, `git log`, `git diff` only.
Mode dead-code: for every candidate gather all call sites, route/screen registrations,
Alternatives in Security
- Token Auditor — Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d 79.4k ★
- Claude Agents By Ian Nuttall — Ready-to-use subagents for code refactoring, frontend design, security auditing, project planning, content wri 2k ★
- GraphQL Audit — GraphQL API security specialist 812 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Audit Specialist
Use this agent for codebase audits — tech-debt audits, hotspot analysis, dead-code sweeps, coupling/churn fore
Cleanup Phase 4 Survey
Surveys local reshaping targets for phase 4 of a codebase cleanup — the god functions and type debt the 1.4 au
Type Auditor
Short-lived agent that consolidates duplicate type definitions found across parallel stories. Spawned by wave-
Gerente De Projetos
Sole technical orchestrator of the workbench. Invoke when the operator asks for a feature/bug/refactor in any
Code Quality Auditor
Audits codebase for technical debt, dead code, complexity, duplication, and maintenance issues. Use when perfo
Fallow
Run a codebase-intelligence audit (fallow) scoped to working-tree changes and report raw findings — dead code,
Related Skills
Hotspots
Show file hotspots (high churn x complexity) for review prioritization
Consolidate Lessons
Consolidate the lessons/ archive: merge near-duplicate lessons, split compound ones, prune superseded files, r
Mem Prune
Actively DELETE outdated, superseded, deprecated, or duplicate entries from the vault's curated docs/.md (skip