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/marcusquinn/aidevops/setup-gitgit clone --depth 1 https://github.com/marcusquinn/aidevopsWrote 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/marcusquinn/aidevops/setup-git)<a href="https://agentmods.dev/commands/marcusquinn/aidevops/setup-git"><img src="https://agentmods.dev/badge/commands/marcusquinn/aidevops/setup-git.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 | $0.00000 | $0.03134 |
| Opus 5 | $0.00000 | $0.01567 |
| Sonnet 5 | $0.00000 | $0.00627 |
| Haiku 4.5 | $0.00000 | $0.00313 |
Grade A, and why
setup-git 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 yesterday.
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 — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/setup-git — Guided Per-Repo Platform Secret Setup
Quick Reference
- Command:
/setup-git - Aggregator:
~/.aidevops/agents/scripts/setup-debt-helper.sh - Detector:
~/.aidevops/agents/scripts/security-posture-helper.sh(Phase 7) - Platform matrix:
reference/sync-pat-platforms.md - Sister command:
/onboarding— per-account auth (different scope)
Scope
/setup-git is per-repo platform secret setup — most importantly SYNC_PAT, the
fine-grained PAT that allows the issue-sync workflow to author issues as the
maintainer instead of as github-actions[bot]. Without SYNC_PAT, every synced
issue carries author_association: NONE and the t2449 worker-briefed auto-merge
gate refuses to merge worker PRs.
Use /setup-git when:
- The toast shows
[WARN] N repos need SYNC_PAT setup - The toast shows
[WARN] N repos need workflow re-sync(cross-account secrets:inherit) - A worker PR sits BLOCKED with all-green CI
- You just registered a new repo via
aidevops initor hand-editedrepos.json - You're onboarding a new operator and want every active repo's secrets right
Use /onboarding instead when:
- You need per-account auth (
gh auth login,glab auth login,tea login) - You need API keys for AI services (
OPENAI_API_KEY,ANTHROPIC_API_KEY, etc.) in~/.config/aidevops/credentials.sh - You're setting up a new machine and don't yet have any repos cloned
Security Posture (NON-NEGOTIABLE)
This command never accepts secret values in conversation. The fix path is
always gh secret set NAME --repo SLUG run interactively in a separate
terminal so the value never lands in the AI session transcript or shell
history (the gh secret set interactive prompt also avoids --body "$VALUE",
which would leave the token in process listings).
The agent's job is: read the debt summary → tell the operator which URL to open →
confirm with setup-debt-helper.sh verify-secret once they're done. No tool call ever has
a secret value as an argument.
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.
- yesterday First seen · 319 lines · 0 tokens per session scan A 9e08f31ce10b
setup-git is a command published in the GitHub repository marcusquinn/aidevops (392 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,134 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-03.
Other commands, from other repositories
changelog
Generate a structured changelog from recent git commits, categorized by change type.
quick-commit
간단한 수정용 빠른 커밋 (v6).
devkit.github.create-pr
Creates a GitHub pull request with branch creation, commits, and detailed description. Use when you need to submit changes for review.
pre-commit-check
Tu es un assistant de qualité code. Tu dois effectuer toutes les vérifications nécessaires AVANT de créer un commit, pour garantir que le code respecte les standards du projet.
commit
../../.mastracode/commands/commit.md.
hatch3r-pr-resolve
Read open PR comments, evaluate each against current code via the rigor contract, implement accepted findings, reply inline. Multi-platform.