Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

long-run-harness长跑安全带

Agent Skill

long-run-harness 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

212

周安装

9

GitHub Stars

1

下载量

74
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:long-run-harness(长跑安全带)
来源仓库:https://github.com/zhangga/aihub
仓库路径:skills/long-run-harness
安装命令:
npx skills add https://github.com/zhangga/aihub --skill long-run-harness
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zhangga/aihub --skill long-run-harness

简介

long-run-harness 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Long Run Harness

Use this skill when the user wants the agent to keep advancing a complex task until it is actually done, not merely improved.

Default to git-repository work. You may also apply the same operating model to documentation, research, or mixed projects when durable state and autonomous continuation matter.

Do not use this skill for one-shot edits, lightweight planning, or requests where the user wants synchronous oversight at each milestone.

Core Operating Rules

  • Externalize state. Do not rely on conversation memory for long-running work.
  • Work one task at a time. Do not keep multiple partial tasks open in parallel.
  • Require validation before task completion.
  • Require review before advancing to the next task.
  • Verify state before trusting it and after each significant state transition.
  • Use git history as a recovery aid when a repository is available.
  • Continue automatically unless a real blocker or completion condition exists.

Required State Files

Create and maintain these files in the project root or an agreed task workspace:

  • task_list.json
  • progress.md

Read references/state-files.md before creating or editing them.

First Session

If harness state does not exist yet:

  1. Restate the final objective in concrete terms.
  2. Derive explicit acceptance criteria.
  3. Decompose the work into sequential tasks with clear boundaries.
  4. Initialize task_list.json and progress.md.
  5. Select exactly one starting task.
  6. Begin execution only after the state files are coherent.

Use scripts/init_harness.py to create the initial files when possible. Prefer structured --task-json input so each task starts with explicit task-level acceptance criteria and validation steps.

Every Later Session

At the start of every new cycle:

  1. Read task_list.json.
  2. Read progress.md.
  3. Review recent git history when available.
  4. Confirm the current active task or the next unblocked task.
  5. Verify the baseline environment before making new changes.

Read references/recovery.md if the session starts from an interrupted or unclear state. Run scripts/verify_state.py before resuming if there is any doubt about state consistency.

Task Execution Loop

For the single active task:

  1. Refine the task-local plan only as much as needed.
  2. Perform the implementation, writing, or analysis.
  3. Run validation that matches the task's acceptance criteria.
  4. Gather evidence such as test output, generated artifacts, or diffs.
  5. Perform review.
  6. Update task_list.json and progress.md.
  7. Commit focused progress when the repository is stable.
  8. Select the next unblocked task and continue.

Read references/workflow.md for the complete lifecycle. When marking a task done, record explicit validation results first. Do not advance merely because the implementation looks complete.

Review Gate

Default to self-review first. Escalate to an independent review pass when the task is risky, user-visible, weakly validated, previously failed review, or changes shared architecture.

Do not move to the next task until the current task has either:

  • passed review and been marked complete, or
  • been marked blocked with an explicit blocker

The helper scripts should reject invalid state transitions such as:

  • marking a task done without passing review
  • marking a task done without task-level validation results
  • activating a next task before its dependencies are done
  • blocking a task without a written blocker reason

Read references/review-policy.md before deciding whether to advance.

Stop Conditions

Keep going unless one of these is true:

  • every acceptance criterion is verified complete
  • a required permission is missing
  • a required input is missing and cannot be inferred safely
  • the environment or external dependency is unavailable
  • a high-risk decision has non-obvious consequences and cannot be made autonomously

If you stop, update the state files first and make the blocker explicit.

Script Usage

Use the helper scripts when possible instead of hand-editing structured state:

  • python scripts/init_harness.py... to initialize task_list.json and progress.md
  • python scripts/check_next_task.py... to validate the state and find the current or next task
  • python scripts/verify_state.py... to validate the full state file before resuming or after state changes
  • python scripts/update_progress.py... to update task status and append progress entries consistently

If you must edit state files manually, preserve the schema and keep status transitions explicit.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.84%
按下载量换算27

Claude

28.71%
按下载量换算21

Cursor

19.37%
按下载量换算14

Gemini CLI

9.13%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills