happier: Skill for Codex

.agents/skills/happier-commit-worktree/SKILL.md

happier-commit-worktree is a skill for Codex from happier-dev/happier. It costs 119 tokens per session (2,954 once invoked), scanned A, original, MIT.

A guide for turning many existing changes in a Git worktree into a sequence of clear, reviewable commits. A worktree is the checked-out project folder containing the files you are changing.

In plain words
What is it for?
Use it when a large or continuously changing worktree needs to be inspected, grouped, validated, and committed.
Why use it?
It helps preserve concurrent work while keeping temporary, generated, and unrelated files out of commits.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is happier-dev/happier's own configuration. It tells Codex how to work on happier 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 happier configures →

About the project

Happier is an open-source, end-to-end encrypted client that lets people run AI coding-agent sessions on a computer and continue controlling them from a phone, browser, or desktop app. It is for developers who use agents such as Claude Code, Codex, Gemini, or OpenCode across multiple devices, with self-hosting available. The catalogue entries are add-ons for configuring or extending this client and its supported coding-agent workflows.

happier-dev/happier · 1,624 stars · on GitHub · happier.dev

Reuse

Borrowing it

Nothing to install: this file belongs to happier-dev/happier. 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/happier-dev/happier/dev/.agents/skills/happier-commit-worktree/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/happier-dev/happier

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 happier-commit-worktree

README.md
[![agentmods](https://agentmods.dev/badge/skills/happier-dev/happier/happier-commit-worktree.svg)](https://agentmods.dev/skills/happier-dev/happier/happier-commit-worktree)
Your own site
<a href="https://agentmods.dev/skills/happier-dev/happier/happier-commit-worktree"><img src="https://agentmods.dev/badge/skills/happier-dev/happier/happier-commit-worktree.svg" alt="Measured on agentmods" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,954 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00119 $0.02954
Opus 5 $0.00060 $0.01477
Sonnet 5 $0.00024 $0.00591
Haiku 4.5 $0.00012 $0.00295

Measured yesterday against content hash f8749bfc7f69, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

happier-commit-worktree 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 yesterday.

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.

.agents/skills/happier-commit-worktree/SKILL.md · 176 lines

How it starts

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

Happier Commit Worktree

Turn an existing moving worktree into a sequence of reviewable commits without treating file count, directory boundaries, or the current index as truth. Preserve all bytes on disk, prove what each commit contains, and leave uncertain material uncommitted with a specific reason.

A large-worktree request is a campaign, not a request for one commit or one analysis wave. Continue recon, packet preparation, committing, and residual classification until every current path is committed or has an evidence-backed exclusion or blocker. Producing a few commits while commit-ready paths remain is incomplete execution unless the user explicitly pauses the campaign.

1. Establish authority and safety

Require an explicit user request to commit. Analysis alone does not authorize staging or commits.

Apply these invariants throughout:

  • Never run git reset, git restore, git clean, git checkout, git switch, or an equivalent destructive operation.
  • Never overwrite, delete, or normalize unrelated work merely to make status clean.
  • Never trust or wholesale-commit the shared index. Stage every commit from explicit paths or hunks in a fresh private index.
  • Treat the checkout as live. A path can change before, during, or after a commit.
  • Serialize HEAD mutations even when reconnaissance and validation run in parallel.
  • Use Conventional Commit subjects and explanatory bodies.
  • Commit only changes whose intent, ownership, and suitability are understood.
  • Use the checkout's existing current-user git config user.name and git config user.email for every ordinary commit. Verify both before the first commit; never rewrite them to a bot, PR author, issue author, or other contributor, and stop rather than inventing a missing identity.
  • Evaluate Co-authored-by: attribution per packet. Add a verified contributor only when that packet materially incorporates their code, patch, design, causal diagnosis, decisive reproduction, or substantially adopted fix direction; never infer attribution from PR/issue authorship or participation alone.

Read the full file on GitHub · 176 lines

Files

What ships with it

5 files 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. yesterday Changed f8749bfc7f69
  2. 3d ago First seen · 176 lines · 119 tokens per session scan A 427e799527b0

Subscribe to this mod's changes

happier-commit-worktree is a skill published in the GitHub repository happier-dev/happier (1,624 stars, last pushed yesterday), licensed MIT. It adds 119 tokens to every session and 2,954 once invoked, about $0.0006 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.