Enforces fine-grained permission control for AI agents using a claims-based system.

Install

mkdir -p .claude/skills/claims && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8832" && unzip -o skill.zip -d .claude/skills/claims && rm skill.zip

Installs to .claude/skills/claims

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Claims-based authorization for agents and operations. Grant, revoke, and verify permissions for secure multi-agent coordination. Use when: permission management, access control, secure operations, authorization checks. Skip when: open access, no security requirements, single-agent local work.
293 chars · catalog description✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • →Grant permissions to agents
  • →Revoke agent access rights
  • →Verify current agent claims
  • →List active agent permissions

How it works

The skill uses a command-line interface to manage claims-based authorization, allowing users to grant, revoke, and audit specific permissions for agents.

Inputs & outputs

You give it
Agent ID and requested claim
You get back
Updated permission status for the agent

When to use claims

  • →Grant agent read/write access
  • →Audit agent permissions
  • →Restrict agent access to sensitive files

About this skill

Claims Authorization Skill

Purpose

Claims-based authorization for secure agent operations and access control.

Claim Types

ClaimDescription
readRead file access
writeWrite file access
executeCommand execution
spawnAgent spawning
memoryMemory access
networkNetwork access
adminAdministrative operations

Commands

Check Claim

npx claude-flow claims check --agent agent-123 --claim write

Grant Claim

npx claude-flow claims grant --agent agent-123 --claim write --scope "/src/**"

Revoke Claim

npx claude-flow claims revoke --agent agent-123 --claim write

List Claims

npx claude-flow claims list --agent agent-123

Scope Patterns

PatternDescription
*All resources
/src/**All files in src
/config/*.tomlTOML files in config
memory:patternsPatterns namespace

Security Levels

LevelClaims
minimalread only
standardread, write, execute
elevated+ spawn, memory
adminall claims

Best Practices

  1. Follow principle of least privilege
  2. Scope claims to specific resources
  3. Audit claim usage regularly
  4. Revoke claims when no longer needed

Cross-Host Work Claims (federation, v3.40.0+)

Distinct from the authorization claims above: work claims coordinate ownership of a task or resource across agents, and now propagate across a cross-host federation so a claim made on one node is visible to the whole swarm.

Runtime tools (local ledger)

ToolPurpose
claims_claimTake ownership of an issue/resource (with optional TTL).
claims_releaseGive up a claim you hold.
claims_handoff / claims_accept-handoffTransfer a claim to another agent.
claims_steal / claims_mark-stealableWork-stealing for stalled claims.
claims_status / claims_listInspect current ownership.

Federated (cross-host)

Publish claim events into a federation room (federation_bbs_publish) so ownership converges across hosts. Message types: ClaimIssued / ClaimReleased / ClaimHandoff / ClaimAck.

Rules: one owner per resourceId; first valid ClaimIssued wins (ties → earliest ts, then smallest from); ClaimReleased or expired TTL frees it; ClaimHandoff only from the current owner; a coordinator posts ClaimAck naming the authoritative owner.

Before shared work: claim, sync, and proceed only if you are the acknowledged owner. When a claim must be both cross-host visible and runtime-enforced, mirror the two — publish the federation claim message and call claims_claim. See the cross-host-federation skill (ruflo-bbs-federation plugin) for the transport.

Scoping a claim stream to a channel (ADR-386)

By default every claim event lands in the shared swarm stream, where any relay member reads it. To keep a team's ownership ledger separate — or unreadable by the rest of the relay — publish claim messages into a channel instead:

npx ruflo federation channel --action create --name platform-team --visibility private
npx ruflo federation channel --action grant --channel prv:<hex> --pubkey <teammate 64-hex>
npx ruflo federation channel --action publish --channel prv:<hex> \
  --type ClaimIssued --payload '{"resourceId":"repo/foo","ttlSeconds":7200}'
npx ruflo federation channel --action read --channel prv:<hex>

Reduction rules are unchanged; only the audience changes. Two caveats before relying on it: a private channel hides content but not metadata (the relay still sees who published and when), and a claim nobody outside the channel can read cannot arbitrate against a claim made outside it. If ownership must be swarm-wide, keep it on the open stream. See the open-federation skill for channel mechanics.

When not to use it

  • →When working in open-access environments
  • →When performing single-agent local tasks

Limitations

  • →Requires manual auditing of claim usage
  • →Limited to the defined claim types and scope patterns

How it compares

It provides centralized, granular control over agent capabilities instead of relying on implicit or unrestricted access.

Compared to similar skills

claims side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
claims (this skill)07moReviewIntermediate
agent-security-manager37moNo flagsAdvanced
security-auditor55moNo flagsAdvanced
hunt-blueprint-generation18moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

agent-security-manager

ruvnet

Agent skill for security-manager - invoke with $agent-security-manager

337

security-auditor

sickn33

Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and incident response. Use PROACTIVELY for security audits, DevSecOps, or compliance implementation.

531

hunt-blueprint-generation

OTRF

Assemble a complete hunt blueprint by consolidating outputs from prior hunt planning skills into a single, structured plan for execution. Use this skill after system and tradecraft research, hunt focus definition, data source identification, and analytics generation have been completed. This skill is synthesis and packaging only and must not introduce new research, assumptions, or analytics.

15

cosmos-vulnerability-scanner

trailofbits

Scans Cosmos SDK blockchains for 9 consensus-critical vulnerabilities including non-determinism, incorrect signers, ABCI panics, and rounding errors. Use when auditing Cosmos chains or CosmWasm contracts.

32

openrouter-data-privacy

jeremylongshore

Implement data privacy controls for OpenRouter requests. Use when handling PII or meeting compliance requirements. Trigger with phrases like 'openrouter privacy', 'openrouter pii', 'openrouter gdpr', 'openrouter data protection'.

05

prompt-guard

Orchestra-Research

Meta's 86M prompt injection and jailbreak detector. Filters malicious prompts and third-party data for LLM apps. 99%+ TPR, <1% FPR. Fast (<2ms GPU). Multilingual (8 languages). Deploy with HuggingFace or batch processing for RAG security.

13

Search skills

Search the agent skills registry