TopRank Skills

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

farmos-workforce

Query employee data, time clock entries, schedules, and requests. Requires authentication — employees see own data, managers see team.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

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

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

Overview

Skill Key
brianppetty/farmos-workforce
Author
brianppetty
Source Repo
openclaw/skills
Version
-
Source Path
skills/brianppetty/farmos-workforce
Latest Commit SHA
f4d942a695b38532bb223dccd7c239bfed7f7d74

Extracted Content

SKILL.md excerpt

# FarmOS Workforce

Employee profiles, time clock, skills tracking, employee requests, and team calendar.

## When to Use This

**What this skill handles:** Time clock (clock in/out), schedules, availability, time-off requests, certifications, employee profiles, overtime tracking, and payroll exports.

**Trigger phrases:** "I need [day] off", "who's working", "schedule", "clock in/out", "who's clocked in?", "overtime this week?", "any pending time-off requests?", "employee list", "CDL certifications"

**What this does NOT handle:** Task assignments or work orders (use farmos-tasks), equipment scheduling or maintenance (use farmos-equipment), pay rates or financial compensation questions (restricted to admin only via farmos-finance).

**Minimum viable input:** Any mention of schedule, availability, time off, or who is working. "I need Friday off" is enough.

## Data Completeness

1. **Always state the count** of employees, time entries, or requests returned: "Found 8 active employees" or "12 time entries this pay period."
2. **Time entry queries are date-bounded** — always include `start_date` and `end_date` parameters to get the full picture for the requested period.
3. **If an endpoint fails**, report it — don't silently present empty results as "no employees" or "no time entries."
4. **For payroll exports**, verify the date range covers the full pay period before exporting.

## Authentication

This skill accesses protected FarmOS endpoints that require a JWT token.

**To get a token:**
```bash
TOKEN=$(~/clawd/scripts/farmos-auth.sh manager)
```

**Role mapping:** Check `~/.clawdbot/farmos-users.json` for the sender's role.
- **admin/manager:** Can see all employee data, hours, payroll info.
- **employee:** Can only see own profile and time entries. Do NOT use a manager token for employee queries — use the employee token so the API scopes correctly.

## API Base

http://100.102.77.110:8006

## Integration Endpoints (No Auth)

### Employee List (for assignments)
GET...

Related Claw Skills