Chuyển đến nội dung
Skillpedia
Công việc và dự án58k · #3205

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/HKUDS/CLI-Anything/blob/main/firefly-iii/agent-harness/cli_anything/firefly_iii/skills/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự