Fft Farm Ops
Apps & Automationfft-farm-opsFft Farm Ops is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Operate the farm bridge through ledger reads and IPC action requests, using main-chat-only control flows and safety guardrails.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/platform/fft-farm-ops/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/fft-farm-ops, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
FFT Farm Ops
Use this skill for farm state awareness and operational actions routed through the FFT_nano farm bridge.
Guardrails
- Never run destructive git commands unless explicitly requested.
- Preserve unrelated worktree changes.
- Keep write operations main-chat-only.
- Use main/admin chat only for any operational control action.
- Never run destructive shell commands against hosts, containers, or Home Assistant.
Read Farm State
- Primary status file:
/workspace/farm-state/current.json - Alert snapshot:
/workspace/farm-state/alerts.json - Device inventory:
/workspace/farm-state/devices.json - Calendar snapshot:
/workspace/farm-state/calendar.json - Time series:
/workspace/farm-state/telemetry.ndjson
Read current.json first. Treat stale: true as degraded connectivity and avoid risky recommendations.
Submit Actions
Write request files into /workspace/ipc/actions/ with unique names like:
act_<unix_ts>_<rand>.json
Request format:
{
"type": "farm_action",
"action": "ha_call_service",
"params": {
"domain": "switch",
"service": "turn_on",
"data": { "entity_id": "switch.irrigation_north" }
},
"requestId": "act_1707830400_abc"
}
Poll Action Results
Read /workspace/ipc/action_results/<requestId>.json until available.
Result format:
{
"requestId": "act_1707830400_abc",
"status": "success",
"result": {},
"executedAt": "2026-02-13T10:30:01Z"
}
If status is error, surface the exact error and propose the safest next step.
Action Allowlist
Only use allowlisted actions:
ha_get_statusha_call_serviceha_set_entityha_restartha_apply_dashboardha_capture_screenshotfarm_state_refresh
Alert Interpretation
- Critical alerts: prioritize immediate stabilization actions and ask for confirmation before control changes.
- Warning alerts: recommend monitored corrective actions.
- Normal state: suggest optimization and preventative maintenance.
- Always include context from
timeOfDay,season, and weather-related states.