maestro: Command for Claude Code

.claude/commands/pushup.md

pushup is a command for Claude Code from CarlosDanielDev/maestro. It costs 0 tokens per session (3,768 once invoked), scanned A, original, MIT.

A GitHub workflow command that commits changes, sends them to the remote repository, creates a pull request, links an issue, and completes the related task. It also defines how the main agent and helper agents may work.

In plain words
What is it for?
It is for finishing an issue by making a semantic commit, pushing a branch, opening a pull request, linking the issue, and following the project's agent delegation rules.
Why use it?
It removes the need to perform the end-of-task Git steps manually and keeps code-writing responsibility with the main agent. It can also use an issue number to connect the work to its tracker item.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is CarlosDanielDev/maestro's own configuration. It tells Claude Code how to work on maestro 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 maestro configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/update-milestone-graph.py --milestone "$MILESTONE" --issue "<issue-number>".

Reuse

Borrowing it

Nothing to install: this file belongs to CarlosDanielDev/maestro. 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/CarlosDanielDev/maestro/main/.claude/commands/pushup.md
Clone the repo
git clone --depth 1 https://github.com/CarlosDanielDev/maestro

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 pushup

README.md
[![agentmods](https://agentmods.dev/badge/commands/carlosdanieldev/maestro/pushup/github.svg)](https://agentmods.dev/commands/carlosdanieldev/maestro/pushup)
Your own site
<a href="https://agentmods.dev/commands/carlosdanieldev/maestro/pushup"><img src="https://agentmods.dev/badge/commands/carlosdanieldev/maestro/pushup/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 pushup

Your own site · 80×15
<a href="https://agentmods.dev/commands/carlosdanieldev/maestro/pushup"><img src="https://agentmods.dev/badge/commands/carlosdanieldev/maestro/pushup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,768 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.00000 $0.03768
Opus 5.5 $0.00000 $0.01507
Sonnet 5.5 $0.00000 $0.00754
Haiku 4.5 $0.00000 $0.00377

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

Security

Grade A, and why

pushup 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 1mo 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/commands/pushup.md · 353 lines

How it starts

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


command: pushup version: 1.0.0 description: Commit semantically, push, create PR, link issue, and complete tasks. placeholders:

  • INCLUDE includes:
  • core/premises.md
  • core/dependency-graph.md source_provenance: ported_from: .claude/commands/pushup.md ported_at: 2026-05-13

Push Up

Commit semantically, push, create PR, link issue, and complete tasks.

Usage: /pushup or /pushup #123 (where #123 is the issue number)

Premises (Canonical Fragment)

Canonical fragment. Do not edit per-provider — render via manifest.toml. Source of truth ported from .claude/CLAUDE.md § CRITICAL PREMISES.

1. YOU ARE THE ONLY AGENT THAT WRITES CODE

The orchestrator is the ONLY agent authorized to:

  • Write, edit, or create code files
  • Execute bash commands
  • Run tests
  • Create any files (except documentation - see docs-analyst)

ALL subagents are CONSULTIVE ONLY. They:

  • Analyze, research, and plan
  • Provide detailed recommendations with exact file paths and code examples
  • Return blueprints for YOU to implement

Exception: subagent-docs-analyst can create/edit .md files.

2. Subagent Delegation Depends on MODE

In 🤖 Subagents Orchestrator Mode - You are FORBIDDEN from doing these tasks directly:

  • Researching or exploring codebases → delegate to subagents
  • Planning implementations → delegate to subagents
  • Analyzing code or architecture → delegate to subagents
  • Web searches for solutions → delegate to subagents
  • Reading documentation to understand how things work → delegate to subagents

Orchestrator Mode workflow is ALWAYS (TDD ENFORCED):

  1. Receive user request
  2. Pre-check hook (MANDATORY):
    • Run bash .maestro/hooks/implement-gates.sh <issue-number>
    • Abort on any non-zero exit (see exit-code table in /implement)
  3. Delegate to Gatekeeper (MANDATORY):
    • subagent-gatekeeper → structured JSON report (DOR, blockers, contracts, task_type)
    • Parse via .maestro/hooks/parse_gatekeeper_report.py
    • On DOR FAIL → by default, orchestrator prints the proposed comment for human review and STOPs (does NOT auto-post); pass --auto-comment to /implement to auto-post the comment and apply needs-info label
    • On blocker/contract FAIL → STOP with reasons from the report
  4. Delegate to Architect for blueprint - MANDATORY:
    • subagent-architect - For all architecture decisions
    • NEVER skip architecture step - the architect MUST be called
  5. CONTRACT VALIDATION (if task involves API endpoints) - MANDATORY:
    • Run /validate-contracts to check existing models against docs/api-contracts/ schemas
    • If no contract schema exists for the endpoint → STOP and ask user to provide the JSON schema
    • If contract exists but models mismatch → fix models BEFORE proceeding
  6. Delegate to QA for test blueprint - MANDATORY (TDD):
    • subagent-qa - Provides test cases, mocks, and expected behaviors
    • Tests are designed BEFORE implementation
  7. Write tests FIRST (RED) — verify they fail (enforced by /implement Step 6e bash gate)
  8. Implement minimum code (GREEN) — make tests pass (enforced by /implement Step 6g bash gate)
  9. Refactor — clean up while tests stay green
  10. Delegate to Security for review of implemented code
  11. Call docs-analyst at the end

Read the full file on GitHub · 353 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. 1mo ago First seen · 353 lines · 0 tokens per session scan A fe7951ea3b2a

Subscribe to this mod's changes

pushup is a command published in the GitHub repository CarlosDanielDev/maestro (31 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,768 tokens. 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-10-02.

Related

pushup compared with commands from other repositories

pushup next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pushupCarlosDanielDev/maestroCommand3120d agoMITA0Claude Code
standupvvedantb/evaCommand101yesterdayMITA0Claude Code
gitazrtydxb/procoderCommand21111d agoApache-2.0A20Claude Code
session-reportdamusix/atomic-claudeCommand1154d agoMITA31Claude Code
commitechoVic/blade-codeCommand18124d agoMITA8Claude Code
git-workflowHermeticOrmus/LibreUIUX-Claude-CodeCommand1151mo agoMITA14Claude Code
commitjoaquimscosta/arkhe-claude-pluginsCommand2221d agoMITA11Claude Code