session-context

session-context is a skill for Claude Code, Codex from ryantlee25-droid/tages. It costs 82 tokens per session (675 once invoked), scanned A, original, MIT.

A skill that restores saved project context at the start of a coding session. It recalls codebase conventions, architecture decisions, and information learned in earlier sessions through Tages.

In plain words
What is it for?
Use it to load project memory, restore previous context, and help an agent follow established project conventions.
Why use it?
It reduces the need to repeat project background every time a new session begins. If the project is not configured, it offers a setup flow.

Skill for Claude CodeCodex

Part of the tages plugin — 2 skills, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/ryantlee25-droid/tages/session-context
Any agent
npx skills add ryantlee25-droid/tages --skill session-context
Clone the repo
git clone --depth 1 https://github.com/ryantlee25-droid/tages

Made for: Claude Code, Codex.

Or install tages, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 session-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/ryantlee25-droid/tages/session-context.svg)](https://agentmods.dev/skills/ryantlee25-droid/tages/session-context)
Your own site
<a href="https://agentmods.dev/skills/ryantlee25-droid/tages/session-context"><img src="https://agentmods.dev/badge/skills/ryantlee25-droid/tages/session-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 675 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00082 $0.00675
Opus 5 $0.00041 $0.00338
Sonnet 5 $0.00016 $0.00135
Haiku 4.5 $0.00008 $0.00068

Measured 5d ago against content hash 3a55c5e12393, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

session-context 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 5d 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.

skills/session-context/SKILL.md · 70 lines

How it starts

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

Session Context — Restore Codebase Memory

Keywords

session start, project context, recall, what do you know about this project, load context, restore memory, previous session, remember, what did we learn, project conventions, codebase memory

Overview

Restore persistent codebase memory at the start of a session. Calls Tages MCP tools to hydrate the agent with conventions, architecture decisions, and project context from previous sessions. If Tages isn't configured for the current project, offers a smooth setup flow.

Use this skill when: Starting a new session, or when the user asks what you know about the project.


Workflow

Step 1: Hydrate Context

Call the brief tool to load a ranked, token-budgeted project context:

brief()

This returns the most important memories — gotchas, conventions, architecture decisions, and patterns — ranked by confidence, recency, and usage. High-value memories appear in full detail; lower-priority ones are summarized as compact key-value pairs. The token budget adapts to project size automatically.

Step 2: Handle the Result

Tool returns data (happy path):

Absorb the returned brief into your working context. Summarize briefly to the user:

Loaded project context — conventions, architecture decisions, and prior knowledge.

Do not dump the full memory contents unless asked. Use them silently to inform your work.

Tools error — Tages not configured (setup path):

If the tools fail because no Tages configuration exists for this project, offer setup:

Tages isn't configured for this project yet. I can set it up so I'll remember conventions, architecture decisions, and context across sessions.

  • Cloud (recommended): npx @tages/cli init — syncs to dashboard, works across machines
  • Local only: npx @tages/cli init --local — SQLite only, no account needed

Want me to set it up?

If the user says yes, run the appropriate init command. If no, proceed without memory and do not ask again this session.

Read the full file on GitHub · 70 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. 5d ago First seen · 70 lines · 82 tokens per session scan A 3a55c5e12393

Subscribe to this mod's changes

session-context is a skill published in the GitHub repository ryantlee25-droid/tages (4 stars, last pushed 5d ago), licensed MIT. It adds 82 tokens to every session and 675 once invoked, about $0.0004 per session on Opus 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-31.