config

A command for managing the project's single JSON settings file, which stores options such as review behavior, agent dispatch, quality limits, and wiki settings.

In plain words
What is it for?
Use it to create or reconcile the settings file, inspect configuration, or manage settings while command-line flags remain higher priority.
Why use it?
It provides one documented place for project configuration and rejects unknown settings so typing mistakes are visible.

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/lookatitude/guild/config
Clone the repo
git clone --depth 1 https://github.com/lookatitude/guild
Per session 421 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,208 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.00421 $0.07208
Opus 5 $0.00211 $0.03604
Sonnet 5 $0.00084 $0.01442
Haiku 4.5 $0.00042 $0.00721

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

Security

Grade A, and why

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

commands/config.md · 448 lines

How it starts

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

/guild:config — project config surface (.guild/settings.json)

.guild/settings.json is the single v2 config file. It carries every Guild option; CLI flags always override it (full 7-source precedence ladder, lowest to highest: builtin < workspace < workspace-local < project < project-local < rigor < CLI). It replaces the v1 .guild/config.yml; the runtime config.yml reader was removed in v2.0config.yml is never read at runtime. To convert an old config.yml, run /guild:migrate. The schema is closed-key: unknown defaults.* keys are rejected so a typo surfaces.

The sub-verb is the first positional argument.

init — scaffold .guild/settings.json (= reconcile sync)

config init is now a wrapper around reconcile sync (P1-L9). It materializes the config with every key set to its schema default plus a self-documenting _help block, but goes through the reconciler so it is never-clobber + provenance-aware: on a FRESH repo the output is byte-identical to the legacy scaffold (golden-tested, default==today); on a repo that already has .guild/settings.json it fills only missing keys, never overwrites a user-set value, and records provenance + a last_reconciled_at timestamp.

# config init == reconcile sync (never-clobber; fills missing keys to defaults)
npx tsx ${GUILD_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$HOME/.local/share/guild/dist/claude-code}}/scripts/config-cmd.ts reconcile sync --cwd "$(pwd)"

Steps:

  1. Ensure .guild/ exists.
  2. Run config-cmd.ts reconcile sync — it writes/updates .guild/settings.json, filling missing keys to their defaults without clobbering any user-set value (no --force needed; the never-clobber guard replaces it), and stamps provenance + last_reconciled_at. On a fresh repo this equals the old --scaffold output byte-for-byte.
  3. If a legacy .guild/config.yml is present, tell the operator to run /guild:migrate to convert it to settings.jsonconfig.yml is not read at runtime in v2 (the back-compat reader was removed in v2.0).

Read the full file on GitHub · 448 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 · 448 lines · 421 tokens per session scan A b436d28f20c2

Subscribe to this mod's changes

config is a command published in the GitHub repository lookatitude/guild (7 stars, last pushed 2d ago), licensed MIT. It adds 421 tokens to every session and 7,208 once invoked, about $0.0021 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.