TopRank Skills

Home / Claw Skills / API Integration / farmos-finance
Official OpenClaw rules 36%

farmos-finance

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

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 farmos-finance 技能。 若已安装,则直接安装 farmos-finance 技能。

Overview

Skill Key
brianppetty/farmos-finance
Author
brianppetty
Source Repo
openclaw/skills
Version
-
Source Path
skills/brianppetty/farmos-finance
Latest Commit SHA
442de129b6def26ed375ad733b310aa3d7a1d63e

Extracted Content

SKILL.md excerpt

# 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,...

Related Claw Skills