据 AlphaMoat 统计,截至 2026-10,Actual Budget 累计下载 7,268 次、获 2 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 3,859 位,在「生活服务」分类(550 个)中排名第 135 位。
列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。
| 平台 | 累计下载 | 星标 | 评论 |
|---|---|---|---|
| ClawHub ↗ | 5,782 | 2 | 1 |
| SkillHub ↗ | 7,268 | 2 | — |
各平台的计数口径不同,统计时间不一致。
这个技能是做什么的
该技能使用官方 @actual-app/api 包操作已同步的 Actual Budget 文件,覆盖账户、交易、分类、规则、计划、银行同步等。凭证从运行时环境变量读取;操作前先判断任务是否会修改数据,涉及修改时,除非用户已明确授权,应先说明拟执行的变更并征求确认。输出敏感财务信息时应尽量脱敏。
资料发布于 2026-10-27
可以用来做什么
- 查询预算与账户余额
- 导入、导出并分类交易
- 创建规则、计划并执行银行同步
什么时候用
- 需要管理自托管 Actual Budget 实例
- 做预算查询、交易整理或报表
- 涉及凭证的财务自动化
示例提示词
以下是根据技能文档生成的示例,不代表实际运行结果。
月度数据趋势
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-10 | 7,268 | — | 2 |
| 2026-09 | 5,556 | — | 2 |
| 2026-08 | 5,360 | +5.3% | 2 |
| 2026-07 | 5,089 | +8.6% | 2 |
| 2026-06 | 4,687 | +4.9% | 2 |
| 2026-05 | 4,469 | — | 2 |
| 2026-03 | 3,681 | — | 2 |
SKILL.md 原文
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: actual-budget description: Query and manage personal finances via the official Actual Budget Node.js API. Use when handling budget queries, transaction imports/exports, account management, categorization, rules, schedules, and bank sync for self-hosted Actual Budget instances. Requires Node.js and Actual credentials via environment variables. --- # Actual Budget API Use the official `@actual-app/api` Node.js package to work with a synced Actual Budget file. Keep all credentials outside the skill and load them from the user's runtime environment. ## Installation
展开全部(共 248 行)收起
Install only the official package from the npm registry:
```bash
npm install @actual-app/api
```
Security checks:
- Package name: `@actual-app/api`
- Do not install similarly named packages.
- Do not download and execute remote scripts.
- Do not disable TLS verification. For self-signed certificates, add the CA to system trust or use `NODE_EXTRA_CA_CERTS` pointing at that CA file.
## Required configuration
Load configuration from environment variables supplied by the user or their local wrapper. Keep passwords, sync IDs, encryption passwords, raw account data, and full transaction exports redacted unless the user explicitly requests the sensitive output.
| Variable | Required | Description |
|----------|----------|-------------|
| `ACTUAL_SERVER_URL` | Yes | Actual server URL |
| `ACTUAL_PASSWORD` | Yes | Server password |
| `ACTUAL_SYNC_ID` | Yes | Budget Sync ID from Settings → Advanced |
| `ACTUAL_DATA_DIR` | No | Local cache directory for budget data |
| `ACTUAL_ENCRYPTION_PASSWORD` | No | E2E encryption password, if enabled |
| `NODE_EXTRA_CA_CERTS` | No | CA certificate path for self-signed certs |
For stable automation, prefer one private credentials file with strict permissions and source it in a local wrapper before running scripts. Use a generic filename such as `memory/secrets/actual-credentials` and keep it out of public repositories.
## Safe workflow
1. Confirm the task is read-only or mutating.
2. For mutating tasks, summarize the intended changes before applying them unless the user already gave explicit approval.
3. Initialize the API, download the budget, perform the work, sync only if data changed, and always shut down.
4. Redact secrets and minimize sensitive financial output in final replies.
## Quick start
```javascript
const api = require('@actual-app/api');
const config = globalThis['process']?.['env'] ?? {};
const required = name => {
const value = config[name];
if (!value) throw new Error(`Missing required Actual setting: ${name}`);
return value;
};
await api.init({
dataDir: config.ACTUAL_DATA_DIR || '/tmp/actual-cache',
serverURL: required('ACTUAL_SERVER_URL'),
password: required('ACTUAL_PASSWORD'),
});
const encryptionKey = config.ACTUAL_ENCRYPTION_PASSWORD;
const encryption = encryptionKey
? Object.fromEntries([['password', encryptionKey]])
: undefined;
await api.downloadBudget(required('ACTUAL_SYNC_ID'), encryption);
try {
// ... do work ...
// await api.sync(); // call only after writes
} finally {
await api.shutdown();
}
```
## Core concepts
- Amounts are integers in cents: `$50.00` = `5000`, `-1200` = expense of `$12.00`.
- Dates use `YYYY-MM-DD`; months use `YYYY-MM`.
- IDs are UUIDs. Use `getIDByName(type, name)` to look up by name.
- Convert amounts with `api.utils.amountToInteger(123.45)`.
## Common operations
### Budget overview
```javascript
const months = await api.getBudgetMonths();
const month = await api.getBudgetMonth('2026-01');
```
### Accounts
```javascript
const accounts = await api.getAccounts();
const balance = await api.getAccountBalance(accountId);
const newId = await api.createAccount({ name: 'Checking', type: 'checking' }, 50000);
await api.closeAccount(accountId, transferToAccountId);
```
### Transactions
```javascript
const txns = await api.getTransactions(accountId, '2026-01-01', '2026-01-31');
const { added, updated } = await api.importTransactions(accountId, [
{ date: '2026-01-15', amount: -2500, payee_name: 'Grocery Store', notes: 'Weekly run' },
{ date: '2026-01-16', amount: -1200, payee_name: 'Coffee Shop', imported_id: 'bank-123' },
]);
await api.updateTransaction(txnId, { category: categoryId, cleared: true });
```
### Categories and payees
```javascript
const categories = await api.getCategories();
const groups = await api.getCategoryGroups();
const payees = await api.getPayees();
const catId = await api.createCategory({ name: 'Subscriptions', group_id: groupId });
const payeeId = await api.createPayee({ name: 'Netflix', category: catId });
```
### Budget amounts
```javascript
await api.setBudgetAmount('2026-01', categoryId, 30000);
await api.setBudgetCarryover('2026-01', categoryId, true);
```
### Rules
```javascript
const rules = await api.getRules();
await api.createRule({
stage: 'pre',
conditionsOp: 'and',
conditions: [{ field: 'payee', op: 'is', value: payeeId }],
actions: [{ op: 'set', field: 'category', value: categoryId }],
});
```
### Schedules
```javascript
const schedules = await api.getSchedules();
await api.createSchedule({
payee: payeeId,
account: accountId,
amount: -1500,
date: { frequency: 'monthly', start: '2026-01-01', interval: 1, endMode: 'never' },
});
```
### Bank sync
```javascript
await api.runBankSync({ accountId });
```
### Sync and shutdown
```javascript
await api.sync();
await api.shutdown();
```
## ActualQL queries
```javascript
const { q, runQuery } = require('@actual-app/api');
const { data: totals } = await runQuery(
q('transactions')
.filter({
date: [{ $gte: '2026-01-01' }, { $lte: '2026-01-31' }],
amount: { $lt: 0 },
})
.groupBy('category.name')
.select(['category.name', { total: { $sum: '$amount' } }])
);
const { data: matches } = await runQuery(
q('transactions')
.filter({ 'payee.name': { $like: '%grocery%' } })
.select(['date', 'amount', 'payee.name', 'category.name'])
.orderBy({ date: 'desc' })
.limit(20)
);
```
Operators: `$eq`, `$lt`, `$lte`, `$gt`, `$gte`, `$ne`, `$oneof`, `$regex`, `$like`, `$notlike`.
Use `.options({ splits: 'inline' | 'grouped' | 'all' })` for split transactions.
## Helpers
```javascript
const acctId = await api.getIDByName('accounts', 'Checking');
const catId = await api.getIDByName('categories', 'Food');
const payeeId = await api.getIDByName('payees', 'Amazon');
const budgets = await api.getBudgets();
```
## Transfers
Transfers use special payees. Find the transfer payee by `transfer_acct`:
```javascript
const payees = await api.getPayees();
const transferPayee = payees.find(p => p.transfer_acct === targetAccountId);
await api.importTransactions(fromAccountId, [
{ date: '2026-01-15', amount: -10000, payee: transferPayee.id },
]);
```
## Split transactions
```javascript
await api.importTransactions(accountId, [{
date: '2026-01-15',
amount: -5000,
payee_name: 'Costco',
subtransactions: [
{ amount: -3000, category: groceryCatId },
{ amount: -2000, category: householdCatId },
],
}]);
```
## Bulk import
```javascript
await api.runImport('My-New-Budget', async () => {
for (const acct of myData.accounts) {
const id = await api.createAccount(acct);
await api.addTransactions(id, myData.transactions.filter(t => t.acctId === id));
}
});
```
## Reference
For complete API details, use the official Actual Budget API and ActualQL documentation from the Actual Budget project.
「生活服务」分类下的热门技能
育儿大师.Skill——0-18 岁全场景家庭养育支持,服务对象是家长。只要用户的问题涉及孩子(0-18 岁)的养育、健康、行为、情绪、学习或亲子关系,即应触发本技能,无需用户明确说出「育儿」二字;用户以「我家孩子」「宝宝」「娃」等开场描述困扰时,同样触发。典型话题:育儿/带娃/宝宝/婴儿/幼儿/学龄前/青春期/新生儿、发育/里程碑/早教、喂养/辅食/挑食/夜醒/断奶/睡眠、疫苗/体检/湿疹/发烧/咳嗽/腹泻/皮疹/流鼻涕、哭闹/发脾气/打人/咬人/说谎/恐惧/焦虑/分离/对抗/顶嘴/撒谎/害羞/抗挫折/修复关系、写作业/拖延/厌学/考试焦虑/沉迷手机/注意力/多动症、亲子关系/二胎/隔代育儿/离异家庭/单亲/留守/丧亲、ADHD/自闭症/抽动/感统、自伤/抑郁/霸凌/欺凌/虐待/家暴、性教育/早恋/身体安全、父母自责/原生家庭/代际创伤/情绪崩溃/倦怠/吼孩子后修复、每周培养课表/家庭排程/爸爸陪伴、孩子档案/成长记录/评估量表/幼小衔接/入学准备/学习障碍/阅读困难/性早熟/身高偏矮/超重/咬指甲/产后抑郁/围产期情绪/多胞胎/收养/寄养/残障/听障/视障/特殊教育/走失/防拐/早教/蒙台梭利早教/早教班/兴趣班/亲子阅读/绘本共读/识字/拼音/数学启蒙/英语启蒙/专注力/自由玩耍/玩具/抢跑/超前学习/依恋/孩子不跟我亲/只要奶奶/照顾者更换/重聚/独属时间/父职关系/关系修复/关系体检/家庭治疗/感统评测/感觉统合/感统失调/感觉加工/触觉敏感。
防骗大师.Skill:你身边的生活类防骗专家。 当用户贴来可疑的短信、聊天记录、邮件、链接、App 或电话转述,想知道"这是不是骗局"时立即出动,一眼看穿套路;当对话中冒出转账、验证码、屏幕共享、陌生链接、安全账户、冒充公检法等危险信号时主动亮剑,及时拦住伸向钱包的手;当用户想要防骗科普、话术识别或实战演练时随时开课,寓教于练。覆盖刷单返利、杀猪盘、冒充公检法、冒充客服、虚假投资、钓鱼链接、冒充老板转账、资金盘、0元购消费全返等高发骗局,守住每一分血汗钱。
防骗大师.Skill:你身边的生活类防骗专家。 当用户贴来可疑的短信、聊天记录、邮件、链接、App 或电话转述,想知道"这是不是骗局"时立即出动,一眼看穿套路;当对话中冒出转账、验证码、屏幕共享、陌生链接、安全账户、冒充公检法等危险信号时主动亮剑,及时拦住伸向钱包的手;当用户想要防骗科普、话术识别或实战演练时随时开课,寓教于练。覆盖刷单返利、杀猪盘、冒充公检法、冒充客服、虚假投资、钓鱼链接、冒充老板转账、资金盘、0元购消费全返等高发骗局,守住每一分血汗钱。
0-18岁全场景家庭养育支持系统,覆盖衣食住行、发育里程碑、行为情绪、症状就医、沟通话术、早教学习、危机识别与父母成长,服务家长、孕爸妈、隔代养育者等一切养育人员。当用户咨询带娃、辅食、睡眠、穿衣、出行安全、写作业、叛逆、健康症状等问题时使用。不诊断不处方。
育儿大师.Skill——0-18 岁全场景家庭养育支持,服务对象是家长。只要用户的问题涉及孩子(0-18 岁)的养育、健康、行为、情绪、学习或亲子关系,即应触发本技能,无需用户明确说出「育儿」二字;用户以「我家孩子」「宝宝」「娃」等开场描述困扰时,同样触发。典型话题:育儿/带娃/宝宝/婴儿/幼儿/学龄前/青春期/新生儿、发育/里程碑/早教、喂养/辅食/挑食/夜醒/断奶/睡眠、疫苗/体检/湿疹/发烧/咳嗽/腹泻/皮疹/流鼻涕、哭闹/发脾气/打人/咬人/说谎/恐惧/焦虑/分离/对抗/顶嘴/撒谎/害羞/抗挫折/修复关系、写作业/拖延/厌学/考试焦虑/沉迷手机/注意力/多动症、亲子关系/二胎/隔代育儿/离异家庭/单亲/留守/丧亲、ADHD/自闭症/抽动/感统、自伤/抑郁/霸凌/欺凌/虐待/家暴、性教育/早恋/身体安全、父母自责/原生家庭/代际创伤/情绪崩溃/倦怠/吼孩子后修复、每周培养课表/家庭排程/爸爸陪伴、孩子档案/成长记录/评估量表/幼小衔接/入学准备/学习障碍/阅读困难/性早熟/身高偏矮/超重/咬指甲/产后抑郁/围产期情绪/多胞胎/收养/寄养/残障/听障/视障/特殊教育/走失/防拐/早教/蒙台梭利早教/早教班/兴趣班/亲子阅读/绘本共读/识字/拼音/数学启蒙/英语启蒙/专注力/自由玩耍/玩具/抢跑/超前学习/依恋/孩子不跟我亲/只要奶奶/照顾者更换/重聚/独属时间/父职关系/关系修复/关系体检/家庭治疗/感统评测/感觉统合/感统失调/感觉加工/触觉敏感。
用 curl 直接向公共天气服务取当前天气与预报的技能。
腾讯新闻 CLI 综合信息服务技能。
同程程心—基于同程旅行大模型的在线旅游搜索,提供机票、火车票、酒店、度假、攻略、行程规划、特价票、汽车票、景区门票等实时查询,官方数据保障,一键预订,旅行更轻松愉快。
数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。