design

design is a command for Claude Code from synaptiai/synapti-marketplace. It costs 24 tokens per session (3,451 once invoked), scanned A, original, Apache-2.0.

A command for designing or reviewing software architecture, the structure and relationships of a system's parts.

In plain words
What is it for?
Use it to examine repository architecture, evaluate coupling, capture missing requirements, and record design decisions.
Why use it?
It helps assess existing patterns and dependencies before deciding how a feature or system should be built.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

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 flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it to examine repository architecture, evaluate coupling, capture missing requirements, and record design decisions.

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 synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 agents.

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 design

README.md
[![agentmods](https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/design/github.svg)](https://agentmods.dev/commands/synaptiai/synapti-marketplace/design)
Your own site
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/design"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/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 design

Your own site · 80×15
<a href="https://agentmods.dev/commands/synaptiai/synapti-marketplace/design"><img src="https://agentmods.dev/badge/commands/synaptiai/synapti-marketplace/design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,451 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.00024 $0.03451
Opus 5.5 $0.00010 $0.01380
Sonnet 5.5 $0.00005 $0.00690
Haiku 4.5 $0.00002 $0.00345

Measured 25d ago against content hash 960e2ffb9c74, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 25d 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/flow/commands/design.md · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design: $ARGUMENTS

Architecture discussion and design validation. Follows Explore > Plan > Review > Decide loop.

Required Skills

This command operates with these domain skills loaded:

  • architecture-patterns — C4 design, coupling analysis, decision framework
  • capability-discovery — detect available agents and tech stack
  • specification-capture — read existing specification from journal or capture missing elements (Phase 1)
# Inline the Required Skills above so their rules are in context before the
# first phase runs (commands cannot preload skills from frontmatter). Ambient
# skills load whole; dispatched skills (context: fork / agent:) load their
# `## Contract` section and run in full when this command invokes
# Skill(<name>). Output per `references/command-output-format.md`.
"$(__fr="${CLAUDE_PLUGIN_ROOT:-}";[ -x "$__fr/bin/cascade-resolve.sh" ]||__fr=$({ printf '%s\n' plugins/flow;ls -d "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/synapti-marketplace/flow/*/ 2>/dev/null|sort -Vr;printf '%s\n' "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/synapti-marketplace/plugins/flow"; }|while read -r __p;do [ -x "${__p%/}/bin/cascade-resolve.sh" ]&&{ printf '%s\n' "${__p%/}";break;};done);printf '%s\n' "$__fr")/bin/flow-load-skills.sh" architecture-patterns capability-discovery specification-capture

true

References

  • references/escalation-format.md — canonical six-field structure for any Proactive-Autonomy escalation surfaced during design. Store each escalation before asking it: bin/flow-question.sh add --journal --class <the place's tag> ... prints QUESTION_ID; record the answer after with bin/flow-question.sh answer <id> --choice <n> --journal (§ Every escalation is stored)

Phase 1: EXPLORE

Map existing architecture before proposing anything. Execute in parallel:

# Take the first whitespace-separated token; accept only if it is *all*
# digits. Inputs like "foo42 strategy" (greedy digit-extraction would pluck
# `42` and fire `gh issue view 42` on an unrelated issue) are rejected.
# Supports usage like /flow:design 42 (decoupled auth service architecture).
#
# Output: `###`-headed sections + KEY=value per
# `references/command-output-format.md`.
_RAW="$ARGUMENTS"  # Claude Code substitutes the bare arg token, not bash parameter-expansion
ARG1="${_RAW%% *}"
case "$ARG1" in
  ''|*[!0-9]*) ISSUE_NUM="" ;;
  *) ISSUE_NUM="$ARG1" ;;
esac

printf '%s\n' "### Project Structure"
# Prefix each entry with ENTRY= per command-output-format.md (raw `ls -la`
# rows have no KEY= label). Each row contains whitespace (permission bits,
# owner, size, date, name), so values are double-quoted per rule 2.
# Try the conventional source roots first; fall back to repo root if none
# exist. Use `printf` so an empty ls produces a detectable empty var
# rather than a silent heading.
STRUCTURE=$(ls -la src/ app/ lib/ packages/ 2>/dev/null || ls -la 2>/dev/null)
if [ -z "$STRUCTURE" ]; then
  printf '%s\n' "STATE=empty"
else
  # Quote each row so values containing whitespace remain a single scalar
  # under one KEY=. Embedded double-quotes (rare in ls output) are escaped
  # with sed before wrapping.
  printf '%s\n' "$STRUCTURE" | sed 's/"/\\"/g; s/^/ENTRY="/; s/$/"/'
fi

printf '%s\n' ""
printf '%s\n' "### Issue Reference"
# Quote parenthesized fallback per command-output-format.md rule 2.
printf '%s\n' "ISSUE_NUM=${ISSUE_NUM:-\"(none — exploratory design)\"}"

printf '%s\n' ""
printf '%s\n' "### Issue Context"
if [ -n "$ISSUE_NUM" ]; then
  gh issue view "$ISSUE_NUM" --json title,body,labels --jq '"TITLE=\"\(.title)\"\nLABELS=\([.labels[].name] | join(","))\nBODY_LENGTH=\(.body | length)"' 2>/dev/null
  printf '%s\n' ""
  printf '%s\n' "#### Issue body"
  gh issue view "$ISSUE_NUM" --json body --jq '.body' 2>/dev/null
else
  printf '%s\n' "STATE=empty"
fi

printf '%s\n' ""
printf '%s\n' "### Branch Context"
printf '%s\n' "BRANCH=$(git branch --show-current 2>/dev/null)"
printf '%s\n' ""
printf '%s\n' "#### Recent commits"
RECENT_COMMITS=$(git log --oneline -5 2>/dev/null)
if [ -z "$RECENT_COMMITS" ]; then
  printf '%s\n' "STATE=empty"
else
  printf '%s\n' "$RECENT_COMMITS" | sed 's/^/COMMIT=/'
fi

true

Read the full file on GitHub · 273 lines

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. 25d ago Changed 960e2ffb9c74
  2. 1mo ago Changed · +10 lines 13f113977f19
  3. 2mo ago Changed c420d2aa3f0e
  4. 2mo ago Changed 49d73e1c66e5
  5. 2mo ago Changed · +3 lines 81a8b730cea8
  6. 2mo ago Changed dbc384fc34aa
  7. 2mo ago Changed · -6 lines 70167a4eefec
  8. 2mo ago Changed · +11 lines 47c85749abd1
  9. 3mo ago First seen · 255 lines · 24 tokens per session scan A 79ac24bbeee9

Subscribe to this mod's changes

design is a command published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 24 tokens to every session and 3,451 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-03.

Related

design compared with commands from other repositories

design next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
designsynaptiai/synapti-marketplaceCommand9todayApache-2.0A24Claude Code
create-worktreeCaptainMe-AI/lead-dev-osCommand224d agoMITA0Claude Code
paper-trail-reviewroomi-fields/paper-trailCommand83mo agoMITA39Claude Code
paper-trail-new-paperroomi-fields/paper-trailCommand83mo agoMITA35Claude Code
paper-trail-registry-cleanuproomi-fields/paper-trailCommand83mo agoMITA109Claude Code
paper-trail-cascaderoomi-fields/paper-trailCommand83mo agoMITA44Claude Code
paper-trail-linkifyroomi-fields/paper-trailCommand83mo agoMITA70Claude Code