[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6997E3YXCXSY44K36EK43K4":3,"skill-same:01M6997E3YXCXSY44K36EK43K4":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":17,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6997E3YXCXSY44K36EK43K4","run_lightflows","Lightflow 工作流执行与恢复","Executes, inspects, and resumes existing Lightflow DAG workflows via CLI (`lightflow`, or the equivalent `python3 -m lightflow`). Use when asked to run, dry-run, check status, visualize, resolve an `operator_action` human-in-the-loop checkpoint (`EXIT_CODE=2`), or recover a failed Lightflow run without authoring a new workflow. Run `start` directly without pre-reading the manifest or `actions.py`.","通过 CLI（`lightflow` 或等效的 `python3 -m lightflow`）执行、检查并恢复已有的 Lightflow DAG 工作流。当用户要求运行、试运行、检查状态、可视化、处理 `operator_action` 人工干预检查点（`EXIT_CODE=2`），或恢复失败的 Lightflow 运行而无需编写新工作流时使用。直接运行 `start`，无需预先读取清单或 `actions.py`。","google\u002Flightflow","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M69977GFZ9R8AT9B3T2D7BK7",19,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Flightflow\u002Fblob\u002Fmain\u002Fskills\u002Frun_lightflows\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSFHC0DJXKNN0QBZDDS4K9","定时任务与自动化编排","SCENARIO","使用场景",[31,32,33,34,35],"run lightflows","cli","visualize","dag","workflow","2026-11-10 10:12:30",false,"---\nname: run_lightflows\ndescription: Executes, inspects, and resumes existing Lightflow DAG workflows via CLI (`lightflow`, or the equivalent `python3 -m lightflow`). Use when asked to run, dry-run, check status, visualize, resolve an `operator_action` human-in-the-loop checkpoint (`EXIT_CODE=2`), or recover a failed Lightflow run without authoring a new workflow. Run `start` directly without pre-reading the manifest or `actions.py`.\n---\n\n# Running & Resuming Lightflow Workflows (`run_lightflows`)\n\n> **Authoring new workflows?** Read `create_lightflows` instead.\n\n## Fast-Path Rules\n\n1.  **Read only `SKILL.md`, then run `start` directly**: do **not** read\n    `lightflow.yaml`, `actions.py`, or `README.md` first. The CLI compiles the\n    manifest and prints any gate's `Instructions`, `Payload Schema`, and the\n    exact `Resume with:` command. `--lightflow=\u003Cpath>` accepts a manifest file\n    or its directory.\n2.  **Skip redundant `status` calls & chain cleanup**: when `start` or `resume`\n    exits `0` (`Lightflow completed successfully!`), do **not** run `status`. If\n    asked to clean up afterwards, chain `start ... && cleanup ...` (`&&` stops\n    naturally at an `EXIT_CODE=2` gate).\n\n## 1. Commands\n\n`python3 -m lightflow` is equivalent to `lightflow` when the console script is\nnot on `PATH`. Runs remember their manifest, so `status`, `resume`, `visualize`,\nand `cleanup` need only `--log_id`; if the manifest file moved, pass\n`--lightflow=\u003Cnew path>` once and it is re-recorded.\n\n```bash\nlightflow start --lightflow=\u003Cdir_or_manifest> --log_id=\u003Crun_id> [--payload='{...}' | --payload=@file.json]\nlightflow start ... --dry_run      # only when asked to preview; ends with a Summary: line and a ? --payload seed hint\n\n# Resolve a paused gate once its Instructions are satisfied (APPROVE sets approved=true itself)\nlightflow resume --log_id=\u003Cid> --stage=\u003Cgate_stage> --resolution=APPROVE --payload='{...}'\nlightflow resume --log_id=\u003Cid> --stage=\u003Cgate_stage> --resolution=REJECT --comment=\"...\"   # runs rollback_action; dependents are blocked\n\n# After fixing a failed stage: re-arms only failed stages, keeps completed work\nlightflow resume --log_id=\u003Cid> [--payload='{...}']\n\nlightflow status --log_id=\u003Cid>     # one line per stage + any paused gate's Instructions, Schema, resume command; --verbose adds payload + stamp log\nlightflow list                     # every saved run: log ID, lightflow, state, last activity, manifest\nlightflow visualize --log_id=\u003Cid> --output=\u002Ftmp\u002Fviz.html\nlightflow cleanup --log_id=\u003Cid>    # deletes the run's state only; workflow artifacts on disk are untouched\n```\n\n## 2. Exit Codes & Governance\n\n-   **`0` COMPLETED**: done; report the stage outputs printed to `stdout`.\n-   **`2` SUSPENDED at an `operator_action`**: follow the printed\n    `Instructions`, then `resume` with a payload matching the `Payload Schema`.\n    `--resolution=APPROVE` validates `--payload` against the gate's\n    `json_schema`; on a validation error the gate stays paused, so fix the\n    payload and re-run (`status` reprints the schema in a new conversation).\n-   **`1` FAILED or REJECTED**: the footer names the root cause and the exact\n    `resume` command. Fix the cause, then `resume` — **never `start --force`**,\n    which discards completed stages and is only for rerunning a *completed* run\n    from scratch. A rejected gate (`?`) is terminal unless deliberately\n    re-opened: `resume --stage=\u003Cgate> --resolution=APPROVE --payload='{...}'`\n    decides again in one call; a bare `resume --stage=\u003Cgate>` only re-opens it.\n-   **`status` exits like the run**: `0` completed · `1` failed, rejected, or\n    interrupted · `2` paused · `3` no saved state · `4` running in another\n    process (wait; don't `resume`) · `5` waiting: a `polling_policy` stage\n    yielded before its condition was met, nothing is broken, `resume` once it\n    holds. Use `--verbose` only when you need the payload, stamp log, or Mermaid\n    diagram.\n","# Running & Resuming Lightflow Workflows (`run_lightflows`)\n\n> **Authoring new workflows?** Read `create_lightflows` instead.\n\n## Fast-Path Rules\n\n1.  **Read only `SKILL.md`, then run `start` directly**: do **not** read\n    `lightflow.yaml`, `actions.py`, or `README.md` first. The CLI compiles the\n    manifest and prints any gate's `Instructions`, `Payload Schema`, and the\n    exact `Resume with:` command. `--lightflow=\u003Cpath>` accepts a manifest file\n    or its directory.\n2.  **Skip redundant `status` calls & chain cleanup**: when `start` or `resume`\n    exits `0` (`Lightflow completed successfully!`), do **not** run `status`. If\n    asked to clean up afterwards, chain `start ... && cleanup ...` (`&&` stops\n    naturally at an `EXIT_CODE=2` gate).\n\n## 1. Commands\n\n`python3 -m lightflow` is equivalent to `lightflow` when the console script is\nnot on `PATH`. Runs remember their manifest, so `status`, `resume`, `visualize`,\nand `cleanup` need only `--log_id`; if the manifest file moved, pass\n`--lightflow=\u003Cnew path>` once and it is re-recorded.\n\n```bash\nlightflow start --lightflow=\u003Cdir_or_manifest> --log_id=\u003Crun_id> [--payload='{...}' | --payload=@file.json]\nlightflow start ... --dry_run      # only when asked to preview; ends with a Summary: line and a ? --payload seed hint\n\n# Resolve a paused gate once its Instructions are satisfied (APPROVE sets approved=true itself)\nlightflow resume --log_id=\u003Cid> --stage=\u003Cgate_stage> --resolution=APPROVE --payload='{...}'\nlightflow resume --log_id=\u003Cid> --stage=\u003Cgate_stage> --resolution=REJECT --comment=\"...\"   # runs rollback_action; dependents are blocked\n\n# After fixing a failed stage: re-arms only failed stages, keeps completed work\nlightflow resume --log_id=\u003Cid> [--payload='{...}']\n\nlightflow status --log_id=\u003Cid>     # one line per stage + any paused gate's Instructions, Schema, resume command; --verbose adds payload + stamp log\nlightflow list                     # every saved run: log ID, lightflow, state, last activity, manifest\nlightflow visualize --log_id=\u003Cid> --output=\u002Ftmp\u002Fviz.html\nlightflow cleanup --log_id=\u003Cid>    # deletes the run's state only; workflow artifacts on disk are untouched\n```\n\n## 2. Exit Codes & Governance\n\n-   **`0` COMPLETED**: done; report the stage outputs printed to `stdout`.\n-   **`2` SUSPENDED at an `operator_action`**: follow the printed\n    `Instructions`, then `resume` with a payload matching the `Payload Schema`.\n    `--resolution=APPROVE` validates `--payload` against the gate's\n    `json_schema`; on a validation error the gate stays paused, so fix the\n    payload and re-run (`status` reprints the schema in a new conversation).\n-   **`1` FAILED or REJECTED**: the footer names the root cause and the exact\n    `resume` command. Fix the cause, then `resume` — **never `start --force`**,\n    which discards completed stages and is only for rerunning a *completed* run\n    from scratch. A rejected gate (`?`) is terminal unless deliberately\n    re-opened: `resume --stage=\u003Cgate> --resolution=APPROVE --payload='{...}'`\n    decides again in one call; a bare `resume --stage=\u003Cgate>` only re-opens it.\n-   **`status` exits like the run**: `0` completed · `1` failed, rejected, or\n    interrupted · `2` paused · `3` no saved state · `4` running in another\n    process (wait; don't `resume`) · `5` waiting: a `polling_policy` stage\n    yielded before its condition was met, nothing is broken, `resume` once it\n    holds. Use `--verbose` only when you need the payload, stamp log, or Mermaid\n    diagram.\n",{"name":5,"description":7},"main","e39cf06db18a3a316ef912393cb06caf1671c955","skills\u002Frun_lightflows",4,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Flightflow","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-06 00:36:47",{"source":9,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add google\u002Flightflow --skill run_lightflows",{"tool":56,"command":57},"bunx","bunx skills add google\u002Flightflow --skill run_lightflows",{"tool":59,"command":60},"pnpm","pnpm dlx skills add google\u002Flightflow --skill run_lightflows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Flightflow\u002Fblob\u002Fmain\u002Fskills\u002Frun_lightflows\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fsend_message.py","SCRIPT","脚本",13378,"https:\u002F\u002Fgithub.com\u002FChangyYou\u002FCua-Lark\u002Fblob\u002Fmain\u002Fskills\u002Fsend-message\u002Fscripts\u002Fsend_message.py",[71,85],{"skillNo":72,"name":73,"nameZh":74,"description":75,"descriptionZh":76,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":77,"categories":78,"keywords":81,"publishedAt":36},"01M6997CC9R4YBXAV1NF5XNR1A","create_lightflows","Lightflow DAG 工作流构建","Guides the design, authoring, compilation, and verification of new Python DAG workflows using Lightflow (YAML or JSON). Use when building a new multi-stage pipeline, authoring `actions.py` and `lightflow.yaml`, or scaffolding a workflow with the `create_lightflow` meta-workflow. For merely running or resuming an existing workflow, use `run_lightflows` instead.","指导使用 Lightflow（YAML 或 JSON）设计、编写、编译和验证新的 Python DAG 工作流。在构建新的多阶段流水线、编写 `actions.py` 和 `lightflow.yaml`，或使用 `create_lightflow` 元工作流搭建工作流骨架时使用。若仅运行或恢复已有工作流，请改用 `run_lightflows`。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Flightflow\u002Fblob\u002Fmain\u002Fskills\u002Fcreate_lightflows\u002FSKILL.md",[79,80],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[82,83,84,34,35],"create lightflows","design","python",{"skillNo":86,"name":87,"nameZh":88,"description":89,"descriptionZh":90,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":91,"categories":92,"keywords":99,"publishedAt":36},"01M69979E0NXDV2EVM0WQ50AWF","benchmark_lightflow","Lightflow 基准测试","Runs, verifies and extends the Lightflow benchmark suites: Part I, step-adherence under operator pressure (benchmarks\u002Freliability_benchmark.py, workflow prod_hotfix_rollout, 20 matched seeds, Arm A Lightflow vs Arm B prose runbook); Part II, deterministic context-footprint measurement (benchmarks\u002Fcontext_footprint.py) across the 7 bundled example workflows.","运行、验证并扩展 Lightflow 基准测试套件：第一部分，操作员压力下的步骤遵循度（benchmarks\u002Freliability_benchmark.py、工作流 prod_hotfix_rollout、20 个匹配种子、Arm A Lightflow 对比 Arm B 散文式 runbook）；第二部分，跨 7 个内置示例工作流的确定性上下文占用测量（benchmarks\u002Fcontext_footprint.py）。","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Flightflow\u002Fblob\u002Fmain\u002Fbenchmarks\u002FSKILL.md",[93,96],{"categoryNo":94,"categoryName":95,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",{"categoryNo":97,"categoryName":98,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[100],"benchmark lightflow"]