aget-check-sessions
Monitor sessions/ directory health. Detects date subdirectories (anomaly), counts files, validates naming conventions, and tracks disk usage. Returns health status.
npx skills add majiayu000/claude-skill-registry --skill aget-check-sessions-aget-framework-template-analyst-age --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# /aget-check-sessions Monitor the health of the `sessions/` directory by checking file organization, naming conventions, and disk usage. ## Purpose Provide self-diagnostic capability for AGET agents to assess their sessions directory health. Detects organizational anomalies like date-based subdirectories which indicate non-standard structure. ## Execution When invoked, perform these checks: ### 1. Structure Check ```bash # Check for date subdirectories (anomaly indicator) find sessions -type d -name "20[0-9][0-9]-*" 2>/dev/null | wc -l # Check for checkpoints subdirectory (expected) test -d sessions/checkpoints && echo "yes" || echo "no" ``` ### 2. File Inventory ```bash # Count session files (excluding checkpoints) find sessions -maxdepth 1 -type f -name "*.md" | wc -l # Count checkpoint files find sessions/checkpoints -type f -name "*.yaml" 2>/dev/null | wc -l ``` ### 3. Naming Convention Check Valid session pattern: `session_YYYY-MM-DD_*.md` ```bash # Count valid session names find sessions -maxdepth 1 -type f -name "session_20[0-9][0-9]-[0-9][0-9]-[0-9][0-9]_*.md" | wc -l # Find non-conforming files find sessions -maxdepth 1 -type f -name "*.md" ! -name "session_20[0-9][0-9]-[
- Purpose
- Execution
- 1. Structure Check
- 2. File Inventory
- 3. Naming Convention Check
- 4. Disk Usage
- Thresholds
- Output Format
- Health Status Logic
- Constraints
- Related Skills
- Traceability
Check for date subdirectories (anomaly indicator) find sessions -type d -name "20[0-9][0-9]-*" 2>/dev/null | wc -l Check for checkpoints subdirectory (expected) test -d sessions/checkpoints && echo "yes" || echo "no" Count session files (excluding checkpoints) find sessions -maxdepth 1 -type f -name "*.md" | wc -l Count checkpoint files find sessions/checkpoints -type f -name "*.yaml" 2>/dev/null | wc -l Count valid session names find sessions -maxdepth 1 -type f -name "session_20[0-9][0-9]-[0-9][0-9]-[0-9][0-9]_*.md" | wc -l
What does the aget-check-sessions skill do?
Monitor sessions/ directory health. Detects date subdirectories (anomaly), counts files, validates naming conventions, and tracks disk usage. Returns health status.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill aget-check-sessions-aget-framework-template-analyst-age --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
