跳到正文
TakoAPI
返回技能列表

agent-access-control

由 bowen31337 提供

Coding Agents & IDEs
949下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Extract and normalize the sender's phone number

  2. 2

    Check ownerIds, blockedIds, and approvedContacts, finding no match

  3. 3

    Send the configured strangerMessage to the sender

  4. 4

    Notify the owner with the sender ID and first 100 characters of the message

  5. 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 或你在用的任意编程智能体里。

链接