Skip to content
Back to skills

Opyrator

ASecurity

"Guide future agents through Opyrator's callable wrapping, FastAPI

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopspythonbashfastapidockerapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill opyrator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opyrator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Opyrator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-opyrator/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-opyrator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: opyrator
description: "Guide future agents through Opyrator's callable wrapping, FastAPI
  service, and Streamlit UI workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Opyrator

Use this skill when the request mentions **Opyrator**, the `opyrator` CLI, `launch-api`, `launch-ui`, `call`, `export`, `deploy`, `FileContent`, or the schema-driven UI and API surface built around Pydantic models.

## Start here

- If you need to check whether this skill still matches the repository snapshot, read `references/repo-provenance.md` first.
- If you only need a quick map of common workflows, read `references/workflows.md`.
- If install, import, or version pins are failing, read `references/troubleshooting.md` before changing the callable itself.
- If you need package-level API and CLI facts, read `references/api-reference.md`.
- For a safe local smoke check, run `scripts/check_install.py`.

## Install for this snapshot

This repository snapshot is verified on **Python 3.8** with the legacy-compatible stack that keeps the CLI, FastAPI service, and Streamlit UI importable.

Recommended install from the repo root:

```bash
python -m pip install -e . \
  "pydantic<2" \
  "fastapi==0.63.0" \
  "starlette==0.13.6" \
  "typer<0.8" \
  "click<8.1" \
  "streamlit==0.72.0" \
  "protobuf==3.20.3" \
  "altair<5" \
  "pandas<2" \
  "numpy<2" \
  "plotly" \
  "loguru" \
  "uvicorn<0.24"
```

Use the editable install when you are working from a local checkout. Use a normal install from a built source distribution only if you intentionally do not want editable behavior.

## How the skill routes

### 1. Wrap a Python callable and use the CLI

Route to [`sub-skills/wrapping-and-cli/SKILL.md`](sub-skills/wrapping-and-cli/SKILL.md) when the user wants to:

- build an `Opyrator` from a function, callable instance, or import string,
- validate `input` / return annotations,
- call a wrapped function from Python or `opyrator call`,
- or understand the current WIP behavior of `export` and `deploy`.

### 2. Serve the callable as FastAPI

Route to [`sub-skills/api-services/SKILL.md`](sub-skills/api-services/SKILL.md) when the user wants to:

- launch or inspect the FastAPI service,
- check `/call`, `/info`, `/docs`, `/redoc`, or `/openapi.json`,
- or troubleshoot relative docs routing and `patch_fastapi` behavior.

### 3. Launch the Streamlit UI or use FileContent / component renderers

Route to [`sub-skills/ui-and-components/SKILL.md`](sub-skills/ui-and-components/SKILL.md) when the user wants to:

- launch the Streamlit UI,
- understand schema-driven widgets,
- work with `FileContent`, `ClassificationOutput`, or custom render hooks,
- or debug widget/schema compatibility problems.

## Minimal verification

Use the bundled smoke helper after install:

```bash
python scripts/check_install.py --json
```

Expected result: the script reports `status: ok`, confirms the package version, checks a tiny `Opyrator` wrapper, verifies FastAPI app creation, confirms `FileContent` round-tripping, and checks the CLI help surface without starting any long-running server.

## What not to do here

- Do not tell future agents to depend on the original repo checkout for runtime behavior.
- Do not promise ZIP export, Docker export, PEX export, or cloud deployment from `export` / `deploy`; those commands are WIP placeholders in the verified snapshot.
- Do not route callable wrapping questions into the API or UI sub-skills just because those workflows also use the same callable contract.

Files in this skill

  • SKILL.md3.5 KB
  • references/api-reference.md3.6 KB
  • references/repo-provenance.md1.3 KB
  • references/repo-routing-metadata.json338 B
  • references/troubleshooting.md3.3 KB
  • references/workflows.md2.8 KB
  • scripts/check_install.py5 KB
  • sub-skills/api-services/SKILL.md1.9 KB
  • sub-skills/api-services/references/api-reference.md3.3 KB
  • sub-skills/api-services/references/troubleshooting.md2.5 KB
  • sub-skills/api-services/references/workflows.md3 KB
  • sub-skills/api-services/scripts/api_smoke.py6.2 KB
  • sub-skills/ui-and-components/SKILL.md4 KB
  • sub-skills/ui-and-components/references/component-reference.md7.1 KB
  • sub-skills/ui-and-components/references/troubleshooting.md6 KB
  • sub-skills/ui-and-components/references/workflows.md9.9 KB
  • sub-skills/ui-and-components/scripts/schema_smoke.py11.1 KB
  • sub-skills/wrapping-and-cli/SKILL.md4.5 KB
  • sub-skills/wrapping-and-cli/references/cli-reference.md3.2 KB
  • sub-skills/wrapping-and-cli/references/troubleshooting.md6.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.