跳到正文
Skillpedia
智能体5.5k · #14804

praxist-control

它能做什么

这项技能教智能体如何通过控制运行来操作已有的 Praxist 任务项目。内容包括启动、停止、恢复、查看状态以及打开只读监控。它不创建新的任务项目。

适用场景

  • ✓当用户要求启动 Praxist 任务或查看某次运行进展到哪一步的时候。
  • ✓当用户想停止仍在进行中的运行,或恢复中断的运行的时候。
  • ✓当用户询问当前有哪些 Praxist 运行处于活动状态的时候。

技能链接

https://github.com/sapientinc/PRAXIST/blob/main/skills/praxist-control/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sapientinc/PRAXIST/blob/main/skills/praxist-control/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在后台启动我的 Praxist 任务,等我回来查看时,告诉我它的进展。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会先检查命令选项,然后使用 JSON 输出读取运行状态。它可以在后台启动或恢复运行;如果未安装 Praxist,它会拒绝执行生命周期操作。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Praxist Control

Use this skill to operate an existing Praxist task project. It controls runs; it does not create task projects, install dependencies, edit Praxist core, or change provider credentials.

Empty Request Guard

If the user invokes this skill without naming an operation, exit without taking an action. Ask the user to specify one of: start, stop, resume, status, monitor, or detect-active-runs. Do not infer a default lifecycle action from an empty prompt.

Command Surface

Verify the live CLI before acting:

praxist --help
praxist start --help
praxist stop --help
praxist status --help
praxist --monitor --help
praxist resume --help
praxist resolve --help

If praxist is not on PATH but the current directory is a Praxist source checkout, use uv run praxist .... If neither works, refuse the lifecycle action and tell the user to install or activate Praxist first.

Prefer JSON for machine decisions:

praxist status --json
praxist start --task-path /path/to/task --daemonize --json
praxist stop <run_id> --grace 300 --json
praxist resume <run_id-or-run-dir> --daemonize --json

Use --daemonize for start and resume from agent or CI shells, or other sandboxed shells so the run survives the launching process.

Detect Active Runs Workflow

Use this read-only workflow when the user asks which Praxist tasks are currently running, whether the environment is idle, whether another server/session has a live run, or explicitly asks to "detect active run(s)".

  1. Run:

    praxist status --json
    

    If praxist is unavailable but the current directory is a source checkout, use uv run praxist status --json.

  2. Parse every row, not just rows under the current task path.

  3. Classify rows:

    • active: state is running, run_dir is present when available, and the recorded PID is alive or the row source is a live ps-scan match.
    • ps-only active: Praxist-shaped process exists but no registry metadata is available.
    • stale registry: registry row points to a missing/dead PID, or state is stale; this is not an active run.
    • unknown: row cannot be verified from the available fields.
  4. Cross-check active candidates with a lightweight process scan when possible:

    ps -eo pid,ppid,etime,cmd | rg 'praxist\.run run|praxist start|praxist resume'
    

    Do not use broad pkill, kill, or recursive filesystem scans. This workflow must not stop, resume, crop, or edit any run.

  5. Report all active runs in a table with:

    • run_id;
    • PID;
    • elapsed time;
    • task path;
    • run directory;
    • generation, if known;
    • model and provider, if known;
    • state/source;
    • last updated time, if known.
  6. Report stale rows separately in a compact list or count. Do not call stale rows "running".

  7. If no active runs are found, say the environment has no detected live Praxist run and mention whether stale registry entries exist.

When multiple active runs are present, do not choose a target for stop/resume unless the user explicitly asks for a follow-up operation and the target is unambiguous.

Status Workflow

Use this read-only workflow when the user asks for current progress, run state, leaderboard/incubator contents, generation progress, cost-adjacent progress signals, or hardware load.

Artifact source rule: treat measured result/finding summaries, frontier/frontier_manifest.json, committed gems/gems_state.json, and gen_N/generation_boundary.json as canonical current state. Treat leaderboards, PI evidence packs, PI agendas, prompt layouts, rendered prompts, diagnostics, and behavior reports as derived views or audit snapshots. Use derived/audit artifacts to explain what agents saw, but do not let them override canonical metrics, promotion state, Gems state, or resume boundaries. Also report compact validation signals when present: task-defined preliminary, aligned, partial, repair, failed-but-informative, ablation, diagnostic, lower-stage, or late-after-boundary evidence. Classify them from the task's declared mode permissions, not from words such as partial, scout, or complete: an explicitly authorized reduced mode may be mature, while a mode declared validation-only remains a follow-up lead. When the user has not chosen otherwise, the recommended expensive-task default treats preliminary checks as triage and uses a near-complete-coverage aligned mode for early prioriti

常见问题

它会创建任务项目吗?

不会。这项技能说明,它只控制已有的运行,不创建任务项目、不安装依赖,也不修改核心代码。

如果没有指定操作怎么办?

这项技能说明应询问用户想要哪种操作,而不是擅自选择。

为什么要在后台运行?

这项技能说明,后台模式可以让运行在启动它的进程结束后继续保持运行。

详情

作者的原始描述

Start, stop, resume, inspect status, open the independent read-only foreground TUI, detect active runs, and safely repair Praxist run lifecycle boundaries from a supported agent interface. Use when the user asks to launch a Praxist task, stop or kill a run, continue/resume an interrupted run, restart from the latest safe generation, query current run progress, open or exit a live monitor, detect or list currently running Praxist tasks in the environment, inspect generation status, view incubator/frontier/leaderboard performance, check hardware load, handle interrupted PI panel or Gems reset bo

repo: sapientinc/PRAXIST

热度

GitHub 星标
5.5k
排名
#14804
许可证
—
更新时间
2026/9/23

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能