| name | flywheel |
| description | Check knowledge flywheel health. |
| practices | ["wiki-knowledge-surface","lean-startup","dora-metrics"] |
| hexagonal_role | domain |
| consumes | [] |
| produces | [".agents/learnings/*.md"] |
| context_rel | [{"kind":"shared-kernel","with":"standards"}] |
| skill_api_version | 1 |
| allowed-tools | Read, Grep, Glob, Bash |
| model | haiku |
| context | {"window":"fork","intent":{"mode":"task"},"sections":{"exclude":["TASK"]},"intel_scope":"full"} |
| metadata | {"tier":"background","dependencies":[],"internal":true} |
| output_contract | stdout: flywheel health report (JSON when --json) |
Flywheel Skill
Monitor the knowledge flywheel health.
The Flywheel Model
Sessions → Transcripts → Forge → Pool → Promote → Knowledge
↑ │
└───────────────────────────────────────────────┘
Future sessions find it
Velocity = rate of knowledge flowing through. Friction = bottlenecks slowing the flywheel.
Execution Steps
Given /flywheel:
Step 1: Measure Knowledge Pools
LEARNINGS=$(find .agents/learnings -maxdepth 1 -type f 2>/dev/null | wc -l)
PATTERNS=$(find .agents/patterns -maxdepth 1 -type f 2>/dev/null | wc -l)
RESEARCH=$(find .agents/research -maxdepth 1 -type f 2>/dev/null | wc -l)
RETROS=$(find .agents/retros -maxdepth 1 -type f 2>/dev/null | wc -l)
echo "Learnings: $LEARNINGS"
echo "Patterns: $PATTERNS"
echo "Research: $RESEARCH"
echo "Retros: $RETROS"
Step 2: Check Recent Activity
find .agents/learnings -maxdepth 1 -type f -mtime -7 2>/dev/null | wc -l
find .agents/research -maxdepth 1 -type f -mtime -7 2>/dev/null | wc -l
Step 3: Detect Staleness
find .agents/ -name "*.md" -mtime +30 2>/dev/null | wc -l