palinode-session

palinode-session is a skill for Claude Code, Codex from phasespace-labs/palinode. It costs 78 tokens per session (530 once invoked), scanned A, original, MIT.

A session-memory skill that stores and searches coding-session context through Palinode, a persistent memory system.

In plain words
What is it for?
Restoring project context, saving important decisions, recording completed milestones, and recalling earlier work.
Why use it?
It helps an agent carry decisions, milestones, discoveries, and prior context between sessions.

Skill for Claude CodeCodex

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/phasespace-labs/palinode/palinode-session
Any agent
npx skills add phasespace-labs/palinode --skill palinode-session
Clone the repo
git clone --depth 1 https://github.com/phasespace-labs/palinode

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/phasespace-labs/palinode/palinode-session.svg)](https://agentmods.dev/skills/phasespace-labs/palinode/palinode-session)
Your own site
<a href="https://agentmods.dev/skills/phasespace-labs/palinode/palinode-session"><img src="https://agentmods.dev/badge/skills/phasespace-labs/palinode/palinode-session.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 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.00078 $0.00530
Opus 5 $0.00039 $0.00265
Sonnet 5 $0.00016 $0.00106
Haiku 4.5 $0.00008 $0.00053

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

Security

Grade A, and why

palinode-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 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.

skill/palinode-session/SKILL.md · 78 lines

What it actually says

Palinode Session Memory

This skill keeps your AI agent's memory fresh across coding sessions using Palinode MCP tools.

On Session Start

Search for prior context before beginning work:

palinode_search(query="[current project or task description]", limit=5)

Review results and reference relevant decisions or blockers from previous sessions.

During Work — Save Milestones

After each major milestone, save the outcome:

palinode_save(
  content="[what was accomplished and why]",
  type="Decision",          # or "Insight" for reusable lessons
  project="[project-slug]"
)

When to save:

  • Tests pass after a significant change
  • Feature is complete and working
  • Architectural or design decision made (include rationale)
  • Bug fixed that took >15 minutes (save the root cause)
  • Something surprising discovered (save as Insight)

When NOT to save:

  • Routine file edits, typo fixes
  • Intermediate debug steps (save the resolution only)
  • Things git already tracks (code changes, file history)

Every ~30 Minutes

If actively working and 30+ minutes since last palinode_save, save a brief progress note:

palinode_save(
  content="Progress: [what's been done so far, what's next]",
  type="ProjectSnapshot"
)

On Session End

Before the user exits, capture the session:

palinode_session_end(
  summary="[1-2 sentence summary of accomplishments]",
  decisions=["decision 1 with rationale", "decision 2"],
  blockers=["open question or next step"],
  project="[project-slug]"
)

Tool Reference

Tool When
palinode_search Start of session, or "what do we know about X"
palinode_save Milestones, decisions, insights, progress
palinode_session_end End of session — structured summary
palinode_diff "What changed recently?"
palinode_blame "When was this decided?"
palinode_trigger Register auto-recall for recurring topics
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 · 78 lines · 78 tokens per session scan A 8fb67f51bf94

Subscribe to this mod's changes

palinode-session is a skill published in the GitHub repository phasespace-labs/palinode (28 stars, last pushed 3d ago), licensed MIT. It adds 78 tokens to every session and 530 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-30.

Related

Other skills, from other repositories

writing

将共享历史中的已验证事实和计算结果整理成符合受众、格式与长度约束的成稿。.

bojieli/ai-agent-book · 27 tokens

kayba-stage-7-fixer

Implement the approved fixes from the action plan and log all changes. Trigger when the user says "run stage 7", "implement fixes", "apply action plan", or when invoked by the kayba-pipeline orchestrator. Requires eval/actionplan.md to exist.

kayba-ai/agentic-context-engine · 61 tokens

regex-mastery

Use this skill when writing regular expressions, debugging pattern matching,optimizing regex performance, or implementing text validation. Triggers on regex, regular expressions, pattern matching, lookahead, lookbehind, named groups, capture groups, backreferences, and any task requiring text pattern matching.

alibaba/anolisa · 60 tokens

ws-ckpt

工作区快照管理。用户说"保存一下"、"存个快照"时创建 checkpoint,仅限 Linux; 说"回滚"、"撤销"、"恢复到之前"时 rollback;说"删掉快照"时 delete; 说"对比快照"、"快照改了什么"时 diff; 说"看看快照"、"有哪些快照"时 list;说"查看快照状态"、"查看快照剩余空间"时 status。.

alibaba/anolisa · 115 tokens

memory-recall

Search and recall relevant memories from past sessions via memsearch. Use when the user's question could benefit from historical context, past decisions, debugging notes, previous conversations, or project knowledge -- especially questions like 'what did I decide about X', 'why did we do Y', or 'have I seen this…

zilliztech/memsearch · 149 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens