Python Executor
cortega26/chile-hub
Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).
TRIGGER when user asks to create a microservice that calls Python, runs ML inference, or uses Python libraries (PyTorch, pandas, sentence-transformers, numpy) for its core compute.
$ npx skills add microbus-io/fabric --skill add-python-microservice -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microbus-io/fabric add-python-microservice --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microbus-io/fabric.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/python/add-python-microservice .claude/skills/add-python-microservice && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-python-microservice" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-microservice into .claude/skills/add-python-microservice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-microservice", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-microserviceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microbus-io/fabric --skill add-python-microservice -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microbus-io/fabric add-python-microservice --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microbus-io/fabric.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/python/add-python-microservice .agents/skills/add-python-microservice && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-python-microservice" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-microservice into .agents/skills/add-python-microservice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-microservice", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microbus-io/fabric --skill add-python-microservice -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microbus-io/fabric add-python-microservice --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microbus-io/fabric.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/python/add-python-microservice .cursor/skills/add-python-microservice && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-python-microservice" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-microservice into .cursor/skills/add-python-microservice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-microservice", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microbus-io/fabric.git --path .claude/skills/python/add-python-microservice--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microbus-io/fabric --skill add-python-microservice -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microbus-io/fabric add-python-microservice --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microbus-io/fabric.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/python/add-python-microservice .gemini/skills/add-python-microservice && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-python-microservice" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-microservice into .gemini/skills/add-python-microservice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-microservice", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microbus-io/fabric add-python-microserviceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microbus-io/fabric --skill add-python-microservice -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microbus-io/fabric.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/python/add-python-microservice .github/skills/add-python-microservice && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-python-microservice" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-microservice into .github/skills/add-python-microservice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-microservice", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microbus-io/fabric --skill add-python-microservice -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microbus-io/fabric add-python-microservice --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microbus-io/fabric.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/python/add-python-microservice .opencode/skills/add-python-microservice && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-python-microservice" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-microservice into .opencode/skills/add-python-microservice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-microservice", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-python-microserviceTRIGGER when user asks to create a microservice that calls Python, runs ML inference, or uses Python libraries (PyTorch, pandas, sentence-transformers, numpy) for its core compute.
Add Python Microservice is an agent skill from microbus-io/fabric. TRIGGER when user asks to create a microservice that calls Python, runs ML inference, or uses Python libraries (PyTorch, pandas, sentence-transformers, numpy) for its core compute.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `service.py`).
It sits in Backend & APIs, covering Microservices and DataFrames. It works with Python, NumPy, pandas and PyTorch. The repository describes itself as: Microbus is the only fabric where every agentic workflow runs on a true microservice substrate - giving your workflows security, scale, observability, and prompt-driven authoring. The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit fb98098. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Go and Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Python Microservice loads about 1.1k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 323 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from microbus-io/fabric at commit fb98098, republished under its Apache-2.0 licence (© microbus-io). 323 words, ~1,086 tokens.
.claude/skills/add-python-microservice/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.CRITICAL: Read .claude/rules/python.txt before proceeding.
CRITICAL: Do NOT explore or analyze other microservices unless explicitly instructed to do so.
This skill works in two modes:
add-microservice scaffold first.Copy this checklist and track your progress:
Adding Python support to a microservice:
- [ ] Step 1: Run add-microservice (skip when extending an existing service)
- [ ] Step 2: Add Python source files
- [ ] Step 3: Add python.go
- [ ] Step 4: Extend the Service fields
- [ ] Step 5: Add MaxWorkers config
- [ ] Step 6: Wire OnStartup and OnShutdown
- [ ] Step 7: Housekeepingadd-microserviceSkip this step when extending an existing microservice.
Otherwise, run the add-microservice skill, skipping its housekeeping step (housekeeping runs once at the end of this skill instead). When it finishes, return here. The remaining steps assume myservice/ is the microservice directory.
Refuse to overwrite if either file already exists. Copy the template files to the microservice's root:
test -e myservice/service.py || cp .claude/skills/python/add-python-microservice/service.py myservice/service.py
test -e myservice/requirements.txt || cp .claude/skills/python/add-python-microservice/requirements.txt myservice/requirements.txtpython.goRefuse to overwrite if the file already exists:
test -e myservice/python.go || cp .claude/skills/python/add-python-microservice/python.go myservice/python.goChange package myservice to match the microservice's package name. Leave the rest unchanged.
In service.go, append the venv field to the existing Service struct, preserving any fields already there:
type Service struct {
*Intermediate // IMPORTANT: Do not remove
// ...existing fields...
venv *pyvenv.Venv
}Add these imports to service.go if they're not already there:
import (
// ...
"github.com/microbus-io/fabric/connector"
"github.com/microbus-io/pyvenv"
)MaxWorkers ConfigRun add-config:
MaxWorkersintint [1,]1 for LLM inference, 4 for I/O, 8 for parallel numpy/pandas)MaxWorkers caps how many calls into the Python venv may run concurrently.OnStartup and OnShutdownAdd the Python lifecycle wiring to the existing OnStartup and OnShutdown bodies. Do not delete any existing code; append the new lines around it.
In OnStartup, add this block (anywhere in the body, but conventionally at the end so any earlier setup is in place before the venv goroutine launches):
sources, err := readPythonSources()
if err != nil {
return errors.Trace(err)
}
svc.venv, err = pyvenv.New(pyvenv.Config{
Sources: sources,
Requirements: parseRequirements(pythonRequirements),
MaxWorkers: svc.MaxWorkers(),
Logger: svc,
LivenessCallback: svc.onVenvLiveness,
})
if err != nil {
return errors.Trace(err)
}
// Start the venv in the background. Auto-start is gated on deployment; in TESTING the
// venv is left dormant (parallels how tickers don't run in TESTING).
if svc.Deployment() != connector.TESTING {
// Tests opt-in by calling svc.StartPyVenv(ctx)
svc.Go(ctx, svc.venv.Start)
}In OnShutdown, add this block (conventionally at the start, so the venv is released before any downstream resources the service shuts down later):
if svc.venv != nil {
err := svc.venv.Close(ctx)
if err != nil {
svc.LogError(ctx, "Closing python venv failed", "error", err)
}
}Follow the housekeeping skill.
© microbus-io, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files in .claude/skills/python/add-python-microservice of microbus-io/fabric.
Open the folder on GitHubat commit fb98098
Add Python Microservice next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Python Microservice this skillmicrobus-io/fabric | 172 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Python Executorcortega26/chile-hub | 113 | 2 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Vaex Out-of-Core DataFramesdavila7/claude-code-templates | 32k | 12 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Candlestick Pattern SignalsHKUDS/Vibe-Trading | 35k | — | ~468 | Automated safety check: Pass | MIT | |
| DaskK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~4.4k | Automated safety check: Notes | BSD-3-Clause | |
| Ta Libagiprolabs/claude-trading-skills | 410 | — | ~2.4k | Automated safety check: Notes | MIT |
cortega26/chile-hub
Execute Python code in a safe sandboxed environment via [inference.sh](https://inference.sh).
davila7/claude-code-templates
Processes tabular datasets too large for RAM with Vaex: lazy DataFrames, fast aggregations, big-data plots and ML pipelines over CSV, HDF5, Arrow and Parquet.
HKUDS/Vibe-Trading
Detects 15 classic candlestick patterns with vectorized pandas code and combines bullish and bearish scores into a long, short or flat trading signal.
K-Dense-AI/scientific-agent-skills
Scales pandas, NumPy, and custom Python research workflows beyond memory or across clusters with Dask.
agiprolabs/claude-trading-skills
C-optimized technical analysis with 150+ functions and 61 candlestick pattern recognition functions via TA-Lib
jaechang-hits/SciAgent-Skills
Classical ML in Python: classification, regression, clustering, dim reduction, evaluation, tuning, preprocessing pipelines.
microbus-io/fabric
TRIGGER when user asks to add or modify a configuration property or setting, or to make a value configurable.
microbus-io/fabric
TRIGGER when user asks to add, create, or modify an API endpoint, function, or RPC, or a route that accepts typed arguments and returns typed results.
microbus-io/fabric
TRIGGER when user asks to listen for, subscribe to, or handle an event emitted by another microservice.
microbus-io/fabric
TRIGGER when user asks to add or modify a metric, counter, gauge, or histogram, or to track/measure an operation.
microbus-io/fabric
TRIGGER when user asks to fire, emit, or publish an event that other microservices can subscribe to.
microbus-io/fabric
TRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice.
Categories
TRIGGER when user asks to create a microservice that calls Python, runs ML inference, or uses Python libraries (PyTorch, pandas, sentence-transformers, numpy) for its core compute. Add Python Microservice is an agent skill from microbus-io/fabric. TRIGGER when user asks to create a microservice that calls Python, runs ML inference, or uses Python libraries (PyTorch, pandas, sentence-transformers, numpy) for its core compute.
Add Python Microservice fits situations like: user asks to create a microservice that calls Python; runs ML inference; uses Python libraries (PyTorch; sentence-transformers.
Run `npx skills add microbus-io/fabric --skill add-python-microservice -a claude-code`. Or copy the skill folder (.claude/skills/python/add-python-microservice in microbus-io/fabric) into .claude/skills/add-python-microservice in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microbus-io/fabric --skill add-python-microservice -a codex`. Or copy the skill folder (.claude/skills/python/add-python-microservice in microbus-io/fabric) into .agents/skills/add-python-microservice in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microbus-io/fabric --skill add-python-microservice -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-python-microservice, .gemini/skills/add-python-microservice, .github/skills/add-python-microservice and .opencode/skills/add-python-microservice in your project.
Going by SKILL.md and its folder, Add Python Microservice needs Go and Python for the scripts in its folder. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add Python Microservice is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Python Microservice: Python Executor (cortega26/chile-hub, 113 stars), Vaex Out-of-Core DataFrames (davila7/claude-code-templates, 32k stars), Candlestick Pattern Signals (HKUDS/Vibe-Trading, 35k stars) and Dask (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microbus-io (a GitHub organization) maintains it in microbus-io/fabric, which has 172 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on September 28, 2026.
Source: microbus-io/fabric on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.