gsd:config

A settings command for configuring the GSD workflow, including model profiles, research and planning options, verification, branching, advanced controls and integrations.

In plain words
What is it for?
Use it for common interactive settings, advanced planning and execution settings, integration credentials and switching between quality, balanced, budget or inherited model profiles.
Why use it?
It puts workflow choices in one place, so you do not have to change each setting separately or remember which configuration command controls it.

Command for Claude Code

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/mrboups/xbrain/config
Clone the repo
git clone --depth 1 https://github.com/mrboups/xbrain

Made for: Claude Code.

Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 651 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.00022 $0.00651
Opus 5 $0.00011 $0.00326
Sonnet 5 $0.00004 $0.00130
Haiku 4.5 $0.00002 $0.00065

Measured yesterday against content hash 635acf54017f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gsd:config 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 yesterday.

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/gsd/config.md · 58 lines

What it actually says

Mode routing:

  • default (no flag): Common-case toggles (model, research, plan_check, verifier, branching) → settings workflow
  • --advanced: Power-user knobs (planning tuning, timeouts, branch templates, cross-AI execution) → settings-advanced workflow
  • --integrations: Third-party API keys, code-review CLI routing, agent-skill injection → settings-integrations workflow
  • --profile : Switch model profile (quality|balanced|budget|inherit) → set-profile (inline)
Flag Action Workflow
(none) Interactive 5-question common-case config prompt settings
--advanced Power-user knobs: planning, execution, discussion, cross-AI, git, runtime settings-advanced
--integrations API keys (Brave/Firecrawl/Exa), review CLI routing, agent skills settings-integrations
--profile <name> Switch model profile without interactive prompt gsd-sdk config-set-model-profile

<execution_context> @D:/VSC/xbrain/.claude/get-shit-done/workflows/settings.md @D:/VSC/xbrain/.claude/get-shit-done/workflows/settings-advanced.md @D:/VSC/xbrain/.claude/get-shit-done/workflows/settings-integrations.md </execution_context>

Parse the first token of $ARGUMENTS:

  • If it is --advanced: strip the flag, execute settings-advanced workflow
  • If it is --integrations: strip the flag, execute settings-integrations workflow
  • If it starts with --profile: extract the profile name (remainder after --profile), then:
    1. Pre-flight check (#2439): verify gsd-sdk is on PATH via command -v gsd-sdk. If absent, emit the install hint Install GSD via 'npm i -g get-shit-done' and stop — do NOT invoke gsd-sdk directly (avoids the opaque command not found: gsd-sdk failure).
    2. Run: gsd-sdk query config-set-model-profile <profile-name> --raw and display the output verbatim.
  • Otherwise: execute settings workflow (no argument needed)
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. yesterday First seen · 58 lines · 22 tokens per session scan A 635acf54017f

Subscribe to this mod's changes

gsd:config is a command published in the GitHub repository mrboups/xbrain (2 stars, last pushed 18d ago), licensed MIT. It adds 22 tokens to every session and 651 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.