AWS Serverless Eda
zxkane/aws-skills
AWS serverless and event-driven architecture expert based on Well-Architected Framework.
TRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice.
$ npx skills add microbus-io/fabric --skill add-python-function -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microbus-io/fabric add-python-function --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-function .claude/skills/add-python-function && 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-function" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-function into .claude/skills/add-python-function/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-function", 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-functionType 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-function -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microbus-io/fabric add-python-function --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-function .agents/skills/add-python-function && 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-function" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-function into .agents/skills/add-python-function/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-function", 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-function -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microbus-io/fabric add-python-function --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-function .cursor/skills/add-python-function && 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-function" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-function into .cursor/skills/add-python-function/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-function", 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-function--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-function -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microbus-io/fabric add-python-function --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-function .gemini/skills/add-python-function && 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-function" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-function into .gemini/skills/add-python-function/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-function", 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-functionInstalls 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-function -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-function .github/skills/add-python-function && 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-function" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-function into .github/skills/add-python-function/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-function", 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-function -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-function --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-function .opencode/skills/add-python-function && 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-function" agent skill from https://github.com/microbus-io/fabric/tree/main/.claude/skills/python/add-python-function into .opencode/skills/add-python-function/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-python-function", 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-functionTRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice.
Add Python Function is an agent skill from microbus-io/fabric. TRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Microservices. It works with Python. 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.
6 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are go and python).
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 Function loads about 1.3k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 500 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). 500 words, ~1,306 tokens.
.claude/skills/add-python-function/SKILL.md (or your agent's skills folder).CRITICAL: Read .claude/rules/python.txt before proceeding. It explains the Go-Python boundary, the manual-subscription pattern, args/result conventions, and how the in-process pyvenv module is wired into the microservice.
CRITICAL: Do NOT explore or analyze other microservices unless explicitly instructed to do so. The instructions in this skill are self-contained to this microservice.
Copy this checklist and track your progress:
Adding a Python-backed function endpoint:
- [ ] Step 1: Verify the microservice is Python-backed
- [ ] Step 2: Determine the Go signature
- [ ] Step 3: Run add-function with Manual + Tags("python")
- [ ] Step 4: Replace the handler body with svc.venv.CallAndAwait
- [ ] Step 5: Add the Python function to service.py
- [ ] Step 6: HousekeepingThe microservice must already have python.go and a service.py at its root. If not, run add-python-microservice first (it works both for fresh microservices and for extending an existing one without overwriting business logic).
Determine the Go signature of the function endpoint. The constraints from add-function apply (typed inputs and outputs, ctx context.Context first, err error last, etc.).
func MyFunction(ctx context.Context, input1 string, input2 int) (output1 float64, err error)Python sees the inputs as a dict keyed by the field names in MyFunctionIn (driven by their json:"..." tags). The dict is passed to a Python function whose signature mirrors the Go one (excluding ctx).
add-function with Manual + Tags("python")Run the add-function skill, with these overrides applied as you reach each of its steps:
Step 7 (Declare the Endpoint in definition.go): add Manual: true and Tags: []string{"python"} to the define.Function var, so the endpoint is registered as a manual subscription tagged python and stays off the bus until the venv liveness callback activates the python-tagged group when Python is ready:
var MyFunction = define.Function{ // MARKER: MyFunction
Host: Hostname, Method: "ANY", Route: "/my-function",
Manual: true, Tags: []string{"python"},
In: MyFunctionIn{}, Out: MyFunctionOut{},
}Step 8 (Generate the Boilerplate): run normally. genservice emits the sub.Manual() and sub.Tag("python") wiring into the generated intermediate.go, and scaffolds the handler stub in service.go and the test in service_test.go.
Step 9 (Implement the Logic in service.go): skip. Step 4 below replaces the generated stub's body.
Step 10 (Test the Function): run normally, then add a one-line opt-in HINT immediately after the app.RunInTest(t) line so a future reader can switch the test from mock-only to real-Python without hunting through docs:
app.RunInTest(t)
// HINT: Uncomment to spin up real Python and exercise actual execution (slow on first run)
// svc.StartPyVenv(ctx)Step 11 (Housekeeping): skip; housekeeping runs once at the end of this skill instead.
When add-function finishes, return here for Step 4.
svc.venv.CallAndAwaitIn service.go, replace the handler body that add-function left as a stub with a delegation to svc.venv.CallAndAwait. Pass MyFunctionIn directly as args (its json:"..." tags drive the wire format the Python function sees as a dict); the result is unmarshaled into the typed MyFunctionOut.
func (svc *Service) MyFunction(ctx context.Context, input1 string, input2 int) (output1 float64, err error) { // MARKER: MyFunction
if svc.venv == nil || !svc.venv.Ready() {
return 0, errors.New("venv not ready", http.StatusServiceUnavailable)
}
in := myserviceapi.MyFunctionIn{
Input1: input1,
Input2: input2,
}
var out myserviceapi.MyFunctionOut
err = svc.venv.CallAndAwait(ctx, "my_function", in, &out)
if err != nil {
return 0, errors.Trace(err)
}
return out.Output1, nil
}CallAndAwait is the synchronous shorthand: it does Call (which returns a callID and the Python work starts running) followed by Await(ctx, callID, &out) on the same goroutine. For a function endpoint the caller's ctx is the call's deadline; if it expires, the Python work keeps running until completion and the result eventually ages out of the cache.
service.pyAppend a Python function to service.py (at the microservice's root) whose name is the snake_case form of the Go function name, accepting a dict and returning a dict. The docstring is the same description text as the function's godoc on the Go side.
def my_function(args): # MARKER: MyFunction
"""MyFunction does X."""
input1 = args["input1"]
input2 = args["input2"]
# ... compute ...
return {"output1": 42.0}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
Just SKILL.md in .claude/skills/python/add-python-function of microbus-io/fabric.
Open the folder on GitHubat commit fb98098
Add Python Function 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 Function this skillmicrobus-io/fabric | 172 | — | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| AWS Serverless Edazxkane/aws-skills | 367 | 4 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Temporal Developerlatitude-dev/latitude-llm | 4.7k | — | ~1.5k | Automated safety check: Pass | MIT | |
| K8e Sandboxxiaods/k8e | 499 | — | ~6k | Automated safety check: Pass | Apache-2.0 | |
| Temporal Developertemporalio/skill-temporal-developer | 230 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Intrinsic Core Service Authoringintrinsic-ai/intrinsic-core | 552 | — | ~2.2k | Automated safety check: Pass | Apache-2.0 |
zxkane/aws-skills
AWS serverless and event-driven architecture expert based on Well-Architected Framework.
latitude-dev/latitude-llm
This skill should be used when the user asks to "create a Temporal workflow", "write a Temporal activity", "debug stuck workflow", "fix non-determinism error", "Temporal Python", "Temporal…
xiaods/k8e
Run a goal end to end inside an isolated K8E sandbox pod (gVisor / Kata / Firecracker) instead of on the host: exec bash / Python / Node / TypeScript, install packages, move files in and out, reuse…
temporalio/skill-temporal-developer
Develop, debug, and manage Temporal applications across Python, TypeScript, Go, Java, .NET, Ruby, and Rust.
intrinsic-ai/intrinsic-core
Intrinsic Core microservice authoring, ServiceManifest definitions (realspec vs simspec), RuntimeContext port bindings (gRPC port 1 vs HTTP port 7), SIGTERM lifecycle handling, and .binpb sideloading.
davila7/claude-code-templates
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2.
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 create a microservice that calls Python, runs ML inference, or uses Python libraries (PyTorch, pandas, sentence-transformers, numpy) for its core compute.
Works with
Categories
TRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice. Add Python Function is an agent skill from microbus-io/fabric. TRIGGER when user asks to add a Python-backed function endpoint to an existing Python-backed microservice.
Add Python Function fits situations like: user asks to add a Python-backed function endpoint to an existing Python-backed microservice; tasks that involve Microservices.
Run `npx skills add microbus-io/fabric --skill add-python-function -a claude-code`. Or copy the skill folder (.claude/skills/python/add-python-function in microbus-io/fabric) into .claude/skills/add-python-function in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microbus-io/fabric --skill add-python-function -a codex`. Or copy the skill folder (.claude/skills/python/add-python-function in microbus-io/fabric) into .agents/skills/add-python-function 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-function -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-function, .gemini/skills/add-python-function, .github/skills/add-python-function and .opencode/skills/add-python-function in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Python Function is instructions for the agent only. 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 Function 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.3k tokens (SKILL.md is roughly 5.2k 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 Function: AWS Serverless Eda (zxkane/aws-skills, 367 stars), Temporal Developer (latitude-dev/latitude-llm, 4.7k stars), K8e Sandbox (xiaods/k8e, 499 stars) and Temporal Developer (temporalio/skill-temporal-developer, 230 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.