Agent skill

aget-check-sessions

Monitor sessions/ directory health. Detects date subdirectories (anomaly), counts files, validates naming conventions, and tracks disk usage. Returns health status.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/agent/aget-check-sessions-aget-framework-template-analyst-age/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# /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]-[

What's inside
Steps it walks through
  1. Purpose
  2. Execution
  3. 1. Structure Check
  4. 2. File Inventory
  5. 3. Naming Convention Check
  6. 4. Disk Usage
  7. Thresholds
  8. Output Format
  9. Health Status Logic
  10. Constraints
  11. Related Skills
  12. Traceability
Ships with 1 file
  • metadata.json
Commands it runs
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
More from claude-skill-registry
All skills →
About this skill
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.

Keep going