tp-session-save

tp-session-save is a skill for Claude Code from CurtisThe/three-pillars-plugin. It costs 33 tokens per session (1,597 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 Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Part of the three-pillars plugin — 40 skills, 58 agents shipped together

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/curtisthe/three-pillars-plugin/tp-session-save
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 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.

Or install three-pillars, the plugin that ships this one along with the rest of its 40 skills, 58 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/github.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/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 tp-session-save

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 1,597 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 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.00033 $0.01597
Opus 5.5 $0.00013 $0.00639
Sonnet 5.5 $0.00007 $0.00319
Haiku 4.5 $0.00003 $0.00160

Measured 1mo ago against content hash bd9011010327, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 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/. --cheap-tier[=ab] (optional, deprecated) changes nothing: the cheap-tier handoff draft (step 3) runs in every invocation, per skills/_shared/cheap-dispatch.md, and <mode> is on.

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.

    Cheap-tier handoff draft (never with --stage-boundary; the loop is skills/_shared/cheap-dispatch.md). Run python3 "$TP_ROOT"/skills/_shared/cheap_tier_cli.py spec --slot handoff --root . --cheap-tier <mode> --probe --design {design-name} in Bash with timeout 300000; a null rung means step 4 as today. Otherwise write step 3's findings to a scratch facts payload JSON (phase, decisions, state, next, open_questions, carried_forward, and every PR number and SHA the handoff may cite), never the session context, and spawn Agent(subagent_type=<spec.agent_ref>, model=<spec.model>, …) to write one scratch file from it: the step-4 handoff under its template headings. Check it with the prose_shape oracle: python3 "$TP_ROOT"/skills/_shared/cheap_oracle_run.py check --slot handoff --artifact <A.json> --ctx <C.json> (artifact path; ctx kind handoff, root ., facts). On accept, step 4 writes the draft, corrected against this conversation, and shows the written handoff to the operator to approve or edit. A dropped draft means step 4 writes the handoff as today. After an accepted draft is written, run python3 "$TP_ROOT"/skills/_shared/prose_oracle.py save-draft --root three-pillars-docs/tp-designs/{design-name} --slot handoff --draft <draft> --final <handoff.md> --reviewed <operator approved> (true only once the operator approved it). Record the attempt per the dispatch doc; under ab, run its pure-slot pair and use neither arm.

  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:

Read the full file on GitHub · 81 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. 1mo ago Changed · +23 lines bd9011010327
  2. 3mo 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 (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 1,597 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-31.

Related

tp-session-save compared with skills from other repositories

tp-session-save next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tp-session-saveCurtisThe/three-pillars-pluginSkill51mo agoApache-2.0A33Claude Code
nw-buddy-ssot-knowledgenWave-ai/nWaveSkill63611d agoMITA31Claude Code, Codex
onboardRune-kit/runeSkill96todayMITA81Claude Code
neural-memoryRune-kit/runeSkill96todayMITA54Claude Code
session-bridgeRune-kit/runeSkill96todayMITA48Claude Code
clade-knowledgeYuDefine/nuxt-supabase-starterSkill452d agoMITA44Claude Code
context-compressionils15/pantheon-legacySkill1216d agoMITA32Claude Code