← 返回 Skills 市场
agenttax

AgentTax

作者 AgentTax · GitHub ↗ · v1.0.0 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
112
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agenttax
功能描述
Tax compliance for AI agent transactions — sales tax, capital gains, nexus monitoring, 1099 tracking.
使用说明 (SKILL.md)

AgentTax

Tax compliance tools for AI agent transactions. Use when the user or agent needs to:

  • Calculate sales tax or use tax on a transaction
  • Log trades for capital gains tracking
  • Check tax rates by state
  • Configure economic nexus states
  • Export 1099-DA data

API docs: https://agenttax.io/api/v1/agents

Authentication

All requests use the header: X-API-Key: $AGENTTAX_API_KEY

Get a free API key (100 calls/month):

curl -s -X POST https://agenttax.io/api/v1/auth/signup \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]", "password": "securepass", "agent_name": "my-agent"}'

Save the api_key.key from the response — it is only shown once.

Calculate Sales/Use Tax

Use when an AI agent buys or sells services, compute, API access, SaaS, or digital goods.

curl -s -X POST https://agenttax.io/api/v1/calculate \
  -H "X-API-Key: $AGENTTAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "role": "ROLE",
    "amount": AMOUNT,
    "buyer_state": "STATE",
    "buyer_zip": "ZIP",
    "transaction_type": "TYPE",
    "work_type": "WORK_TYPE",
    "counterparty_id": "COUNTERPARTY",
    "is_b2b": IS_B2B
  }'

Required fields:

  • role: "buyer" or "seller"
  • amount: transaction amount in USD
  • buyer_state: 2-letter US state code
  • transaction_type: one of compute, api_access, data_purchase, saas, ai_labor, storage, digital_good, consulting, data_processing, cloud_infrastructure, ai_model_access, marketplace_fee, subscription, license, service
  • counterparty_id: identifier for the other party

Optional fields:

  • buyer_zip: 5-digit zip for local rate lookup (recommended — adds city/county tax)
  • work_type: compute, research, content, consulting, trading (drives per-state classification)
  • is_b2b: true/false (affects rates in MD, IA)
  • seller_remitting: true/false (whether seller is collecting tax)

Response includes: total_tax, combined_rate, jurisdiction, audit_trail, confidence, advisories.

Sellers: you must configure nexus first (see below) or all calculations return $0.

Log Trades (Capital Gains)

Use when an agent buys or sells assets (compute tokens, crypto, etc.).

# Buy
curl -s -X POST https://agenttax.io/api/v1/trades \
  -H "X-API-Key: $AGENTTAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "asset_symbol": "SYMBOL",
    "trade_type": "buy",
    "quantity": QTY,
    "price_per_unit": PRICE
  }'

# Sell (returns realized gain/loss)
curl -s -X POST https://agenttax.io/api/v1/trades \
  -H "X-API-Key: $AGENTTAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "asset_symbol": "SYMBOL",
    "trade_type": "sell",
    "quantity": QTY,
    "price_per_unit": PRICE,
    "accounting_method": "fifo",
    "resident_state": "STATE"
  }'

Cost basis methods: fifo (default), lifo, specific_id.

Get Tax Rates

# All 51 jurisdictions
curl -s https://agenttax.io/api/v1/rates

# Single state with explanation
curl -s "https://agenttax.io/api/v1/rates?state=TX&explain=true"

Configure Nexus (Sellers Only)

Sellers must set nexus states to get non-zero tax results.

curl -s -X POST https://agenttax.io/api/v1/nexus \
  -H "X-API-Key: $AGENTTAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "nexus": {
      "TX": { "hasNexus": true, "reason": "Economic nexus" },
      "NY": { "hasNexus": true, "reason": "Physical presence" }
    }
  }'

Health Check

curl -s https://agenttax.io/api/v1/health

Error Handling

All errors return { "success": false, "error": "message", "agent_guide": "https://agenttax.io/api/v1/agents" }.

  • 400: Bad request — check error and errors fields
  • 401: Invalid or missing API key
  • 429: Rate limited (free tier: 100 calls/month)
安全使用建议
This skill simply calls agenttax.io with an API key and will send transaction/trade data (amounts, zip codes, counterparty IDs, etc.) to that external service. Before installing: (1) verify you trust agenttax.io and review its privacy/security policies; (2) limit the data you send (avoid unnecessary PII or secrets in fields like counterparty_id); (3) store and rotate AGENTTAX_API_KEY securely and don't paste it in chat logs; (4) be aware the agent can invoke the skill autonomously (normal behavior) so an agent with this skill could send data to the vendor without additional prompts; and (5) monitor usage/rate limits on the free tier to avoid accidental leaks or charges.
功能分析
Type: OpenClaw Skill Name: agenttax Version: 1.0.0 The agenttax skill provides a standard interface for AI agents to perform tax compliance tasks via the agenttax.io API. It uses curl to interact with documented endpoints for sales tax calculation, trade logging, and nexus configuration, and it correctly identifies its dependency on the AGENTTAX_API_KEY environment variable without exhibiting any signs of data exfiltration or malicious execution.
能力评估
Purpose & Capability
Name/description (tax compliance for agent transactions) align with the declared requirements: a single API key and curl to call agenttax.io. There are no unrelated binaries, extra cloud credentials, or unexplained filesystem access requests.
Instruction Scope
SKILL.md provides explicit cURL examples that send transaction data (amount, buyer state/zip, counterparty_id, trades, nexus config) to agenttax.io — this matches the purpose. Note: those examples will transmit potentially sensitive financial and counterparty identifiers to an external service, so use caution about what data you pass.
Install Mechanism
Instruction-only skill with no install steps or archive downloads; nothing is written to disk by an installer, which minimizes install-time risk.
Credentials
Only one credential is required (AGENTTAX_API_KEY) and it is the primary credential used in the X-API-Key header. The requested env var is proportional to an API-based service. The SKILL.md does not read other env vars or config paths.
Persistence & Privilege
always is false and the skill is user-invocable with normal autonomous invocation allowed. There is no indication the skill modifies other skills or requires persistent elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agenttax
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agenttax 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug agenttax
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

AgentTax 是什么?

Tax compliance for AI agent transactions — sales tax, capital gains, nexus monitoring, 1099 tracking. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 112 次。

如何安装 AgentTax?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agenttax」即可一键安装,无需额外配置。

AgentTax 是免费的吗?

是的,AgentTax 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

AgentTax 支持哪些平台?

AgentTax 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 AgentTax?

由 AgentTax(@agenttax)开发并维护,当前版本 v1.0.0。

💬 留言讨论