claims
하는 일
이 스킬은 AI 에이전트의 권한을 관리해, 파일, 명령, 메모리, 네트워크 접근을 부여하고 확인하고 취소할 수 있게 합니다. 여러 에이전트를 운영하면서 각자의 권한을 분명히 제한하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓에이전트가 일부 파일에는 접근하고 다른 파일에는 접근하지 못하게 하고 싶을 때.
- ✓여러 에이전트가 프로젝트를 공유해서 명확하고 제한된 권한이 필요할 때.
- ✓더 이상 필요 없는 접근 권한을 검토하거나 없애고 싶을 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/claims/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 글쓰기 에이전트에게 src 폴더의 파일만 바꿀 수 있게 허용하고, 네트워크 접근은 없애 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 각 권한을 범위가 있는 주장(claim)으로 기록하고, 예를 들어 폴더 패턴 같은 범위를 정하며, 작업이 실행되기 전에 이 주장을 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Claims Authorization Skill
Purpose
Claims-based authorization for secure agent operations and access control.
Claim Types
| Claim | Description |
|---|---|
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
| Pattern | Description |
|---|---|
* |
All resources |
/src/** |
All files in src |
/config/*.toml |
TOML files in config |
memory:patterns |
Patterns namespace |
Security Levels
| Level | Claims |
|---|---|
minimal |
read only |
standard |
read, write, execute |
elevated |
+ spawn, memory |
admin |
all claims |
Best Practices
- Follow principle of least privilege
- Scope claims to specific resources
- Audit claim usage regularly
- 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)
| Tool | Purpose |
|---|---|
claims_claim |
Take ownership of an issue/resource (with optional TTL). |
claims_release |
Give up a claim you hold. |
claims_handoff / claims_accept-handoff |
Transfer a claim to another agent. |
claims_steal / claims_mark-stealable |
Work-stealing for stalled claims. |
claims_status / claims_list |
Inspect 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.
자주 묻는 질문
어떤 종류의 접근을 제어할 수 있나요?
스킬은 읽기, 쓰기, 실행, 생성, 메모리, 네트워크, 관리 권한을 나열합니다.
보안 수준은 무엇인가요?
최소, 표준, 상승, 관리자 수준을 설명하며, 각 수준은 권한 묶음을 가집니다.
접근 권한을 회수할 수 있나요?
네. 더 이상 필요 없는 권한은 취소 명령으로 회수할 수 있습니다.
상세 정보
작성자의 원본 설명
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.
repo: ruvnet/ruflo
인기도
- GitHub 스타
- 81k
- 순위
- #1525
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.