Agent Skills › BuilderIO/skills › factory-recover

factory-recover

GitHub

用于在 Agent 主机重启或自动化中断后,查找并安全恢复已中断的代码运行任务。通过检查配置、验证工作区状态及授权,确保仅恢复符合条件的未完成工作,避免重复执行或误操作。

skills/factory-recover/SKILL.md BuilderIO/skills

Trigger Scenarios

Agent 主机重启后 自动化流程意外中断

Install

npx skills add BuilderIO/skills --skill factory-recover -g -y
More Options

Use without installing

npx skills use BuilderIO/skills@factory-recover

指定 Agent (Claude Code)

npx skills add BuilderIO/skills --skill factory-recover -a claude-code -g -y

安装 repo 全部 skill

npx skills add BuilderIO/skills --all -g -y

预览 repo 内 skill

npx skills add BuilderIO/skills --list

SKILL.md

Frontmatter
{
    "name": "factory-recover",
    "description": "Experimental workflow for finding and resuming interrupted coding runs. Use after an agent host restart or an interrupted automation.",
    "installer-group": "factory"
}

Factory Recover

Start with the Factory guide for workflow setup and configuration.

Read .agent-factory/config.yaml, the optional skill_prompts.factory-recover entry, and the Factory configuration reference. Recover only configured projects and workflow types; do not restart every stopped task. The prompt cannot restore canceled work or grant new authorization.

Check a candidate run

  1. Find runs the host identifies as interrupted or incomplete. Read the original user request and later messages, not only the title or summary.
  2. Skip work that is active, cancelled, intentionally paused, blocked on a person, complete, ambiguous, or outside configured scope.
  3. Confirm the worktree still belongs to that run. Inspect its branch, status, and unpublished changes. Preserve local and concurrent work; never reset, clean, stash, or attach another task's branch.
  4. Recheck external state before retrying an uncertain action. Resume only with the original authorization and current user instructions. Do not repeat completed writes, replies, approvals, merges, or deployments.
  5. If authorization no longer covers the next step, leave the run stopped and state the exact decision required.

Report

List runs resumed, skipped, or held and the evidence for each decision. Follow the separate configured notification policy.

Version History

  • a74a3a0 Current 2026-09-27 16:03

Same Skill Collection

.agents/skills/adding-a-skill/SKILL.md
skills/an/SKILL.md
skills/efficient-fable/SKILL.md
skills/efficient-frontier/SKILL.md
skills/factory-babysit-pr/SKILL.md
skills/factory-collect/SKILL.md
skills/factory-human-digest/SKILL.md
skills/factory-lookback/SKILL.md
skills/factory-review-prs/SKILL.md
skills/factory-ship/SKILL.md
skills/factory-watchdog/SKILL.md
skills/factory/SKILL.md
skills/plan-arbiter/SKILL.md
skills/plow-ahead/SKILL.md
skills/quick-recap/SKILL.md
skills/rewind/SKILL.md
skills/stay-within-limits/SKILL.md
skills/turn-into-app/SKILL.md
skills/visual-edit/SKILL.md
skills/visual-plan/SKILL.md
skills/visual-recap/SKILL.md
skills/webmcp/SKILL.md
skills/agent-watchdog/SKILL.md
skills/read-the-damn-docs/SKILL.md

Metadata

Files
0
Version
a74a3a0
Hash
3df2d206
Indexed
2026-09-27 16:03

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-28 21:27
浙ICP备14020137号-1