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.
npx agentmods add commands/emaraschio/cursor-commands/commit-same-branchgit clone --depth 1 https://github.com/emaraschio/cursor-commandsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00014 | $0.00400 |
| Opus 5 | $0.00007 | $0.00200 |
| Sonnet 5 | $0.00003 | $0.00080 |
| Haiku 4.5 | $0.00001 | $0.00040 |
Grade A, and why
commit-same-branch 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 2d 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.
What it actually says
Overview
Commit on the current branch with conventional message. Full workflow: .cursor/skill-contracts/commit-same-branch/SKILL.md (user install: ~/.cursor/skill-contracts/commit-same-branch/SKILL.md).
Defaults
None. See skill for workflow defaults.
Steps
- Read
.cursor/skill-contracts/commit-same-branch/SKILL.mdfor the full agent contract; if that file is missing, read~/.cursor/skill-contracts/commit-same-branch/SKILL.md. - Execute the workflow in order; do not skip safety steps.
- Report outcomes per skill (summary, tables, or checklist as specified).
Anti-patterns
- Commit only when asked. Trigger: a chunk of work is finished on the current branch. Wrong: committing automatically without being asked. Correct: commit only on an explicit request from the user. Reason: unrequested commits clutter history and surprise the user.
- Push only when asked. Trigger: a commit has just been made on the branch. Wrong: pushing to the remote without being asked. Correct: keep the commit local until the user requests a push. Reason: an unrequested push publishes work the user may not be ready to share.
Examples
/commit-same-branch
Maintainers
Behavioral eval: .cursor/skill-contracts/commit-same-branch/eval/cases.md. Ship gate sections: A, S before changing SKILL.md or this command.
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.
- 2d ago First seen · 38 lines · 14 tokens per session scan A 4969e48605a1
commit-same-branch is a command published in the GitHub repository emaraschio/cursor-commands (9 stars, last pushed 25d ago), licensed MIT. It adds 14 tokens to every session and 400 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-31.
Other commands, from other repositories
grok_init
Discover, verify, and persist the local HTTP proxy used by Grok Build Supervisor.
burndown-full
Drive a partially-executed plan to 100% coverage across the whole repo — enumerate, batch-execute, prove completeness.
ship-and-observe
Take merged, green code to a verified, monitored production release — deploy, confirm the revision is live, smoke-test, observe, and roll back if needed.
mcp-guide
Reference for the MCP toolset (Context7, Firecrawl, Playwright, Supabase, Sequential Thinking) and when to reach for each.
debug-issue
Hypothesis-driven debugging with runtime evidence — Sentry, Firecrawl, and Sequential Thinking, not guessing.
refactor
Systematic refactoring: analyze → split → extract → verify behavior, with no truncation or omitted lines.