t_metaprompt_workflow — Claude Code command: setup and guide
t_metaprompt_workflow generates structured Claude Code slash commands from a high-level task description while checking Anthropic docs.
no license ★ 1,573 updated 2026-02-08
.claude/commands/t_metaprompt_workflow.mdWhat t_metaprompt_workflow 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.
What it helps with
- generate Claude Code slash commands from plain descriptions
- structure custom commands with indexed argument variables
- configure frontmatter declarations with tool permissions
Example prompts for the agent
- /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
How to install t_metaprompt_workflow
Manually: put the files in place
.claude/commands/t_metaprompt_workflow.mdCall it with /t_metaprompt_workflow. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/t_metaprompt_workflow.mdCall it with /prompts:t_metaprompt_workflow. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/t_metaprompt_workflow.prompt.mdManually: put the files in place
.gemini/commands/t_metaprompt_workflow.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about t_metaprompt_workflow
How to install t_metaprompt_workflow in Claude Code?
Save the file to .claude/commands/t_metaprompt_workflow.md. Once saved, the command becomes available in your workspace.
What does t_metaprompt_workflow do?
It reads official slash command documentation and writes a formatted markdown command file into your repository.
Which tools must be allowed for t_metaprompt_workflow?
It requires permissions for Write, Edit, WebFetch, Task, and Fetch.