Skill policy receipts
Skill caioribeiroclw-pixel/pluribus/examples/agent-skills/skill-policy-receipts
Use when a task must obey a hard project policy, such as "do not generate tests for internal services", "do not call production APIs", or "do not edit generated files". Emits a privacy-safe receipt before writes and after guard checks.From its SKILL.md
npx -y skills add caioribeiroclw-pixel/pluribus --skill skill-policy-receiptsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 11 stars11 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, 491 tokens by cl100k_base, as published. Nobody here has run it
Skill Policy Receipts
This Skill turns natural-language guardrails into an inspectable policy receipt.
Preflight: decide before writing
Before creating or editing files:
- List intended targets using coarse paths or globs.
- For each target, decide
allowedorrefused. - Give a short reason.
- If any target is refused, stop before writing.
- Emit a receipt with
write_started=falseandstopped_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:
- Emit or state
stopped_at="all_targets_allowed". - Perform the write.
- Run the configured post-write guard.
- 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".
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.