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

praxist-runtime-install

它能做什么

这项技能教智能体如何安装 Praxist 运行其智能体所需的软件。内容包括核心包、Claude 和 Codex 运行时包以及可选的测试工具,并将针对任务的包单独保存。

适用场景

  • ✓当用户需要在电脑上安装或修复 Praxist 的时候。
  • ✓当用户希望为 Praxist 设置 Claude SDK 或 Codex 运行时包的时候。
  • ✓当开发者需要 Praxist 源代码检出所需的测试和开发包的时候。

技能链接

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

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请在我的电脑上安装 Praxist 和 Claude 运行时,然后确认命令可以正常运行。”

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

工作原理

智能体会运行一个安装脚本,它会创建 Python 环境,安装主包及其运行时扩展;在提供选项时,还可以写入提供商设置。针对具体任务的包不包含在内。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Praxist Runtime Install

Use this skill to install dependencies needed to run Praxist itself. For local source checkouts, also install the repository's test/dev dependency group so the agent can validate Praxist code changes. Keep task-specific dependencies separate: each task project owns its own training/evaluation environment, datasets, CUDA/PyTorch stack, and benchmark packages.

This is separate from scripts/install_codex_skills.sh: that compatibility script installs or updates Codex or Claude Code skill symlinks. The bundled scripts/install_runtime_deps.sh in this skill installs Praxist runtime Python dependencies and, when explicitly supplied with provider/key options, writes user-level Praxist environment config.

Scope

Install dependencies for the Praxist control plane:

  • base package: praxist
  • default runtime extras: agents,codex
  • tested claude-agent-sdk==0.2.136 plus MCP support for agent_runtime:claude_sdk when a package or repaired install did not already provide them
  • tested openai-codex==0.147.0, codex-relay==0.5.5, and MCP support for agent_runtime:codex_sdk; this peer runtime uses the Python SDK and its local app-server. The SDK-bundled Codex binary can own saved ChatGPT authentication for native OpenAI, but Praxist does not reuse an interactive CLI process
  • source-checkout validation dependencies: repository dependency-groups.dev
  • user-level provider config: API keys, PRAXIST_LLM_PROVIDER, PRAXIST_AGENT_SYSTEM, and PRAXIST_MODEL only when the user supplies them
  • optional remote-storage extra: storage, only when the user asks for S3/object-storage support
  • built-in pseudonymous product-usage client and consent CLI; no separate SDK package or service dependency is required for ordinary Praxist operation
  • bundled Praxist User Agreement, scrollable review command, and local version-bound acceptance record
  • optional operator CLIs: report whether the human-facing codex command is present. The SDK-bundled binary is sufficient for Codex-native login, so do not install a global CLI unless the user explicitly asks

Use this install split:

  • source checkout: install runtime extras plus Praxist repository test/dev dependencies
  • pip package: install runtime extras only; do not install test/dev dependencies
  • no task-local packages unless the user separately asks to set up a task project
  • documentation dependencies come only from the source checkout's docs optional dependency group; do not invent a parallel requirements file

Default Workflow

  1. Identify the install surface.

    • Source checkout: a directory with pyproject.toml declaring name = "praxist" and an praxist/ package.
    • Pip package: no source checkout is available, or the user explicitly wants a package install.
    • Existing venv: respect an explicitly active or user-specified venv when practical.
  2. Verify Python.

    • Require Python >=3.11.
    • Prefer python3.11, then python3, then python.
    • Do not change system Python.
  3. Install the published package and runtime extras directly with pip:

    python3 -m pip install --index-url https://pypi.org/simple "praxist[agents,codex]"
    

    For a source checkout under active development, use its bundled helper so repository test dependencies are included:

    bash skills/praxist-runtime-install/scripts/install_runtime_deps.sh --repo /path/to/Praxist
    

    Add remote-storage support only when requested:

    bash skills/praxist-runtime-install/scripts/install_runtime_deps.sh --repo /path/to/Praxist --with-storage
    
  4. Verify the runtime install.

    • Run <venv>/bin/praxist --help or uv run praxist --help.
    • Run <venv>/bin/python -c "import praxist; print(praxist.__file__)".
    • For agent_runtime:codex_sdk, import openai_codex and mcp, and confirm the venv contains codex-relay and the SDK-bundled Codex binary.
    • Only when the user explicitly selects Codex-native mode, run praxist setup --profile codex-native --install-skills codex in a local terminal. It reuses or repairs the SDK-bundled Codex ChatGPT login and verifies the result. Do not make this subscription check a requirement for another provider/runtime profile. Never print, manually inspect, or place token files in a task or run directory. The runtime may internally stage file-based auth in a private OS-temporary home that it deletes on close.
    • Op
常见问题

它会安装任务数据集吗?

不会。这项技能说明,每个任务项目都拥有自己的数据集和训练环境。

这和技能安装器是一回事吗?

不是。这项技能说明,有一个单独的兼容性脚本用于安装 Codex 或 Claude Code 的技能链接。

它提到了哪些运行时?

这项技能提到了 Claude Agent SDK 和官方 Codex SDK。

详情

作者的原始描述

Install Praxist runtime dependencies and configure user-level Praxist provider credentials for a source checkout or pip-installed environment. Use when the user asks an agent to install or repair Praxist requirements, prepare a Praxist host, create the Praxist Python environment, install the `praxist` CLI, install Claude SDK or official Codex SDK runtime extras, install source-checkout test/dev dependencies, persist API keys or provider settings, verify imports, or diagnose missing dependencies. For source checkouts include the repository test/dev dependency group; for pip package installs kee

repo: sapientinc/PRAXIST

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能