distill-policy-verifiers

distill-policy-verifiers is a skill for Claude Code, Codex from radiantlogicinc/fastworkflow. It costs 130 tokens per session (2,605 once invoked), scanned A, original, Apache-2.0.

A guide for turning recorded workflow failures into rules that the system checks while an agent is working. These policy verifiers can inspect commands, user questions, and final answers before they proceed.

In plain words
What is it for?
Use it to run trials, compare failures with successful runs, group failure modes, compile policy tables, and test those policies by replaying workflows.
Why use it?
Advice written only in a prompt may be ignored; executable checks can stop or redirect a known bad behavior consistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run trials, compare failures with successful runs, group failure modes, compile policy tables, and test those policies by replaying workflows.

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

Made for: Claude Code, 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 distill-policy-verifiers

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/radiantlogicinc/fastworkflow/distill-policy-verifiers"><img src="https://agentmods.dev/badge/skills/radiantlogicinc/fastworkflow/distill-policy-verifiers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,605 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.00130 $0.02605
Opus 5.5 $0.00052 $0.01042
Sonnet 5.5 $0.00026 $0.00521
Haiku 4.5 $0.00013 $0.00261

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

Security

Grade A, and why

distill-policy-verifiers 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 19d 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.

fastworkflow/skills_for_coding_fastworkflows/distill-policy-verifiers/SKILL.md · 204 lines

How it starts

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

Distil policy verifiers

Distillation writes insights as prose, and prose in a prompt is advice the agent may ignore. A policy verifier is a rule the framework checks while the agent works. A rule fires:

  • before a command runs, on its real name and validated parameters;
  • before a question goes to the user;
  • before the answer is given.

When a rule fires, the agent gets the rule's text as the step's observation instead of the step's result, and it carries on from there. The rules are a versioned table of predicates over the conversation, so every decision names the rule and table version that produced it. Where a rule needs to know what the user asked for, a model reads the user's words into the workflow's own operation names. The rule still decides.

The engine is generic (fastworkflow.policy_decision, policy_runtime, policy_intent). The rules are workflow content. A complete worked example is in fastworkflow/examples/retail_workflow/_policy/; read it first.

The loop

1. Record trials

  • Run the workflow's benchmark as an experiment with observability on, several trials per task, and the provider response cache off (FW_LM_CACHE=0; otherwise repeated trials are identical).
  • Every attempt needs a graded outcome (outcome pass/fail, or a reward): distillation pairs failing trials with passing ones.
  • Start every run under a new experiment id. A resumed id mixes trials from different code.

Set hold-out tasks aside now. Before the first distillation, draw a random share of the tasks (say a fifth, with a recorded seed) and write the list to <workflow>/_policy/holdout.txt. Hold-out tasks are recorded and graded like the rest, but:

  • they never appear in a distillation pair;
  • they are never used to shape a rule: not its predicate, not its rewrite text, not the wording of FACTS.intent_operations;
  • they are where a rule is checked: the replay audit (step 6) and the control comparison (step 8) report hold-out tasks separately.

Read the full file on GitHub · 204 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. 19d ago First seen · 204 lines · 130 tokens per session scan A f7002e0ae5b3

Subscribe to this mod's changes

distill-policy-verifiers is a skill published in the GitHub repository radiantlogicinc/fastworkflow (54 stars, last pushed 20d ago), licensed Apache-2.0. It adds 130 tokens to every session and 2,605 once invoked, about $0.0005 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-11-12.

Related

distill-policy-verifiers compared with skills from other repositories

distill-policy-verifiers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
distill-policy-verifiersradiantlogicinc/fastworkflowSkill5420d agoApache-2.0A130Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code