Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

agent-passport

bởi markneville

Web & Frontend Development
1.3kLượt tải do clawskills.sh công bố
3Sao
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

OAuth for the agentic era — consent-gating for ALL sensitive agent actions including purchases, emails, file.

Mô tả

Kỹ năng này làm gì

Agent Passport adds a consent layer between AI agents and sensitive actions. Users grant time-limited mandates that define what an agent can do, to whom, and under what constraints. Covers shell commands, emails, file writes, API calls, purchases, and public posts as distinct action categories with separate allowlists and rate limits.

Replaces all-or-nothing agent permissions with granular, expiring mandates scoped by action type, target, and rate limit rather than requiring a trust decision on the entire agent.

Khi nào nên dùng

  • Limiting agent email sending to a specific company domain for 30 days
  • Setting a per-transaction spending cap on automated purchases
  • Freezing all agent actions instantly with the kill switch
  • Reviewing an audit trail of every command an agent ran
  • Granting temporary file write access to a specific folder path

Quy trình ví dụ

ĐẦU VÀO

User asks: Allow my agent to send emails to my team at company.com

AGENT
  1. 1

    Run mandate-ledger.sh create-from-template email-team company.com

  2. 2

    Confirm the mandate is created with the correct domain allowlist and daily rate limit

  3. 3

    Before sending any email, call check-action with category 'communication' and the recipient address

  4. 4

    On authorized: true, send the email and call log-action with the mandate ID and a human-readable description

ĐẦU RA

Agent can send emails to *@company.com within the configured rate limit; every send is recorded in the audit trail

Yêu cầu

  • AGENT_PASSPORT_LEDGER_DIR environment variable
  • AGENT_PASSPORT_LICENSE_KEY environment variable (Pro tier only, for real-time threat definition updates from api.agentpassportai.com)

Cài đặt

clawhub install markneville/agent-passport

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết