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.01545 |
| Opus 5.5 | $0.00014 | $0.00618 |
| Sonnet 5.5 | $0.00007 | $0.00309 |
| Haiku 4.5 | $0.00004 | $0.00154 |
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 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.
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 — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git & GitHub Patterns
Safe git operations, atomic commits, honest PR descriptions, and GitHub API calls.
Iron Law
Every commit tells an honest, atomic story.
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.
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
See references/patterns.md for extended recovery and stash workflows.
Commits
Message Format
<type>(<scope>): <short summary> (max 50 chars)
<optional body explaining what and why>
<optional footer with references>
What ships with it
6 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 · -20 lines 3fcf9c7609e2
- 1mo ago Changed 09aaaba55873
- 1mo ago Changed · -46 tokens per session cbfad6e703cd
- 2mo ago Changed · -70 lines c9c7311c10e8
- 2mo ago Changed eed45db7dcb5
- 2mo ago Changed · -4 lines e1201ff408d9
- 3mo ago First seen · 288 lines · 82 tokens per session scan C 5e27da6db14e
git is a skill published in the GitHub repository dean0x/devflow (23 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 1,545 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.
git compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gitdean0x/devflow | Skill | 23 | today | MIT | C | 36 | Claude Code |
| git-irishyperb1iss/git-iris | Skill | 42 | 27d ago | Apache-2.0 | A | 81 | Claude Code, Codex |
| 4x-autopilotggwhite/4x | Skill | 35 | 22d ago | MIT | C | 106 | Claude Code, Codex |
| autofix-prQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 142 | Claude Code |
| github-automationruvnet/ruflo | Skill | 83k | today | MIT | A | 61 | Claude Code |
| pr-stewardagent-of-empires/agent-of-empires | Skill | 5.2k | today | MIT | A | 130 | Claude Code, Codex |
| githubcode-yeongyu/lazycodex | Skill | 4.0k | yesterday | MIT | A | 226 | Codex |