separation-of-duties

separation-of-duties is a skill for Claude Code from blueflyio/openstandardagents. It costs 25 tokens per session (1,660 once invoked), scanned A, original, Apache-2.0.

A policy for keeping review, approval, execution, and analysis as separate roles. It defines four access levels and prevents an agent from reviewing, approving, or validating its own work.

In plain words
What is it for?
Use it to define agent permissions, enforce approval boundaries, control who can push or deploy, and record required audit information.
Why use it?
It reduces conflicts of interest and makes it harder for one agent to bypass checks on changes it created or deployed.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the bluefly-agent-platform plugin — 8 skills shipped together

Good fit Use it to define agent permissions, enforce approval boundaries, control who can push or deploy, and record required audit information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blueflyio/openstandardagents/separation-of-duties
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 blueflyio/openstandardagents --skill separation-of-duties
Clone the repo
git clone --depth 1 https://github.com/blueflyio/openstandardagents

Made for: Claude Code.

Or install bluefly-agent-platform, the plugin that ships this one along with the rest of its 8 skills.

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 separation-of-duties

README.md
[![agentmods](https://agentmods.dev/badge/skills/blueflyio/openstandardagents/separation-of-duties/github.svg)](https://agentmods.dev/skills/blueflyio/openstandardagents/separation-of-duties)
Your own site
<a href="https://agentmods.dev/skills/blueflyio/openstandardagents/separation-of-duties"><img src="https://agentmods.dev/badge/skills/blueflyio/openstandardagents/separation-of-duties/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 separation-of-duties

Your own site · 80×15
<a href="https://agentmods.dev/skills/blueflyio/openstandardagents/separation-of-duties"><img src="https://agentmods.dev/badge/skills/blueflyio/openstandardagents/separation-of-duties.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,660 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00025 $0.01660
Opus 5.5 $0.00010 $0.00664
Sonnet 5.5 $0.00005 $0.00332
Haiku 4.5 $0.00003 $0.00166

Measured today against content hash 37aa2655d003, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

separation-of-duties scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "https://compliance.bluefly.internal/api/audit?type=sod_violation"
quarantine/2026-05-15/plugins/bluefly-agent-platform/skills/separation-of-duties/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.

Separation of Duties

Core Principle

No agent can review, approve, or validate its own work. This is enforced at three levels: OSSA manifest declarations, Cedar policy gates, and runtime mesh routing.

4-Tier Access Model

tier_4_policy (Approver)     ← Sets rules, approves releases
tier_3_full (Executor)       ← Writes code, runs deploys
tier_2_write (Reviewer)      ← Reviews, comments, labels
tier_1_read (Analyzer)       ← Reads, scans, reports

Tier Permissions Matrix

Action Analyzer Reviewer Executor Approver
Read source code ✅ ✅ ✅ ✅
Scan artifacts ✅ ✅ ✅ ✅
Generate reports ✅ ✅ ✅ ✅
Comment on MRs ❌ ✅ ✅ ✅
Update issues ❌ ✅ ✅ ✅
Label/assign ❌ ✅ ✅ ✅
Push code ❌ ❌ ✅ ❌
Merge MRs ❌ ❌ ✅ ✅
Run deploys ❌ ❌ ✅ ❌
Approve MRs ❌ ❌ ❌ ✅
Override gates ❌ ❌ ❌ ✅
Set policy ❌ ❌ ❌ ✅

Conflict Matrix

Role A Role B Allowed in Same Chain? Reason
Analyzer Reviewer ✅ Different concerns
Analyzer Executor ❌ Analyzer findings could be biased toward own execution
Analyzer Approver ❌ Analyzer could suppress findings to ease approval
Reviewer Executor ❌ Cannot review own code
Reviewer Approver ✅ Reviewer recommends, Approver decides
Executor Approver ❌ Cannot approve own deployment

Chain Examples

Valid Chain:

vulnerability-scanner (Analyzer) → merge-request-reviewer (Reviewer) → pipeline-remediation (Executor) → release-coordinator (Approver)

INVALID Chains:

❌ code-reviewer (Reviewer) → code-reviewer (Reviewer)     # Self-review
❌ pipeline-remediation (Executor) → pipeline-remediation   # Self-approve
❌ vulnerability-scanner (Analyzer) → pipeline-remediation (Executor)  # Analyzer→Executor

Cedar Policy Enforcement

Read the full file on GitHub · 204 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. today First seen · 204 lines · 25 tokens per session scan A 37aa2655d003

Subscribe to this mod's changes

separation-of-duties is a skill published in the GitHub repository blueflyio/openstandardagents (5 stars, last pushed yesterday), licensed Apache-2.0. It adds 25 tokens to every session and 1,660 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-03.

Related

separation-of-duties compared with skills from other repositories

separation-of-duties next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
separation-of-dutiesblueflyio/openstandardagentsSkill5yesterdayApache-2.0A25Claude Code
writing-capletsspiritledsoftware/capletsSkill148d agoMITA64Claude Code, Codex
aomi-buildaomi-labs/skillsSkill8todayMITA244Claude Code, Codex
installing-capletsspiritledsoftware/capletsSkill148d agoMITA56Claude Code, Codex
capletsspiritledsoftware/capletsSkill148d agoMITA59Claude Code, Codex
add-existing-mcp-serversspeakeasy-api/gramSkill282todayAGPL-3.0A71Claude Code, Codex
add-mcp-from-remote-urlspeakeasy-api/gramSkill282todayAGPL-3.0A35Claude Code, Codex