.claude/skills/aget-check-kb/SKILL.md
Validate Knowledge Base health by checking structure, frontmatter compliance, and content staleness. Returns conformance score and health status (OK/WARN/CRITICAL).
npx skillsauth add aget-framework/template-executive-aget aget-check-kbInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
# 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"
# 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
# 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
du -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
testing
End AGET session with state capture and sanity checks
tools
Initialize AGET session with status briefing
development
Research a topic across the knowledge base before implementation. Searches L-docs, patterns, PROJECT_PLANs, SOPs, and governance for relevant context.
development
Save workflow state for resume/recovery. Use at natural breakpoints before context-intensive operations, major refactors, or session interruptions.