一键导入
yolorun
Design and operate Yolorun worktree workflows for long-running agentic feature work, recurring loops, objective gates, safe reviews, and draft PR handoff.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Design and operate Yolorun worktree workflows for long-running agentic feature work, recurring loops, objective gates, safe reviews, and draft PR handoff.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | yolorun |
| description | Design and operate Yolorun worktree workflows for long-running agentic feature work, recurring loops, objective gates, safe reviews, and draft PR handoff. |
Use this skill when a user asks an agent to build a substantial feature, keep working until tests pass, create or update e2e coverage, run in the background, design recurring loops, or coordinate multiple agent runs with local worktrees.
Yolorun is a local-first workflow OS. Agents may propose loops and feature workflows, but the Yolorun kernel decides what is runnable.
Yolorun supports three workflow kinds:
yolorun.feature for large feature work: plan, write e2e tests when possible, implement, run gates, review, fix, summarize, and optionally create a draft PR.yolorun.loop for small recurring work: CI triage, lint fixes, dependency review drafts, flaky-test reproduction, and similar repeatable tasks.yolorun.graph for dependency-aware groups of feature workflows designed by an agent or human.Use feature workflows for user requests like:
Use recurring loops for tasks that repeat or are triggered by events.
Use graph workflows when a large goal needs multiple feature loops with ordering constraints. Prefer a graph over one giant feature when some work must happen first and other work can run later or in parallel.
Important v1 boundary: recurring loops can run under yolorun daemon start. Feature workflows currently run foreground per process; to run several features at once, create one worktree-backed feature workflow per feature and run each in its own terminal or Codex thread. Do not claim that daemon-backed feature queues exist until the CLI actually exposes them.
When asked to build a large feature with Yolorun:
yolorun init when .yolorun/yolorun.json is missing.yolorun feature "<user request>" --worktree.STATE.md and add the test as soon as the required surface exists.bun run typecheck, bun test, bun run e2e, CI reproduction commands, and app-specific smoke tests.PLAN.md and ACCEPTANCE.md.
STATE.md, REVIEW.md, run logs, and a draft PR body.yolorun feature pr <feature-id> --draft only after local success or an explicit user request.Never merge, deploy, change production data, rotate secrets, or make unattended dependency upgrades in v1.
Yolorun feature runs are intentionally visible in the terminal.
Use:
yolorun feature "<request>" --worktree --verbose
The output should show:
Use machine-readable output when another agent is supervising:
yolorun feature "<request>" --worktree --json
Use quiet output only when a parent process already captures logs:
yolorun feature "<request>" --worktree --quiet
Real agents can take minutes per role. Do not assume a run is stuck just because planner, reviewer, or summarizer spends a long time running. Inspect .yolorun/features/<feature-id>/state.json and runs/*.jsonl for the current phase, role, backend, command, duration, and gate status.
Codex model metadata is reported from YOLORUN_CODEX_MODEL when set; otherwise the model field may show auto/unknown because the Codex CLI does not expose a stable selected-model value to Yolorun yet.
Parallelism is worktree-based, not one giant shared checkout.
For multiple independent features:
yolorun.feature workflow and git worktree for each.Do not run parallel feature agents directly in a dirty main checkout. Worktrees are the isolation boundary.
A loop graph is a queue-shaped plan made of feature workflow nodes.
Use this when the user describes dependencies like:
bootstrap project
-> app shell
-> database schema
-> onboarding
-> dashboard
-> settings
Create the graph first:
yolorun graph create "<large goal>"
Then inspect or edit .yolorun/graphs/<graph-id>/yolorun.json. Each node must have id, title, request, dependsOn, and status.
Run the graph:
yolorun graph run <graph-id> --max-parallel 3
If any child feature is rerun manually or in another terminal/thread, repair the graph record before judging completion:
yolorun graph reconcile <graph-id>
yolorun graph report <graph-id>
Rules:
yolorun.feature workflow.HANDOFF.md for downstream nodes.state.json checkpoints..yolorun/graphs/<graph-id>/REPORT.md, which is the durable completion record.maxParallel in the graph contract but may execute ready nodes conservatively; never claim auto-merge or deploy.A recurring loop is a good candidate only when all are true:
Create runnable loops only when objective gates, budgets, permissions, stop conditions, worktrees, and escalation rules are present. Otherwise create a draft loop.
Feature workflow commands:
yolorun feature "<request>" --worktree
yolorun feature run <feature-id>
yolorun feature status <feature-id>
yolorun feature review <feature-id>
yolorun feature resume <feature-id>
yolorun feature pr <feature-id> --draft
Graph workflow commands:
yolorun graph create "<goal>"
yolorun graph run <graph-id> --max-parallel 3
yolorun graph resume <graph-id>
yolorun graph reconcile <graph-id>
yolorun graph report <graph-id>
yolorun graph status <graph-id>
yolorun graph plan <graph-id>
Recurring loop commands:
yolorun design
yolorun validate [loop-id]
yolorun run <loop-id>
yolorun enable <loop-id> --every 30m
yolorun enable <loop-id> --cron "0 9 * * 1"
yolorun daemon start
yolorun daemon status
yolorun logs <loop-id>
Use the binary command yolorun when the package is installed. In this repository, use bun run yolorun ....
Repo-level files:
.yolorun/
yolorun.json
OS.md
skills/yolorun/SKILL.md
Feature workflow files:
.yolorun/features/<feature-id>/
yolorun.json
PLAN.md
ACCEPTANCE.md
STATE.md
REVIEW.md
runs/*.jsonl
logs/*.log
Graph workflow files:
.yolorun/graphs/<graph-id>/
yolorun.json
PLAN.md
GRAPH.md
STATE.md
state.json
runs/*.jsonl
nodes/<node-id>/HANDOFF.md
Recurring loop files:
.yolorun/loops/<loop-id>/
yolorun.json
SKILL.md
STATE.md
runs/*.jsonl
logs/*.log
Escalate instead of continuing when:
OpenAI Codex v..., Claude Code v..., done, or looks good.A trustworthy phase summary names concrete files, gates, behaviors checked, and remaining risks. Weak artifacts are not completion evidence.
Prefer draft PRs, explicit review notes, and local logs over silent automation.