スキル一覧に戻る
Anudorannador

pyx

by Anudorannador

A cross-platform Python executor for LLM/Agent integration that avoids shell escaping nightmares.

0🍴 0📅 2025年12月24日
GitHubで見るManusで実行

SKILL.md


name: pyx description: "Safe Python code execution using pyx CLI. Use when: running Python, executing scripts, testing code. Triggers: pyx, run python, execute code, test script. Default mode: MANIFEST_IO (file-first with manifest output)." version: 0.1.0

pyx Executor

Use pyx for safe Python execution. Default: MANIFEST_IO mode.

Read-First: Environment (Mandatory)

If you need any of the following, you MUST read references/environment.md first:

  • Which Python packages are installed for pyx
  • OS details
  • Shell type/path and shell syntax notes

Do NOT do trial-and-error checks (e.g. guessing imports, probing commands). Prefer the generated environment document as the source of truth.

Note: pyx info can be slow. Prefer reading references/environment.md first.

Current Environment

  • OS: Windows (AMD64)
  • Shell: powershell
  • pyx Python: 3.12.12
  • pyx version: 0.1.0

Depends On (Soft)

Load these skills alongside pyx:

  • manifest - MANIFEST_IO contract and workflow
  • learn - skill extraction workflow and summary reference

MANIFEST_IO (Default)

pyx assumes MANIFEST_IO by default:

  • Read inputs from JSON files
  • Write outputs to files + a manifest
  • Print a short stdout summary (paths + sizes)
  • Check sizes before reading outputs into context

See the manifest skill for the full spec.

Non-Strict Mode (Opt-out)

Use only when user explicitly says:

  • "no strict mode"
  • "simple mode"
pyx run --file "temp/task.py"

Golden Rule

NEVER paste code inline to shell. Always write to file first:

# ❌ WRONG
pyx run --code "import os; print(os.listdir())"

# ✅ CORRECT
pyx ensure-temp --dir "temp"
# Write code to: temp/list_files.py
pyx run --file "temp/list_files.py"

Quick Reference

TaskCommand
Create temp dirpyx ensure-temp --dir "temp"
Run scriptpyx run --file "script.py"
Run with inputpyx run --file "script.py" --input-path "input.json"
Run with timeoutpyx run --file "script.py" --timeout 30
Run in directorypyx run --file "script.py" --cwd "/path"
Install packagepyx add --package "requests"
Check environmentpyx info

References

pyx-specific references:

Common use-cases:

スコア

総合スコア

65/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です