agent-access-control
بواسطة bowen31337
Coding Agents & IDEsموجز
Tiered stranger access control for AI agents.
الوصف
ما الذي تفعله هذه المهارة
Tiered contact management for AI agents on messaging platforms. Strangers get a configurable deflection message and trigger an owner notification. The owner approves, restricts, or blocks the contact by replying to the notification.
It handles the complete stranger-to-approved pipeline, including deflection, owner notification, and per-tier enforcement, without writing custom platform-specific code.
متى تستخدمها
- Filtering cold messages sent to a personal WhatsApp bot
- Approving a new contact on a Telegram agent without editing config manually
- Granting family members limited chat access without full agent privileges
- Blocking repeat spam accounts on a Discord assistant
- Auditing which unknown senders have contacted your agent
مثال على سير العمل
User asks: An unknown number messages my WhatsApp agent
- 1
Extract and normalize the sender's phone number
- 2
Check ownerIds, blockedIds, and approvedContacts, finding no match
- 3
Send the configured strangerMessage to the sender
- 4
Notify the owner with the sender ID and first 100 characters of the message
- 5
Store the contact in pendingApprovals and respond with NO_REPLY
Stranger receives the deflection message, owner gets a notification with approve/chat/block reply options
التثبيت
clawhub install bowen31337/agent-access-controlشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.