From personal-harness
Gardener Agent — Scans for doc-code mismatches, unused exports, and architecture violations, then suggests cleanup PRs. This skill invokes the gardener agent to perform the scan. Triggers on 'gardener', 'entropy scan', 'entropy', 'cleanup'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/personal-harness:gardenerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Agents accumulate entropy 5-10x faster than humans. The Gardener Agent manages this continuously.
Agents accumulate entropy 5-10x faster than humans. The Gardener Agent manages this continuously.
This skill delegates work to the gardener agent.
Invoke the gardener agent using the Agent tool:
Agent(
subagent_type="personal-harness:gardener",
prompt="Scan the current project for entropy: doc-code mismatches, unused exports, architecture violations, and code duplication."
)
This skill (this file) is the user entry point; the actual scan logic is performed by the agent defined in agents/gardener.md. The agent operates in read-only mode and does not modify code directly.
| Entropy Type | Agent Code Characteristic | Detection Method |
|---|---|---|
| Code duplication | Occurs in large volumes | Search for similar functions/blocks |
| Documentation drift | Fast | Compare doc ↔ code mismatches |
| Architecture drift | Unconscious violations | Search for dependency rule violations |
| Unused code | Accumulates quickly | Detect unused exports/imports |
The agent returns a report in the following format:
## Gardener Entropy Scan Results
### Doc-Code Mismatches (N items)
1. [HIGH] file:line — mismatch description. Fix: ...
### Unused Exports (N items)
1. [LOW] file:line: `exportName` — 0 references
### Architecture Violations (N items)
1. [HIGH] file → file — reverse dependency. Fix: ...
### Code Duplication (N items)
1. [MED] fileA:line-range ≈ fileB:line-range — suggest extracting common logic
### Summary
- Critical: 0 | High: N | Medium: N | Low: N
- Recommendation: ...
/schedule for periodic runsclaude /schedule "daily 09:00" /personal-harness:gardenernpx claudepluginhub geun-oh/personal-harness --plugin personal-harnessGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.