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

satgate

bởi matt-dean-git

Coding Agents & IDEs
589Lượt tải do clawskills.sh công bố
0Lượ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

Manage your API's economic firewall from the terminal.

Mô tả

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

SatGate CLI is the server-side tool for governing API access in the agent economy. It mints tokens for agents, enforces per-agent spending budgets, revokes access, and provides cost attribution. It pairs with lnget, which handles the client-side payment flow for L402-gated APIs.

Gives API operators fine-grained budget caps and instant revocation per agent without touching agent code, which standard API key systems don't provide.

Khi nào nên dùng

  • Minting a scoped access token before deploying a new AI agent
  • Checking per-agent API spend across a 7-day period
  • Immediately revoking a compromised or runaway agent's token
  • Exporting monthly AI cost data to JSON for stakeholder reporting
  • Verifying gateway health before running agent operations

Quy trình ví dụ

ĐẦU VÀO

User asks: Give the new customer-support bot access to the OpenAI routes with a 500-unit budget

AGENT
  1. 1

    Run satgate status to confirm the correct gateway is targeted

  2. 2

    Run satgate mint --agent "cs-bot" --budget 500 --routes "/api/openai/*" --dry-run to preview

  3. 3

    Run the same command without --dry-run after user confirms

  4. 4

    Run satgate token <new-id> to verify the token scope and delegation details

ĐẦU RA

A minted token ID with confirmed budget, route scope, and active status visible in `satgate tokens`

Yêu cầu

  • SATGATE_ADMIN_TOKEN environment variable (self-hosted gateway) or SATGATE_BEARER_TOKEN environment variable (SatGate Cloud)
  • SatGate Cloud account at satgate.io, or a self-hosted SatGate gateway

Cài đặt

clawhub install matt-dean-git/satgate

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