configure

configure is a command for coding agents from ktoulgaridis/forge. It costs 22 tokens per session (372 once invoked), scanned A, original, MIT.

A command for changing the tool connections and roles of an existing Forge project. A Forge project stores these choices in a configuration file.

In plain words
What is it for?
Use it to add or remove trackers, source-control or chat tools, streams, roles, or MCP servers; it also creates backups and prepares a wiki merge request.
Why use it?
It updates related generated files while protecting decisions, services, themes, and other human-written content.

Command

Part of the forge plugin — 7 commands shipped together

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/ktoulgaridis/forge/configure
Clone the repo
git clone --depth 1 https://github.com/ktoulgaridis/forge

Or install forge, the plugin that ships this one along with the rest of its 7 commands.

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 configure

README.md
[![agentmods](https://agentmods.dev/badge/commands/ktoulgaridis/forge/configure.svg)](https://agentmods.dev/commands/ktoulgaridis/forge/configure)
Your own site
<a href="https://agentmods.dev/commands/ktoulgaridis/forge/configure"><img src="https://agentmods.dev/badge/commands/ktoulgaridis/forge/configure.svg" alt="Measured on agentmods" height="20"></a>
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 372 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.00372
Opus 5 $0.00011 $0.00186
Sonnet 5 $0.00004 $0.00074
Haiku 4.5 $0.00002 $0.00037

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

Security

Grade A, and why

configure 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 4d 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/configure.md · 44 lines

What it actually says

/forge:configure — Reconfigure an existing project

Change the adapters or settings of a project that was already stamped.

Invocation

/forge:configure

Run from inside the project's wiki dir. Reads .forge.config.yaml.

What this command does

  1. Read .forge.config.yaml and forge_version to know which template version generated the project
  2. Show current config; prompt for what to change:
    • Tracker / SCM / chat adapter
    • Add or remove a stream
    • Add or remove a role
    • Toggle an integration (MCP server)
  3. After changes:
    • Update .forge.config.yaml
    • Re-render the affected files (skills if adapters changed; role files if roles changed)
    • Open a wiki MR with the changes for review (don't push to main directly)
    • Print install hints for any newly required CLIs/MCPs
  4. Run /forge:doctor to verify the new shape

Safety

  • Never overwrite ADRs, services, themes, or any human/agent-authored content
  • Only re-render files that are forge-managed (carry the <!-- forge-managed --> marker comment)
  • Backup the previous version of any modified file to _backup/<timestamp>/ before overwriting

When to use this vs. editing directly

  • Editing a single role's role file: edit directly (it's wiki content)
  • Adding a new role to the role bundle: use /forge:add-role
  • Switching tracker from GitLab to Jira: use /forge:configure (skill templates need re-rendering)
  • Adding Slack notifications: use /forge:add-adapter slack
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. 4d ago First seen · 44 lines · 22 tokens per session scan A 0f81beb31a69

Subscribe to this mod's changes

configure is a command published in the GitHub repository ktoulgaridis/forge (10 stars, last pushed 6d ago), licensed MIT. It adds 22 tokens to every session and 372 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.