简介
由个人开发者维护的非官方 Copilot Money 终端查询工具,支持账户余额、交易记录、净资产等数据本地快速获取,让财务管理更高效便捷。
原始描述
Query Copilot Money personal finance data (accounts, transactions, net worth, holdings, asset allocation) and refresh bank connections. Use when the user asks about finances, account balances, recent transactions, net worth, investment allocation, or wants to sync/refresh bank data.
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
中文使用说明 来自收录源
核心用法
copilot-money 是一个纯文档型 Skill,为用户提供 Copilot Money CLI 工具的使用指南。该 CLI 允许从终端查询个人账户余额、交易记录、净资产、投资持仓及资产配置等信息,并支持刷新银行连接。
主要命令:
copilot-money config init— 自动从浏览器检测或手动输入认证令牌copilot-money accounts— 查看账户及余额(支持按类型筛选、JSON 输出)copilot-money transactions— 查询近期交易(默认 20 条,可指定数量)copilot-money networth— 显示资产、负债及净资产copilot-money holdings— 投资持仓(可按账户/代码/类型分组)copilot-money allocation— 股票/债券及美国/国际配比copilot-money refresh— 同步刷新所有银行连接
认证机制: 配置存储于 ~/.config/copilot-money/config.json,macOS 支持从 Chrome/Arc/Safari/Firefox 自动提取 IndexedDB 中的刷新令牌,也可手动输入。
显著优点
- 终端原生体验:无需打开 App,快速查询财务快照,适合工程师和效率用户
- 灵活输出格式:支持表格和 JSON,便于脚本集成和数据处理
- 多维度视图:持仓可按账户、证券代码或资产类型分组,满足不同分析需求
- 一键刷新:批量同步所有银行连接,省去逐一手动操作的繁琐
- 透明度高:作者明确声明非官方工具,避免用户误解
潜在缺点与局限性
- 平台限制:浏览器令牌自动提取仅支持 macOS,其他系统需手动配置
- Python 依赖:需要 Python 3.10+ 环境,非技术用户配置门槛较高
- 非官方风险:CLI 工具由第三方开发,Copilot Money 官方可能随时更改 API 导致兼容性问题
- 安全责任边界:Skill 本身仅为文档,实际数据访问由外部 CLI 执行,本报告无法审查其完整实现
- 数据删除权待完善:认证报告指出数据删除权利支持状态为 warn,建议用户关注
适合人群
- 技术型个人理财用户:熟悉命令行操作,希望快速查询财务数据
- 自动化需求者:需要将财务数据导入自定义报表或脚本的用户
- 多账户管理者:拥有复杂投资组合,需要灵活分组查看持仓的用户
- macOS 用户:能充分利用浏览器令牌自动检测功能
不适合人群:
- 无技术背景、偏好图形界面的普通用户
- 对第三方工具安全性极度敏感的用户
- 非 macOS 且不愿手动配置令牌的用户
常规风险
| 风险类型 | 说明 | 缓解建议 |
|---|---|---|
| 第三方工具风险 | Skill 依赖外部 copilot-money-cli,其完整代码未在本审查范围内 |
从官方 PyPI 安装,验证签名,阅读源码和隐私政策 |
| 金融数据暴露 | CLI 访问敏感财务信息,令牌存储于本地配置文件 | 设置文件权限 chmod 600,避免在共享环境使用 |
| 浏览器数据读取 | 自动认证需读取浏览器 IndexedDB 存储 | 确认理解此行为,使用后定期检查令牌状态 |
| API 变更风险 | 非官方工具,官方 API 变更可能导致功能失效 | 关注项目更新动态,准备替代方案 |
| 令牌泄露 | 配置文件若被窃取可导致账户访问权限泄露 | 定期轮换令牌,不在版本控制中提交配置文件 |
技能正文
name: copilot-money description: Query Copilot Money personal finance data (accounts, transactions, net worth, holdings, asset allocation) and refresh bank connections. Use when the user asks about finances, account balances, recent transactions, net worth, investment allocation, or wants to sync/refresh bank data.
Copilot Money CLI
Command-line interface for Copilot Money, a personal finance app. Authenticate once and query accounts, transactions, holdings, and allocation data from your terminal.
Note: This is an unofficial tool and is not affiliated with Copilot Money.
Install
pip install copilot-money-cli
Quick start
copilot-money config init
copilot-money accounts
copilot-money networth
Commands
copilot-money refresh # Refresh all bank connections
copilot-money accounts # List accounts with balances
copilot-money accounts --type CREDIT # Filter by type
copilot-money accounts --json # Output as JSON
copilot-money transactions # Recent transactions (default 20)
copilot-money transactions --count 50 # Specify count
copilot-money networth # Assets, liabilities, net worth
copilot-money holdings # Investment holdings (grouped by type)
copilot-money holdings --group account # Group by account
copilot-money holdings --group symbol # Group by symbol
copilot-money holdings --type ETF # Filter by security type
copilot-money allocation # Stocks/bonds with US/Intl split
copilot-money config show # Show config and token status
copilot-money config init # Auto-detect token from browsers
copilot-money config init --source chrome # From specific browser
copilot-money config init --source manual # Manual token entry
Authentication
Config stored at ~/.config/copilot-money/config.json. The CLI auto-detects your Copilot Money refresh token from supported browsers on macOS.
- Auto-detect:
copilot-money config init - Explicit source:
copilot-money config init --source arc|chrome|safari|firefox - Manual entry:
copilot-money config init --source manual
When using browser auto-detection, the CLI reads your browser's local IndexedDB storage to find your Copilot Money session token. This happens locally — no data is sent anywhere except to Copilot Money's API.
Requirements
- Python 3.10+
- macOS for browser token extraction (manual token entry works everywhere)
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。