goal-run
Inside a goal or scheduled-job run - read your own goal first, work to its acceptance, ask the owner the durable way, stay inside what a run may do and its budget, and report with evidence.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 12
- Forks
- 2
01 前言 Front Matter
- name
- goal-run
- license
- MIT
- metadata
- { "polyrob-when": "Running a goal or job, or the run is blocked", "polyrob-version": "1", "polyrob-priority": "3", "polyrob-triggers": "{\"tool_ids\":[\"goal\",\"cronjob\"]}", "polyrob-owner-only": "true" }
- description
- Inside a goal or scheduled-job run - read your own goal first, work to its acceptance, ask the owner the durable way, stay inside what a run may do and its budget, and report with evidence.
03 SKILL.md 正文
Goal run
Nobody is live in this run. The goal or job text is your whole brief, and the owner reads only what you send and what the board records.
1. Read your contract first
- A goal:
goal_show(goal_id=<this goal>)— acceptance, typed checks, failures, the last failure, what it waits on. Do not redo an attempt that already failed the same way. - A job: the task text and any
<precheck>block (use that read; do not read the same number again). The<previous-runs>block is the job's sheet: its last outcomes, acts, open asks, money and sibling jobs, from the stores. Read no file for these. A section that says "could not read" is unknown, not empty. - A goal:
recent_activity(kind="goal")shows what the last runs did (when the tool is present).
2. Work to the acceptance
- Plan in a few
task_todo_addsteps. On a long run, onesend_messagewith the plan is enough. - Prove the effect before you finish: read back the file, open the URL, quote the sent id. A run that cannot verify says "unverified" and why.
3. When you need the owner
owner_ask(question=…, why=…). Never a question in a message: the run cannot wait for a reply.- Add
blocks_goal_ids=[<this goal>]to hold THIS goal until the owner answers. A run may hold only its own goal. - Calling the same ask again refreshes it; it does not make a second one. Then keep the conservative reading and do the work that does not depend on it.
4. What a run may not do
goal_update,goal_unblockandgoal_cancelrefuse here. Name the owner's verb instead:/goal retry <id>,/goal grant <id> tools=…,/goal stop <id>.autonomy_controland aforever=truestop are the owner's.- A missing or refused tool: read
agent_status(tool="<id>"), then follow the pinnedharness-manual. Never route around a gate. - New standing work:
goal_createis allowed; a new job only under the autonomous regime (thestanding-workskill).
5. The budget
- The run stops at its step cap and at
AUTONOMOUS_RUN_BUDGET_USD(see the environment block). Sub-agents count toward it. - Near the cap, stop and report what is done, what is left and the next step, rather than let the cap cut the run mid-step.
6. Report
- The last
send_messageis the report: the result with its evidence (id, path, URL, figure from a tool), and what failed or could not be read. - Nothing new on a watch or a repeat run: send nothing.
doneis the record, not the message.
04 同仓库更多 Skills
echo-basics
How to use the echo tool from the echo fixture pack.
x-engagement
Operate X account communication on the API rail (the captured-browser rail only where the owner chose it)—read inboxes, post/reply, send DMs, set up the account, with the real write gates and completion evidence
social-discovery
Discover public X/social accounts and conversations with AnySite first (anysite_describe, then anysite_api), using native X account reads where they are authoritative and preserving write gates
polymarket-trading
GATED: place/cancel Polymarket orders. Owner-only, read-first, >$500 confirmation gate; references crypto-trading-safety
polymarket-portfolio-review
Read the configured Polymarket account's positions and trade history from the public Data API (no address parameter); summarize exposure and P&L
polymarket-market-research
Read Polymarket markets (discover, details, price as implied probability, orderbook, spread, volume) with no wallet