aget: Skill for Claude Code

.claude/skills/aget-check-sessions/SKILL.md

aget-check-sessions is a skill for Claude Code from aget-framework/aget. It costs 36 tokens per session (889 once invoked), scanned A, original, Apache-2.0.

A health checker for a sessions/ folder, the directory where session files and saved checkpoints are stored. It looks for misplaced date folders, counts files, checks filenames, and measures disk usage.

In plain words
What is it for?
Use it to inspect session-folder structure, count session and checkpoint files, find naming violations, and report its health.
Why use it?
It reveals disorganized, incorrectly named, or unexpectedly large session storage before it causes confusion or maintenance problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is aget-framework/aget's own configuration. It tells Claude Code how to work on aget itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aget configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aget-framework/aget. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aget-framework/aget/main/.claude/skills/aget-check-sessions/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/aget-framework/aget

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aget-check-sessions

README.md
[![agentmods](https://agentmods.dev/badge/skills/aget-framework/aget/aget-check-sessions/github.svg)](https://agentmods.dev/skills/aget-framework/aget/aget-check-sessions)
Your own site
<a href="https://agentmods.dev/skills/aget-framework/aget/aget-check-sessions"><img src="https://agentmods.dev/badge/skills/aget-framework/aget/aget-check-sessions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aget-check-sessions

Your own site · 80×15
<a href="https://agentmods.dev/skills/aget-framework/aget/aget-check-sessions"><img src="https://agentmods.dev/badge/skills/aget-framework/aget/aget-check-sessions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 889 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00889
Opus 5.5 $0.00014 $0.00356
Sonnet 5.5 $0.00007 $0.00178
Haiku 4.5 $0.00004 $0.00089

Measured 15d ago against content hash 05ee113887ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aget-check-sessions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/aget-check-sessions/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/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

# 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

# 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

# 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]-[0-9][0-9]-[0-9][0-9]_*.md"

4. Disk Usage

du -sh sessions

Thresholds

Metric OK WARN CRITICAL
Total files <200 200-500 >500
Date subdirectories 0 1+ (anomaly) -
Disk size <50MB 50-100MB >100MB

Note: Thresholds inherited from supervisor defaults. Research AGET baseline (2026-02-08): 77 files, 544K.

Output Format

=== /aget-check-sessions ===

Directory: sessions/

Structure:
  Date subdirectories: [count] (0 = OK, >0 = anomaly)
  Checkpoints dir:     [yes/no]

File Counts:
  Session files: [count]
  Checkpoints:   [count]
  Non-conforming: [count]

Disk Usage: [size]

Non-Conforming Files:
  [list any files not matching expected patterns]

Health Status: [OK | WARN | CRITICAL]
Alerts:
  [list any threshold violations or anomalies]

Read the full file on GitHub · 130 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago Changed 05ee113887ae
  2. 1mo ago First seen · 130 lines · 36 tokens per session scan A a9fb30fb6f67

Subscribe to this mod's changes

aget-check-sessions is a skill published in the GitHub repository aget-framework/aget (12 stars, last pushed 7d ago), licensed Apache-2.0. It adds 36 tokens to every session and 889 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aget-record-lesson

Record lessons learned from sessions as persistent, searchable, committable artifacts. Classifies each lesson as Framework (help other AGETs) or Domain (help principal).

aget-framework/template-advisor-aget · 39 tokens

aget-open-session

Open a session with context-aware establishment. Orchestrates wake-up, recovers prior session context, surfaces pending work, and proposes a session agenda.

aget-framework/template-advisor-aget · 34 tokens

aget-close-project

Close a PROJECTPLAN with verifiable-assertion gate (V-tests + commits + retrospective), deferred-surface scan for next-plan handoff, and status transition (ACTIVE → COMPLETE / CLOSED / ABANDONED / SUPERSEDED). Strict counterpart to /aget-create-project (D71 Layer 2). Closes asymmetric verb-pair gap at PROJECTPLAN…

aget-framework/template-advisor-aget · 78 tokens

aget-release-critique

Adversarial review with the Critic perspective of the Release Delivery Triad (L818). Dual mandate — spec coverage audit plus deep bug finding, asking what breaks in the field and which assumptions are wrong. Superseded by /aget-check-release.

aget-framework/template-advisor-aget · 57 tokens

aget-release-audit-specs

Audit specifications with the Spec Auditor perspective of the Release Delivery Triad (L818) — coverage and consistency mode, asking whether a spec covers all behaviors and where gaps or contradictions remain. Superseded by /aget-check-release.

aget-framework/template-advisor-aget · 53 tokens

aget-release-build

Execute release gate deliverables with the Builder perspective of the Release Delivery Triad (L818) — speed-optimized execution asking whether the work is done, fast, and functional. Superseded by /aget-create-release.

aget-framework/template-advisor-aget · 49 tokens