Xpersona
代

代码自动运行和修复

CLAWHUB · Unverified

自动运行并调试 Python、C 和 x86_64 汇编代码,错误时自动修复并返回可执行版本。 Skill: 代码自动运行和修复 Owner: zyk-404 Summary: 自动运行并调试 Python、C 和 x86_64 汇编代码,错误时自动修复并返回可执行版本。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-27T03:06:02.910Z | user 自动运行 Python / C / 汇编代码,捕获报错后使用龙虾内置 LLM 自动修复,并直接返回修复后的代码,实现代码自动纠错闭环。 Archive index: Archive v1.0.0: 6 files, 3605 bytes Files: requirements.txt (20b), skill-card.md (2045b), skill.json (345b), SKILL.md (649b), skill.py (2893b), _meta.json (136b) File v1.0

62
Rank
84
Safety
995
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 995 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 s1754dwqj2an297vhpdkmcdhf183p4pr:code-run-auto-fix
  1. Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. 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-zyk-404-code-run-auto-fix/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

3,308 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

# 代码自动执行与修复 Skill

## 功能介绍
支持自动运行 Python / C / 汇编代码,捕获报错后使用龙虾平台内置 LLM 自动修复,并直接返回修复后的完整代码,实现代码运行-报错-修复-更新全自动化闭环。

## 支持语言
- Python
- C 语言
- x86_64 汇编

## 提供工具
- run_python:执行并自动修复 Python 代码
- run_c:编译、执行并自动修复 C 代码
- run_assembly:汇编、链接、执行并自动修复 x86_64 汇编代码

## 使用说明
用户传入代码 → 自动运行 → 捕获错误 → 龙虾 LLM 修复 → 返回最终可运行代码

_meta.json

{
  "ownerId": "kn70r8mrk9hrd7w50k2zcf1pan83ptc6",
  "slug": "code-run-auto-fix",
  "version": "1.0.0",
  "publishedAt": 1774580762910
}

skill-card.md

## Description:

自动运行并调试 Python、C 和 x86_64 汇编代码,在出错时调用龙虾平台 LLM 修复并返回可执行版本。

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

## Publisher:

[zyk-404](https://clawhub.ai/user/zyk-404)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers can use this skill to run Python, C, or x86_64 assembly snippets and receive a repaired code version when execution, compilation, assembly, or linking errors occur.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill runs user-submitted and LLM-modified code on the host without visible sandboxing or approval gates.

Mitigation: Install and run it only in a disposable, least-privileged sandbox or container with no secrets, no sensitive source trees, strict resource limits, and network access disabled unless explicitly needed.

Risk: Submitted code and error output may be sent to the platform LLM during automatic repair.

Mitigation: Do not submit proprietary code, credentials, or sensitive data unless that disclosure is acceptable for the deployment environment.

Risk: Dependencies are not pinned in the artifact requirements file.

Mitigation: Pin and review dependencies before deployment.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/zyk-404/skills/code-run-auto-fix)

## Skill Output:

**Output Type(s):** [Code, Text, Shell commands]

**Output Format:** [Plain text code returned by MCP tools]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Returns the final code string after running the submitted code and, when an error is detected, one LLM repair attempt.]

## Skill Version(s):

1.0.0 (source: server release metadata and artifact skill.json)

## 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.

skill.json

{
  "name": "code_auto_fix",
  "description": "自动运行代码并使用龙虾LLM修复,直接返回修复后代码",
  "version": "1.0.0",
  "author": "user",
  "type": "mcp",
  "mcp": {
    "command": "python3",
    "args": [
      "skill.py"
    ]
  },
  "tools": [
    "run_python",
    "run_c",
    "run_assembly"
  ]
}

requirements.txt

mcp[server]
clawhub

Sponsored

Ads related to 代码自动运行和修复 and adjacent AI workflows.