tp-session-save

tp-session-save is a skill for Claude Code, Codex from CurtisThe/three-pillars-plugin. It costs 33 tokens per session (886 once invoked), scanned A, original, Apache-2.0.

A session handoff writer that saves the important context from a design task in handoff.md, including the reasons behind decisions and unfinished work.

In plain words
What is it for?
Use it at the end of a session or before changing phases to preserve context for a named design, or for cross-design coordination work.
Why use it?
It helps work continue across conversations without relying on memory or rereading the entire discussion.

Skill for Claude CodeCodex

Part of the three-pillars plugin — 37 skills, 20 agents 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/curtisthe/three-pillars-plugin/tp-session-save
Any agent
npx skills add CurtisThe/three-pillars-plugin --skill tp-session-save
Clone the repo
git clone --depth 1 https://github.com/CurtisThe/three-pillars-plugin

Made for: Claude Code, Codex.

Or install three-pillars, the plugin that ships this one along with the rest of its 37 skills, 20 agents.

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 tp-session-save

README.md
[![agentmods](https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-session-save.svg)](https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-session-save)
Your own site
<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-session-save"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-session-save.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 886 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.00033 $0.00886
Opus 5 $0.00016 $0.00443
Sonnet 5 $0.00007 $0.00177
Haiku 4.5 $0.00003 $0.00089

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

Security

Grade A, and why

tp-session-save 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 3d 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/tp-session-save/SKILL.md · 58 lines

How it starts

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

Session Compact

Write a structured handoff that captures what compaction and memory would lose — the why behind decisions, not just the what.

Argument: {design-name} (required) — must match an existing directory under three-pillars-docs/tp-designs/.

Top-level / cross-design work (fleet launches, merge-queue drains, multi-design campaigns) has no single design dir — save it under the reserved orchestration slot (/tp-session-save orchestration). It is not a design (no design.md / lock / branch), so /tp-design-complete never archives it out from under you. See three-pillars-docs/tp-designs/orchestration/README.md.

Steps

  1. Run first-run preflight per skills/_shared/first-run.md.

  2. Resolve the design directory: three-pillars-docs/tp-designs/{design-name}/. If it doesn't exist, tell the user no design by that name exists and stop.

  3. Read the existing handoff at three-pillars-docs/tp-designs/{design-name}/handoff.md (if it exists). Note anything still relevant — you'll carry it forward. Everything else is discarded.

  4. Review this conversation — what was discussed, decided, built, and left unfinished.

  5. Overwrite three-pillars-docs/tp-designs/{design-name}/handoff.md entirely with fresh content from this session. The new file is the source of truth — the old one is gone. Use these sections:

## Phase
What phase/task the user was working on. One line.

## Decisions
Bulleted list of non-obvious decisions and trade-offs made this session.
Skip anything already visible in code diffs or commit messages.

## State
What's done, what's half-done, what's blocked.
Be specific: file names, function names, test results, branch state.

## Next
What the user will likely want to do next. Ordered by priority.

## Open Questions
Unresolved items to raise next session.

## Carried Forward
Any still-relevant context from the prior handoff (max 5 lines).
Drop anything superseded by this session's work.
  1. Update the MRU. Run the MRU snippet from skills/_shared/validate-name.md with name={design-name} so the first line of .claude/last-design is the design you just saved — saving a session is using it. This is what lets a later /clear + /tp-session-restore (no argument) resolve back to this design (or to the orchestration slot for fleet / cross-design sessions). Never git add the file (it's gitignored).

Read the full file on GitHub · 58 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. 3d ago First seen · 58 lines · 33 tokens per session scan A f5f3f70fa026

Subscribe to this mod's changes

tp-session-save is a skill published in the GitHub repository CurtisThe/three-pillars-plugin (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 886 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

auditing-subgroup-fairness

Audit an OpenMed NER or de-identification model for performance disparities across demographic subgroups (sex, age band, race/ethnicity when available) using openmed.eval.fairnessreport. Use when the user wants per-subgroup recall and leakage, wants to check whether de-identification under-protects a group, wants to…

maziyarpanahi/openmed · 148 tokens

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens