aget-check-sessions

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

A monitor for the health and organisation of a sessions directory, where agent session records and checkpoints are stored.

In plain words
What is it for?
Counting session and checkpoint files, checking naming conventions, finding date-based subdirectories, and reporting the directory's health.
Why use it?
It detects unusual folders, incorrectly named files, missing expected folders, and storage usage that may indicate housekeeping problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Counting session and checkpoint files, checking naming conventions, finding date-based subdirectories, and reporting the directory's health.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aget-framework/template-advisor-aget/aget-check-sessions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aget-framework/template-advisor-aget --skill aget-check-sessions
Clone the repo
git clone --depth 1 https://github.com/aget-framework/template-advisor-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/template-advisor-aget/aget-check-sessions/github.svg)](https://agentmods.dev/skills/aget-framework/template-advisor-aget/aget-check-sessions)
Your own site
<a href="https://agentmods.dev/skills/aget-framework/template-advisor-aget/aget-check-sessions"><img src="https://agentmods.dev/badge/skills/aget-framework/template-advisor-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/template-advisor-aget/aget-check-sessions"><img src="https://agentmods.dev/badge/skills/aget-framework/template-advisor-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 894 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.
Origin 100% copy Near-identical to another mod 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.00894
Opus 5 $0.00018 $0.00447
Sonnet 5 $0.00007 $0.00179
Haiku 4.5 $0.00004 $0.00089

Measured 10d ago against content hash a9fb30fb6f67, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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

This is a copy

100% identical to aget-check-sessions — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.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. 10d 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/template-advisor-aget (2 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 894 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to aget-check-sessions, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

tt-sidebar

Open a live Token Tracker sidebar for only the current Codex session in a right-side terminal split at one-third width. Use when the user explicitly invokes $tt-sidebar or asks to monitor the current Codex session beside its terminal pane.

stormzhang/token-tracker · 50 tokens

modern-python-toolchain

Modern Python project setup with uv, ruff, and pyright. Use when initializing a new Python project, configuring the Python environment, setting up linting/formatting, or when a project needs uv (the fast Python package manager). Trigger on: 'set up Python', 'new Python project', 'configure uv', 'install uv', 'ruff'…

XiaomiMiMo/MiMo-Code · 105 tokens

gap-analyzer

Compares a CLI's implemented commands against its APP.md API map and traffic-analysis.json to find missing endpoints, incomplete CRUD, dead client methods, and priority gaps. Runs as the mandatory first step of /cli-anything-web:refine and as an optional pre-review scan in standards.

ItamarZand88/CLI-Anything-WEB · 62 tokens

airbnb-cli

Use cli-web-airbnb to search Airbnb stays, get listing details, check availability calendars, read guest reviews, and look up location suggestions. Invoke this skill whenever the user asks about Airbnb accommodations, vacation rentals, listing prices, availability, guest reviews, or wants to search for places to stay.…

ItamarZand88/CLI-Anything-WEB · 76 tokens

linkedin-cli

Interacts with LinkedIn via the cli-web-linkedin command-line tool — search people/jobs/companies, view profiles and feed, create/edit/delete posts, react and comment, manage connections and invitations, read and send messages, view notifications, follow companies. Use when the user asks about LinkedIn or wants to…

ItamarZand88/CLI-Anything-WEB · 93 tokens

notebooklm-cli

Drives Google NotebookLM via the cli-web-notebooklm command-line tool — create and manage notebooks, add URL/text sources, ask questions grounded in the sources, and generate/download artifacts (audio overview, video, slide deck, mindmap, study guide, quiz, FAQ, briefing, infographic, data table). Use when the user…

ItamarZand88/CLI-Anything-WEB · 109 tokens