start-session

start-session is a command for Claude Code from NicoGenti/opencode-orchestrator-kit. It costs 18 tokens per session (953 once invoked), scanned A, original, MIT.

A session-start command that prepares a repository and loads its stored project notes before work begins. A repository is the folder containing a project's code and related files.

In plain words
What is it for?
Use it at the start of a coding session to check project setup, read context files, classify the request, and delegate work.
Why use it?
It prevents work from starting with missing project structure or forgotten decisions, issues, and progress. It also routes the request only after the project context has been read.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: agent in frontmatter; mentions subagents; mentions OpenCode.

Good fit Use it at the start of a coding session to check project setup, read context files, classify the request, and delegate work.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nicogenti/opencode-orchestrator-kit/start-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.

Clone the repo
git clone --depth 1 https://github.com/NicoGenti/opencode-orchestrator-kit

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/nicogenti/opencode-orchestrator-kit/start-session/github.svg)](https://agentmods.dev/commands/nicogenti/opencode-orchestrator-kit/start-session)
Your own site
<a href="https://agentmods.dev/commands/nicogenti/opencode-orchestrator-kit/start-session"><img src="https://agentmods.dev/badge/commands/nicogenti/opencode-orchestrator-kit/start-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 start-session

Your own site · 80×15
<a href="https://agentmods.dev/commands/nicogenti/opencode-orchestrator-kit/start-session"><img src="https://agentmods.dev/badge/commands/nicogenti/opencode-orchestrator-kit/start-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 953 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.00018 $0.00953
Opus 5.5 $0.00007 $0.00381
Sonnet 5.5 $0.00004 $0.00191
Haiku 4.5 $0.00002 $0.00095

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

Security

Grade A, and why

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

plugin/assets/commands/start-session.md · 42 lines

What it actually says

New session. Before doing anything else, run your bootstrap cycle:

  1. Bootstrap check: verify .opencode/PROJECT-PROFILE.md exists AND plan/ contains all four subfolders (draft, in-progress, qa, complete) with plan/README.md. If either is missing, delegate to profiler before any other routing. Skip only when both conditions are already satisfied. 0.5. Session memory load: read .context/progress.md, .context/decisions.md, .context/issues.md, and .opencode/PROJECT-PROFILE.md (if they exist) before planning any routing. If PROJECT-PROFILE.md reports Code Graph: present, note it for the Act step — it is informational only and must not delay or block delegations.
  2. Observe: understand the request and read only what is needed for routing.
  3. Orient: classify the request and estimate scope.
  4. Decide: choose one agent, a sequence, or parallel subtasks.
  5. Act: state the step in one line of plain text, then delegate via subagent — the dispatch tool's runtime name in OpenCode 2 (task is the V1 spelling and is not a tool in this runtime). todowrite MAY be used when the runtime exposes it, but never rely on it: if it is unavailable, the one-line plan in your reply IS the progress record. Do not start any new work until the user gives the next instruction.

After the cycle, summarize in 3-4 lines, in the user's language (the language the user is speaking): the detected stack (from PROJECT-PROFILE.md), the current status of the work (from progress.md), and the latest relevant decision/issue if present. Then wait for the next instruction.

The comprehension telemetry write (.context/comprehension-log.md) is NOT part of bootstrap. It is never loaded during bootstrap either: the loaded set stays exactly .context/progress.md, .context/decisions.md, .context/issues.md (the comprehension log is telemetry, not session memory). The manual /recall command may read the log (and the per-evaluation records under .context/comprehension/) only under explicit user invocation — never during bootstrap. Phases 1-4 above are strictly read-only with respect to telemetry: no append, no file creation, no header emission. Telemetry writes happen only AFTER a comprehension-coach verdict is final, in a later turn — never during bootstrap.

The research dataset (.context/research-dataset.jsonl) is also NOT part of bootstrap and is NOT in the loaded set: it is excluded by the same isolation rule as the comprehension log. The dataset is read and written only inside the research lifecycle when research mode is active — never during session start, never during bootstrap.

Runtime tool names (OpenCode 2)

Tool names changed between V1 and V2. Calling a name the runtime does not have costs a full turn and returns No tool named "<name>" is currently available; it never degrades silently. Names observed in this runtime:

  • dispatch a subagent: subagent — never task.
  • run shell commands: shell — never bash. A permission.bash / tools.bash entry may still gate shell, but the TOOL to call is shell.
  • read / search / list: read, grep, glob.
  • change a file: edit — there is NO write tool in 2.0.x (patch is the other accepted name). execute runs code without a shell.
  • ask the user: question — primary session only. A subagent has no interlocutor: a question call from a dispatched agent is rejected or silently unanswered, so NEVER dispatch a step whose only path forward is asking the user.
  • load a skill: skill; fetch a URL: webfetch (only for agents whose permissions allow it).

Routing consequence: a request carrying a URL, an issue link or any remote document MUST be routed to an agent that can fetch it (e.g. librarian) — never reformulated as a local search. When no agent has the tool a step needs, say so instead of inventing a name or a workaround.

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 · 42 lines · 18 tokens per session scan A 82a7f4b9a543

Subscribe to this mod's changes

start-session is a command published in the GitHub repository NicoGenti/opencode-orchestrator-kit (8 stars, last pushed yesterday), licensed MIT. It adds 18 tokens to every session and 953 once invoked, about $0.0001 per session on Opus 5.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-10-24.