返回顶部
f

farmos-finance

Query farm financial data — cash flow projections, cost tracking, breakeven analysis. Requires admin authentication. Highly sensitive data.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
827
下载量
0
收藏
概述
安装方式
版本历史

farmos-finance

# FarmOS Finance Forward-looking cash flow planning and cost management. Projects future cash flows based on planned costs and expected revenue. ## Data Completeness 1. **Always state totals** when reporting financial data: "Total operating costs: $892,000 across 12 categories." 2. **Cash flow projections combine multiple sources.** If the marketing revenue side fails, say so — don't present costs without revenue as a complete picture. 3. **If an endpoint returns an error**, report the failure to the user rather than presenting partial financial data. Partial financial data is worse than no data. 4. **For cost item listings**, use `/api/cost-items` with crop_year — this returns all items without pagination. ## When This Skill Triggers - "What's our cash flow look like?" - "Cost per acre this year?" - "Breakeven price for corn?" - "Monthly expense projection" - "Show cost categories" - "What are our biggest expenses?" ## Authentication **ADMIN ONLY.** This skill accesses sensitive financial data. Always use admin-level auth. ```bash TOKEN=$(~/clawd/scripts/farmos-auth.sh admin) ``` **Role mapping:** Check `~/.clawdbot/farmos-users.json`. If the sender is not admin, respond: "Financial data is restricted to farm owners. I can't access that for your account." ## API Base http://100.102.77.110:8010 ## Integration Endpoints (No Auth — if AI access toggle is enabled) ### Cost Summary GET /api/integration/summary?crop_year=2025 Returns: Total costs by category for the crop year. ### Cash Flow (Simplified) GET /api/integration/cash-flow-simple?crop_year=2025 Returns: Monthly outflow projections. ### Breakeven Analysis GET /api/integration/breakeven?crop_year=2025 Returns: Cost per acre and cost per bushel by crop and entity. This tells you the minimum price needed to cover costs. ## Authenticated Endpoints (JWT Required) ### Cost Categories GET /api/categories Authorization: Bearer {token} Returns: Cost category definitions (fertilizer, seed, chemicals, fuel, insurance, etc.) ### Cost Items GET /api/cost-items?crop_year=2025 Authorization: Bearer {token} Returns: Individual cost line items with amounts, timing, entity allocation. ### Cash Flow Projection (Full) GET /api/cash-flow/projection?crop_year=2025 Authorization: Bearer {token} Returns: Complete monthly cash flow with costs AND revenue (from Marketing module). Shows when money goes out and comes in. ### Cash Flow Summary GET /api/cash-flow/summary?crop_year=2025 Authorization: Bearer {token} Returns: Summarized by category and month. ## Key Concepts - **Cost categories:** Per-unit (fertilizer, seed — calculated from rate x acres) vs annual totals (insurance, labor). - **Timing:** Costs are assigned to specific months. Multiple months = split evenly. - **Entity allocation:** Costs can be assigned to one entity, split across all by crop acres, or manually allocated. - **Breakeven:** Total costs / expected bushels = minimum price per bushel to cover costs. ## Usage Notes - Always specify crop_year parameter. - Breakeven is the most-asked question — answer it quickly and clearly. - Cash flow projection combines costs (this module) with revenue (marketing module). - NEVER share financial data with non-admin users. This includes cost per acre, breakeven, cash flow, or any cost details.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 farmos-finance-1776420031 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 farmos-finance-1776420031 技能

通过命令行安装

skillhub install farmos-finance-1776420031

下载 Zip 包

⬇ 下载 farmos-finance v1.0.0

文件大小: 2.18 KB | 发布时间: 2026-4-17 18:18

v1.0.0 最新 2026-4-17 18:18
Initial release of farmos-finance skill for secure farm financial queries.

- Provides admin-only access to cost tracking, cash flow projection, and breakeven analysis.
- Enforces strict reporting: totals must always be stated and revenue side failures must be disclosed.
- API endpoints for summary, line items, breakeven, and full authenticated cash flow reporting.
- Includes entity-based cost allocations, category definitions, and monthly timing of costs.
- Financial data is strictly restricted to farm owners (admin authentication required).

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部