session

session is a skill for Claude Code from Snowflake-Labs/cocoplus. It costs 52 tokens per session (1,174 once invoked), scanned A, original, MIT.

A control layer for keeping long-running coding work consistent across sessions and tracking its progress, budgets, and stop state.

In plain words
What is it for?
Use it to view session status, record progress, send one-time steering instructions, stop work, or resume it after an operator-approved pause.
Why use it?
It gives developers one place to see handoff notes, remaining work, spending limits, operator instructions, and whether a kill switch is active.

Skill for Claude Code

Written for Claude Code: UserPromptSubmit hook event.

Good fit Use it to view session status, record progress, send one-time steering instructions, stop work, or resume it after an operator-approved pause.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/snowflake-labs/cocoplus/session
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 Snowflake-Labs/cocoplus --skill session
Clone the repo
git clone --depth 1 https://github.com/Snowflake-Labs/cocoplus

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/session/github.svg)](https://agentmods.dev/skills/snowflake-labs/cocoplus/session)
Your own site
<a href="https://agentmods.dev/skills/snowflake-labs/cocoplus/session"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/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.

agentmods 80×15 button for session

Your own site · 80×15
<a href="https://agentmods.dev/skills/snowflake-labs/cocoplus/session"><img src="https://agentmods.dev/badge/skills/snowflake-labs/cocoplus/session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,174 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.00052 $0.01174
Opus 5 $0.00026 $0.00587
Sonnet 5 $0.00010 $0.00235
Haiku 4.5 $0.00005 $0.00117

Measured 9d ago against content hash 0a97547d7dd6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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 9d 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.

.cortex/skills/cocosession/session.skill.md · 90 lines

How it starts

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

Your objective is to manage CocoSession, the continuity and operator-control layer for long-running CocoPlus work.

Commands

  • $session status: read .cocoplus/session/PROGRESS.md, .cocoplus/session/CONTEXT.md, .cocoplus/session/iteration-budget.json, .cocoplus/session/budget-state.json, .cocoplus/session/status.json, .cocoplus/pod-state.json, .cocoplus/AGENT_STOP, and .cocoplus/STEER.md; report handoff freshness, active predicate state, queued work count, iteration budget, cost-budget state, terminal status, kill-switch state, and pending steering.
  • $session progress: show the four handoff sections from .cocoplus/session/PROGRESS.md: Done, In Progress, Next, Notes.
  • $session steer "<instruction>": write the instruction to .cocoplus/STEER.md. The UserPromptSubmit hook injects it once, appends a session event, then clears the file.
  • $session stop: create .cocoplus/AGENT_STOP with timestamp, operator, and reason. The PreToolUse hook blocks tool use while the sentinel exists.
  • $session resume: remove .cocoplus/AGENT_STOP after confirming the operator intends to resume.

Continuity Contract

Every CocoFlow or long-running operator session must be recoverable from files alone:

  1. .cocoplus/session/PROGRESS.md is the human handoff.
  2. .cocoplus/session/CONTEXT.md is machine-greppable predicate state in CLASS.key=value form.
  3. .cocoplus/session/task-queue.jsonl records mid-session requests without replacing the active item.
  4. New work is queued under Next unless the operator explicitly changes the current item.
  5. .cocoplus/session/iteration-budget.json tracks cap, consumed turns, warning threshold, and stop state.
  6. .cocoplus/session/budget-state.json tracks normal, reserve, or exhausted cost-budget state. Budget checks happen at stage boundaries only; in-flight stages are never interrupted.
  7. .cocoplus/session/status.json and .cocoplus/pod-state.json use the canonical status vocabulary: running, paused, completed, exited, failed, idle, retired.

Read the full file on GitHub · 90 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. 9d ago First seen · 90 lines · 52 tokens per session scan A 0a97547d7dd6

Subscribe to this mod's changes

session is a skill published in the GitHub repository Snowflake-Labs/cocoplus (720 stars, last pushed 9d ago), licensed MIT. It adds 52 tokens to every session and 1,174 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

task-dependency-patterns

Task Management patterns with TaskCreate, TaskUpdate, TaskGet, TaskList tools. Decompose complex work into trackable tasks with dependency chains. Use when managing multi-step implementations, coordinating parallel work, or tracking completion status.

yonatangross/orchestkit · 51 tokens

herdr-kit-workflows

Set up and operate Herdr Kit safely: install and configure the plugin and Mastra Code integration, manage Review and Work repository scope, open primary repository workspaces, synchronize managers, materialize or dematerialize managed worktrees, and update Herdr Kit settings or shortcuts.

mastra-ai/mastra · 61 tokens

factory-triage

Triage a Factory work item's issue — trace history, understand architecture, diagnose root cause, then advance the stage.

mastra-ai/mastra · 27 tokens

herdr-manager-query

Query the authoritative global Herdr Review and Work Manager inventory, recommend actionable PR work, and explicitly materialize confirmed remote-only Review Manager records through the plugin's stable public CLI.

mastra-ai/mastra · 40 tokens

link-ticket-to-session

Link the current Claude Code session to a ticket (Linear, Jira, GitHub Issues, or GitHub Pull Requests) and cache its title/status in karma. Use when the user explicitly asks to link, attach, associate, or connect this session to a ticket, issue, or PR — e.g. "/link-ticket-to-session ABC-123", "link this session to…

JayantDevkar/claude-code-karma · 91 tokens

factory-complete-issue

Mark a GitHub issue as done and update its status labels.

mastra-ai/mastra · 18 tokens