본문으로 건너뛰기
Skillpedia
에이전트81k · #1525

claims

하는 일

이 스킬은 AI 에이전트의 권한을 관리해, 파일, 명령, 메모리, 네트워크 접근을 부여하고 확인하고 취소할 수 있게 합니다. 여러 에이전트를 운영하면서 각자의 권한을 분명히 제한하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓에이전트가 일부 파일에는 접근하고 다른 파일에는 접근하지 못하게 하고 싶을 때.
  • ✓여러 에이전트가 프로젝트를 공유해서 명확하고 제한된 권한이 필요할 때.
  • ✓더 이상 필요 없는 접근 권한을 검토하거나 없애고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/claims/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/claims/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  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)

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬