redraw

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

A command that makes a new variation of the last image-generation prompt, optionally for a different target website. It copies the result and opens the selected site.

In plain words
What is it for?
Use it to create and review another version of the previous prompt for Gemini, ChatGPT, Grok, or Midjourney.
Why use it?
It saves you from retyping an earlier brief when the first image direction is not right. The new version changes the framing, lighting, or mood instead of rerunning the same prompt.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 Use it to create and review another version of the previous prompt for Gemini, ChatGPT, Grok, or Midjourney.

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 redraw

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/redraw"><img src="https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/redraw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 392 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.00020 $0.00392
Opus 5.5 $0.00008 $0.00157
Sonnet 5.5 $0.00004 $0.00078
Haiku 4.5 $0.00002 $0.00039

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

Security

Grade A, and why

redraw 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/redraw.md · 47 lines

What it actually says

/redraw — variation of last brief

Steps

1. Read last entry

source ${CLAUDE_PLUGIN_ROOT}/scripts/lib.sh
LAST=$(db_history_last)

If empty — stop and report: No history yet. Run /draw first.

Parse LAST as JSON to extract brief and target.

2. Resolve effective target

If $ARGUMENTS contains -t <target>, use that (and validate). Otherwise reuse the last target.

3. Craft a fresh prompt

Invoke the prompt-crafting skill with the same brief and the resolved target. Even if target is the same, produce a noticeably different framing (different angle / lighting / mood) — this is "redraw", not "rerun".

4. Copy + log + open

Same as /draw:

  • pbcopy the prompt
  • db_history_append "$TARGET" "$BRIEF" "$PROMPT"
  • db_open_url "$(db_target_url "$TARGET")"

5. Report

target: <target>  (was: <previous target>)
brief: <brief>

prompt copied. opening <url>.

Show the new prompt in a fenced block.

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 · 47 lines · 20 tokens per session scan A af0fa7d3063e

Subscribe to this mod's changes

redraw is a command published in the GitHub repository IvanLutsenko/awac-ai-agent-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 20 tokens to every session and 392 once invoked, about $0.0001 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.