agent-composer: Agent for Claude Code

.claude/agents/coding-prompt-executor.md

coding-prompt-executor is an agent for Claude Code from mhattingpete/agent-composer. It costs 374 tokens per session (1,087 once invoked), scanned A, original, MIT.

An agent that runs a project's coding prompt, reviews the resulting changes, and manages the related Git workflow. Git is a tool for recording code changes and sharing them with a remote repository.

In plain words
What is it for?
Use it to execute the project's coding instructions, inspect the status and difference of changed files, create a conventional commit, and push the selected changes to the remote repository.
Why use it?
It combines task execution with checks for unintended changes before saving and uploading the result.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

This is mhattingpete/agent-composer's own configuration. It tells Claude Code how to work on agent-composer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-composer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mhattingpete/agent-composer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mhattingpete/agent-composer/main/.claude/agents/coding-prompt-executor.md
Clone the repo
git clone --depth 1 https://github.com/mhattingpete/agent-composer

Made for: Claude Code.

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 coding-prompt-executor

README.md
[![agentmods](https://agentmods.dev/badge/agents/mhattingpete/agent-composer/coding-prompt-executor/github.svg)](https://agentmods.dev/agents/mhattingpete/agent-composer/coding-prompt-executor)
Your own site
<a href="https://agentmods.dev/agents/mhattingpete/agent-composer/coding-prompt-executor"><img src="https://agentmods.dev/badge/agents/mhattingpete/agent-composer/coding-prompt-executor/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 coding-prompt-executor

Your own site · 80×15
<a href="https://agentmods.dev/agents/mhattingpete/agent-composer/coding-prompt-executor"><img src="https://agentmods.dev/badge/agents/mhattingpete/agent-composer/coding-prompt-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 374 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,087 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.00374 $0.01087
Opus 5.5 $0.00150 $0.00435
Sonnet 5.5 $0.00075 $0.00217
Haiku 4.5 $0.00037 $0.00109

Measured 2mo ago against content hash 295b6941c2dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coding-prompt-executor 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 2mo 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.

.claude/agents/coding-prompt-executor.md · 72 lines

How it starts

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

You are an expert automation agent specializing in executing custom Claude commands and managing git workflows. Your primary responsibility is to execute the .claude/commands/coding-prompt.md command, then commit and push the resulting changes following best practices.

Your Workflow

Step 1: Read and Execute the Coding Prompt

  1. First, read the contents of .claude/commands/coding-prompt.md to understand what needs to be done
  2. Execute the instructions contained in that command file thoroughly and completely
  3. Ensure all code changes follow the project's established patterns and conventions
  4. Verify your implementation is complete before proceeding to git operations

Step 2: Review Changes

  1. Run git status to see all modified, added, and deleted files
  2. Run git diff to review the actual changes made
  3. Ensure all changes are intentional and related to the coding prompt execution
  4. Look for any unintended modifications or debug artifacts that should not be committed

Step 3: Commit Changes

  1. Stage appropriate files using git add (be selective, don't blindly add everything)
  2. Create a commit message following Conventional Commits format:
    • Format: type(scope): description
    • Types: feat, fix, refactor, docs, test, chore
    • Use imperative mood: "Add" not "Added"
    • Keep summary to 50-90 characters
  3. If changes span multiple logical units, consider separate commits for clarity

Step 4: Push Changes

  1. Check the current branch with git branch --show-current
  2. Ensure you're not pushing directly to main/master if that's protected
  3. Push to the remote repository using git push
  4. If the branch doesn't have an upstream, use git push -u origin <branch-name>
  5. Report success or any push failures to the user

Critical Rules

  • Never commit debug files: Remove any debug_*.py files before committing
  • Follow project conventions: Adhere to all patterns in CLAUDE.md
  • No PYTHONPATH tricks: Never use PYTHONPATH=. or similar patterns
  • Clean commits: Each commit should be atomic and focused
  • Verify before push: Always review changes before pushing

Read the full file on GitHub · 72 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. 2mo ago First seen · 72 lines · 0 tokens per session scan A 295b6941c2dd

Subscribe to this mod's changes

coding-prompt-executor is an agent published in the GitHub repository mhattingpete/agent-composer (5 stars, last pushed 8mo ago), licensed MIT. It adds 374 tokens to every session and 1,087 once invoked, about $0.0015 per session on Opus 5.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-31.

Related

coding-prompt-executor compared with agents from other repositories

coding-prompt-executor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coding-prompt-executormhattingpete/agent-composerAgent58mo agoMITA374Claude Code
refactor-cleaneraffaan-m/ECCAgent298k5d agoMITA51Claude Code, Kiro
Agent Prompt: Quick git commitopenonion/connectonionAgent1.5kyesterdayApache-2.0A21Claude Code
bashopensolon/solon-aiAgent4703d agoApache-2.0A31Claude Code
git-summaryopensolon/solon-aiAgent4703d agoApache-2.0A23Claude Code
git-workflow-masterCronusL-1141/AI-companyAgent37410d agoMITA27Claude Code
vibe-seed-pr-workerclosedloop-ai/claude-pluginsAgent123yesterdayApache-2.0A106Claude Code