Agent Skills › BuilderIO/skills › factory-recover

factory-recover

GitHub

用于在代理主机重启或自动化中断后,查找并恢复已中断的代码运行。通过检查配置和状态,安全地恢复未完成的任务,同时跳过已完成或被取消的工作,确保操作合规。

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

Trigger Scenarios

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

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
20ff8a1
Hash
3df2d206
Indexed
2026-09-27 16:03

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-21 18:45
浙ICP备14020137号-1