NEW Browse AI tools across categories — updated daily. See what's new →

Ledger

极简对话式记账。说"午饭 35"自动记账,支持查询今日/本月/年度/分类统计。

AuthorOutmanSay
Version1.0.0
LicenseMIT
Token count~411
UpdatedJun 5, 2026

Install

Quick install

via npx skills · works with 57+ agents
npx skills add https://github.com/OutmanSay/ledger-cli
Or pick agent:
npx skills add OutmanSay/ledger-cli --agent claude-code
npx skills add OutmanSay/ledger-cli --agent cursor
npx skills add OutmanSay/ledger-cli --agent codex
npx skills add OutmanSay/ledger-cli --agent opencode
npx skills add OutmanSay/ledger-cli --agent github-copilot
npx skills add OutmanSay/ledger-cli --agent windsurf
More install options

Shorthand — useful for multi-skill repos:

npx skills add OutmanSay/ledger-cli

Manual — clone the repo and drop the folder into your agent's skills directory:

git clone https://github.com/OutmanSay/ledger-cli.git
cp -r ledger-cli ~/.claude/skills/
How to use: Once installed, ask your agent to "use the ledger skill" or describe what you want (e.g. "极简对话式记账。说"午饭 35"自动记账,支持查询今日/本月/年度/分类统计。"). Requires Node.js 18+.

ledger

极简对话式记账。说"午饭 35"自动记账,支持查询今日/本月/年度/分类统计。

---
name: ledger
description: 极简对话式记账。说"午饭 35"自动记账,支持查询今日/本月/年度/分类统计。
homepage: https://github.com/OutmanSay/ledger-cli
metadata:
openclaw:
emoji: "💰"
requires:
bins: ["python3"]
install:


  • id: clone


kind: git
repo: https://github.com/OutmanSay/ledger-cli.git
label: "Clone ledger-cli"
---

ledger — 极简对话式记账

说"午饭 35"自动记账,SQLite 本地存储,数据完全可控。

安装

git clone https://github.com/OutmanSay/ledger-cli.git ~/.openclaw/workspace/skills/ledger

使用

记一笔

用户说类似以下内容时,自动记账:

  • "午饭 35"
  • "打车 18"
  • "老婆买衣服 299"
  • "停车费 15"
  • "买水果 25"

执行:

python3 ~/.openclaw/workspace/skills/ledger/ledger_tool.py add --amount 金额 --category 分类 --note "备注"

分类映射

| 用户说的 | 自动归类 |
|---------|---------|
| 吃饭/午饭/早饭/晚饭/外卖/咖啡/奶茶/零食/水果 | 食品酒水 |
| 打车/地铁/公交/停车/加油 | 行车交通 |
| 买东西/超市/日用 | 居家物业 |
| 玩/电影/旅游 | 休闲娱乐 |
| 老婆/孩子/送礼/红包 | 人情往来 |
| 看病/药/体检 | 医疗保健 |
| 衣服/鞋 | 衣服饰品 |
| 话费/网费 | 交流通讯 |
| 数码/订阅 | 学习进修 |

查询

| 用户说的 | 执行 |
|---------|------|
| "今天花了多少" | ledger_tool.py today |
| "本月花了多少" | ledger_tool.py month |
| "上个月花了多少" | ledger_tool.py month 2026-03 |
| "最近花了什么" | ledger_tool.py recent |
| "本月吃饭花了多少" | ledger_tool.py category 餐饮 |
| "搜一下奶茶" | ledger_tool.py search 奶茶 |
| "本月统计" | ledger_tool.py stats |
| "今年花了多少" | ledger_tool.py year |

规则

  1. 用户说的数字就是金额,不需要确认,直接记
  2. 记完告诉用户:记了什么分类、多少钱
  3. 如果用户没说分类只说了金额,问一句"这笔是什么消费?"
  4. 数据库位置:和 ledger_tool.py 同目录下的 ledger.db

---

Source: https://github.com/OutmanSay/ledger-cli
Author: OutmanSay
Discovered via: skillsdirectory.com
Genre: tools

SKILL.md source

---
name: ledger
description: 极简对话式记账。说"午饭 35"自动记账,支持查询今日/本月/年度/分类统计。
---

# ledger

极简对话式记账。说"午饭 35"自动记账,支持查询今日/本月/年度/分类统计。

---
name: ledger
description: 极简对话式记账。说"午饭 35"自动记账,支持查询今日/本月/年度/分类统计。
homepage: https://github.com/OutmanSay/ledger-cli
metadata:
  openclaw:
    emoji: "💰"
    requires:
      bins: ["python3"]
    install:
      - id: clone
        kind: git
        repo: https://github.com/OutmanSay/ledger-cli.git
        label: "Clone ledger-cli"
---

# ledger — 极简对话式记账

说"午饭 35"自动记账,SQLite 本地存储,数据完全可控。

## 安装

```bash
git clone https://github.com/OutmanSay/ledger-cli.git ~/.openclaw/workspace/skills/ledger
```

## 使用

### 记一笔

用户说类似以下内容时,自动记账:

- "午饭 35"
- "打车 18"
- "老婆买衣服 299"
- "停车费 15"
- "买水果 25"

执行:
```bash
python3 ~/.openclaw/workspace/skills/ledger/ledger_tool.py add --amount 金额 --category 分类 --note "备注"
```

### 分类映射

| 用户说的 | 自动归类 |
|---------|---------|
| 吃饭/午饭/早饭/晚饭/外卖/咖啡/奶茶/零食/水果 | 食品酒水 |
| 打车/地铁/公交/停车/加油 | 行车交通 |
| 买东西/超市/日用 | 居家物业 |
| 玩/电影/旅游 | 休闲娱乐 |
| 老婆/孩子/送礼/红包 | 人情往来 |
| 看病/药/体检 | 医疗保健 |
| 衣服/鞋 | 衣服饰品 |
| 话费/网费 | 交流通讯 |
| 数码/订阅 | 学习进修 |

### 查询

| 用户说的 | 执行 |
|---------|------|
| "今天花了多少" | `ledger_tool.py today` |
| "本月花了多少" | `ledger_tool.py month` |
| "上个月花了多少" | `ledger_tool.py month 2026-03` |
| "最近花了什么" | `ledger_tool.py recent` |
| "本月吃饭花了多少" | `ledger_tool.py category 餐饮` |
| "搜一下奶茶" | `ledger_tool.py search 奶茶` |
| "本月统计" | `ledger_tool.py stats` |
| "今年花了多少" | `ledger_tool.py year` |

### 规则

1. 用户说的数字就是金额,不需要确认,直接记
2. 记完告诉用户:记了什么分类、多少钱
3. 如果用户没说分类只说了金额,问一句"这笔是什么消费?"
4. 数据库位置:和 `ledger_tool.py` 同目录下的 `ledger.db`


---

**Source**: https://github.com/OutmanSay/ledger-cli
**Author**: OutmanSay
**Discovered via**: skillsdirectory.com
**Genre**: tools

Related skills 6

caveman

★ Featured

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

juliusbrussee 167k
Development

secure-linux-web-hosting

★ Featured

Use when setting up, hardening, or reviewing a cloud server for self-hosting, including DNS, SSH, firewalls, Nginx, static-site hosting, reverse-proxying an app, HTTPS with Let's Encrypt or ACME clients, safe HTTP-to-HTTPS redirects, or optional post-launch network tuning such as BBR.

xixu-me 155k
Development

readme-i18n

★ Featured

Use when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized README variants in a GitHub-style repository.

xixu-me 155k
Development

lark-shared

★ Featured

Use when first setting up lark-cli, running auth login, switching user/bot identity (--as), handling permission denied or scope errors, needing to update lark-cli, or seeing _notice in JSON output.

larksuite 155k
Development

improve-codebase-architecture

★ Featured

Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.

mattpocock 151k
Development

paper-context-resolver

★ Featured

Optional RigorPilot helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacin...

lllllllama 127k
Development