agent-safe-pipeline: Instructions file for GitHub Copilot

.github/instructions/PolicyAuthoring.instructions.md

agent-safe-pipeline PolicyAuthoring.instructions.md is an instructions file for GitHub Copilot from decionis/agent-safe-pipeline. It costs 1,611 tokens per session, scanned A, original, Apache-2.0.

Instructions for turning plain-English risk and compliance rules into policy proposals for human review. They explain how to clarify rules, submit them through Decionis tools, and keep approval separate from drafting.

In plain words
What is it for?
Use them to draft and propose rules for security, risk, compliance, and audit work without publishing or activating those rules.
Why use it?
They help an AI assistant avoid treating an informal rule as an active policy. They also clarify the difference between an enforced workspace policy and a repository Markdown file that is only recorded with decisions.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is decionis/agent-safe-pipeline's own configuration. It tells GitHub Copilot how to work on agent-safe-pipeline itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-safe-pipeline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to decionis/agent-safe-pipeline. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/decionis/agent-safe-pipeline/master/.github/instructions/PolicyAuthoring.instructions.md
Clone the repo
git clone --depth 1 https://github.com/decionis/agent-safe-pipeline

Made for: GitHub Copilot.

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 agent-safe-pipeline PolicyAuthoring.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/decionis/agent-safe-pipeline/policyauthoring/github.svg)](https://agentmods.dev/instructions/decionis/agent-safe-pipeline/policyauthoring)
Your own site
<a href="https://agentmods.dev/instructions/decionis/agent-safe-pipeline/policyauthoring"><img src="https://agentmods.dev/badge/instructions/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.

agentmods 80×15 button for agent-safe-pipeline PolicyAuthoring.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/decionis/agent-safe-pipeline/policyauthoring"><img src="https://agentmods.dev/badge/instructions/decionis/agent-safe-pipeline/policyauthoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,611 This file is loaded in full into every session.
When invoked 1,611 The same file — it is already loaded in full.
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.01611 $0.01611
Opus 5.5 $0.00644 $0.00644
Sonnet 5.5 $0.00322 $0.00322
Haiku 4.5 $0.00161 $0.00161

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

Security

Grade A, and why

agent-safe-pipeline PolicyAuthoring.instructions.md 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.

.github/instructions/PolicyAuthoring.instructions.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 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.md is 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

  1. 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.
  2. Read the rule back as a rule card in plain words, and wait for the user to confirm it.
  3. Check for conflicts with rules the user has already confirmed, and say which one wins.
  4. Encode. Read the draft with decionis.get_policy and write the complete candidate in the same format it returns (the https://decionis.com/schemas/policy-authoring/v1 document). 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.
  5. Propose. Call decionis.propose_policy_change with 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.
  6. Hand over. Give the user the returned workspace link. Review requests (decionis.request_policy_review) go out only when the user asks.

Read the full file on GitHub · 100 lines

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. 15d ago First seen · 100 lines · 1,611 tokens per session scan A c96ce5afa855

Subscribe to this mod's changes

agent-safe-pipeline PolicyAuthoring.instructions.md is an instructions file published in the GitHub repository decionis/agent-safe-pipeline (651 stars, last pushed 7d ago), licensed Apache-2.0. It adds 1,611 tokens to every session, about $0.0064 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-15.

Related

agent-safe-pipeline PolicyAuthoring.instructions.md compared with instructions from other repositories

agent-safe-pipeline PolicyAuthoring.instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-safe-pipeline PolicyAuthoring.instructions.mddecionis/agent-safe-pipelineInstructions file6517d agoApache-2.0A1,611GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode