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 skills add nxtg-ai/forge-plugin --skill git-workflowgit clone --depth 1 https://github.com/nxtg-ai/forge-pluginWrote 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/skills/nxtg-ai/forge-plugin/git-workflow)<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/git-workflow"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/git-workflow/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.
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/git-workflow"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/git-workflow.svg" alt="Reviewed on agentmods" width="80" 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.00092 | $0.01847 |
| Opus 5.5 | $0.00037 | $0.00739 |
| Sonnet 5.5 | $0.00018 | $0.00369 |
| Haiku 4.5 | $0.00009 | $0.00185 |
Grade A, and why
Git Workflow 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.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Workflow and Branching Strategy
NXTG-Forge uses trunk-based development: main stays always-deployable, work happens
on short-lived feature branches, and changes land via squash-merged PRs. This SKILL.md is
the lean operating guide; deep tables (commit/PR conventions, recovery recipes) live in the
linked reference files.
Branch strategy
main— always deployable, protected, requires PR + passing CI. Single source of truth.- Feature branches — short-lived (1–3 days), single-purpose, named
type/description:feat/user-authentication,fix/login-validation-bug,refactor/state-migration,docs/api-guide,chore/dep-bump. - No long-lived branches — no
develop, norelease/*, nohotfix/*. Fix directly frommainon afix/*branch. (Reversing this needs an ADR.)
The core loop
# 1. Branch off fresh main
git checkout main && git pull origin main
git checkout -b feat/user-authentication
# 2. Work → stage EXPLICIT paths (never `git add -A` / `git add .`) → commit
git add src/auth/ tests/auth.test.mjs
git commit -m "feat: add JWT auth middleware"
# 3. Stay current — rebase, don't merge main in
git fetch origin && git rebase origin/main
# 4. Push (first push sets upstream)
git push -u origin feat/user-authentication # later pushes: git push
git push --force-with-lease # ONLY after a rebase, never plain --force
# 5. Open PR
gh pr create --title "feat: add user authentication" --body "$(cat <<'EOF'
## Summary
- JWT-based authentication middleware + login/logout endpoints
## Test Plan
- [x] Unit tests for token validation
- [x] Integration test for the auth flow
EOF
)"
# 6. After approval + green CI
gh pr merge --squash --delete-branch
Stage explicit paths, not git add -A — it sweeps in unrelated dirty files and secrets.
Rebase (not merge-from-main) keeps history linear. Push new work with -u; after a rebase
that rewrote your branch, reconcile the remote with --force-with-lease (safe: it refuses if
someone else pushed). See reference/commit-and-pr.md for the
full commit-type list, PR template, size guidance, and merge-strategy trade-offs.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed 9b52d55653c1
- 3mo ago First seen · 137 lines · 92 tokens per session scan A a7bdf00740da
Git Workflow is a skill published in the GitHub repository nxtg-ai/forge-plugin (7 stars, last pushed 2d ago), licensed MIT. It adds 92 tokens to every session and 1,847 once invoked, about $0.0004 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-09-03.
Git Workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Git Workflownxtg-ai/forge-plugin | Skill | 7 | 2d ago | MIT | A | 92 | Claude Code |
| fix-issueyonatangross/orchestkit | Skill | 313 | today | MIT | A | 54 | Claude Code |
| github-operationsyonatangross/orchestkit | Skill | 313 | today | MIT | A | 33 | Claude Code |
| ork-commityonatangross/orchestkit | Skill | 313 | today | MIT | A | 68 | Codex |
| writing-git-commitspatriceckhart/zot | Skill | 374 | today | MIT | A | 14 | Claude Code, Codex |
| decomposing-workjpicklyk/task-orchestrator | Skill | 215 | today | MIT | A | 75 | Claude Code |
| commitmochow13/keen-code | Skill | 95 | today | MIT | A | 22 | Claude Code |