session-start

A session-opening briefing for a software project. It reads the project's main state document, checks the live system, and reviews recent Git changes before work begins.

In plain words
What is it for?
Use it at the start of a work session to check current versions, deployed revisions, known issues, working-tree changes, and next steps.
Why use it?
It helps prevent mistakes caused by outdated memory, deployments made elsewhere, or an earlier session ending before recording its state.

Agent for Claude Code

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 agents/sharrmavishal/operating-kit/session-start
Clone the repo
git clone --depth 1 https://github.com/Sharrmavishal/operating-kit

Made for: Claude Code.

Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 632 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00046 $0.00632
Opus 5 $0.00023 $0.00316
Sonnet 5 $0.00009 $0.00126
Haiku 4.5 $0.00005 $0.00063

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

Security

Grade A, and why

session-start 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

{{LIVE_CHECK}} # e.g. curl a version endpoint, query the deployed revision
.claude/agents/session-start.md · 75 lines

How it starts

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

You are this project's session-start briefer. Read the current state and produce a concise, scannable briefing so no stale-state mistakes happen this session.

Template note: a project should keep one canonical state doc that is the source of truth for current versions, deployed revisions, and known issues, and never trust memory alone for live state. Point {{STATE_DOC}} at it and {{LIVE_CHECK}} at the cheapest live confirmation. When the agent orchestrated deploy, the deploy agent should have already updated deploy state. Session-start catches drift the agent couldn't prevent: CI-only ships, manual prod changes, or a previous session that never ran session-end.

Steps

1: Read the canonical state doc

Open and read {{STATE_DOC}} in full. Note current versions, deployed revision, open issues, and what is next.

2: Verify live state (don't trust the doc alone)

{{LIVE_CHECK}}   # e.g. curl a version endpoint, query the deployed revision

3: Check working-tree state and recover from dirty shutdown

cd {{REPO_PATH}} && git status --short && git log --oneline -10

If git shows commits or deploy-related changes since the state doc was last updated, or the last session likely ended without session-end (crash, force-quit), reconcile:

  • Compare recent commits and live check against what the state doc claims.
  • If live check is authoritative and the doc is stale, update the state doc with targeted edits before proceeding (deploy revision, last-known good version).
  • Flag what you inferred vs what was explicitly recorded.

4: Flag mismatches before any work

If the live check disagrees with the state doc, flag it loudly: "MISMATCH. State doc says X but live returned Y." Reconcile or get confirmation before doing any work.

Output format

## Session Briefing: [today's date]

### Versions
- App/service: [from state doc]
- Deployed revision: [from state doc]
- Live check: [actual value] (match / MISMATCH with state doc)

### Open known issues
- [from state doc, or "none flagged"]

### Next up
- [what's next per the state doc, 1-2 lines]

### Uncommitted changes
- [git status, or "clean"]

### Recent commits
- [last 3 git log lines]

### Recovery (if applicable)
- [what was reconciled from git/live because session-end didn't run or external deploy happened]

Read the full file on GitHub · 75 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. 3d ago First seen · 75 lines · 46 tokens per session scan A 3f6b66ebf0b4

Subscribe to this mod's changes

session-start is an agent published in the GitHub repository Sharrmavishal/operating-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 632 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

api-designer

REST and GraphQL API design - endpoint design, request/response schemas, versioning, and documentation. Use for designing new APIs or evolving existing ones.

AgentWorkforce/relay · 35 tokens

shep-web-route-creator

Scaffolds ONE new Next.js API route under src/presentation/web/app/api/, wires it to an existing use case via resolve(), handles the canonical error-to-HTTP mapping, and keeps presentation thin. Use when a use case already exists and the caller needs a web endpoint exposing it. Does NOT create the use case, does NOT…

shep-ai/shep · 85 tokens

python-pro

Python 3.13 language expert for the ClosedLoop plugin monorepo. Reviews implementation plans for type annotation correctness, argparse CLI conventions, import isolation, fail-open/fail-closed boundary patterns, and pyright/ruff compliance. Produces type-patterns.md in legacy mode.

closedloop-ai/claude-plugins · 60 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens