Skip to content
Back to skills

Api Services

ASecurity

"Help future agents create, launch, inspect, and troubleshoot the

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
documentationgofastapiapi

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Api Services?

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

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

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: api-services
description: "Help future agents create, launch, inspect, and troubleshoot the
  FastAPI service Opyrator exposes for wrapped functions."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# api-services

Use this sub-skill when the user needs the HTTP API service that Opyrator exposes for a wrapped callable.

## What it covers
- `create_api(Opyrator) -> FastAPI`
- `launch_api(opyrator_path, port=8501, host="0.0.0.0")`
- `patch_fastapi(app)`
- `POST /call`, `GET /info`, `GET /` redirecting to `./docs`
- `/docs`, `/redoc`, and `/openapi.json` behavior after patching
- permissive CORS defaults
- OpenAPI generation from `Opyrator.input_type` and `Opyrator.output_type`
- service host and port selection for local startup
- array responses for wrapped callables that return `list[BaseModel]` or a root model around a list

## Route elsewhere
- CLI call/export/deploy and function wrapping: `../wrapping-and-cli/SKILL.md`
- Streamlit UI, file rendering, and component schema behavior: `../ui-and-components/SKILL.md`

## Start here
- Root router: `../../SKILL.md`
- Shared compatibility pins and install guidance: `../../references/troubleshooting.md`
- In-process smoke helper: `scripts/api_smoke.py`

## Evidence basis
The bundled references were distilled from the runtime API helpers, the public README API section, example wrappers and OpenAPI specs, and the package pin set that governs the compatible FastAPI and Starlette stack.

## Success signals
- `create_api` returns a `FastAPI` app without launching a server.
- `/call` uses the wrapped callable's input model for request validation and its output type for `response_model`.
- `/info` is present and returns an empty metadata object.
- `/` redirects to `./docs`.
- `/docs` and `/redoc` remain usable through relative URLs after patching.
- A callable with invalid input or output annotations fails before service creation.

Files in this skill

  • SKILL.md1.9 KB
  • references/api-reference.md3.3 KB
  • references/troubleshooting.md2.5 KB
  • references/workflows.md3 KB
  • scripts/api_smoke.py6.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.