cli-anything-firefly-iii
Skill này làm gì
Skill này cho phép agent quản lý tài chính cá nhân trong Firefly III, một công cụ tài chính bạn tự chạy. Nó dành cho người theo dõi chi tiêu và ngân sách của chính mình.
Khi nào nên dùng
- ✓Khi bạn muốn ghi lại hoặc xem lại giao dịch trong tài khoản Firefly III.
- ✓Khi bạn muốn kiểm tra hoặc cập nhật ngân sách.
- ✓Khi bạn muốn xem hoặc quản lý hóa đơn và danh mục.
Liên kết skill
https://github.com/HKUDS/CLI-Anything/blob/main/firefly-iii/agent-harness/cli_anything/firefly_iii/skills/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Cho tôi xem các giao dịch trong tháng này và tôi còn bao nhiêu ngân sách.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kết nối với instance Firefly III của bạn bằng token truy cập cá nhân và gọi API của nó để lấy tài khoản, giao dịch, ngân sách và các bản ghi khác. Nó hoạt động mà không cần ứng dụng đồ họa.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Firefly III CLI
Firefly III command-line interface based on CLI-Anything specification. Converts MCP mode to stateless CLI mode to avoid Node residual process issues.
Installation
pip install cli-anything-firefly-iii
Prerequisites
- Python 3.10+
- Running Firefly III instance
- Personal Access Token (PAT)
Configuration
Environment Variables (Recommended)
export FIREFLY_III_BASE_URL="https://firefly.yourdomain.com"
export FIREFLY_III_PAT="your-personal-access-token"
Command Line Arguments
cli-anything-firefly-iii --base-url https://firefly.yourdomain.com --pat your-token
Command Groups
| Command Group | Description | Corresponding API |
|---|---|---|
accounts |
Account management (CRUD) | /api/v1/accounts |
transactions |
Transaction management (CRUD) | /api/v1/transactions |
budgets |
Budget management (CRUD + limits) | /api/v1/budgets |
categories |
Category management (CRUD) | /api/v1/categories |
tags |
Tag management (CRUD) | /api/v1/tags |
bills |
Bill management (CRUD) | /api/v1/bills |
piggy-banks |
Piggy bank management (CRUD + events) | /api/v1/piggy-banks |
autocomplete |
Autocomplete for various entities | /api/v1/autocomplete/* |
currencies |
Currency management (CRUD) | /api/v1/currencies |
recurrences |
Recurring transaction management (CRUD) | /api/v1/recurrences |
rules |
Rule management (CRUD + test/execute) | /api/v1/rules |
rule-groups |
Rule group management (CRUD + execute) | /api/v1/rule-groups |
summary |
Financial summaries | /api/v1/summary/* |
webhooks |
Webhook management (CRUD + trigger) | /api/v1/webhooks |
insights |
Insights and reports | /api/v1/insight/* |
search |
Search | /api/v1/search/* |
export |
Data export | /api/v1/data/export/* |
info |
System information | /api/v1/about |
Usage Examples
Account Management
# List all accounts
cli-anything-firefly-iii --json accounts list
# List asset accounts
cli-anything-firefly-iii --json accounts list --type asset
# Get account details
cli-anything-firefly-iii --json accounts get --id 123
# Create account
cli-anything-firefly-iii --json accounts create --name "Cash" --type asset --currency-code USD
# Update account
cli-anything-firefly-iii --json accounts update --id 123 --name "New Name"
# Delete account
cli-anything-firefly-iii accounts delete --id 123
Transaction Management
# List transactions
cli-anything-firefly-iii --json transactions list --limit 10
# List transactions with date range
cli-anything-firefly-iii --json transactions list --start 2024-01-01 --end 2024-01-31
# Create transaction
cli-anything-firefly-iii --json transactions create \
--description "Grocery" \
--amount 50.00 \
--source-account 1 \
--category "Food"
# Update transaction
cli-anything-firefly-iii --json transactions update --id 456 --description "Updated"
# Delete transaction
cli-anything-firefly-iii transactions delete --id 456
Budget Management
# List budgets
cli-anything-firefly-iii --json budgets list
# Get budget details
cli-anything-firefly-iii --json budgets get --id 1
# Create budget
cli-anything-firefly-iii --json budgets create --name "Monthly Budget"
# Update budget
cli-anything-firefly-iii --json budgets update --id 1 --name "New Budget Name"
# Delete budget
cli-anything-firefly-iii budgets delete --id 1
# List budget limits
cli-anything-firefly-iii --json budgets limits --budget-id 1
# Create budget limit
cli-anything-firefly-iii --json budgets limit-create --budget-id 1 --amount 1000 --start 2024-01-01 --end 2024-01-31
# Update budget limit
cli-anything-firefly-iii --json budgets limit-update --id 1 --amount 1500
# Delete budget limit
cli-anything-firefly-iii budgets limit-delete --id 1
Category Management
# List categories
cli-anything-firefly-iii --json categories list
# Get category
cli-anything-firefly-iii --json categories get --id 1
# Create category
cli-anything-firefly-iii --json categories create --name "Food"
# Update category
cli-anything-firefly-iii --json categories update --id 1 --name "Food & Dining"
# Delete category
cli-anything-firefly-iii categories delete --id 1
Tag Management
# List tags
cli-anything-firefly-iii --json tags list
# Get tag
cli-anything-firefly-iii --json tags get --id "uuid-here"
#
Câu hỏi thường gặp
Tôi cần gì để kết nối?
Bạn cần địa chỉ web Firefly III và một token truy cập cá nhân.
Nó có thay đổi bản ghi của tôi không?
Có, nó hỗ trợ tạo, cập nhật và xóa tài khoản, giao dịch và các bản ghi khác.
Token nên đặt ở đâu?
Skill có thể đọc địa chỉ và token từ biến môi trường, đây là cách thiết lập được khuyến nghị.
Chi tiết
Mô tả gốc của tác giả
Firefly III CLI - Personal finance management via CLI-Anything
repo: HKUDS/CLI-Anything
Độ phổ biến
- Sao GitHub
- 58k
- Vị trí xếp hạng
- #3205
- Giấy phép
- Apache-2.0
- Cập nhật
- 21/9/2026
Bình luận
- …
Thêm skill từ kho mã này
cli-anything-3mf
58kCho phép agent của bạn kiểm tra và sửa file in 3D, gồm tìm lỗ tròn, đổi kích thước chúng, sửa lưới và so sánh hai file.
cli-anything-qgis
58kCho phép agent của bạn mở, sửa và xuất dự án bản đồ QGIS từ terminal, gồm các lớp, đối tượng, bố cục in và công cụ xử lý.
cli-anything-adguardhome
58kCho phép agent của bạn quản lý AdGuard Home, một bộ chặn quảng cáo toàn mạng, gồm bộ lọc, DNS rewrite, thiết bị và nhật ký truy vấn.
cli-anything-anygen
58kCho phép agent của bạn tạo slide, tài liệu, website và sơ đồ từ một prompt bằng dịch vụ AnyGen.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.