一键导入
drawbridge-draw
Crafts a target-tuned image-gen prompt from a short brief, copies it to clipboard, opens the target web UI. Use when the user invokes /draw.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Crafts a target-tuned image-gen prompt from a short brief, copies it to clipboard, opens the target web UI. Use when the user invokes /draw.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
One-shot conversion of a Claude Code plugin to Codex format. Use when asked to convert, port, or add Codex support for a plugin in this repository.
One-shot conversion of a Codex plugin to Claude Code format. Use when asked to convert a Codex plugin to Claude Code, add CC support for a Codex plugin, or reverse-port a plugin from Codex.
Continuous maintenance workflow for plugins that target both Claude Code and Codex. Use when a plugin's commands, skills, or agents have changed and the Codex target needs updating.
Manually sync the editor theme to the current macOS appearance (light/dark). Use when the user switched macOS appearance and wants Claude Code and/or Codex themes refreshed now, or asks to fix/resync the theme. Light → gruvbox-light, dark → sunset-drive.
Install the plugin-cross-port pre-commit hook into any git repository. Use when the user invokes /install-hook.
Generates platform-specific social media descriptions for video clips. Creates copy for YouTube Shorts, Instagram Reels, and TikTok.
| name | drawbridge-draw |
| description | Crafts a target-tuned image-gen prompt from a short brief, copies it to clipboard, opens the target web UI. Use when the user invokes /draw. |
| version | 0.1.0 |
Converted from Claude Code command
/draw. Review and adapt: hooks and MCP tool IDs may need manual mapping for Codex.
Parse $ARGUMENTS:
-t <target> — optional target override. One of gemini, chatgpt, grok, midjourney.If no brief is given, stop and report: Usage: /draw [-t target] <brief>.
source plugins/drawbridge/scripts/lib.sh
echo "default_target=$(db_default_target)"
echo "translate=$(db_translate_enabled)"
If user passed -t, use that value. Otherwise use db_default_target. Validate against the allowed set; if invalid, stop and report.
Invoke the prompt-crafting skill (it ships with this plugin). Pass the brief, the target, and the translate flag. The skill returns ONLY the final prompt — no labels, no quoting.
If translate flag is true and the brief is non-English, the skill produces an English prompt.
PROMPT=$(cat <<'PROMPT_EOF'
<final prompt here>
PROMPT_EOF
)
TARGET="<resolved target>"
BRIEF="<original brief>"
source plugins/drawbridge/scripts/lib.sh
printf "%s" "$PROMPT" | db_copy_clipboard
db_history_append "$TARGET" "$BRIEF" "$PROMPT"
db_open_url "$(db_target_url "$TARGET")"
Format:
target: <target>
prompt copied to clipboard, opening <url>
next: Cmd+V in the page, generate, copy the image, paste where you need it.
Show the prompt itself in a fenced block beneath, so the user can audit / copy manually if pbcopy fails.