Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Validate Knowledge Base health by checking structure, frontmatter compliance, and content staleness. Returns conformance score and health status (OK/WARN/CRITICAL).
.claude/skills/majiayu000-aget-check-kb/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 747% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 830% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 47% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 113% | 0% |
Validate the health of the knowledge/ directory by checking structure, file organization, and content freshness.
Provide self-diagnostic capability for AGET agents to assess their knowledge base health. Identifies structural issues, missing documentation, and stale content.
When invoked, perform these checks:
bash# Check if knowledge/ exists test -d knowledge && echo "exists" || echo "missing" # List subdirectories find knowledge -type d -mindepth 1 -maxdepth 1 # Check for README test -f knowledge/README.md && echo "yes" || echo "no"
bash# Count markdown files find knowledge -type f -name "*.md" | wc -l # Count by subdirectory for dir in knowledge/*/; do echo "$dir: $(find "$dir" -type f -name "*.md" | wc -l)" done
bash# Find files not modified in 90+ days find knowledge -type f -name "*.md" -mtime +90 | wc -l # Find files not modified in 180+ days find knowledge -type f -name "*.md" -mtime +180 | wc -l
bashdu -sh knowledge
| Metric | OK | WARN | CRITICAL | |--------|-----|------|----------| | KB exists | yes | - | no | | README exists | yes | no | - | | Staleness (90+ days) | <25% | 25-50% | >50% | | Staleness (180+ days) | <10% | 10-25% | >25% |
Note: Research AGET baseline (2026-02-08): 14 files, 96K.
=== /aget-check-kb ===
Directory: knowledge/
Structure:
KB exists: [yes/no]
README: [yes/no]
Subdirectories: [list]
File Counts:
Total files: [count]
By directory:
[dir]: [count]
...
Staleness:
>90 days: [count] ([%])
>180 days: [count] ([%])
Disk Usage: [size]
Health Status: [OK | WARN | CRITICAL]
Alerts:
[list any threshold violations]IF kb_missing:
CRITICAL
ELIF stale_180 > 25% OR stale_90 > 50%:
CRITICAL
ELIF readme_missing OR stale_180 > 10% OR stale_90 > 25%:
WARN
ELSE:
OK/aget-check-evolution - Evolution directory health/aget-check-sessions - Sessions directory health| Link | Reference | |------|-----------| | POC | POC-017 | | Project | PROJECT_PLAN_AGET_UNIVERSAL_SKILLS.md | | Source | Fleet Skill Deployment Report (supervisor) | | Baseline | 14 files, 96K (2026-02-08) |
aget-check-kb v1.0.0 Category: Monitoring POC-017 Phase 1
Other measured skills in the registry, with their headline benchmark lift.