Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add vynazevedo/first-plan/plugin install fpWrote 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/vynazevedo/first-plan/co-change-analysis)<a href="https://agentmods.dev/skills/vynazevedo/first-plan/co-change-analysis"><img src="https://agentmods.dev/badge/skills/vynazevedo/first-plan/co-change-analysis/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/vynazevedo/first-plan/co-change-analysis"><img src="https://agentmods.dev/badge/skills/vynazevedo/first-plan/co-change-analysis.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.00088 | $0.02169 |
| Opus 5 | $0.00044 | $0.01085 |
| Sonnet 5 | $0.00018 | $0.00434 |
| Haiku 4.5 | $0.00009 | $0.00217 |
Grade A, and why
first-plan-co-change-analysis 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 9d 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 — 259 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Co-change Graph
Mapeia dependências de mudança baseadas em git history. Resolve o problema "esqueci de atualizar o consumer" - causa #1 de PRs incompletos em projetos grandes.
Engine acceleration (v0.3.0+)
Se o binário nativo first-plan-engine está disponível (ver skill first-plan-engine-bootstrap), invocar direto e parsear o JSON. 10-100x mais rápido vs git log via shell + agregação em Claude.
# Detectar engine
ENGINE=""
for c in "${CLAUDE_PLUGIN_ROOT}/engine/bin/first-plan-engine" "${HOME}/.local/bin/first-plan-engine" "$(command -v first-plan-engine 2>/dev/null)"; do
[ -x "$c" ] && ENGINE="$c" && break
done
if [ -n "$ENGINE" ]; then
# Engine path - rapido e exato
"$ENGINE" cochange \
--repo "$PWD" \
--since 180 \
--min-occurrences 5 \
--min-ratio 0.5 \
--output-json /tmp/cochange-${SESSION_ID}.json
# Parsear /tmp/cochange-*.json (schema first-plan-cochange-v1)
# Renderizar como markdown padrão em .first-plan/02-conventions/co-change.md
else
# Fallback markdown (algoritmo abaixo)
fi
JSON output schema (first-plan-cochange-v1):
pairs[].file_a,file_b,co_change_ratio,shared_commits,total_a,total_b,strengthclusters[].id,files,internal_cohesion- Meta:
engine_version,generated_at,repo_root,window_days,total_commits_analyzed,total_files_analyzed,elapsed_ms
Se engine ausente, oferecer instalação via skill first-plan-engine-bootstrap antes de cair no fallback.
Fallback markdown (sem engine)
Conceito
Para cada par de arquivos (A, B), calcular:
co_change_ratio(A, B) = commits_modificando_ambos / commits_modificando_A
Se co_change_ratio(A, B) >= 0.7, B é um co-changer forte de A. Mexer em A sem tocar em B é red flag.
Algoritmo
Passo 1 - Coletar commits relevantes
git log --since="180 days ago" --name-only --pretty=format:"COMMIT:%H" --no-merges
Output: lista de commits e arquivos modificados em cada.
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.
- 9d ago First seen · 259 lines · 88 tokens per session scan A bdda79b80600
first-plan-co-change-analysis is a skill published in the GitHub repository vynazevedo/first-plan (23 stars, last pushed 14d ago), licensed MIT. It adds 88 tokens to every session and 2,169 once invoked, about $0.0004 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-08-30.
Other skills, from other repositories
release-notes
Draft user-facing release notes from a git log range. Trigger when the user asks for "release notes", "changelog entry", or "what shipped this week" with a git ref range. Output is markdown sections grouped by Features / Fixes / Breaking with PR links.
flag-and-release-change
Drive a pull request's change end to end: decide it's flag-worthy, create the guarding flag, wire the new code path behind it on the PR branch, and record an automated release so the change ships safely when the PR merges. A portable orchestrator that composes should-flag-change, launchdarkly-flag-create, and…
flag-release
Record an automated rollout for an existing LaunchDarkly flag that guards a pull request's change, so the change releases safely when the PR merges. Honors a stated release intent (release now / hold / notBefore / segment / prerequisite) and defers per-environment to the project's release policies. Use as the release…
greploop
Iteratively improves a PR until Greptile gives it a 5/5 confidence score with zero unresolved comments. Triggers Greptile review, fixes all actionable comments, pushes, re-triggers review, and repeats. Use when the user wants to fully optimize a PR against Greptile's code review standards.
gh-merge
Completes the AgentsMesh GitHub pull-request workflow: commits scoped changes, rebases on the authoritative GitHub branch, opens or reuses a PR, monitors required checks, fixes failures, and merges only after verification. Use when the user asks to merge, submit, or land repository changes.
github-gitlab-mirror
Audits or synchronizes the authoritative GitHub main branch to the internal GitLab mirror without importing GitLab-only history back into GitHub. Use when checking GitHub/GitLab consistency, updating the internal mirror, or resolving a divergence between the two remotes.