Claude-code-flow claims

install
source · Clone the upstream repo
git clone https://github.com/ruvnet/ruflo
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ruvnet/ruflo "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/claims" ~/.claude/skills/ruvnet-claude-code-flow-claims && rm -rf "$T"
manifest: .agents/skills/claims/SKILL.md
source content

Claims Authorization Skill

Purpose

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

Claim Types

ClaimDescription
read
Read file access
write
Write file access
execute
Command execution
spawn
Agent spawning
memory
Memory access
network
Network access
admin
Administrative 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/*.toml
TOML files in config
memory:patterns
Patterns namespace

Security Levels

LevelClaims
minimal
read only
standard
read, write, execute
elevated
+ spawn, memory
admin
all 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