company-hq
Reviewed
at commit c43585c
Sends data to Your configured FleetQ server, only when you choose the fleetq dashboard and set its URL and token
Back office for the /company skill: every /company run is its own company (state file per company, several open at once), hires project specialists as agent…
0 upvotes
Log in to upvote or save- Made by
- escapeboy
- Pinned commit
-
c43585c413439eef61fecdb0b990f9b68783b5fa - What we checked
-
Adds tools for the author's /company skill that track each project's team of hired helper agents, open questions, decisions and spending in ~/.claude/company-hq, refuse new agents once an optional budget cap is reached, and show it all in a pane. An optional local dashboard runs a small Python server on 127.0.0.1; an optional FleetQ mode sends the state and plan documents, with secrets redacted, to a server you configure.
Review details
Static review of the source at the pinned commit; not run. Hooks: session.start (registers seven tools open_project, hire, set_phase, ask_user, answer_question, record_decision, close_project and the /company-status command, reads $.env HOME, runs hostname -s through $.process.run, restores this session's open companies from state files and re-registers hired agents with $.agent.register only when the cwd is inside the company folder), tool.call handlers for its own mcp__company-hq__* tools, agent.spawn (denies a spawn when the active company's cap is reached, only inside that company's folder, and logs each spawn), turn.complete (books session cost from $.session.usage to the active company and marks finished agents), command.run and ui.render for the pane; $.ui.toast for questions, 80% of cap and config problems. Files: writes state.json, private.json (hired agents' system prompts) and outbox.json under ~/.claude/company-hq/companies/<id>/ (these hold the task text, questions, decisions and agent descriptions); reads config.json there; in FleetQ mode reads docs/design|architecture|test-plan-*.md and the company docsDir (relative, no ..) in the project and its git worktrees (git worktree list via $.process.run). Network: in fleetq or local+fleetq mode (off by default, chosen per company or in config.json) it POSTs the snapshot and plan documents to <fleetq.url>/api/company-hq/ingest with the COMPANY_HQ_FLEETQ_TOKEN bearer token, https only (plain http only to localhost), after a client-side secret redaction list, with backoff retries on timers; nothing is sent without both URL and token. Local dashboard mode (also off by default) starts server/company-dashboard.py with the system python3, detached so it outlives the session; it stops itself after 15 idle minutes, binds 127.0.0.1 (ports 7420-7430), checks the Host header, is read-only (GET only), runs git worktree list, and serves index.html with a CSP limited to self; the page escapes raw HTML in Markdown and only allows http(s) or relative links. FleetQ and the dashboard are described in the repository's 17-mods/guide.md and server/INGEST-CONTRACT.md, not in plugin.json. Read fully: manifests, register.tsx, types, company-dashboard.py, the script part of index.html; server/vendor/marked.min.js is minified vendored marked v15.0.12 and was not reviewed line by line (identified by header and licence file); CSS of index.html skimmed. The companion /company skill lives elsewhere in the repository (01-global-optimization/skills/company) and was not reviewed.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
Back office for the /company skill: every /company run is its own company (state file per company, several open at once), hires project specialists as agent types, enforces each company's optional budget cap on every spawn, shows the org and spend in a pane.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/company-hq/)