Overview
- Skill Key
- c-goro/agentledger
- Author
- c-goro
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/c-goro/agentledger
- Latest Commit SHA
- d8afbcf7314e9f05966783cda4d645c1cb3d9995
Expense tracking and accounting for AI agents. Log purchases, set budgets, generate spending reports, and manage multi-currency finances — all stored locally. Privacy.com card import, natural language queries, CSV/JSON export. Use when agents make purchases and need a financial audit trail.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 agentledger 技能。 若已安装,则直接安装 agentledger 技能。
# AgentLedger - AI Agent Expense Tracking
## Overview
AgentLedger is an accounting skill that logs every transaction you make, tracks spending across multiple accounts, and provides detailed reports. Use this to maintain a complete financial record of your purchases.
**Important**: Always log transactions immediately after making purchases. This skill is designed for AI agents to track their own expenses (API costs, tool subscriptions, etc.).
## Core Functions
### 1. Log a Transaction
When you make any purchase, immediately log it:
```javascript
// In Node.js context, require the ledger
const AgentLedger = require('./src/ledger.js');
const ledger = new AgentLedger();
// Log a transaction
await ledger.logTransaction({
amount: 29.99,
currency: 'USD',
vendor: 'OpenAI',
description: 'GPT-4 API credits',
category: 'API/Services',
account: 'privacy-card-1',
context: 'Needed additional tokens for user project analysis',
receiptUrl: 'https://platform.openai.com/receipts/xyz',
confirmationId: 'sub_1234567890'
});
```
**CLI Usage** (supports both positional and named parameters):
```bash
# Positional style
node src/cli.js log 29.99 "OpenAI" "GPT-4 API credits" --category="API/Services"
# Named parameter style
node src/cli.js log --amount=29.99 --vendor="OpenAI" --description="GPT-4 API credits" --category="API/Services" --context="Monthly API refill"
```
### 2. Check Current Spending
```javascript
// Get spending summary
const summary = await ledger.getSummary('this-month');
console.log(`Total spent this month: $${summary.total}`);
// Check specific category
const apiSpending = await ledger.getCategorySpending('API/Services', 'this-month');
```
### 3. Generate Reports
```javascript
// Monthly report
const report = await ledger.generateReport('monthly', { month: '2024-01' });
// Custom date range
const customReport = await ledger.generateReport('custom', {
startDate: '2024-01-01',
endDate: '2024-01-31'
});
```
### 4. Budget Management
```ja...
# AgentLedger **AI Agent Expense Tracking & Accounting for OpenClaw** AgentLedger is a comprehensive expense tracking skill that helps AI agents maintain detailed financial records of purchases and spending. Perfect for tracking API costs, subscription services, infrastructure expenses, and any other purchases made by AI agents. ## 🌟 Features ### Core Functionality - **Transaction Logging** - Log every purchase with amount, vendor, description, category, and context - **Multi-Currency Support** - Track spending in different currencies - **Account Management** - Manage multiple payment methods and cards - **Budget Tracking** - Set spending limits and get alerts when approaching them - **Natural Language Queries** - Ask questions like "How much did I spend on API keys this month?" - **Detailed Reports** - Generate monthly, category, vendor, and trend reports - **Data Export** - Export transactions to CSV or JSON formats - **Receipt Storage** - Store receipt URLs and confirmation numbers ### Categories Pre-defined spending categories for consistent tracking: - **API/Services** - API credits, SaaS subscriptions - **Infrastructure** - Hosting, domains, CDN - **Marketing** - Advertising, social media tools - **Tools** - Software licenses, utilities - **Subscriptions** - Recurring services - **Other** - Miscellaneous expenses ### Smart Features - **Privacy.com Integration** - Import transactions from Privacy card exports - **Budget Alerts** - Automatic warnings when approaching spending limits - **Trend Analysis** - Track spending patterns over time - **Vendor Analysis** - See spending patterns by vendor - **Time Period Filtering** - Support for natural language time periods ## 🚀 Quick Start ### Installation ```bash # Clone or copy the skill to your workspace cp -r agentledger /home/claw/.openclaw/workspace/ # Initialize the ledger cd /home/claw/.openclaw/workspace/agentledger node src/cli.js init ``` ### Basic Usage #### Log a Transaction ```bash # Command...
0xnyk
X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
jackculpan
Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.
openclaw-trade
openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime monitoring and news research, gather info from private insiders and many other! Using Hyperliquid API.
xquik-dev
X (Twitter) automation skill for AI coding agents. Tweet search, user lookup, follower/following extraction, media download, reply/retweet/quote extraction, 40+ tools, account monitoring & trending topics. REST API, MCP server, HMAC webhooks. Works with Claude Code, Cursor, Codex, Copilot, Windsurf & 40+ agents.
mohsinkhadim59
Step-by-step guides for installing and running OpenClaw, an open-source AI agent, on Mac, Linux VPS, and AWS covering setup, security, messaging channels, Google integration, skills, and monitoring.