shipit: Skill for Claude Code

.agents/skills/session-processes/SKILL.md

session-processes is a skill for Claude Code, Codex from nikzlabs/shipit. It costs 66 tokens per session (1,922 once invoked), scanned A, original, Apache-2.0.

Technical guidance for managing the worker processes behind coding-agent sessions. These workers run in Docker containers and manage the agent command line, terminal, file watching, and event updates.

In plain words
What is it for?
Starting, interrupting, or stopping the agent; sending input; opening a terminal; watching files; scanning the file tree; receiving events; and checking worker health.
Why use it?
It gives developers the project-specific endpoints and behavior needed to control sessions reliably. It also clarifies which services belong to session workers and which run separately.

Skill for Claude CodeCodex

Written for Claude Code: user-invocable in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions Codex; mentions OpenCode.

This is nikzlabs/shipit's own configuration. It tells Claude Code and Codex how to work on shipit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything shipit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nikzlabs/shipit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nikzlabs/shipit/main/.agents/skills/session-processes/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nikzlabs/shipit

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nikzlabs/shipit/session-processes"><img src="https://agentmods.dev/badge/skills/nikzlabs/shipit/session-processes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,922 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00066 $0.01922
Opus 5.5 $0.00026 $0.00769
Sonnet 5.5 $0.00013 $0.00384
Haiku 4.5 $0.00007 $0.00192

Measured 18d ago against content hash 6c6bfae9590c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

session-processes scanned grade A with 1 finding 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 18d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

Spawned with `child_process.spawn("claude", args)` using `--output-format stream-json`, `--permission-mode`
.agents/skills/session-processes/SKILL.md · 157 lines

How it starts

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

Session Worker Processes

Each session runs in a Docker container with a Fastify server (port 9100) that manages the agent CLI, file watcher, and terminal. Preview/dev servers are not among them — they moved to Docker Compose under the orchestrator's ServiceManager. The orchestrator communicates with session workers via HTTP (commands) and SSE (events).

Session Worker

src/server/session/session-worker.ts — Fastify server running inside each container.

Endpoints

Method Path Purpose
POST /agent/start Start Claude with prompt, images, system prompt
POST /agent/interrupt Graceful interrupt (Ctrl+C)
POST /agent/kill Force terminate
POST /agent/stdin Write to agent stdin (answer questions)
POST /terminal/start Start interactive shell
POST /terminal/input Write to terminal
POST /terminal/resize Resize terminal
POST /files/watch Start file watcher (idempotent)
POST /files/unwatch Stop file watcher
GET /files/tree Scan file tree
GET /events SSE event stream
GET /health Health check

SSE Event Stream

The /events endpoint is a long-lived SSE connection. The worker broadcasts events from all managed processes:

Event Source Data
agent_event Claude CLI Parsed NDJSON agent events
agent_done Claude CLI Exit code
agent_error Claude CLI Error message
agent_auth_required Claude CLI Auth URL
agent_log Claude CLI Non-JSON output lines
terminal_data Terminal Output data
terminal_exit Terminal Exit code
file_changes FileWatcher Changed file paths

On SSE connect (or reconnect), the worker replays current state:

  • If terminal is alive -> sends empty terminal_data signal

Note: Preview/dev servers are now managed by Docker Compose via ServiceManager in the orchestrator, not inside the session worker. See service-manager.ts and compose-generator.ts.

Read the full file on GitHub · 157 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. 18d ago Changed · +1 lines 6c6bfae9590c
  2. 1mo ago Changed · -11 lines 084fe31c6501
  3. 1mo ago Changed · +8 lines d78d2722fca6
  4. 1mo ago First seen · 159 lines · 66 tokens per session scan A 034683bfdcda

Subscribe to this mod's changes

session-processes is a skill published in the GitHub repository nikzlabs/shipit (9 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 1,922 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). 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

lanes-forms

Use when the user wants a form backend or contact form set up (a live POST endpoint that captures submissions and emails them), OR wants an agent to fill in / submit to a form on their behalf. Lanes Forms creates and manages hosted form endpoints from Claude Code. Triggers on "set up a contact form", "provision a…

lanes-sh/app · 105 tokens

build-teaql-app

Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…

teaql/teaql-agent-kit · 112 tokens

moai-platform-deployment

Deployment and hosting platform specialist covering Vercel, Railway, and Convex. Use when deploying applications, configuring edge functions, setting up continuous deployment, or managing serverless infrastructure.

modu-ai/moai-adk · 42 tokens

moai-ref-api-patterns

REST/GraphQL API design patterns, error handling conventions, and input validation reference for backend development. Agent-extending skill that amplifies backend domain work (spawned via Agent(general-purpose) with backend instructions) with production-grade API patterns. Use when designing APIs, implementing…

modu-ai/moai-adk · 85 tokens

moai-platform-auth

Authentication and authorization specialist covering Auth0, Clerk, and Firebase Auth. Use when implementing authentication, MFA, SSO, passkeys, WebAuthn, social login, or security features.

modu-ai/moai-adk · 43 tokens

moai-domain-backend

Backend development specialist covering API design, database integration, microservices architecture, and modern backend patterns. Use when designing APIs, implementing server logic, authentication, or authorization.

modu-ai/moai-adk · 39 tokens