power

A batch-sprint workflow helper for handling several related development tickets in one work cycle. A ticket is a single unit of work, and a batch is a group of tickets processed together.

In plain words
What is it for?
Use it inside the enabled power workflow to run security checks for each ticket, perform shared phases once for the batch, and group the resulting changes into commits.
Why use it?
Reviewing every ticket separately can repeat the same mechanical steps, while reviewing the whole batch at once can miss ticket-specific security concerns. This separates shared workflow work from per-ticket security review and commit grouping.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/friedbotstudio/baseline/power
Any agent
npx skills add friedbotstudio/baseline --skill power
Clone the repo
git clone --depth 1 https://github.com/friedbotstudio/baseline

Made for: Claude Code, Codex.

Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 915 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 $0.00112 $0.00915
Opus 5 $0.00056 $0.00458
Sonnet 5 $0.00022 $0.00183
Haiku 4.5 $0.00011 $0.00092

Measured 2d ago against content hash af6babda49d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

power 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 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (commit-split.mjs, tests/commit-split.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/power/SKILL.md · 61 lines

How it starts

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

power — batch-sprint track behaviours

The power track (in .claude/workflows.jsonl) delivers a sprint of related, spec-committed tickets in ONE cycle. It reuses the standard phase skills; this skill hosts the two behaviours that make it a batch pipeline rather than a single-ticket one. It is invoked from within a power-track workflow — never standalone.

Precondition

project.json → velocity.power_mode.enabled is true, track_id is power, the project is a git repo, and workflow.json → tickets[] lists the batch (the epic sliced-spec shape: one entry per ticket, each with its AC group + done-record). Off-flag, power is not selectable and nothing here runs.

Behaviour 1 — per-ticket judgment, amortized mechanics

The mechanical phases — spec, simplify, integrate, document, archive, and the commit-consent gate — run once for the batch. The judgment phase — security — runs once per ticket: the phase skill loops over workflow.json → tickets[], running its review for each ticket's AC group and write surface, and records a per-ticket verdict in the harness log (power_batch_reviews). This is a static DAG with in-skill iteration — there is no runtime node fan-out (the materializer cannot expand a runtime-sized list).

The amortization is mechanical-only and structurally visible — a per-ticket security review is never silently skipped. If any ticket's security raises a BLOCKER, the batch yields for it exactly as a single-ticket workflow would.

Behaviour 2 — commit split (closure last)

At the commit phase, the batch's working tree is split into a series of small, reviewable Conventional Commits so per-commit reviewability (bisect/revert) is preserved even though the cycle is large. commit-split.mjs composes on commit-planner's groupDirtyTree (single-concern grouping) and adds the power-specific ordering + closure-last rule. Feed it the dirty tree as [{path, status}] (the same shape groupDirtyTree consumes — parse it from git status --porcelain):

Read the full file on GitHub · 61 lines

Files

What ships with it

2 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. 2d ago First seen · 61 lines · 0 tokens per session scan A af6babda49d3

Subscribe to this mod's changes

power is a skill published in the GitHub repository friedbotstudio/baseline (11 stars, last pushed 6d ago), licensed Apache-2.0. It adds 112 tokens to every session and 915 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-08-30.