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.mdsource content
Claims Authorization Skill
Purpose
Claims-based authorization for secure agent operations and access control.
Claim Types
| Claim | Description |
|---|---|
| Read file access |
| Write file access |
| Command execution |
| Agent spawning |
| Memory access |
| Network access |
| 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
| Pattern | Description |
|---|---|
| All resources |
| All files in src |
| TOML files in config |
| Patterns namespace |
Security Levels
| Level | Claims |
|---|---|
| read only |
| read, write, execute |
| + spawn, memory |
| all claims |
Best Practices
- Follow principle of least privilege
- Scope claims to specific resources
- Audit claim usage regularly
- Revoke claims when no longer needed