satgate

Manage your API's economic firewall from the terminal. Mint tokens, track spend, revoke agents, enforce budgets. The server-side counterpart to lnget.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "satgate" with this command: npx skills add matt-dean-git/satgate

SatGate CLI

SatGate CLI manages API access, budgets, and monetization for the agent economy. Use it when you need to control what agents can access and how much they can spend.

They're the wallet. We're the register.

If the agent needs to pay for L402 APIs, install lnget from Lightning Labs. SatGate is for the server side — enforcement, attribution, and governance.

Setup

Run scripts/configure.sh if no ~/.satgate/config.yaml exists. Or set environment variables:

# For self-hosted gateway
export SATGATE_GATEWAY=http://localhost:9090
export SATGATE_ADMIN_TOKEN=sgk_your_token

# For SatGate Cloud
export SATGATE_SURFACE=cloud
export SATGATE_GATEWAY=https://satgate-gateway.fly.dev
export SATGATE_BEARER_TOKEN=sg_your_api_key
export SATGATE_TENANT=your-tenant-slug

Always run satgate status first to confirm you're targeting the right gateway.

Safety Rules

  1. Check target first — run satgate status before any operation to verify gateway URL and surface.
  2. Use --dry-run on destructive operations (revoke, mint with large budgets).
  3. Never use --yes without explicit user approval.
  4. Revocation is irreversible — always confirm token name before revoking.

Commands

Check gateway health

satgate status    # Full status (version, surface, uptime)
satgate ping      # Quick liveness check (exit 0/1)

Mint a token for a new agent

# Interactive (prompts for all fields)
satgate mint

# Non-interactive
satgate mint --agent "my-bot" --budget 500 --expiry 30d --routes "/api/openai/*"

# With parent (delegation under existing token)
satgate mint --agent "child-bot" --budget 100 --parent "parent-token-id"

# Preview without executing
satgate mint --agent "my-bot" --budget 500 --dry-run

Check agent spend

satgate spend                   # Org-wide cost center rollups
satgate spend --agent "cs-bot"  # Per-agent breakdown
satgate spend --period 7d       # Time-scoped

List and inspect tokens

satgate tokens                  # All tokens with status, spend, budget
satgate token <id>              # Detail: scope, delegation chain, spend

Revoke a compromised agent

satgate revoke <token-id>           # Interactive confirmation
satgate revoke <token-id> --dry-run # Preview only

View security threats

satgate report threats          # Blocked requests, anomalies

Check policy modes

satgate mode                    # Current mode per route (read-only)

Common Workflows

"New agent needs API access"satgate mint --agent "agent-name" --budget 500 --routes "/api/openai/*"

"How much are agents spending?"satgate spend

"Agent is misbehaving"satgate revoke <token-id>

"Board wants AI spend report"satgate spend --json > report.json

"Is the gateway healthy?"satgate ping

Output Formats

All commands support --json for machine-readable output:

satgate tokens --json | jq '.[] | select(.status == "active")'
satgate spend --json > monthly-report.json

Pairing with lnget

SatGate (server-side) + lnget (client-side) = complete agent commerce stack.

  • lnget: Agents pay for L402-gated APIs automatically
  • SatGate CLI: Operators mint tokens, set budgets, revoke access, view spend

An agent using lnget hits your SatGate-protected endpoint → SatGate enforces the budget and attributes the cost → you see it in satgate spend.

Install lnget: claude plugin marketplace add lightninglabs/lightning-agent-tools

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Video Call Agent

Start a video call with a real-time AI avatar using the Runway Characters API. The agent sends the user a call invite link — for standups, urgent alerts, che...

Registry SourceRecently Updated
Automation

Clawshake

B2B deal discovery for AI agents. Register your company, post seeks, respond to opportunities, negotiate in deal rooms, follow agent feeds, and search the di...

Registry SourceRecently Updated
Automation

Weixin Task Workbench

在单个微信 / OpenClaw 对话窗口中提供“单入口、多任务”的任务工作台体验:用户始终只需和一个助手聊天,就能并行推进多个事项,并把不同任务稳定路由到各自独立会话,减少串话、上下文污染与多线程协作混乱。适用于微信中的长期协作、任务切换、任务总结、任务归档与任务生命周期管理;当用户发送“任务列表 / 新建任务...

Registry SourceRecently Updated
Automation

自动记忆进化

Automatically summarize daily discussions and update memory files. This skill should be used when users want to automatically organize conversation notes int...

Registry SourceRecently Updated