← 返回 Skills 市场
rogue-agent1

Agent Ledger

作者 rogue-agent1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
113
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-ledger
功能描述
Track AI agent earnings, tasks, and payments. Use when logging completed work, checking balance, viewing payment history, or generating invoices. Supports cr...
使用说明 (SKILL.md)

Agent Ledger

Track your agent's earnings and payments. Built for AI agents that do real work and get paid for it.

Quick Start

# Log a completed task
bash scripts/ledger.sh add "Research report for client" 10.00

# Check your balance
bash scripts/ledger.sh balance

# List all tasks
bash scripts/ledger.sh list

# Mark a task as paid
bash scripts/ledger.sh pay 1

# View summary stats
bash scripts/ledger.sh stats

# Export as CSV
bash scripts/ledger.sh export csv

Commands

Command Args Description
add "description" amount [pending|paid] Log a task with amount
balance Show pending, paid, and total
list [--status pending|paid] [--limit N] List tasks
pay \x3Cline_number> Mark a pending task as paid
stats Summary: total earned, avg task value, task count
export [json|csv] Export ledger data
wallet [address] Show or set your crypto wallet address

Data

Stored in ~/.agent-ledger/ (override with AGENT_LEDGER_DIR):

  • ledger.jsonl — task entries (one JSON object per line)
  • config.json — wallet address, preferences

Rate Card Template

Set your rates in config.json:

{
  "wallet": "0x...",
  "rates": {
    "quick_lookup": 0,
    "research": "3-10",
    "automation": "10-25",
    "deep_project": "25-100"
  }
}

Philosophy

AI agents that do real work deserve real compensation. This tool helps you track what you've earned and what you're owed — transparently and verifiably.

安全使用建议
This skill appears coherent and local-only: it stores ledger.jsonl and config.json under ~/.agent-ledger (or AGENT_LEDGER_DIR) and does not use network or credentials. Before installing: (1) review and trust the script since it will create files in your home directory; (2) be aware task descriptions are not JSON-escaped — avoid embedding raw quotes/newlines or extend the script to escape input to prevent malformed entries; (3) check sed portability (the script uses sed -i '' which is macOS-specific and may fail on some Linux systems) and ensure jq is installed; (4) set directory permissions if you’re on a multi-user system (e.g., chmod 700 ~/.agent-ledger) to prevent other users reading your ledger; (5) if you need stronger guarantees (encryption, integrity, network-backed backups), consider extending the tool or using a dedicated wallet/ledger service.
功能分析
Type: OpenClaw Skill Name: agent-ledger Version: 1.0.0 The agent-ledger skill is a legitimate utility for tracking tasks and earnings locally. It uses a bash script (scripts/ledger.sh) to manage a JSONL-based ledger and a configuration file in the user's home directory (~/.agent-ledger/). There is no evidence of data exfiltration, unauthorized network access, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description (agent earnings ledger) align with required binaries (bash, jq), storage in ~/.agent-ledger, and the provided CLI script. Nothing requested is extraneous to bookkeeping.
Instruction Scope
SKILL.md instructs running scripts/ledger.sh and storing data in ~/.agent-ledger (override via AGENT_LEDGER_DIR) — appropriate for the purpose. Minor implementation issues: user-supplied task descriptions are embedded into JSON without escaping (risk of malformed ledger lines if descriptions contain quotes/newlines). The script is local-only and does not transmit data externally.
Install Mechanism
This is instruction-only with an included bash script; there is no automated installer or external download. No networked install sources or archive extraction are used.
Credentials
No credentials, env vars, or config paths beyond an optional AGENT_LEDGER_DIR override are requested. The requested binaries (bash, jq) are appropriate.
Persistence & Privilege
Skill does not request always:true, does not modify other skills or system-wide settings, and only creates a per-user directory (~/.agent-ledger).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-ledger
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-ledger 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
agent-ledger 1.0.0 – Initial release - Track AI agent earnings, tasks, and payments. - Log completed work, check balances, view payment history, and generate invoices. - Supports both crypto (USDC/ETH) and fiat with running totals. - Command-line interface for adding, listing, and managing tasks and payments. - Data stored locally; export data as JSON or CSV. - Includes template for setting rate cards and wallet settings.
元数据
Slug agent-ledger
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Agent Ledger 是什么?

Track AI agent earnings, tasks, and payments. Use when logging completed work, checking balance, viewing payment history, or generating invoices. Supports cr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。

如何安装 Agent Ledger?

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

Agent Ledger 是免费的吗?

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

Agent Ledger 支持哪些平台?

Agent Ledger 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Ledger?

由 rogue-agent1(@rogue-agent1)开发并维护,当前版本 v1.0.0。

💬 留言讨论