Install
openclaw skills install farmos-financeQuery farm financial data — cash flow projections, cost tracking, breakeven analysis. Requires admin authentication. Highly sensitive data.
openclaw skills install farmos-financeForward-looking cash flow planning and cost management. Projects future cash flows based on planned costs and expected revenue.
/api/cost-items with crop_year — this returns all items without pagination.ADMIN ONLY. This skill accesses sensitive financial data. Always use admin-level auth.
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."
GET /api/integration/summary?crop_year=2025
Returns: Total costs by category for the crop year.
GET /api/integration/cash-flow-simple?crop_year=2025
Returns: Monthly outflow projections.
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.
GET /api/categories Authorization: Bearer {token}
Returns: Cost category definitions (fertilizer, seed, chemicals, fuel, insurance, etc.)
GET /api/cost-items?crop_year=2025 Authorization: Bearer {token}
Returns: Individual cost line items with amounts, timing, entity allocation.
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.
GET /api/cash-flow/summary?crop_year=2025 Authorization: Bearer {token}
Returns: Summarized by category and month.