run-prompt

run-prompt is a command for Claude Code from glittercowboy/taches-cc-resources. It costs 19 tokens per session (1,402 once invoked), scanned A, original, MIT.

A command for sending written prompts to fresh sub-task agents. It can find prompt files and run one or more of them in sequence or in parallel.

In plain words
What is it for?
Use it to locate prompt files, execute selected prompts, delegate work, and choose sequential or parallel runs.
Why use it?
It lets developers split larger tasks into separate pieces and run prepared prompts without manually copying them into new sessions.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the taches-cc-resources plugin — 12 skills, 19 commands, 3 agents shipped together

Good fit Use it to locate prompt files, execute selected prompts, delegate work, and choose sequential or parallel runs.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/glittercowboy/taches-cc-resources/run-prompt
About the project

TÂCHES Claude Code Resources is a collection of custom commands, skills, and agents that structure Claude Code workflows such as planning, debugging, automation, and subagent creation. It is intended for developers who use Claude Code for real software projects. The catalogue entries are examples of the resources included in the collection.

glittercowboy/taches-cc-resources · 1,976 stars · on GitHub · youtube.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/glittercowboy/taches-cc-resources

Made for: Claude Code.

Or install taches-cc-resources, the plugin that ships this one along with the rest of its 12 skills, 19 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for run-prompt

README.md
[![agentmods](https://agentmods.dev/badge/commands/glittercowboy/taches-cc-resources/run-prompt/github.svg)](https://agentmods.dev/commands/glittercowboy/taches-cc-resources/run-prompt)
Your own site
<a href="https://agentmods.dev/commands/glittercowboy/taches-cc-resources/run-prompt"><img src="https://agentmods.dev/badge/commands/glittercowboy/taches-cc-resources/run-prompt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for run-prompt

Your own site · 80×15
<a href="https://agentmods.dev/commands/glittercowboy/taches-cc-resources/run-prompt"><img src="https://agentmods.dev/badge/commands/glittercowboy/taches-cc-resources/run-prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,402 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.01402
Opus 5 $0.00010 $0.00701
Sonnet 5 $0.00004 $0.00280
Haiku 4.5 $0.00002 $0.00140

Measured 11d ago against content hash 9b126f2c94f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

run-prompt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/run-prompt.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Single prompt:

  • Empty (no arguments): Run the most recently created prompt (default behavior)
  • A prompt number (e.g., "001", "5", "42")
  • A partial filename (e.g., "user-auth", "dashboard")

Multiple prompts:

  • Multiple numbers (e.g., "005 006 007")
  • With execution flag: "005 006 007 --parallel" or "005 006 007 --sequential"
  • If no flag specified with multiple prompts, default to --sequential for safety

<step2_resolve_files> For each prompt number/name:

  • If empty or "last": Find with !ls -t ./prompts/*.md | head -1
  • If a number: Find file matching that zero-padded number (e.g., "5" matches "005-.md", "42" matches "042-.md")
  • If text: Find files containing that string in the filename

<matching_rules>

  • If exactly one match found: Use that file
  • If multiple matches found: List them and ask user to choose
  • If no matches found: Report error and list available prompts </matching_rules> </step2_resolve_files>

<step3_execute> <single_prompt>

  1. Read the complete contents of the prompt file
  2. Delegate as sub-task using Task tool with subagent_type="general-purpose"
  3. Wait for completion
  4. Archive prompt to ./prompts/completed/ with metadata
  5. Commit all work:
    • Stage files YOU modified with git add [file] (never git add .)
    • Determine appropriate commit type based on changes (fix|feat|refactor|style|docs|test|chore)
    • Commit with format: [type]: [description] (lowercase, specific, concise)
  6. Return results </single_prompt>

<parallel_execution>

  1. Read all prompt files
  2. Spawn all Task tools in a SINGLE MESSAGE (this is critical for parallel execution): Use Task tool for prompt 005 Use Task tool for prompt 006 Use Task tool for prompt 007 (All in one message with multiple tool calls)
  3. Wait for ALL to complete
  4. Archive all prompts with metadata
  5. Commit all work:
    • Stage files YOU modified with git add [file] (never git add .)
    • Determine appropriate commit type based on changes (fix|feat|refactor|style|docs|test|chore)
    • Commit with format: [type]: [description] (lowercase, specific, concise)
  6. Return consolidated results </parallel_execution>

<sequential_execution>

  1. Read first prompt file
  2. Spawn Task tool for first prompt
  3. Wait for completion
  4. Archive first prompt
  5. Read second prompt file
  6. Spawn Task tool for second prompt
  7. Wait for completion
  8. Archive second prompt
  9. Repeat for remaining prompts
  10. Archive all prompts with metadata
  11. Commit all work:
    • Stage files YOU modified with git add [file] (never git add .)
    • Determine appropriate commit type based on changes (fix|feat|refactor|style|docs|test|chore)
    • Commit with format: [type]: [description] (lowercase, specific, concise)
  12. Return consolidated results </sequential_execution> </step3_execute>

<context_strategy> By delegating to a sub-task, the actual implementation work happens in fresh context while the main conversation stays lean for orchestration and iteration. </context_strategy>

Read the full file on GitHub · 167 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 167 lines · 19 tokens per session scan A 9b126f2c94f6

Subscribe to this mod's changes

run-prompt is a command published in the GitHub repository glittercowboy/taches-cc-resources (1,976 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 1,402 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.