cmd_gan_design

cmd_gan_design is a skill for Claude Code from majiang213/OpenClaw-MAS. It costs 30 tokens per session (317 once invoked), scanned A, a copy of cmd_gan_build, MIT.

A design workflow that generates a result and then evaluates it, repeating the process until the evaluator reaches the configured score.

In plain words
What is it for?
Use it for design tasks that need generated options, evaluation, and iteration.
Why use it?
It adds a review loop so generated designs can be assessed and refined instead of being accepted immediately.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it for design tasks that need generated options, evaluation, and iteration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiang213/openclaw-mas/cmd_gan_design
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.

Any agent
npx skills add majiang213/OpenClaw-MAS --skill cmd_gan_design
Clone the repo
git clone --depth 1 https://github.com/majiang213/OpenClaw-MAS

Made for: Claude Code.

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 cmd_gan_design

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiang213/openclaw-mas/cmd_gan_design/github.svg)](https://agentmods.dev/skills/majiang213/openclaw-mas/cmd_gan_design)
Your own site
<a href="https://agentmods.dev/skills/majiang213/openclaw-mas/cmd_gan_design"><img src="https://agentmods.dev/badge/skills/majiang213/openclaw-mas/cmd_gan_design/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 cmd_gan_design

Your own site · 80×15
<a href="https://agentmods.dev/skills/majiang213/openclaw-mas/cmd_gan_design"><img src="https://agentmods.dev/badge/skills/majiang213/openclaw-mas/cmd_gan_design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 317 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 89% copy Near-identical to another mod 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.00030 $0.00317
Opus 5 $0.00015 $0.00159
Sonnet 5 $0.00006 $0.00063
Haiku 4.5 $0.00003 $0.00032

Measured 6d ago against content hash 9ed5dd82ebfb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

cmd_gan_design 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 6d 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.

Origin

This is a copy

89% identical to cmd_gan_build — 23 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/cmd_gan_design/SKILL.md · 47 lines

What it actually says

Run specialist agents in sequence: gan-generator → gan-evaluator.

Include in the task payload:

  • Project path (the absolute path the user provided as the first argument)
  • The user's full request and build/design brief
  • Any flags or configuration options (max iterations, pass threshold, etc.)
  • Relevant codebase context

Execute specialist agents in sequence: gan-generator → gan-evaluator

  1. Reply to the user briefly, then call sessions_spawn:
{
  "agentId": "gan-generator",
  "sessionKey": "gan-generator",
  "task": "<task description with full context from previous step>",
  "runTimeoutSeconds": 0
}

Wait for this agent to complete before proceeding.

  1. Reply to the user briefly, then call sessions_spawn:
{
  "agentId": "gan-evaluator",
  "sessionKey": "gan-evaluator",
  "task": "<task description with full context from previous step>",
  "runTimeoutSeconds": 0
}

Wait for this agent to complete before proceeding.

Do not spawn the next agent until the current one completes. Do not spawn agents in parallel. After all agents complete, return the final result to the user.

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. 6d ago First seen · 47 lines · 30 tokens per session scan A 9ed5dd82ebfb

Subscribe to this mod's changes

cmd_gan_design is a skill published in the GitHub repository majiang213/OpenClaw-MAS (5 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 317 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to cmd_gan_build, differing in 23 lines, and is treated as a copy.

Related

Other skills, from other repositories

presentation-creator

Builds decks with a story spine, house visual system, setting-specific density, and speaker notes. Use when asked to "create a presentation", "write a pitch deck", or "turn this doc into slides". Defaults to Marp; use an available presentation tool for editable PowerPoint. For product UI use ui-design.

mblode/agent-skills · 69 tokens

lark-slides

A tool for creating and editing Feishu slide presentations, including their pages and content. Feishu is a workplace collaboration platform.

davidtoby/agent-skills · 156 tokens

baoyu-infographic

A generator for infographics that combines one of 21 information layouts with one of 21 visual styles.

davidtoby/agent-skills · 23 tokens

baoyu-infographic

A toolkit for creating pictures and text banners from ordinary keyboard characters, called ASCII art. It supports local command-line tools and some free online services for text, images, and related artwork.

moltis-org/moltis · 70 tokens

beautiful-feishu-whiteboard

A library of 37 curated colour palette styles for building beautiful, editable Feishu / Lark (飞书) whiteboards from SVG. Use this whenever the user wants to create or draw a Feishu whiteboard, infographic, diagram, poster, or visual explainer and wants it to look polished, on brand, or in a particular aesthetic, or…

davidtoby/agent-skills · 155 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

Agilkannan/skills · 59 tokens