pocodex: Skill for Codex

.codex/skills/commit/SKILL.md

commit is a skill for Codex from davej/pocodex. It costs 51 tokens per session (818 once invoked), scanned A, original, Apache-2.0.

A workflow for preparing and creating a Git commit. Git is a version-control system that records changes, and this workflow checks the diff, runs the repository's commit check, and follows its commit rules.

In plain words
What is it for?
It helps inspect changes, run the required checks, stage selected files, and write a Conventional Commit message for the repository.
Why use it?
A commit can accidentally include unrelated files or use a message that does not fit the project's release process. This keeps the staged change limited to the requested work and makes the commit easier to track.

Skill for Codex

Written for Codex: agents/openai.yaml present.

This is davej/pocodex's own configuration. It tells Codex how to work on pocodex itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pocodex configures →

Reuse

Borrowing it

Nothing to install: this file belongs to davej/pocodex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/davej/pocodex/main/.codex/skills/commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/davej/pocodex

Made for: 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 commit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/davej/pocodex/commit"><img src="https://agentmods.dev/badge/skills/davej/pocodex/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 818 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.00051 $0.00818
Opus 5.5 $0.00020 $0.00327
Sonnet 5.5 $0.00010 $0.00164
Haiku 4.5 $0.00005 $0.00082

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

Security

Grade A, and why

commit 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 14d 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.

.codex/skills/commit/SKILL.md · 82 lines

How it starts

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

Commit

Overview

Use this skill when a user asks for a commit or asks how a commit should be written for Pocodex. The goal is to produce a clean, policy-compliant git commit that matches the actual diff and works with release-please.

Workflow

  1. Inspect the worktree with git status --short and git diff --stat, then read the diff for the files that are actually part of the requested change.
  2. Exclude unrelated user changes. Do not stage or commit files outside the requested scope.
  3. Run pnpm run check:commit before committing. If it fails, fix the issues or report the blocker instead of committing a broken tree.
  4. Stage only the intended files with git add <path>....
  5. Write a Conventional Commit message that accurately describes the staged diff.
  6. Commit with git commit. Prefer a single -m subject for small changes, or add a body when the why matters.

Commit Rules

  • Use Conventional Commits because release-please derives release notes and version bumps from merged commit history.
  • Preferred types in this repo: feat, fix, refactor, docs, test, build, ci, chore.
  • Use an optional scope when it improves clarity, for example feat(server): ... or fix(bootstrap): ....
  • Use the imperative mood in the subject line.
  • Keep the subject specific to the staged diff. Do not write broad summaries that cover unstaged work.
  • Mark breaking changes with ! in the header and include a BREAKING CHANGE: footer in the body.
  • Avoid placeholder types such as update, misc, or changes.

Message Shape

Use this shape:

type(scope): short summary

Optional explanatory body.

BREAKING CHANGE: required when behavior or API compatibility changes.

Choosing The Type

  • feat: user-visible behavior or capability added
  • fix: bug fix or regression fix
  • refactor: internal restructuring without intended behavior change
  • docs: README, CONTRIBUTING, skills, or other documentation-only changes
  • test: test-only changes
  • build: packaging, dependencies, or build tooling
  • ci: GitHub Actions or other automation pipeline changes
  • chore: maintenance that does not fit the above and should not usually trigger a release note highlight

Read the full file on GitHub · 82 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. 14d ago First seen · 82 lines · 51 tokens per session scan A 26d16dc2298e

Subscribe to this mod's changes

commit is a skill published in the GitHub repository davej/pocodex (76 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 818 once invoked, about $0.0002 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-10-23.

Related

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitdavej/pocodexSkill767mo agoApache-2.0A51Codex
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
repo-syncdavidondrej/skillsSkill4.3k3d agoMITA25Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill9.3kyesterdayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill3.9kyesterdayApache-2.0A25Claude Code
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k2d agoMITA53Claude Code, Codex