ag-versionar-codigo

ag-versionar-codigo is a skill for Claude Code from andregusman-raiz/a-gusman-claude. It costs 40 tokens per session (569 once invoked), scanned A, original, MIT.

A Git workflow agent that manages branches, commits, pull requests, releases, and changelogs. Git is a system for tracking code changes over time.

In plain words
What is it for?
Use it to create branches, make semantic commits, open pull requests, prepare releases, add tags, or clean up Git history.
Why use it?
It keeps the project history organized and applies consistent naming and release practices as work is completed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: model in frontmatter; mentions subagents.

Good fit Use it to create branches, make semantic commits, open pull requests, prepare releases, add tags, or clean up Git history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andregusman-raiz/a-gusman-claude/ag-versionar-codigo
Install

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.

Any agent
npx skills add andregusman-raiz/a-gusman-claude --skill ag-versionar-codigo
Clone the repo
git clone --depth 1 https://github.com/andregusman-raiz/a-gusman-claude

Made for: Claude Code.

Wrote 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.

agentmods badge for ag-versionar-codigo

README.md
[![agentmods](https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/ag-versionar-codigo/github.svg)](https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/ag-versionar-codigo)
Your own site
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/ag-versionar-codigo"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/ag-versionar-codigo/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.

agentmods 80×15 button for ag-versionar-codigo

Your own site · 80×15
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/ag-versionar-codigo"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/ag-versionar-codigo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 569 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 54
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00569
Opus 5 $0.00020 $0.00284
Sonnet 5 $0.00008 $0.00114
Haiku 4.5 $0.00004 $0.00057

Measured 8d ago against content hash f662094e3174, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ag-versionar-codigo 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 8d 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.

skills/ag-versionar-codigo/SKILL.md · 63 lines

What it actually says

ag-versionar-codigo — Versionar Codigo

Spawn the ag-versionar-codigo agent to manage git operations: branches, semantic commits, PRs, releases, and changelog.

Git Context

  • Branch: !git branch --show-current 2>/dev/null || echo "no-git"
  • Status: !git status --short 2>/dev/null | head -10
  • Recent commits: !git log --oneline -5 2>/dev/null || echo "no history"

Invocation

Use the Agent tool with:

  • subagent_type: ag-versionar-codigo
  • mode: auto
  • run_in_background: false
  • prompt: Compose from template below + $ARGUMENTS

Prompt Template

Projeto: [CWD]
Acao: [branch|commit|pr|tag|changelog|release|cleanup]
Descricao: [descricao da acao]


Execute a acao solicitada seguindo as convencoes de commit semantico e branch naming do projeto.

Important

  • ALWAYS spawn as Agent subagent — do NOT execute inline
  • After spawning, confirm to the user

Output

  • Branch criada com nome semantico (feat/, fix/, refactor/)
  • Commits semanticos com mensagens descrevendo "why"
  • PR criado com titulo, body e checklist padrao
  • Release publicada com changelog, tag e GitHub Release (modo release)

Anti-Patterns

  • NUNCA fazer stash sem confirmacao do usuario — stash ja perdeu sessao inteira de trabalho
  • NUNCA force push em main/master — destroi historico; apenas em branches pessoais com aviso claro
  • NUNCA usar --no-verify — hooks existem por motivo; corrigir o problema, nao ignorar
  • NUNCA usar git add -A ou git add . — listar arquivos explicitamente; previne commit acidental de .env
  • NUNCA merge com testes falhando — testes falhando = risco de regressao

Quality Gate

  • Branch correta (nao em main para codigo)?
  • Commit descreve "why", nao "what"?
  • PR inclui checklist e test plan?
  • Release segue semver corretamente (modo release)?
Changes

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.

  1. 8d ago First seen · 63 lines · 40 tokens per session scan A f662094e3174

Subscribe to this mod's changes

ag-versionar-codigo is a skill published in the GitHub repository andregusman-raiz/a-gusman-claude (19 stars, last pushed 3d ago), licensed MIT. It adds 40 tokens to every session and 569 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

ship

Complete shipping workflow - branch, commit by context, push, and create or update a PR. Also use when the user asks to commit and push or open a pull request from current work.

hugocarreira/agentrc · 40 tokens

taiyi-integration

A project workflow skill for closing a TaiyiForge change and recording it in a CHANGELOG.md file. It checks review results, tests, and the state of the working tree before archiving the change.

Dong90/oh-my-taiyiforge · 27 tokens

security-pipeline

Use when security verification is needed - pre-commit security checks, vulnerability scanning, STRIDE threat analysis. Integrates with /handoff-verify --security and /commit-push-pr. CWE Top 25 based.

sangrokjung/claude-forge · 48 tokens

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…

ZaxbyHub/opencode-swarm · 100 tokens

git-workflow

Guides you through Git workflows — branching strategies, commit conventions, merge conflict resolution, and release management. Use when working with Git repositories or when the user asks about version control best practices.

ownpilot/OwnPilot · 42 tokens

changelog-automation

Git history'den otomatik changelog, semantic versioning, release notes, conventional commits.

vibeeval/vibecosystem · 23 tokens