返回 Skill 列表
extension
分类: AI Agent 能力无需 API Key

shared-space

管理家庭或团队协作的共享账本,包括共享账户摘要、支出统计和成员结算。当用户询问关于共享费用、家庭账本、团队预算或联名账户时使用。关键词:共享账本、家庭账单、团队支出、AA制。

person作者: jakexiaohubgithub

Skill: Shared Space

Responsible for handling collaboration logic for family or team shared ledgers.

Use Cases

  • User asks: "What is my family's spending this month?"
  • User requests: "Show me the team expense summary."
  • User asks: "How much did we spend together?"

Available Scripts

| Script | Purpose | Output | |--------|---------|--------| | app/skills/shared-space/scripts/list_spaces.py | List user's shared spaces | Space list JSON | | app/skills/shared-space/scripts/query_space_summary.py | Query spending summary | Summary with monthly stats |

list_spaces.py - Get Available Spaces

uv run python app/skills/shared-space/scripts/list_spaces.py

Returns a list of shared spaces the user has access to, with role information.

query_space_summary.py - Space Summary

uv run python app/skills/shared-space/scripts/query_space_summary.py

Query a specific space:

echo '{"space_id": "uuid-string"}' | uv run python app/skills/shared-space/scripts/query_space_summary.py

Returns monthly spending statistics for the space.

Workflows

1. Discovery - List Available Spaces

Triggers: "What shared spaces do I have?", "Show my shared accounts"

Run list_spaces.py and present the available spaces to the user.

2. Summary Query

Triggers: "Family spending this month", "Team expense report"

Run query_space_summary.py and summarize the spending data.

Rules

  • Only used for processing ledger data with "shared" or "multi-user" context.
  • For transfers, guide the user to use the Transfer Expert skill.
  • For recording transactions to a space, use the normal record_transactions tool and the AI should naturally associate it if context indicates a shared space.
  • Localization: Localize all your responses back to the current session language.