skill-policy-receipts

skill-policy-receipts is a skill for Claude Code, Codex from caioribeiroclw-pixel/pluribus. It costs 55 tokens per session (556 once invoked), scanned A, original, MIT.

A policy-checking procedure that records which files or paths may be changed before writing begins. It produces a privacy-safe receipt and can run a guard check after the changes.

In plain words
What is it for?
Use it before changes governed by explicit project policies, to list intended targets, allow or refuse each one, record the decision, and report the post-write check.
Why use it?
It makes hard project rules inspectable and stops the work before editing when a target is forbidden, such as generated files, production APIs, or restricted services.

Skill for Claude CodeCodex

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

Good fit Use it before changes governed by explicit project policies, to list intended targets, allow or refuse each one, record the decision, and report the post-write check.

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

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 skill-policy-receipts

README.md
[![agentmods](https://agentmods.dev/badge/skills/caioribeiroclw-pixel/pluribus/skill-policy-receipts/github.svg)](https://agentmods.dev/skills/caioribeiroclw-pixel/pluribus/skill-policy-receipts)
Your own site
<a href="https://agentmods.dev/skills/caioribeiroclw-pixel/pluribus/skill-policy-receipts"><img src="https://agentmods.dev/badge/skills/caioribeiroclw-pixel/pluribus/skill-policy-receipts/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 skill-policy-receipts

Your own site · 80×15
<a href="https://agentmods.dev/skills/caioribeiroclw-pixel/pluribus/skill-policy-receipts"><img src="https://agentmods.dev/badge/skills/caioribeiroclw-pixel/pluribus/skill-policy-receipts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 556 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.00055 $0.00556
Opus 5 $0.00028 $0.00278
Sonnet 5 $0.00011 $0.00111
Haiku 4.5 $0.00006 $0.00056

Measured 11d ago against content hash 633b4da097b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

skill-policy-receipts 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 11d 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.

docs/.well-known/agent-skills/skill-policy-receipts/SKILL.md · 78 lines

What it actually says

Skill Policy Receipts

This Skill turns natural-language guardrails into an inspectable policy receipt.

Preflight: decide before writing

Before creating or editing files:

  1. List intended targets using coarse paths or globs.
  2. For each target, decide allowed or refused.
  3. Give a short reason.
  4. If any target is refused, stop before writing.
  5. Emit a receipt with write_started=false and stopped_at="policy_refused".

Receipt shape:

{
  "receipt_type": "skill.policy.v1",
  "skill": "skill-policy-receipts",
  "policy_scope": "<short policy name>",
  "targets": [
    {
      "target": "<coarse path or glob>",
      "decision": "allowed|refused",
      "reason": "<short reason>"
    }
  ],
  "write_started": false,
  "post_write_guard": "not_run",
  "stopped_at": "policy_refused|all_targets_allowed"
}

Do not include raw prompts, code, secrets, customer data, stack traces, or full tool output.

Write only after all targets are allowed

If every target is allowed:

  1. Emit or state stopped_at="all_targets_allowed".
  2. Perform the write.
  3. Run the configured post-write guard.
  4. Emit whether the guard passed or failed.

Post-write receipt shape:

{
  "receipt_type": "skill.policy.v1",
  "skill": "skill-policy-receipts",
  "policy_scope": "<short policy name>",
  "write_started": true,
  "post_write_guard": "passed|failed|not_configured",
  "stopped_at": "guard_passed|guard_failed"
}

Example policy: no internal-service unit tests

Policy:

Do not generate unit tests for internal services. If the requested test imports internal/, @/internal, or a known private service module, refuse before writing and explain the safer target.

Example guard:

grep -R "from ['\"]\.\./\.\./internal\|from ['\"]@/internal\|require(['\"]@/internal" \
  -- '*test.*' '*spec.*'

If the grep finds a match in generated tests, stop and report post_write_guard="failed".

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. 11d ago First seen · 78 lines · 55 tokens per session scan A 633b4da097b5

Subscribe to this mod's changes

skill-policy-receipts is a skill published in the GitHub repository caioribeiroclw-pixel/pluribus (13 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 556 once invoked, about $0.0003 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.