← 返回
安全合规 Key 中文

Farmos Finance

Query farm financial data — cash flow projections, cost tracking, breakeven analysis. Requires admin authentication. Highly sensitive data.
{"answer":"查询农场财务数据——现金流预测、成本追踪、盈亏平衡分析。需管理员认证。高度敏感数据。"}
brianppetty
安全合规 clawhub v1.0.0 1 版本 99926.3 Key: 需要
★ 0
Stars
📥 1,355
下载
💾 21
安装
1
版本
#latest

概述

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.

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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 05:11 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,702
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,211 📥 266,242
data-analysis

Agresource

brianppetty
抓取汇总AgResource谷物通讯,提供每日销售建议、价格影响情绪分析、趋势追踪及Telegram更新提醒。
★ 0 📥 1,229