claims
यह क्या करती है
यह स्किल AI एजेंटों की अनुमतियाँ मैनेज करती है, जिससे आप फ़ाइलों, कमांड, मेमोरी और नेटवर्क की पहुँच दे, जाँच और वापस ले सकते हैं। यह उन लोगों के लिए है जो कई एजेंट चलाते हैं और हर एजेंट की सीमाएँ साफ़ रखना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप चाहें कि एजेंट को कुछ फ़ाइलों तक पहुँच हो, बाकी तक नहीं।
- ✓जब कई एजेंट एक प्रोजेक्ट साझा करते हों और उन्हें साफ़ सीमित अनुमतियाँ चाहिए।
- ✓जब आप वह पहुँच देखना या हटाना चाहें जो अब ज़रूरी नहीं है।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/claims/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे लेखन एजेंट को सिर्फ़ src फ़ोल्डर की फ़ाइलें बदलने की अनुमति दीजिए, और उसकी नेटवर्क पहुँच हटा दीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट हर अनुमति को एक claim के रूप में दर्ज करता है, जिसका दायरा होता है, जैसे फ़ोल्डर का pattern, और कोई कार्य चलने से पहले उन claims की जाँच करता है।
तकनीकी सामग्री (मूल 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.
अक्सर पूछे जाने वाले सवाल
किस तरह की पहुँच नियंत्रित हो सकती है?
स्किल read, write, execute, spawn, memory, network और admin claims सूचीबद्ध करती है।
सुरक्षा के स्तर कौन-से हैं?
स्किल minimal, standard, elevated और admin स्तर बताती है, हर एक के claims के समूह के साथ।
क्या पहुँच वापस ली जा सकती है?
हाँ। स्किल में किसी भी ऐसे claim को रद्द करने का revoke कमांड है, जो अब ज़रूरी नहीं।
जानकारी
लेखक का मूल विवरण
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।