gitplan

gitplan is a skill for Claude Code, Codex from photostructure/coding-skills. It costs 33 tokens per session (1,175 once invoked), scanned A, original, MIT.

A workflow for separating tangled working-tree changes into focused Conventional Commits, which are commits with standardized types and messages.

In plain words
What is it for?
Use it to inspect mixed changes, group them by purpose, and plan reviewable commits in dependency order.
Why use it?
It prevents unrelated edits from being bundled into large, difficult-to-review commits.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions subagents.

Part of the coding plugin — 12 skills shipped together

Good fit Use it to inspect mixed changes, group them by purpose, and plan reviewable commits in dependency order.

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

Made for: Claude Code, Codex.

Or install coding, the plugin that ships this one along with the rest of its 12 skills.

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 gitplan

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/photostructure/coding-skills/gitplan"><img src="https://agentmods.dev/badge/skills/photostructure/coding-skills/gitplan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,175 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.00033 $0.01175
Opus 5.5 $0.00013 $0.00470
Sonnet 5.5 $0.00007 $0.00235
Haiku 4.5 $0.00003 $0.00118

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

Security

Grade A, and why

gitplan 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 16d 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.

plugins/coding/skills/gitplan/SKILL.md · 79 lines

How it starts

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

Review and plan git commits

Use this workflow when a working tree mixes logical changes that need separate commits. File count does not decide applicability. Skip formatter runs, lint autofixes, typo fixes, and changes that already form one coherent commit.

User direction

Read and follow the shared commit instructions.

Honor grouping the user has specified or approved. Otherwise, propose focused commits and order dependencies before consumers in layered repositories.

Workflow

Phase 1: Identify Themes

  1. Scan all current changes with git status and git diff --stat. When subagents are available and the diff is large, use them to preserve context and summarize distinct areas.
  2. For complex diffs, use git diff -U150 but limit JSON/lockfiles to the first ~50 lines.
  3. Identify logical themes/groupings. Each theme must have a single coherent purpose — a unifying "why" that explains every file in the group. If you can't state the purpose in one sentence without using "and", split the theme. Never create catch-all buckets like "housekeeping", "misc", "cleanup", or "various fixes". Every file belongs in a theme because of what it does, not because it's small or doesn't fit elsewhere. Orphan files that truly don't relate to any theme get their own single-file commit.
  4. Bundle related docs/plans with their code changes. If a planning doc, design note, or task file corresponds to a theme, commit it alongside the code it describes — never lump it into a separate "docs" commit. Docs that don't correspond to any code change can go in a docs-only commit.
  5. Present the themes to the user as a numbered list with brief descriptions. Order by increasing complexity/risk.
  6. Ask: "Which theme should we focus on first?"

Phase 2: Stage, Review, and Commit (per theme)

  1. Use the selected theme from Phase 1 as the staging inventory, including its related docs and plans, regardless of which session authored the changes. Follow stage steps 2–4 to classify, partially stage, and verify those hunks. In those steps, "this work" and "yours" mean the selected theme. Stop before committing; the review steps below come first unless user direction changes that sequence.
  2. Kick off the second-opinion reviewers on the staged diff, in the background if the host supports it — step 2 of ../second-opinion/SKILL.md. Start them first so they run while you review. The reviewers have no staged-only scope, so name the staged file list in the prompt: "review these staged files: <list>. The other uncommitted changes belong to later commits; read them where they interact with the staged code. Report any defect the staged diff causes, including in callers or dependencies outside it."
  3. Review the staged changes yourself using the shared review method. Return findings to this workflow; defer the commit proposal and execution until step 6, after the second opinions have been collected and adjudicated.
  4. Collect the second opinions, then vet every finding from every review against ground truth and report the result — steps 3-6 of the gate. Accept and veto only with evidence.
  5. If fixes are accepted within the review's scope and cost check:
    • Present them clearly with the problem, the proposed fix, and, for a defect, its production trigger.
    • Apply fixes incrementally, re-staging as needed.
    • Re-review subject to second-opinion's stop conditions.

Read the full file on GitHub · 79 lines

Files

What ships with it

1 file 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.

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. 16d ago Changed · -1 lines da105dcf9bb0
  2. 2mo ago Changed · +6 lines a3af284f28da
  3. 2mo ago Changed · -1 lines b5ddddf3f395
  4. 2mo ago Changed · +12 lines 2d7ea2af8bc3
  5. 3mo ago First seen · 63 lines · 33 tokens per session scan A 36b9c9279317

Subscribe to this mod's changes

gitplan is a skill published in the GitHub repository photostructure/coding-skills (5 stars, last pushed 16d ago), licensed MIT. It adds 33 tokens to every session and 1,175 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

gitplan compared with skills from other repositories

gitplan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitplanphotostructure/coding-skillsSkill516d agoMITA33Claude Code, Codex
pr-reviewoliver-kriska/claude-elixir-phoenixSkill5802d agoMITA59Claude Code
phx-pr-reviewoliver-kriska/claude-elixir-phoenixSkill5802d agoMITA61Claude Code, Codex
signing-preflightavelikiy/great_ctoSkill11716d agoMITA105Claude Code
github-pr-creationfvadicamo/dev-agent-skillsSkill722mo agoMITA75Claude Code
git-commitfvadicamo/dev-agent-skillsSkill722mo agoMITA49Claude Code
phx-watch-proliver-kriska/claude-elixir-phoenixSkill5802d agoMITA35Claude Code, Codex