Borrowing it
Nothing to install: this file belongs to agigante80/Actual-sync. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/agigante80/Actual-sync/main/.claude/commands/gate-ticket.mdgit clone --depth 1 https://github.com/agigante80/Actual-syncWrote 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.
[](https://agentmods.dev/commands/agigante80/actual-sync/gate-ticket)<a href="https://agentmods.dev/commands/agigante80/actual-sync/gate-ticket"><img src="https://agentmods.dev/badge/commands/agigante80/actual-sync/gate-ticket.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00646 |
| Opus 5 | $0.00000 | $0.00323 |
| Sonnet 5 | $0.00000 | $0.00129 |
| Haiku 4.5 | $0.00000 | $0.00065 |
Grade A, and why
gate-ticket 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.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gate a GitHub ticket for readiness
Run the ticket readiness gate on a GitHub issue before implementation begins.
Formerly
/review-ticket— renamed to/gate-ticketto match the forge-kit convention used across the other projects. Update any muscle memory; the old name no longer resolves.
Usage
/gate-ticket <issue-number>
Argument: GitHub issue number (required). Example: /gate-ticket 44
What this does
Invokes the ticket-gate agent, which validates the issue through 3 sequential
domain specialist agents. (This project runs a deliberately lean 3-agent panel
rather than forge-kit's 5 core agents — see the agent file's "Scope" section for
why, and for what manual review to add when a ticket touches security/privacy.)
- actual-api — verifies correct
@actual-app/apilifecycle, method names, field names, and known quirks - qa — verifies test cases are specific and cover error paths, shutdown assertions, and coverage thresholds
- release-manager — verifies PR scope, commit convention, version bump, and measurable acceptance criteria
Each agent scores the issue 1–10. All three must score 10/10 for the issue to PASS.
Output
The gate posts a scorecard as a GitHub comment on the issue and reports:
- PASS — implementation may begin
- BLOCKED — exact list of required changes; re-run after addressing them
Steps
Use the Agent tool with subagent_type: ticket-gate, passing the following prompt:
Run the ticket readiness gate on GitHub issue #<issue-number> in agigante80/Actual-sync.
Follow all steps in the ticket-gate agent instructions:
1. Fetch the issue with gh issue view
2. Load CLAUDE.md, src/syncService.js (API call sequence), and src/__tests__/helpers/testHelpers.js
3. Thin-ticket pre-check (with CLAUDE.md context loaded — conventions the docs answer are
not gaps); if 3+ material unanswered questions remain, post them as a comment and halt
BLOCKED without scoring
4. Run complexity research (if triggered) and the codebase-exploration sub-agent (only when
2+ complexity signals fire or the area is unfamiliar; skip for simple tickets)
5. Run actual-api agent — wait for result — then qa agent — wait for result — then release-manager agent.
IMPORTANT: one agent per message, strictly sequential, never in parallel.
6. Compile the scorecard (include Research performed / Codebase context sections)
7. Post it as a GitHub comment
8. Report PASS, or on any score < 10 auto-remediate: write the updated body to a file and
apply it with `gh issue edit --body-file` (never `--body "..."`), replacing rather than
duplicating any prior "Required additions" section per agent; report BLOCKED
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 · 62 lines · 0 tokens per session scan A d5b6021925ac
gate-ticket is a command published in the GitHub repository agigante80/Actual-sync (12 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 646 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-09-04.
Other commands, from other repositories
orc
Parallel multi-agent orchestration for complex features.
parallel-task
Execute bulk modifications across codebase with parallel agents and safety guarantees.
ship
Command "ship" from ngocsangyem/MeowKit, covering /ship — phase 5: ship pipeline, usage, behavior, pre-conditions and execution steps.
ship
Encodes the "stage and commit" ritual: verify (receipt gate) → scope → branch → write the commit message from what is actually staged → commit → push → open PR to the default branch → move the Jira issue to In Review. NO merge (merging is the reviewer's call). NO tag (deploys are project-specific and out of scope).
github-swarm
Create a specialized swarm for GitHub repository management.
quick-commit
A quick Git command for committing and pushing a small code change. Git is the tool that records code versions and sends them to a shared repository.