# t_metaprompt_workflow

t_metaprompt_workflow generates structured Claude Code slash commands from a high-level task description while checking Anthropic docs.

- command · `type=command` · Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI · ★ 1573 repo stars
- Author: disler
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/disler/claude-code-hooks-multi-agent-observability/tree/HEAD/.claude/commands/t_metaprompt_workflow.md
- Updated: 2026-02-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/t-metaprompt-workflow

## What it does

This prompt builds custom slash commands and places them into `.claude/commands/`. Before writing files, it uses `Task` and `WebFetch` in parallel to pull Anthropic documentation on slash commands, common workflows, and available tools.

Each generated command follows a strict schema: frontmatter with required tool permissions, argument bindings like `$1` and `$2`, an ordered workflow, and reporting instructions. Without network access for `WebFetch`, the command cannot fetch reference documentation.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/t_metaprompt_workflow.md` — Call it with /t_metaprompt_workflow. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/t_metaprompt_workflow.md` — Call it with /prompts:t_metaprompt_workflow. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/t_metaprompt_workflow.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/t_metaprompt_workflow.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/disler/claude-code-hooks-multi-agent-observability/tree/HEAD/.claude/commands/t_metaprompt_workflow.md

## When to use it
- generate Claude Code slash commands from plain descriptions
- structure custom commands with indexed argument variables
- configure frontmatter declarations with tool permissions

## Example prompts
- /t_metaprompt_workflow Create a command that reviews git diffs and checks tests
- /t_metaprompt_workflow Build a prompt for running database migrations with rollback safety

## Similar
- [create-command](https://affpapa.org/en/nevibecode/skills/create-command.md) — skill · 1200 installs
- [slash-commands](https://affpapa.org/en/nevibecode/skills/slash-commands.md) — skill · 492 installs
- [slash-command-factory](https://affpapa.org/en/nevibecode/skills/terrylica-slash-command-factory.md) — skill · 136 installs
- [command-creator](https://affpapa.org/en/nevibecode/skills/command-creator.md) — skill · 54 installs
- [slash-catalog.generated](https://affpapa.org/en/nevibecode/prompts/slash-cataloggenerated.md) — prompt · ★ 855 repo stars
- [all-commands](https://affpapa.org/en/nevibecode/plugins/all-commands.md) — plugin · ★ 3785 repo stars

From the same set: [disler/claude-code-hooks-multi-agent-observability](https://affpapa.org/en/nevibecode/by/disler/claude-code-hooks-multi-agent-observability.md) — 20 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
