with one click
ai-smell-scan
Detect AI-generated code smells. Read-only - does not fix.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Detect AI-generated code smells. Read-only - does not fix.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | ai-smell-scan |
| description | Detect AI-generated code smells. Read-only - does not fix. |
Read-only scan for AI-generated code patterns. Reports findings without making changes.
No arguments? Describe this skill and stop. Do not execute.
Each smell type has a severity weight. The AI Smell Index is the weighted sum.
| Smell Type | Weight | Why |
|---|---|---|
| Over-abstraction | 3 | Adds complexity, hides logic |
| Defensive paranoia | 3 | Implies distrust in own code |
| Comment spam | 1 | Noise, but harmless |
| Speculative features | 3 | Dead code, maintenance burden |
| Enterprise patterns | 3 | Massive overkill |
| Generic wrappers | 2 | Indirection without value |
| Verbose naming | 1 | Annoying but functional |
| Excessive structure | 2 | Navigation overhead |
Index interpretation:
// increment counter above counter++Result<T, E> when you just throwuserUserData)## AI Smell Scan: [target]
SMELLS_FOUND:
- [file:line] [smell type]: [description]
- [file:line] [smell type]: [description]
SUMMARY:
| Smell Type | Count | Weight | Score |
|------------|-------|--------|-------|
| Over-abstraction | N | 3 | Nร3 |
| Defensive paranoia | N | 3 | Nร3 |
| Comment spam | N | 1 | Nร1 |
| Speculative features | N | 3 | Nร3 |
| Enterprise patterns | N | 3 | Nร3 |
| Generic wrappers | N | 2 | Nร2 |
| Verbose naming | N | 1 | Nร1 |
| Excessive structure | N | 2 | Nร2 |
TOTAL_SMELLS: N
AI_SMELL_INDEX: N (interpretation)
RECOMMENDATION: Run /ai-smell-review to clean up
Use the AI_SMELL_INDEX to compare before/after:
# Before changes
/ai-smell-scan src/ โ AI_SMELL_INDEX: 12
# After implementing with full base brain
/ai-smell-scan src/ โ AI_SMELL_INDEX: 18
# Delta: +6 (got worse)
Track index after each /build or /improve run to detect skill configuration impact.
This is a read-only scan. Use /ai-smell-review to fix issues.
Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills.
Refactoring patterns - improving code design without changing behavior
Read-only quality scan of components. Reports problems without making changes. Uses software-base + domain profile skills.
Internal phase: independent Codex review + targeted fixes. Not user-facing.
Find duplicated code and consolidate into shared utilities. Fixes all duplicates.
Reference templates for Codex evaluation. Used by build/improve orchestrators โ not executed directly.