git

git is a skill for Claude Code, Codex from cleberfarias/devscope-mcp. It costs 24 tokens per session (573 once invoked), scanned A, original, MIT.

A set of instructions for interpreting branch-analysis results from an MCP server. It covers branch differences, uncommitted files, outdated branches, warnings, and readiness for a pull request.

In plain words
What is it for?
Use it to decide whether a branch is ready for review or a pull request based on analysis results.
Why use it?
It prevents branch status from being overlooked before reviewing changes or opening a pull request, which is a request to merge code into another branch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to decide whether a branch is ready for review or a pull request based on analysis results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cleberfarias/devscope-mcp/git
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 cleberfarias/devscope-mcp --skill git
Clone the repo
git clone --depth 1 https://github.com/cleberfarias/devscope-mcp

Made for: Claude Code, Codex.

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 git

README.md
[![agentmods](https://agentmods.dev/badge/skills/cleberfarias/devscope-mcp/git/github.svg)](https://agentmods.dev/skills/cleberfarias/devscope-mcp/git)
Your own site
<a href="https://agentmods.dev/skills/cleberfarias/devscope-mcp/git"><img src="https://agentmods.dev/badge/skills/cleberfarias/devscope-mcp/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.

agentmods 80×15 button for git

Your own site · 80×15
<a href="https://agentmods.dev/skills/cleberfarias/devscope-mcp/git"><img src="https://agentmods.dev/badge/skills/cleberfarias/devscope-mcp/git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 573 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.
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.00024 $0.00573
Opus 5.5 $0.00010 $0.00229
Sonnet 5.5 $0.00005 $0.00115
Haiku 4.5 $0.00002 $0.00057

Measured 2mo ago against content hash e24734df337e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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/git/SKILL.md · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Git

Consultada sempre que o agente precisa avaliar o estado de uma branch antes de continuar uma tarefa ou abrir um Pull Request. Assume que o contexto vem da ferramenta analyze_current_branch do mcp/server, que retorna:

branch, base_branch, ahead, behind, working_tree_clean,
changed_files[{path, status}], commits[{hash, message}], warnings[]

Regras de decisão

  1. working_tree_clean == false — há alterações não commitadas. Não abra PR nem compare impacto até isso ser resolvido; pergunte ao usuário se quer commitar, descartar ou continuar mesmo assim. Nunca descarte automaticamente.

  2. behind > 0 — a branch está atrás de base_branch. Trate como risco antes de qualquer análise de impacto: um diff calculado contra uma base desatualizada subestima o que realmente vai mudar quando a branch for integrada. Recomende atualizar a branch antes de prosseguir; não prossiga silenciosamente.

  3. ahead == 0 e changed_files vazio — não há trabalho para analisar. Não invente contexto; informe que não há diferença em relação à base.

  4. warnings não vazio — sempre repita os avisos ao usuário em texto, mesmo que a tarefa continue. Um aviso descartado silenciosamente é o tipo de coisa que essa ferramenta existe para evitar.

  5. Leitura de changed_files — o campo status segue a convenção do git diff --name-status (A adicionado, M modificado, D deletado, R* renomeado). Arquivos com status D não devem ser tratados como "arquivos relacionados à tarefa" para efeito de busca de código — eles não existem mais na branch atual.

  6. commits — a mensagem de cada commit é a única evidência de intenção disponível nessa ferramenta. Se as mensagens não explicam o "porquê" de uma mudança em changed_files, não presuma motivo — pergunte ou marque como desconhecido, em vez de gerar uma justificativa plausível mas não verificada.

Quando não usar

Se o diretório analisado não é um repositório Git, analyze_current_branch falha com uma exceção antes de retornar esses campos — trate isso como ausência de contexto de Git, não como branch limpa.

Read the full file on GitHub · 51 lines

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. 2mo ago First seen · 51 lines · 24 tokens per session scan A e24734df337e

Subscribe to this mod's changes

git is a skill published in the GitHub repository cleberfarias/devscope-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 573 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

merge-batch

Prepare and merge an owner-selected PR batch with contributor credit and exact-candidate admission. Use for a pasted PR list; combined focused validation is diagnostic, and every actual landing still requires its applicable checks and authorization.

diegosouzapw/OmniRoute · 46 tokens

prowler-commit

Creates professional git commits for Prowler following conventional-commits format, with prek pre-commit hooks. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 44 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens