infinite-brain-harness: Command for Claude Code

.claude/commands/promote-to-department.md

promote-to-department is a command for Claude Code from starmynd-org/infinite-brain-harness. It costs 0 tokens per session (248 once invoked), scanned A, original, MIT.

A command for proposing work from a private workspace to a shared workspace, where a maintainer reviews it before others receive it.

In plain words
What is it for?
It copies selected files into a dated review folder, adds a note explaining the proposal, and records the change in version control for the maintainer to review.
Why use it?
It prevents people from changing shared files directly and keeps proposed work separate until someone approves it.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is starmynd-org/infinite-brain-harness's own configuration. It tells Claude Code how to work on infinite-brain-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything infinite-brain-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to starmynd-org/infinite-brain-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/starmynd-org/infinite-brain-harness/main/.claude/commands/promote-to-department.md
Clone the repo
git clone --depth 1 https://github.com/starmynd-org/infinite-brain-harness

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 promote-to-department

README.md
[![agentmods](https://agentmods.dev/badge/commands/starmynd-org/infinite-brain-harness/promote-to-department/github.svg)](https://agentmods.dev/commands/starmynd-org/infinite-brain-harness/promote-to-department)
Your own site
<a href="https://agentmods.dev/commands/starmynd-org/infinite-brain-harness/promote-to-department"><img src="https://agentmods.dev/badge/commands/starmynd-org/infinite-brain-harness/promote-to-department/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 promote-to-department

Your own site · 80×15
<a href="https://agentmods.dev/commands/starmynd-org/infinite-brain-harness/promote-to-department"><img src="https://agentmods.dev/badge/commands/starmynd-org/infinite-brain-harness/promote-to-department.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 248 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.00000 $0.00248
Opus 5 $0.00000 $0.00124
Sonnet 5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

Measured 12d ago against content hash 58bda6ed3fda, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

promote-to-department 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 12d 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.

.claude/commands/promote-to-department.md · 17 lines

What it actually says

/promote-to-department: propose my work for the shared brain

Package something from an individual brain for the shared brain's maintainer to review. This is the only road from individual work to the shared brain; nobody edits shared core directly.

Steps

  1. Ask, if not obvious: which piece of work do you want to propose, and in one sentence, why is it ready?
  2. Create a dated candidate folder in the individual brain: internal/individual-<name>/promote-queue/<YYYY-MM-DD>-<slug>/, and copy the relevant files into it (copy, do not move).
  3. Write PROMOTION-NOTE.md inside it: what this is, why it should be shared, the best-guess target path in the shared brain, and proposed-by plus today's date.
  4. Commit the individual brain with <name>: promotion candidate <slug> (no push; /sync backs it up).
  5. Tell the person to ping the shared brain's maintainer with the folder name. If approved, it ships to everyone. Offer to open a review branch on the shared brain right now instead, through /sync.
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. 12d ago First seen · 17 lines · 0 tokens per session scan A 58bda6ed3fda

Subscribe to this mod's changes

promote-to-department is a command published in the GitHub repository starmynd-org/infinite-brain-harness (24 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 248 tokens. 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-30.