Design Cli logo

Design Cli

Community
mzbac
design-cli

Design or review agent-friendly command-line interfaces for tools, wrappers, and internal platforms. Use when Codex needs to create a new CLI, simplify an existing one, map real workflows to commands and flags, improve `--help` and error behavior, define stdout/stderr and file output contracts, add safety rails for destructive actions, or turn an API/service/browser workflow into a shell-first interface that humans and agents can drive reliably.

Overview

Publishermzbac
Repositoryskills
Skill namedesign-cli
Stars
27
Forks
1
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mzbac on GitHub. Read the source before you install it.

Installation

Install the Design Cli AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mzbac/skills/tree/main/skills/design-cli
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mzbac/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/design-cli .claude/skills/design-cli
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Design Cli in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Design Cli on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Design Cli is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Design CLI

Design the interface around the operator's real work, not the system's internal nouns.

Start from repeated tasks, decisions, artifacts, and risks. Create the smallest command surface that makes those paths obvious and safe, then leave an escape hatch to the shell, files, or existing tools for everything else.

Default Deliverable

Unless the user asks for code only, work through these outputs:

  1. Operator model: who runs the command and what success looks like
  2. Proposed command surface: verbs, nouns, flags, stdin/files, examples
  3. Help contract: what --help teaches on the happy path
  4. Output contract: stdout, stderr, exit codes, files, JSON if needed
  5. Safety model: dry run, confirmation, overwrite, rollback
  6. Implementation notes: parser changes, tests, docs/help updates

If the user asks for implementation, turn the design into code and tests in the repo's existing CLI framework.

Workflow

1. Model the job

  • Name the operator: human, agent, automation, or mixed.
  • State the desire path as a short sentence: "take X and produce Y safely."
  • Separate control inputs from payloads:
    • Use flags for control knobs.
    • Use stdin or files for larger content.
    • Use stdout for the primary result.
    • Use stderr for progress and diagnostics.
  • Identify irreversible or high-cost actions early.

2. Choose the command shape

  • Prefer a few obvious verbs over a tree that mirrors backend tables or REST endpoints.
  • Keep the happy path short. Push rare configuration into flags or deeper subcommands.
  • Use names that describe intent, such as plan, check, diff, apply, cancel, resume, or export.
  • Support non-interactive execution when the workflow will be agent-driven.
  • Keep naming and flag semantics consistent across sibling commands.
  • Do not map internal nouns 1:1 into commands unless they already match operator language.

3. Design progressive help

  • Make the first help line say exactly what the command does.
  • Show 3-5 copy/pasteable examples before the exhaustive flag list.
  • Put required inputs, defaults, and file/output behavior near the top.
  • Make --help sufficient for the common path.

4. Make errors corrective

  • Print failures to stderr.
  • Include what failed, why it likely failed, and the exact next step to recover.
  • Use non-zero exit codes for failures. Split user error from system error when that distinction matters.
  • Do not hide failure inside conversational prose while still exiting 0.

5. Design the output contract

  • Use stable plain text by default when humans or LLMs will read the result directly.
  • Use JSON only when structured interchange is actually needed.
  • For large outputs, write files and print a short summary plus the artifact path.
  • Keep stdout parseable. Do not mix logs, banners, and primary results.
  • Add quiet or verbose modes only when they solve a real problem.

6. Add safety rails

  • Prefer check, diff, or plan before apply.
  • Add --dry-run for commands with side effects.
  • Require explicit confirmation flags for destructive or high-cost actions.
  • Make overwrite or replace behavior explicit.
  • Expose undo or rollback directly when feasible.

7. Iterate from real use

  • Start with terminal, browser, and file-system workflows when the domain is still fuzzy.
  • Watch what the operator repeats, where it hesitates, and what it gets wrong.
  • Convert only the stable repeated patterns into CLI affordances.
  • Keep the CLI narrow enough that it reduces choices instead of recreating the whole product surface.

Review Heuristics

When reviewing an existing CLI, look for:

  • Backend-shaped command trees that do not match user intent
  • Help text that lists flags but does not teach the happy path
  • Commands that interleave logs and results on stdout
  • Errors that lack a concrete fix
  • Missing --dry-run, confirmation, or idempotency
  • Large blobs printed inline instead of saved to files
  • Interactive prompts in workflows that should be scriptable
  • State hidden in memory instead of inspectable files or commands

Implementation Notes

  • Match the repo's existing CLI library and help conventions.
  • Update parser definitions, help text/examples, and tests together.
  • Add tests for help text, exit codes, stdout/stderr separation, dry-run behavior, and destructive confirmation paths.

Use the Reference

Read agent-cli-principles.md when you need a deeper checklist, example command reshapes, or source-derived guidance on help, errors, output, and iterative CLI design.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Design Cli AI skill do?

Design or review agent-friendly command-line interfaces for tools, wrappers, and internal platforms. Use when Codex needs to create a new CLI, simplify an existing one, map real workflows to commands and flags, improve `--help` and error behavior, define stdout/stderr and file output contracts, add safety rails for destructive actions, or turn an API/service/browser workflow into a shell-first interface that humans and agents can drive reliably.

Why use Design Cli on TypingMind?

Because you install it once and use it with any model. Design Cli is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Design Cli in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mzbac/skills/tree/main/skills/design-cli. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Design Cli?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Design Cli?

As many as you like. As long as a model supports skills, you can use Design Cli with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Design Cli AI skill free?

It is published on GitHub by mzbac. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇