Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/aget-framework/template-advisor-agetnpx agentmods add skills/aget-framework/template-advisor-aget/aget-open-sessionWrote 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.
[](https://agentmods.dev/skills/aget-framework/template-advisor-aget/aget-open-session)<a href="https://agentmods.dev/skills/aget-framework/template-advisor-aget/aget-open-session"><img src="https://agentmods.dev/badge/skills/aget-framework/template-advisor-aget/aget-open-session/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.
<a href="https://agentmods.dev/skills/aget-framework/template-advisor-aget/aget-open-session"><img src="https://agentmods.dev/badge/skills/aget-framework/template-advisor-aget/aget-open-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.01372 |
| Opus 5 | $0.00017 | $0.00686 |
| Sonnet 5 | $0.00007 | $0.00274 |
| Haiku 4.5 | $0.00003 | $0.00137 |
Grade A, and why
aget-open-session 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 8d 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.
This is a copy
100% identical to aget-open-session — 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.
How it starts
The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/aget-open-session
Open a session with context-aware establishment. Orchestrates wake-up, then adds context recovery, health gating, and session provenance.
Purpose
The current /aget-wake-up skill runs wake_up.py and displays agent identity — but leaves context recovery to the principal. Open-session transforms session initialization from identity display into context-aware session establishment by adding: prior session context recovery, pre-session health gating, and opened_by provenance (mirroring closed_by from SP-008).
Evidence: SP-008 (close-session) validated composition architecture with cross-fleet evidence (8 sessions). L562 (rename caused 32/32 false-positive drift) confirms composition over rename. L335 (Memory Architecture) specifies 2-minute context recovery target. L670 (Session Quality Assessment Gap). Principal confirmed open/close verb pair (2026-04-10) over start/stop and init/close alternatives.
Input
$ARGUMENTS (none required)
Examples:
/aget-open-session— Full open with context recoveryopen session— Natural language triggeropen this session— Natural language trigger
Execution
Phase 1: Wake-Up Delegation
Run wake-up infrastructure as a single Bash call:
Run the wake-up script using the agent's canonical path:
# Try canonical paths in order (agents may have different locations)
if test -f scripts/wake_up.py; then
python3 scripts/wake_up.py
elif test -f .aget/patterns/session/wake_up.py; then
python3 .aget/patterns/session/wake_up.py
else
echo "No wake_up.py found — run manual wake-up"
fi
Optionally log invocation if telemetry script available:
test -f scripts/log_skill_invocation.py && python3 scripts/log_skill_invocation.py --skill aget-open-session --version 0.1.0 --outcome success --duration-seconds 0
This produces agent identity, version, git status, and health check.
Phase 2: Context Recovery
Using Read, Grep, and Glob (no Bash — zero permission cost):
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.
- 8d ago First seen · 128 lines · 34 tokens per session scan A 9d93dd26e19d
aget-open-session is a skill published in the GitHub repository aget-framework/template-advisor-aget (2 stars, last pushed 8d ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,372 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-open-session, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
mnemon
Persistent memory CLI for LLM agents. Store facts, recall past knowledge, link related memories, manage lifecycle.
durable-session-state
Persist plans, scope decisions, evidence, and reviewer/critic verdicts to durable files during long or multi-phase tasks so work survives context compaction, session resumes, and handoffs. Use for swarm-mode tasks, before context grows large, when recording approval gates, and when resuming after compaction or a…
memory
Persistent, token-efficient project memory. When ON, maintains a .shob/memory/ folder of structured .md files so the full context of the project is NEVER lost across responses, sessions, or context compaction. Uses progressive disclosure — routes through a lightweight INDEX and loads only the files a task needs…
sivtr-memory
Retrieve shared local work memory: terminal activity, AI conversation history, prior decisions, validation evidence, debugging trails, recaps, and handoff context. Use before asking the user to repeat local work context.
brain-ingest
The process for digesting a conversation, document, or research result, classifying it, and writing it down as brain content (a root-page update or a new/updated page) through the brain CLI.
learn
Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory.