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运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。