control-plane-continuity

control-plane-continuity is a skill for Claude Code, Codex from aretw0/agents-lab. It costs 49 tokens per session (1,461 once invoked), scanned A, original, MIT.

A session-continuity guide for safely continuing coding-agent work across tasks or fresh sessions. It helps decide what to inspect, what small piece to prepare, and when to stop.

In plain words
What is it for?
Use it to resume local work, gather only missing constraints, divide work into bounded pieces, and recover context in a new session.
Why use it?
It reduces repeated project-history reading and prevents work from expanding when the environment or task is unsafe. It also keeps larger batches behind checks and saved checkpoints.

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/aretw0/agents-lab/control-plane-continuity
Any agent
npx skills add aretw0/agents-lab --skill control-plane-continuity
Clone the repo
git clone --depth 1 https://github.com/aretw0/agents-lab

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 control-plane-continuity

README.md
[![agentmods](https://agentmods.dev/badge/skills/aretw0/agents-lab/control-plane-continuity.svg)](https://agentmods.dev/skills/aretw0/agents-lab/control-plane-continuity)
Your own site
<a href="https://agentmods.dev/skills/aretw0/agents-lab/control-plane-continuity"><img src="https://agentmods.dev/badge/skills/aretw0/agents-lab/control-plane-continuity.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,461 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.00049 $0.01461
Opus 5 $0.00024 $0.00731
Sonnet 5 $0.00010 $0.00292
Haiku 4.5 $0.00005 $0.00146

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

Security

Grade A, and why

control-plane-continuity 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 4d 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.

packages/pi-skills/skills/control-plane-continuity/SKILL.md · 98 lines

How it starts

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

Control-plane continuity

Use this skill when the operator asks for continued progress, a larger local-safe batch, or a fresh session needs to recover the continuity profile without rereading long project history.

Operating Frame

  • Treat this as a control-plane profile, not a scheduler, executor, swarm, or unattended service.
  • Prefer one useful local-safe slice over a long plan.
  • Before a larger batch or worker discussion, use environment_runtime_health_status when available; if it returns safe-mode or stop-and-investigate, reduce surface or stop before adding work.
  • Treat needs-evidence as an evidence request, not as stop-and-investigate. Stop only when the packet reports a real blocker, protected scope, unsafe mutation, or active runtime degradation.
  • When watchdog safe-mode is on, keep the next step read-only or one small local-safe slice. Do not escalate to expensive/protected capabilities such as worker dispatch, pi-lens, web gateway, remote/offload, or publish until the runtime is stable or the operator makes a fresh explicit decision.
  • Do not execute Pi TUI slash commands such as /watchdog:status through bash or worker shell. Those are operator input commands; for agent-readable runtime health, use environment_runtime_health_status and environment_dev_pressure_status.
  • If the operator asks to validate runtime health, mentions watchdog, or pastes /watchdog:* commands as intent, pass that text to operator_intent_intake_packet; the packet can infer the read-only runtime-health route. Do not translate the pasted slash commands into shell commands.
  • If the operator asks whether workers/subagents are ready or safe to use, pass that text to operator_intent_intake_packet; the packet can infer the read-only worker-readiness route. Readiness checks do not prepare a worker, dispatch a worker, or require budget; budget is required only when preparing a worker packet or dispatching.
  • If the operator asks for the next local-safe slice, says there are no eligible tasks, or asks to seed/brainstorm the board, pass that text to operator_intent_intake_packet; the packet can infer the report-only brainstorm seed route. Preview candidates before asking the operator to choose, customize, or cancel.
  • Convert free-form intent through operator_intent_intake_packet before asking broad follow-up questions or preparing workers.
  • After intake, follow details.controlPlaneAction and details.executionPlan: if it is run-report-only-route, confirmationRequired=false, and executionPlan.executeWithoutTextualConfirmation=true, run the actual tools named in executionPlan.steps in order and summarize their returned details; do not answer from memory or free-form inference, and do not ask the operator to confirm a non-mutating packet. If any named tool is unavailable, report blocked_missing_tool with the missing tool name instead of synthesizing the packet.
  • Ask a short interview only when the intake reports missing focus, validation, rollback, budget, or stop conditions.
  • Use first-party packets before free-form judgment: operator_intent_intake_packet, project_intake_plan, structured_interview_plan, control_plane_profile_packet, local_batch_manifest_packet, context_watch_continuation_readiness, context_watch_local_slice_preview, local_continuity_loop_canary_packet, context_watch_checkpoint.
  • If the operator explicitly authorizes read-only diagnostics, or says not to ask for confirmation, do not answer with a permission question such as "Quer que eu rode?". Run the relevant first-party read-only packets and return a compact decision.
  • Delegate to workers only after the lower agent-run gates are green; batch intent never bypasses per-worker start/outcome gates.
  • Stop on protected scope, unknown validation, unexpected git state, budget block, compact/reload pressure without checkpoint, repeated failure, or real operator/product ambiguity.

Read the full file on GitHub · 98 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. 4d ago First seen · 98 lines · 49 tokens per session scan A 2f1525c8c5eb

Subscribe to this mod's changes

control-plane-continuity is a skill published in the GitHub repository aretw0/agents-lab (11 stars, last pushed 2mo ago), licensed MIT. It adds 49 tokens to every session and 1,461 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-30.

Related

Other skills, from other repositories

mcp-scripting

Write mcpScript JavaScript for discovering, inspecting, and calling MCP tools.

nicobailon/pi-mcp-adapter · 21 tokens

tmux-manual-qa

Run a single manual tmux-based QA scenario for the todo continuation feature against the real CLI (./pi-test.sh) in an interactive TUI. Captures scrollback, asserts deterministic pass/fail count markers, and cleans up test fixtures. Use only for the manual-qa milestone features.

code-yeongyu/senpi · 66 tokens

merge-upstream

Sync a fork branch with an upstream remote using a history-preserving merge. Use this whenever the user says /merge-upstream, merge upstream, sync upstream, sync fork, or wants upstream changes integrated without rebasing or force-pushing.

code-yeongyu/senpi · 52 tokens

gpt-image-gen

MUST read before generating images. Detailed prompt-crafting guide for gpt-image models, covering tool routing (native imagegeneration server tool vs the generateimage tool), prompt structure from subject to background, verbatim text rendering, anti-patterns, and the revisedprompt feedback loop for iteration.

code-yeongyu/senpi · 63 tokens

pi-package-sandbox-test

Use when verifying that published Pi packages install and load for normal users, including pi.dev package compatibility checks, release validation, Daytona sandbox tests, and package installability audits.

spences10/my-pi · 40 tokens

pi-observability-local-dev

Use when developing or reviewing packages/pi-observability dashboard/server changes locally, especially rebuilding dist, restarting the 43190 server, validating UI behavior, or keeping the local dashboard in sync with source edits.

spences10/my-pi · 48 tokens