office-setup

office-setup is a command for Claude Code from askwigconsulting/cohort. It costs 21 tokens per session (858 once invoked), scanned A, original, MIT.

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 for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: reads .claude/ paths; mentions Codex.

Good fit Use it to configure IDEs, select suitable agents, connect a company Cohort repository, and account for whether the organization uses a cloud provider.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/askwigconsulting/cohort/office-setup
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/askwigconsulting/cohort

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/askwigconsulting/cohort/office-setup/github.svg)](https://agentmods.dev/commands/askwigconsulting/cohort/office-setup)
Your own site
<a href="https://agentmods.dev/commands/askwigconsulting/cohort/office-setup"><img src="https://agentmods.dev/badge/commands/askwigconsulting/cohort/office-setup/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 office-setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/askwigconsulting/cohort/office-setup"><img src="https://agentmods.dev/badge/commands/askwigconsulting/cohort/office-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00021 $0.00858
Opus 5.5 $0.00008 $0.00343
Sonnet 5.5 $0.00004 $0.00172
Haiku 4.5 $0.00002 $0.00086

Measured 1mo ago against content hash fa138bee862d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 19d ago), licensed MIT. It adds 21 tokens to every session and 858 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-08-31.