pilot

Solid

One autonomous Pilot cycle - fetch the agenda, execute the top item, journal, exit. Injected by the terminal host - not for manual invocation loops.

AI & Automation 38 stars 11 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Pilot - One Autonomous Cycle The Pilot is JobPilot's autonomous mode: the .NET host orchestrator re-injects this skill perpetually. Each invocation is **one stateless cycle** - sense, decide, act, record, exit. All state lives in the API; nothing survives between invocations except what you write there. Do **exactly one** agenda item (at most one worker delegation, one browser activity), journal it, and exit by printing the sentinel. Never loop, never process a second item. ## 0. Setup + Enabled Check Follow `../../shared/setup.md` - health check `GET /api/health` first; abort with its standard message if down. Then generate a cycle id (uuidgen if present, else a portable fallback): ```bash CYCLE_ID=$(uuidgen 2>/dev/null || cat /proc/sys/kernel/random/uuid 2>/dev/null || od -An -tx1 -N16 /dev/urandom | tr -d ' \n' | sed -E 's/^(.{8})(.{4})(.{4})(.{4})(.{12})$/\1-\2-\3-\4-\5/') ``` ```bash curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" "$JOBPILOT_API/api/pilot" ``` If `.enabled` is `false`, record the cycle (the host reads this back to confirm completion), then print `[[JOBPILOT_CYCLE cycle=$CYCLE_ID status=empty sleep=3600]]` as the final line and stop: ```bash curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" -X POST "$JOBPILOT_API/api/pilot/journal" \ -H 'content-type: application/json' \ -d "$(jq -n --arg cid "$CYCLE_ID" \ '{cycleId:$cid, entries:[{kind:"cycle", summary:"Pilot is off - idling.", detail:{status:"empty", sleepSeconds:3600}}]...

Details

Author
suxrobGM
Repository
suxrobGM/jobpilot
Created
4 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category