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 dean0x/devflow --skill gitgit clone --depth 1 https://github.com/dean0x/devflowWrote 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/dean0x/devflow/git)<a href="https://agentmods.dev/skills/dean0x/devflow/git"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/git/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/dean0x/devflow/git"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/git.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.00036 | $0.01620 |
| Opus 5.5 | $0.00014 | $0.00648 |
| Sonnet 5.5 | $0.00007 | $0.00324 |
| Haiku 4.5 | $0.00004 | $0.00162 |
Grade C, and why
git scanned grade C with 1 finding 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 7d 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.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
| Cloud | `.aws/credentials`, `.npmrc`, `.pypirc`, `.netrc` | How it starts
The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git & GitHub Patterns
Unified skill for safe git operations, atomic commits, honest PR descriptions, and GitHub API interactions. Used by the Code agent and Git agent.
Iron Law
EVERY COMMIT TELLS AN HONEST, ATOMIC STORY [1][3]
Each commit captures one logical change with a message that explains what changed and why, not just how. Atomic commits make history reviewable, bisectable, and revertable. Never bundle unrelated changes. Never write vague messages.
When This Skill Activates
Any git or gh operation: staging, commits, branches, pull requests, rebases, issues, releases.
Safety
Lock File Handling
Check for lock before git operations. If .git/index.lock exists, wait or abort.
[ -f .git/index.lock ] && echo "Lock exists - wait" && exit 1
Sequential Operations
# WRONG: git add . & git status &
# CORRECT:
git add . && git status && echo "Done"
Forbidden Operations
| Action | Risk |
|---|---|
git push --force to main/master |
Destroys shared history |
git commit --no-verify |
Bypasses safety hooks |
git reset --hard without backup |
Loses work permanently |
| Parallel git commands | Causes lock conflicts |
| Commit secrets/keys | Security breach |
| Amend pushed commits | Requires force push |
Interactive rebase (-i) |
Requires user input |
Amend Safety
Only use --amend when ALL conditions are met:
- User explicitly requested amend, OR commit succeeded but hook auto-modified files
- HEAD commit was created by you in this conversation
- Commit has NOT been pushed to remote
Never amend: If commit failed/rejected by hook, if pushed, or if unsure.
Branch Safety
Never force push to a protected branch — devflow:worktree-support holds the canonical list.
Branch naming: feat/, fix/, release/, hotfix/ prefixes with short descriptions.
Quick Recovery
git reset --soft HEAD~1 # Undo commit, keep staged
git reset HEAD~1 # Undo commit, keep unstaged
What ships with it
5 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.
- 7d ago Changed · -46 tokens per session cbfad6e703cd
- 1mo ago Changed · -70 lines c9c7311c10e8
- 1mo ago Changed eed45db7dcb5
- 1mo ago Changed · -4 lines e1201ff408d9
- 1mo ago First seen · 288 lines · 82 tokens per session scan C 5e27da6db14e
git is a skill published in the GitHub repository dean0x/devflow (20 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 1,620 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
git-iris
Use this skill when generating commit messages, pull request descriptions, release notes, changelogs, or code reviews in a repository where git-iris is available. Activates on requests like "commit this", "write a commit message", "draft a PR", "generate release notes", "write a changelog", or "review my changes" when…
4x-autopilot
An owner-only automation mode for the 4x feature pipeline, which manages tracked development tasks from selection through completion and merging. It runs one feature at a time and reads project settings to determine the repositories and workflow.
github-automation
GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.
github
Skill "github" from Hmbown/Codewhale, covering github, when to use, setup, workflow and non-goals.
commit-pr
Mandatory Codex/Copilot publication adapter for opencode-swarm. Use for every GitHub issue assignment that results in code changes, commits, pushes, draft PRs, PR body edits, PR readying, release notes, or CI closeout. Must be loaded before git push, gh pr create, gh pr edit, or gh pr ready. Routes to the single…
git-workflow
Use when naming or scoping a branch, writing or fixing a commit message, picking the gitmoji for a commit, untangling history (rebase versus merge versus squash), or cutting a versioned release — the portable git-convention layer for any repo. Covers gitmoji + Conventional Commits, SemVer tags, branch hygiene…