draw-config

draw-config is a command for Claude Code from IvanLutsenko/awac-ai-agent-plugins. It costs 12 tokens per session (438 once invoked), scanned A, original, MIT.

A settings command for the drawbridge add-on, which sends image prompts to web-based image-generation tools.

In plain words
What is it for?
Viewing or changing the default target—Gemini, ChatGPT, Grok, or Midjourney—and the translation setting.
Why use it?
It gives you one place to see or change the default image service and whether prompts are translated into English.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the drawbridge plugin — 5 skills, 4 commands shipped together

Good fit Viewing or changing the default target—Gemini, ChatGPT, Grok, or Midjourney—and the translation setting.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add IvanLutsenko/awac-ai-agent-plugins
Claude Code
/plugin install drawbridge

Made for: Claude Code.

Or install drawbridge, the plugin that ships this one along with the rest of its 5 skills, 4 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 draw-config

README.md
[![agentmods](https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/draw-config/github.svg)](https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/draw-config)
Your own site
<a href="https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/draw-config"><img src="https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/draw-config/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 draw-config

Your own site · 80×15
<a href="https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/draw-config"><img src="https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/draw-config.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 438 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.00012 $0.00438
Opus 5.5 $0.00005 $0.00175
Sonnet 5.5 $0.00002 $0.00088
Haiku 4.5 $0.00001 $0.00044

Measured 1mo ago against content hash bb7b1ea8a9a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

draw-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 1mo 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.

plugins/drawbridge/commands/draw-config.md · 52 lines

What it actually says

/draw-config — view or update settings

Settings live in YAML frontmatter of ~/.claude/drawbridge.local.md (project-local override: <cwd>/.claude/drawbridge.local.md).

Subcommands

show (default if no args)

source ${CLAUDE_PLUGIN_ROOT}/scripts/lib.sh
echo "config_path: $(db_config_path)"
echo "default_target: $(db_default_target)"
echo "translate_to_english: $(db_translate_enabled)"

If config file does not exist, say so explicitly and offer to create one with defaults (gemini, true) via AskUserQuestion.

set <key> <value>

Allowed keys: default_target, translate_to_english.

For default_target, validate against gemini | chatgpt | grok | midjourney. For translate_to_english, accept true | false.

If the user-global config does not exist yet, create it. Use the Write tool with this template:

---
default_target: gemini
translate_to_english: true
---
# drawbridge — user settings

Then patch the requested key. Read existing file, replace the line in frontmatter, write back.

After change, echo the updated values via the show flow.

No subcommand → ask interactively

If $ARGUMENTS is empty, ask the user via AskUserQuestion:

  • "Show current settings or change something?"
  • options: show, change default_target, change translate_to_english

For change paths, ask the new value via a follow-up AskUserQuestion with constrained options.

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. 1mo ago First seen · 52 lines · 12 tokens per session scan A bb7b1ea8a9a9

Subscribe to this mod's changes

draw-config is a command published in the GitHub repository IvanLutsenko/awac-ai-agent-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 12 tokens to every session and 438 once invoked, about $0.0000 per session on Opus 5.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-09-05.