agentspend
jpbonch 제작
Web & Frontend Development요약
Use this skill when you need to: search the web, generate images or pictures, create videos, scrape or read.
설명
이 스킬이 하는 일
agentspend is a CLI tool that lets agents call external paid APIs by handling payment automatically. It includes a searchable catalog of services, per-request cost controls, and a weekly spending budget. Configure once with a credit card, then call any supported endpoint from the command line.
Instead of managing separate API keys and billing accounts for each external service, agentspend provides a single payment layer with built-in budget controls across all calls.
사용 시점
- Fetching real-time stock prices during a financial analysis task
- Generating an image when no local model is available
- Scraping a webpage that requires a paid extraction service
- Getting current weather data for a location-aware workflow
- Converting a file format via an external conversion API
예시 워크플로
User asks: find a service to generate a video from a text prompt and create one
- 1
Run
npx agentspend search "video generation"to find matching services - 2
Review returned services, prices, and descriptions
- 3
Run
npx agentspend check <endpoint> --method POST --body '{"prompt":"..."}'to confirm price - 4
Confirm cost and max-cost limit with user
- 5
Run
npx agentspend pay <endpoint> --method POST --body '{"prompt":"..."}' --max-cost 0.10
Video generated and returned from the endpoint; charge amount and remaining weekly budget displayed
요구 사항
- agentspend account with credit card configured at the agentspend dashboard
- Weekly spending limit set via `npx agentspend configure`
설치
clawhub install jpbonch/agentspendCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.