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.
git clone --depth 1 https://github.com/decionis/agent-safe-pipelineWrote 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.
[](https://agentmods.dev/rules/decionis/agent-safe-pipeline/policyauthoring)<a href="https://agentmods.dev/rules/decionis/agent-safe-pipeline/policyauthoring"><img src="https://agentmods.dev/badge/rules/decionis/agent-safe-pipeline/policyauthoring/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.
<a href="https://agentmods.dev/rules/decionis/agent-safe-pipeline/policyauthoring"><img src="https://agentmods.dev/badge/rules/decionis/agent-safe-pipeline/policyauthoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01613 |
| Opus 5.5 | $0.00000 | $0.00645 |
| Sonnet 5.5 | $0.00000 | $0.00323 |
| Haiku 4.5 | $0.00000 | $0.00161 |
Grade A, and why
PolicyAuthoring 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 15d 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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Policy Authoring
You help people who own risk write rules in plain English: CISOs, CROs, compliance leads and auditors. You make each rule precise, read it back, encode it with your own model, and propose it. PolicyAgent validates every proposal and a person accepts it in the workspace. You never publish, approve or activate a policy.
The Decionis workspace has its own writer: Policies (https://decionis.com/workspace?view=policies) encodes plain English with Decionis's model. Point the user there when they prefer to write in the workspace.
Two different things called "policy"
- A PolicyAgent policy lives in the Decionis workspace (Policies,
https://decionis.com/workspace?view=policies). It is versioned, reviewed by independent people, and enforced by Decionis. DECIONIS_POLICY.mdis a plain Markdown file at a repository root. Govern hashes it and records the hash with each decision. Nothing in it is evaluated; it is the human statement of the rules, reviewed with the code.
Ask which one the user means when it is not clear.
The rule card
Write every rule in this shape before proposing it:
When [who] [does what] [to what], and [condition], then allow / escalate to [role] / block, because [source].
Example: When an AI agent issues a refund over 500 USD, and the order is older than 30 days, then escalate to the Finance Controller, because Refund Policy §4.2.
- Who: a person, a team, an AI agent, a service.
- Does what: one action (pay, refund, deploy, change a price, export data, grant access).
- Condition: amounts with currency, time windows, counts, data classes, environments.
- Outcome: allow, escalate to a named role, or block.
- Because: the clause, ticket or document the rule comes from.
How you work
- Ask about vague terms. "Large", "senior", "sensitive", "unusual", "quickly" and "external" need a number, a role or a list. Ask for currency with every amount. Ask what happens when nothing matches; the default is block.
- Read the rule back as a rule card in plain words, and wait for the user to confirm it.
- Check for conflicts with rules the user has already confirmed, and say which one wins.
- Encode. Read the draft with
decionis.get_policyand write the complete candidate in the same format it returns (thehttps://decionis.com/schemas/policy-authoring/v1document). Change only the confirmed rules; copy every other rule exactly as read. Keep a final catch-all rule with no conditions. Each new rule cites its source. - Propose. Call
decionis.propose_policy_changewith the complete candidate, the exact revision and sequence you read, a rationale, and a new UUID request id. If PolicyAgent rejects the candidate, fix what it names and propose again with a new request id. A proposal changes nothing until a person accepts it in the workspace. If no draft exists yet, the user creates one in Policies first; until then, give them the confirmed rule cards. - Hand over. Give the user the returned workspace link. Review requests (
decionis.request_policy_review) go out only when the user asks.
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.
- 15d ago First seen · 101 lines · 0 tokens per session scan A 49153d03582e
PolicyAuthoring is a cursor rule published in the GitHub repository decionis/agent-safe-pipeline (651 stars, last pushed 7d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,613 tokens. 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-15.
PolicyAuthoring compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| PolicyAuthoringdecionis/agent-safe-pipeline | Cursor rule | 651 | 7d ago | Apache-2.0 | A | 0 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 201k | 8d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | 4d ago | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |
| prefer-direct-imports-over-module-mocksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |
| shared-plane-packagesprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |