← 返回 Skills 市场
terrycarter1985

Python Support

作者 terrycarter1985 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
251
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install python-support
功能描述
Python language support for OpenClaw agents. Provides environment setup, dependency management, linting, testing, and best practices for Python code executio...
使用说明 (SKILL.md)

Python Support

Quick Start

Use this skill for all Python-related operations in OpenClaw.

Environment Check

Verify Python environment:

python3 --version
pip3 --list
which python3

Running Scripts

Always use absolute paths and specify Python interpreter explicitly:

python3 /path/to/script.py

Dependency Management

Install packages safely:

pip3 install --quiet package-name

For one-off scripts requiring dependencies, use inline installation with verification:

import subprocess
import sys

def ensure_package(package):
    try:
        __import__(package)
    except ImportError:
        subprocess.check_call([sys.executable, "-m", "pip", "install", "--quiet", package])

Best Practices

  1. Shebang: Use #!/usr/bin/env python3 for executable scripts
  2. Error handling: Always include try/except blocks for external operations
  3. Encoding: Specify encoding="utf-8" for all file operations
  4. Paths: Use pathlib.Path for cross-platform path handling
  5. Output: Prefer JSON or machine-readable formats for structured output

References

安全使用建议
This skill appears to be what it says: a set of Python best-practice instructions and a style guide. Before using it, be aware that the guidance includes running pip install at runtime (including an example function that calls pip via subprocess). Installing packages dynamically can execute arbitrary code and access the network, so only install trusted, pinned packages, prefer using isolated virtual environments (venv/virtualenv), and consider running such operations in a sandbox. Also note two referenced docs (testing-patterns.md, debugging-tips.md) are missing from the package — verify the full documentation if you rely on those sections.
功能分析
Type: OpenClaw Skill Name: python-support Version: 1.0.0 The skill bundle provides standard Python environment management, dependency handling, and coding best practices for OpenClaw agents. The instructions in SKILL.md and references/style-guide.md are aligned with the stated purpose of supporting Python development, and no indicators of malicious intent, data exfiltration, or harmful prompt injection were found.
能力评估
Purpose & Capability
Name/description (Python support) matches the SKILL.md content: environment checks, running scripts, dependency management, linting/testing guidance and a style guide. The skill does not request unrelated credentials, binaries, or config paths.
Instruction Scope
Instructions stay within Python tooling and best practices, but they explicitly recommend installing packages at runtime (pip install via subprocess). Runtime installs are expected for dependency management but allow arbitrary package code execution and network access—this is inherent to the task and should be handled cautiously. SKILL.md references additional reference files (testing-patterns.md, debugging-tips.md) that are not present in the package manifest.
Install Mechanism
Instruction-only skill with no install spec and no code files beyond documentation. Nothing is written to disk by the skill itself during installation.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not require access to unrelated systems or secrets.
Persistence & Privilege
Default privileges (not always: true) and autonomous invocation allowed (platform default). The skill does not request permanent presence or system-wide changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install python-support
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /python-support 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of python-support skill. - Provides Python environment setup, dependency management, linting, testing, and execution best practices for OpenClaw agents. - Includes quick start guides for environment checks, running scripts, and safe package installation. - Recommends best practices for script execution, error handling, file encoding, cross-platform path management, and output formatting. - Links to references for style guidelines, testing patterns, and debugging tips.
元数据
Slug python-support
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Python Support 是什么?

Python language support for OpenClaw agents. Provides environment setup, dependency management, linting, testing, and best practices for Python code executio... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 251 次。

如何安装 Python Support?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install python-support」即可一键安装,无需额外配置。

Python Support 是免费的吗?

是的,Python Support 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Python Support 支持哪些平台?

Python Support 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Python Support?

由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v1.0.0。

💬 留言讨论