Xpersona
P

Python Support

CLAWHUB · Unverified

Python language support for OpenClaw agents. Provides environment setup, dependency management, linting, testing, and best practices for Python code executio... Skill: Python Support Owner: terrycarter1985 Summary: Python language support for OpenClaw agents. Provides environment setup, dependency management, linting, testing, and best practices for Python code executio... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-19T20:56:23.247Z | auto Initial release of python-support skill. - Provides Python environment setup, dependency management, linting, testing, and execu

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s17brwfrqyjhbjgadkvar20h8x8492g8:python-support
  1. Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-terrycarter1985-python-support/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

5,566 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: python-support
description: Python language support for OpenClaw agents. Provides environment setup, dependency management, linting, testing, and best practices for Python code execution. Use when running Python scripts, managing virtual environments, installing packages, debugging Python code, or ensuring code quality with linting and formatting.
---
# Python Support

## Quick Start

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

### Environment Check

Verify Python environment:
```bash
python3 --version
pip3 --list
which python3
```

### Running Scripts

Always use absolute paths and specify Python interpreter explicitly:
```bash
python3 /path/to/script.py
```

### Dependency Management

**Install packages safely:**
```bash
pip3 install --quiet package-name
```

For one-off scripts requiring dependencies, use inline installation with verification:
```python
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

- See [references/style-guide.md](references/style-guide.md) for Python style guidelines
- See [references/testing-patterns.md](references/testing-patterns.md) for testing patterns
- See [references/debugging-tips.md](references/debugging-tips.md) for debugging techniques

_meta.json

{
  "ownerId": "kn72jmd20ws94jr0p8b3p24wyn82abgj",
  "slug": "python-support",
  "version": "1.0.0",
  "publishedAt": 1776632183247
}

references/style-guide.md

# Python Style Guide

## PEP 8 Compliance

Follow PEP 8 guidelines with these specific adjustments:

- Line length: 100 characters (not 79)
- String quotes: Use double quotes for human-readable text, single quotes otherwise
- Type hints: Required for all public function signatures

## Code Structure

```python
#!/usr/bin/env python3
"""Module docstring."""

import subprocess
import sys
from pathlib import Path
from typing import Optional

def function_name(param1: str, param2: Optional[int] = None) -> bool:
    """Function docstring."""
    return True

if __name__ == "__main__":
    main()
```

## Error Handling

```python
try:
    result = subprocess.run(
        ["command", "arg1"],
        capture_output=True,
        text=True,
        check=True
    )
except subprocess.CalledProcessError as e:
    print(f"Error: {e.stderr}", file=sys.stderr)
    sys.exit(1)
```

skill-card.md

## Description:

Python Support gives OpenClaw agents guidance for Python environment setup, dependency management, script execution, linting, testing, debugging, and code-quality practices.

This skill is ready for commercial/non-commercial use.

## Publisher:

[terrycarter1985](https://clawhub.ai/user/terrycarter1985)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to help agents perform Python-related work consistently, including environment checks, script execution, dependency setup, and code-quality practices.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill may lead agents to install Python packages quietly or automatically, which can be risky in shared environments or when working with untrusted code.

Mitigation: Require explicit approval for package installs, prefer isolated virtual environments, and use pinned, reviewed dependencies.

## Reference(s):

- [Python Style Guide](references/style-guide.md)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with bash and Python code blocks]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include commands for environment inspection, package installation, script execution, testing, linting, and formatting.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Python Support and adjacent AI workflows.