Todo Spend Tracker
БесплатноЗапускает вложенные скриптыНе проверенKeep the user's to-do list and spending ledger from what they say out loud. The javis-server dispatcher runs this skill once for every completed recording or…
от samuel-wei303 установки в других каталогахОб этом скилле
To-dos & Spending
Turn the to-dos and purchases the user says out loud into pending cards, and answer "what's on my list?" and "what did I spend this month?" with exact numbers.
Rows live in skill_data (skill=todo-spend-tracker) with three types: ledger_task
(a to-do), ledger_expense (a purchase) and ledger_done (a to-do is finished). Every
row the skill writes is pending; the user taps Confirm (it counts) or Discard (it is
deleted) in the HiJavis app. Only confirmed rows count.
When to run
- Dispatcher run (automatic). After a recording or keyboard unit completes, the
server runs this skill with a prompt like
Run /javis-todo-spend-tracker for <unit>.(the unit isaudio:<id>orkbd:<id>) plus aUNIT CONTEXTblock (transcript,reference_date,tz,source_ref,source_kind). Do the extraction below. If the unit holds nothing to record, do nothing: no push, no reply. - Chat question. "What's on my list?", "what's still on my to-do list", "what did I spend this month?", "how much on food in October?", "我的待办", "这个月花了多少" — run the counting script (see "Answering in chat") and reply.
Core commands
# Step 1 — the open to-dos a "done" may name, plus today's local date
node scripts/todo-spend-tracker.js fetch-open
# Step 3 — write the extracted rows (pending) to /api/skill/data.
# Save the extraction JSON to a file with your file tool, then:
node scripts/todo-spend-tracker.js push --file /tmp/ledger-extraction.json
# or pass it in a QUOTED heredoc (the quotes around the delimiter matter):
node scripts/todo-spend-tracker.js push <<'JAVIS_LEDGER_JSON'
{ ...extraction JSON... }
JAVIS_LEDGER_JSON
# Chat — the counting script (the agent copies its numbers)
node scripts/ledger.js todos
node scripts/ledger.js spending # this month
node scripts/ledger.js spending --month 2026-10 # a given month
# add --json for the raw numbers
Dispatcher run: workflow
Fetch the open to-dos. Run
fetch-open. It prints{ reference_date, tz, open: [{ dedup_key, item, since }], source }. A "done" may only name one of thesededup_keys. Ifsourceisunavailable, the server refused the read:openis empty, so record no "done" this run (to-dos and purchases still go in).Extract from the
UNIT CONTEXTtranscript (the user's words;reference_dateis the unit's local day). Produce one JSON object:{ "source_ref": "<UNIT CONTEXT source_ref, else the unit id>", "unit": "<the unit from the run prompt, e.g. audio:6f1c… or kbd:123>", "source_kind": "audio", "reference_date": "<UNIT CONTEXT reference_date>", "tasks": [{ "item": "Call the bank about my card", "quote": "I need to call the bank tomorrow about my card" }], "expenses": [{ "item": "lunch", "amount": 12, "currency": "USD", "category": "Food & drink", "quote": "Just paid twelve dollars for lunch" }], "dones": [{ "task_key": "<an open dedup_key from fetch-open, verbatim>", "quote": "OK, I finally called the bank" }] }Leave an array empty when there is nothing of that kind. If all three are empty, stop: do not push.
Push. Give the object to
pushwith--file <path>or a quoted heredoc (<<'JAVIS_LEDGER_JSON'). Never useecho '…' |: the quotes are the user's own words, and an apostrophe ("I'll", "don't") would break the command.unitis required for a keyboard unit (itssource_refis shared by everything typed that day).pushvalidates every row, builds the dedup keys (task:<source_ref>:<hash>,exp:<source_ref>:<hash>,done:<task_key>:<source_ref>), setsstart_atto the local day at 00:00, and writes the rows as pending. It prints what it wrote and what it dropped. Running it again for the same unit adds no rows.
Extraction rules
Record only things about the user's own life that the user states. When unsure, leave it out: a missed card costs less than a wrong one.
- Whose words. Only statements in the first person count ("I need to…", "I paid…",
"我得…", "我刚花了…"). Recordings label speakers
speaker_0,speaker_1, …; no label is known to be the user, so treat everyspeaker_Nlabel as unknown and rely on the first-person rule. A keyboard unit (source_kind: keyboard) is always the user. - Skip other people's items. "Alex will order the rain barrel", "Sam paid forty dollars for the pizza", "you should call your mom" → nothing.
- to-do (
tasks): something the user commits to do ("I need to", "I have to", "I'll", "remind me to", "我要", "我得").item= the task in a few words, in the user's language. Skip musing and maybes ("I should probably clean the garage someday, maybe"). - Timed events are not to-dos. Anything with a date and time to attend ("dentist
Tuesday at 3pm", "dinner Saturday at 7") is left to
calendar-extractor; record nothing for it here. - purchase (
expenses): money
Установить Todo Spend Tracker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Todo Spend Tracker?
Keep the user's to-do list and spending ledger from what they say out loud. The javis-server dispatcher runs this skill once for every completed recording or keyboard unit; the skill reads the open to-dos, extracts the user's own to-dos, purchases and "done" statements, and writes them as PENDING cards the user confirms or discards. In chat it answers "what's on my list" and "what did I spend this month" by running its counting script. Triggers — "what's on my list", "my to-dos", "what did I spend this month", "spending this month", "待办", "这个月花了多少".
Как установить скилл Todo Spend Tracker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Todo Spend Tracker запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic