Agent API Skill

Manage Safebox wallet operations via a RESTful API with key authentication.

54|6|Updated Jul 23, 2024
One-click install
npx skills add https://github.com/trbouma/safebox --skill agent-api-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Agent API Skill
Source: https://github.com/trbouma/safebox/tree/main/skills/agent-api
Command: npx skills add https://github.com/trbouma/safebox --skill agent-api-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables autonomous agents to securely interact with and manage a Safebox wallet through a header-authenticated API, automating financial and communication tasks without user intervention.

Core Features & Use Cases

  • Wallet Management: Onboard new wallets, check balances, and view transaction history.
  • Payments: Create and pay Lightning invoices, pay Lightning addresses directly.
  • Communication: Send secure direct messages, zap events/profiles, and manage Nostr interactions.
  • Token Handling: Issue and accept Cashu ecash tokens.
  • Use Case: An agent can be programmed to automatically pay all incoming invoices from a specific vendor, respond to certain types of Nostr messages, or onboard new wallets based on an invite code.

Quick Start

Use the Agent API skill to onboard a new wallet using the provided invite code.

Frequently Asked Questions about Agent API Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Lightning wallet operations via an API for autonomous agents?

You can automate Lightning wallet operations for autonomous agents by using a RESTful API that supports header-authenticated API keys, enabling programmatic onboarding, balance inquiries, and invoice payments without manual intervention.

Can I send Nostr direct messages and zaps using an automated API?

Yes, you can send secure Nostr direct messages and zap events or profiles by routing requests through the API, which handles messaging and event zapping programmatically using header authentication.

How do I integrate Cashu ecash token management into an agent workflow?

Integrate Cashu ecash token management into an agent workflow by calling the API endpoints designed for issuing and accepting tokens, allowing autonomous agents to handle ecash transactions directly.

Does the Safebox wallet API require API key authentication for all operations?

Yes, the Safebox wallet API requires API key authentication for most operations, using header-based authentication to securely process wallet management, Lightning payments, and Nostr interactions.

What's the best way to programmatically pay Lightning addresses from a wallet?

The best way to programmatically pay Lightning addresses from a wallet is to use a RESTful API that supports direct Lightning address payments, allowing agents to execute transactions autonomously via authenticated requests.

How do I onboard new wallets automatically using an invite code?

Onboard new wallets automatically by sending an invite code to the API's wallet onboarding endpoint, which programmatically provisions the wallet and prepares it for subsequent automated operations.