pf-do

pf-do is a skill for Codex from turvodnik/pf-workflow. It costs 103 tokens per session (1,064 once invoked), scanned B, original, MIT.

A Russian-language workflow for completing one predefined software task in a fresh coding-agent session, then verifying and recording the result.

In plain words
What is it for?
Use it to execute a task packet, check its acceptance criteria, update the task record, and commit the completed changes.
Why use it?
It keeps each task focused and leaves evidence, status information, and a commit that another person or agent can review.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions subagents; mentions AGENTS.md.

Good fit Use it to execute a task packet, check its acceptance criteria, update the task record, and commit the completed changes.

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

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 pf-do

README.md
[![agentmods](https://agentmods.dev/badge/skills/turvodnik/pf-workflow/pf-do.svg)](https://agentmods.dev/skills/turvodnik/pf-workflow/pf-do)
Your own site
<a href="https://agentmods.dev/skills/turvodnik/pf-workflow/pf-do"><img src="https://agentmods.dev/badge/skills/turvodnik/pf-workflow/pf-do.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,064 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00103 $0.01064
Opus 5 $0.00051 $0.00532
Sonnet 5 $0.00021 $0.00213
Haiku 4.5 $0.00010 $0.00106

Measured 7d ago against content hash 6396d3e4c309, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

pf-do scanned grade B with 1 finding 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 7d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/codex-review.sh, scripts/tests/lib.sh, scripts/tests/run.sh), 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

5a. **Optional second opinion (only if the ticket touched code).** Run `SC=$(ls ~/.claude/skills/pf-do/scripts/codex-review.sh ~/.codex/skills/pf-do/scripts/codex-review.sh ~/.gemini/skills/pf-do/scripts/codex-review.sh
skills/pf-do/SKILL.md · 28 lines

How it starts

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

pf-do — executing a task packet

Always communicate with the user in the user's language (Russian in the origin system). File formats, section names and statuses stay exactly as written below.

You are the executor of one packet. The context is minimal by design: the packet + AGENTS.md. Do not ask for other chats' history — the packet must contain everything needed; anything missing is a blocker, not a license to guess.

Steps

  1. Read the packet .agents/runtime/tasks/T-###-*.md, the project's AGENTS.md and the global rules. If any dependency in depends_on is not done — stop and report. Exception: the pf-auto orchestrator may explicitly allow starting on top of a dependency still in review, but only as a decision recorded in the wave registry (pf-auto step 2, with a reason) — without that recorded exception, review does not clear the gate, stop. If a task HANDOFF is kept (pf-handoff companion, §13) — honor its «Состояние» and «Не делать».
  2. Set status: in_progress, owner: <you>, refresh updated.
  3. Execute the task step by step. §11 principles: minimal targeted edits; found a bug — root cause first (systematic-debugging), then the fix. Long packet — record progress as you go (interim notes in «Результат»; with the pf-handoff companion installed — a HANDOFF checkpoint, §13) instead of hoarding it until the end: hit the window limit and the finished part must not be lost.
  4. Blocker (no access, contradiction in the task, neighboring code broken): status: blocked, reason in «Результат», journal entry, stop. Do NOT slip past a blocker with a silent "almost done". Commit what was done before the blocker («T-###: blocked — сохраняю сделанное, <причина>»): the working tree stays clean and the next session sees how far you got. The status stays until a human unblocks. Special case — secrets: the task needs a key value but ai-secret is unavailable in your mode (subagents and headless runs are often restricted) — that is an immediate blocker: blocked + «нужна интерактивная сессия с доступом к scope <имя>». Do not work around it, do not ask for the value in chat, do not burn rounds on it.
  5. Before finishing — check EVERY acceptance criterion against fresh command output (verification-before-completion). No proof — not done. 5a. Optional second opinion (only if the ticket touched code). Run SC=$(ls ~/.claude/skills/pf-do/scripts/codex-review.sh ~/.codex/skills/pf-do/scripts/codex-review.sh ~/.gemini/skills/pf-do/scripts/codex-review.sh 2>/dev/null | head -1); if [ -n "$SC" ]; then bash "$SC" --scope uncommitted; else echo "no script — skip this step"; fi (the resolver covers every surface the installer writes to; no script — the step is skipped, not an error). It prints SKIP: and changes nothing when Codex is absent, unconsented, or the diff is docs-only — that is the normal path, not a failure, and never blocks the ticket. On OK: read only the printed digest; open the report file when findings exist. Confirmed findings inside this ticket's scope — fix now and note in «Результат»; anything outside — an observation, not a licence to touch neighbouring code. FAIL: means "not reviewed", never "clean". Details and traps: references/codex-review.md.
  6. Fill in «Результат»: what was done, commits, deviations, proofs. A proof is command output, not a from-memory retelling (a claim without a check is a false proof — the reviewer catches it and returns the ticket). Set status: reviewdone is set by the human or the reviewer.
  7. Commits for this ticket are mandatory: small, with clear messages; secret-scan before committing; hashes go into «Результат» (pf-replan uses them for targeted rollbacks); push to the project's private remote. Journal entry (§10).

Read the full file on GitHub · 28 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. 7d ago First seen · 28 lines · 103 tokens per session scan B 6396d3e4c309

Subscribe to this mod's changes

pf-do is a skill published in the GitHub repository turvodnik/pf-workflow (3 stars, last pushed 23d ago), licensed MIT. It adds 103 tokens to every session and 1,064 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.