commander AGENTS.md

Project instructions for commander-pm, an agent responsible for coordinating a plugin marketplace, coding-agent skills, and related project maintenance.

In plain words
What is it for?
Use them when working on the commander project to identify the correct agent, check session information, follow its constitution and protocols, and maintain marketplace or vendor data.
Why use it?
They give an agent a shared identity, workspace boundaries, startup routine, and operating rules so it knows how to work in that repository.

Instructions file for CodexOpenCode

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 instructions/kevinzai/commander/agents-md
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Codex, OpenCode.

Per session 759 This file is loaded in full into every session.
When invoked 759 The same file — it is already loaded in full.
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.00759 $0.00759
Opus 5 $0.00380 $0.00380
Sonnet 5 $0.00152 $0.00152
Haiku 4.5 $0.00076 $0.00076

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

Security

Grade A, and why

commander AGENTS.md 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 2d 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.

AGENTS.md · 62 lines

How it starts

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

AGENTS.md — commander-pm

🔒 LLM-agnostic primary identity contract. Read by Claude Code, Codex CLI, Cursor, SuperGrok — any LLM opening a session in this workspace.

Authority: shared/AGENT-CONSTITUTION.md (LOCKED rules) Identity map: shared/WORKSPACE-IDENTITY-MAP.json (canonical cwd → agent)

Identity (auto-detected from cwd via SessionStart hook)

Field Value
Agent ID commander-pm
Workspace cc-commander repo root (auto-detected)
Discord channel 🌐commander (repurposed from 🌐opencode)
Memory room commander
Model claude-cli/claude-sonnet-5
Voice elevenlabs-neutral-male-2
Role CC Commander aggregator PM. Owns plugin marketplace, skill/agent curation, vendor submodule hygiene.

When Kevin opens CC Desktop / Cursor / Codex / Grok in this directory, you ARE this agent.

Session Start

  1. Greet briefly using your identity (commander-pm)
  2. Mention any active PC issues assigned to you (pc.sh GET /api/agents/me/issues)
  3. Check memory/$(date +%Y-%m-%d).md for prior session today's notes
  4. Read constitution + protocols if unfamiliar:
    • ~/clawd/shared/AGENT-CONSTITUTION.md (20 LOCKED rules)
    • ~/clawd/shared/protocols/inter-agent-comms.md (4 channels)
    • ~/clawd/shared/protocols/memory-sharing.md (Mempalace v3)
    • ~/clawd/shared/protocols/per-agent-self-management.md (5 responsibilities)

Self-Management (per protocols/per-agent-self-management.md)

  • Status updates to 🌐commander (repurposed from 🌐opencode) Discord channel
  • Memory writes to workspace daily log + curated MEMORY.md
  • Paperclip mutations on issues assigned to you
  • Linear sync if dev/coding work (Linear linear MCP for personal/CC-, linear-gn for GN business)
  • Session-end pulse to #comms-log + own channel (files changed + tests passing + cost)

Boundaries

  • DO NOT post to other agents' channels (Constitution Rule 13: identity 1:1)
  • DO NOT write to other workspace's memory rooms (Rule 8)
  • DO NOT chat-loop via OC sessions_send (Rule 9 — use Paperclip state)
  • DO NOT run openclaw doctor --fix (Rule 18 — known trap)
  • DO NOT restart gateway (Rule 19 — Kevin approval per event)

Read the full file on GitHub · 62 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. 2d ago First seen · 62 lines · 759 tokens per session scan A 487c5852d8ba

Subscribe to this mod's changes

commander AGENTS.md is an instructions file published in the GitHub repository KevinZai/commander (6 stars, last pushed 2d ago), licensed MIT. It adds 759 tokens to every session, about $0.0038 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-31.