跳到正文
TakoAPI
返回技能列表

agentspend

由 jpbonch 提供

Web & Frontend Development
437下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run npx agentspend search "video generation" to find matching services

  2. 2

    Review returned services, prices, and descriptions

  3. 3

    Run npx agentspend check <endpoint> --method POST --body '{"prompt":"..."}' to confirm price

  4. 4

    Confirm cost and max-cost limit with user

  5. 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/agentspend

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接