office-setup

A command that guides a short interview to tailor a shared set of workplace agents, tools, and project connections to one developer or organization. It configures which coding environments, agents, and company repositories are used.

In plain words
What is it for?
Use it to configure IDEs, select suitable agents, connect a company Cohort repository, and account for whether the organization uses a cloud provider.
Why use it?
It avoids installing irrelevant agents or silently changing setup by collecting the needed choices and showing changes for approval.

Command

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 commands/askwigconsulting/cohort/office-setup
Clone the repo
git clone --depth 1 https://github.com/askwigconsulting/cohort
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 858 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.00021 $0.00858
Opus 5 $0.00010 $0.00429
Sonnet 5 $0.00004 $0.00172
Haiku 4.5 $0.00002 $0.00086

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

Security

Grade A, and why

office-setup 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.

canonical/commands/office-setup.md · 72 lines

How it starts

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

Tailor this machine's Cohort office to its owner. You are conducting a short interview, then driving the cohort CLI with the answers. Every change is shown to the user and approved before it lands; you never write silently.

1 — Wiring (skip what cohort status --json shows is already done)

Ask, one question at a time:

  1. Company office? "Does your organization maintain a shared Cohort repo (a fork with your company's roster)?" If yes, collect its URL and default branch — updates and improvement proposals will flow to it.
  2. IDEs. Which of claude / codex / cursor they use.
  3. Roster. Show the roster (ls <source>/canonical/agents/) with one-line descriptions and ask which agents match their work. A solo developer rarely needs the full office; chief-of-staff should stay unless they insist. cloud-architect covers AWS, Azure, and GCP in one advisor — include it only if the user runs on a cloud at all (a user on none needs it not); it asks which vendor when consulted.

Then run the flags form (never the bare interactive form — you are the interview):

cohort setup --ide <ides> --agents <subset|all> [--company-url <url> --company-branch <branch>]

After it lands, run cohort status and look for ! unmanaged: lines — pre-existing agents/commands sitting loose in ~/.claude/. For each, ask whether to adopt it into the office (cohort adopt <path> — the original is backed up, and adopted agents become advisory read-only) or leave it unmanaged and invisible to ChiefOfStaff's directory. Never adopt without asking.

2 — Office context (who the advice is for)

Interview briefly: role, domain/industry, primary stack, team size, and any constraints that should color every agent's advice (regulated industry, open-source, solo founder, …). Then draft the personal context memory — it belongs to my office (~/.cohort/my/), never the shared clone, and its name is reserved so it can never mask a company-shipped office-context:

Read the full file on GitHub · 72 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 · 72 lines · 21 tokens per session scan A fa138bee862d

Subscribe to this mod's changes

office-setup is a command published in the GitHub repository askwigconsulting/cohort (2 stars, last pushed 25d ago), licensed MIT. It adds 21 tokens to every session and 858 once invoked, about $0.0001 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.