Command Creator logo

Command Creator

Organization
different-ai
command-creator

Create OpenCode custom commands for repeatable tasks.

Overview

Publisherdifferent-ai
Repositoryopenwork-hub
Skill namecommand-creator
Stars
34
Forks
14
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by different-ai on GitHub. Read the source before you install it.

Installation

Install the Command Creator 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/different-ai/openwork-hub/tree/main/skills/command-creator
  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/different-ai/openwork-hub.git /tmp/openwork-hub
mkdir -p .claude/skills
cp -r /tmp/openwork-hub/skills/command-creator .claude/skills/command-creator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Command Creator 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 Command Creator 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 Command Creator 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.

Quick Usage (Already Configured)

Create a new command file

bash
mkdir -p commands

Create commands/<name>.md with frontmatter and a prompt template.

Command file example

---
description: Run tests with coverage
agent: build
model: gpt-5.2-codex
---

Run the full test suite with coverage report and show any failures.
Focus on the failing tests and suggest fixes.

Prompt config essentials

  • Use $ARGUMENTS for all arguments, or $1, $2, $3 for positional args.
  • Use !\command`` to inject shell output into the prompt.
  • Use @path/to/file to include file contents in the prompt.

Notes from OpenCode docs

  • Command files live in commands/ (project) or ~/.config/opencode/commands/ (global).
  • The markdown filename becomes the command name (e.g., test.md → /test).
  • JSON config also supports commands in opencode.json under command.
  • Custom commands can override built-ins like /init, /undo, /redo, /share, /help.

Reference

Follow the official OpenCode command docs: https://opencode.ai/docs/commands/ Use the docs as the escape hatch when unsure.

Docs snapshot

Skip to content OpenCode

Search ⌘ K Intro Config Providers Network Enterprise Troubleshooting Migrating to 1.0 TUI CLI Web IDE Zen Share GitHub GitLab Tools Rules Agents Models Themes Keybinds Commands Formatters Permissions LSP Servers MCP servers ACP Support Agent Skills Custom Tools SDK Server Plugins Ecosystem On this page Overview Create command files Configure JSON Markdown Prompt config Arguments Shell output File references Options Template Description Agent Subtask Model Built-in Commands Create custom commands for repetitive tasks.

Custom commands let you specify a prompt you want to run when that command is executed in the TUI.

/my-command

Custom commands are in addition to the built-in commands like /init, /undo, /redo, /share, /help. Learn more.

Create command files Create markdown files in the commands/ directory to define custom commands.

Create commands/test.md:

commands/test.md

description: Run tests with coverage agent: build model: anthropic/claude-3-sonnet-20241022

Run the full test suite with coverage report and show any failures. Focus on the failing tests and suggest fixes.

The frontmatter defines command properties. The content becomes the template.

Use the command by typing / followed by the command name.

"/test"

Configure You can add custom commands through the OpenCode config or by creating markdown files in the commands/ directory.

JSON Use the command option in your OpenCode config:

opencode.jsonc { "$schema": "https://opencode.ai/config.json", "command": { // This becomes the name of the command "test": { // This is the prompt that will be sent to the LLM "template": "Run the full test suite with coverage report and show any failures.\nFocus on the failing tests and suggest fixes.", // This is shown as the description in the TUI "description": "Run tests with coverage", "agent": "build", "model": "anthropic/claude-3-5-sonnet-20241022" } } }

Now you can run this command in the TUI:

/test

Markdown You can also define commands using markdown files. Place them in:

Global: ~/.config/opencode/commands/ Per-project: commands/ ~/.config/opencode/commands/test.md

description: Run tests with coverage agent: build model: anthropic/claude-3-5-sonnet-20241022

Run the full test suite with coverage report and show any failures. Focus on the failing tests and suggest fixes.

The markdown file name becomes the command name. For example, test.md lets you run:

/test

Prompt config The prompts for the custom commands support several special placeholders and syntax.

Arguments Pass arguments to commands using the $ARGUMENTS placeholder.

commands/component.md

description: Create a new component

Create a new React component named $ARGUMENTS with TypeScript support. Include proper typing and basic structure.

Run the command with arguments:

/component Button

And $ARGUMENTS will be replaced with Button.

You can also access individual arguments using positional parameters:

$1 - First argument $2 - Second argument $3 - Third argument And so on… For example:

commands/create-file.md

description: Create a new file with content

Create a file named $1 in the directory $2 with the following content: $3

Run the command:

/create-file config.json src "{ "key": "value" }"

This replaces:

$1 with config.json $2 with src $3 with { "key": "value" } Shell output Use !command to inject bash command output into your prompt.

For example, to create a custom command that analyzes test coverage:

commands/analyze-coverage.md

description: Analyze test coverage

Here are the current test results: !npm test

Based on these results, suggest improvements to increase coverage.

Or to review recent changes:

commands/review-changes.md

description: Review recent changes

Recent git commits: !git log --oneline -10

Review these changes and suggest any improvements.

Commands run in your project’s root directory and theutput becomes part of the prompt.

File references Include files in your command using @ followed by the filename.

commands/review-component.md

description: Review component

Review the component in @src/components/Button.tsx. Check for performance issues and suggest improvements.

The file content gets included in the prompt automatically.

Options Let’s look at the configuration options in detail.

Template The template option defines the prompt that will be sent to the LLM when the command is executed.

opencode.json { "command": { "test": { "template": "Run the full test suite with coverage report and show any failures.\nFocus on the failing tests and suggest fixes." } } }

This is a required config option.

Description Use the description option to provide a brief description of what the command does.

opencode.json { "command": { "test": { "description": "Run tests with coverage" } } }

This is shown as the description in the TUI when you type ithe command.

Agent Use the agent config to optionally specify which agent should execute this command. If this is a subagent the command will trigger a subagent invocation by default. To disable this behavior, set subtask to false.

opencode.json { "command": { "review": { "agent": "plan" } } }

This is an optional config option. If not specified, defaults to your current agent.

Subtask Use the subtask boolean to force the command to trigger a subagent invocation. This is useful if you want the command to not pollute your primary context and will force the agent to act as a subagent, even if mode is set to primary on the agent configuration.

opencode.json { "command": { "analyze": { "subtask": true } } }

This is an optional config option.

Model Use the model config to override the default model for this command.

opencode.json { "command": { "analyze": { "model": "anthropic/claude-3-5-sonnet-20241022" } } }

This is an optional config option.

Built-in opencode includes several built-in commands like /init, /undo, /redo, /share, /help; learn more.

Note

Custom commands can override built-in commands.

If you define a custom command with the same name, it will override the built-in command.

Edit this page Find a bug? Open an issue Join our Discord community © Anomaly

Jan 24, 2026

Frequently asked questions

What does the Command Creator AI skill do?

Create OpenCode custom commands for repeatable tasks.

Why use Command Creator on TypingMind?

Because you install it once and use it with any model. Command Creator 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 Command Creator in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/different-ai/openwork-hub/tree/main/skills/command-creator. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Command Creator?

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 Command Creator?

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

Is the Command Creator AI skill free?

It is published on GitHub by different-ai. 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 👇