Logo van Command Creator

Command Creator

Organisatie
different-ai
command-creator

Create OpenCode custom commands for repeatable tasks.

Overzicht

Uitgeverdifferent-ai
Repositoryopenwork-hub
Skillnaamcommand-creator
Sterren
34
Forks
14
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door different-ai op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Command Creator in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/different-ai/openwork-hub/tree/main/skills/command-creator
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Command Creator in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Command Creator automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Command Creator niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Veelgestelde vragen

Wat doet de AI-skill Command Creator?

Create OpenCode custom commands for repeatable tasks.

Waarom Command Creator gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Command Creator bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Command Creator in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/different-ai/openwork-hub/tree/main/skills/command-creator. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Command Creator gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Command Creator gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Command Creator ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Command Creator gratis?

Deze skill is door different-ai op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇