Back to Ruflo

Claims Authorization Skill

.agents/skills/claims/SKILL.md

3.6.301.3 KB
Original Source

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

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

Grant Claim

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

Revoke Claim

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

List Claims

bash
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