Skip to main content

Bridge between agentskills.io SKILL.md packages and a local OpenAPI server

Project description

skill-openapi-bridge

Bridge between agentskills.io SKILL.md packages and a local OpenAPI server.

Concept

An agentskills.io skill can contain rich supporting files beyond SKILL.md:

<skill-name>/
├── SKILL.md          # Required: metadata + instructions
├── scripts/          # Optional: executable code
├── references/       # Optional: documentation
└── assets/           # Optional: templates, resources

skill-openapi-bridge takes a <skillname>-openapi-spec.json — generated from a pinned commit of a skill repo — and serves it as a local OpenAPI server inside the agent's container session.

This enables Progressive Disclosure directly from a PyPI-installed package:

GET /              -> Discovery   (SKILL.md content)
GET /scripts/x     -> Loading     (script file)
GET /references/y  -> Loading     (reference file)

No external servers. No tunnels. The server runs on localhost inside the agent container.

Install

pip install skill-openapi-bridge
# or with uv:
uv add skill-openapi-bridge

Usage

# Show help
skill-openapi-bridge --help

# Show version
skill-openapi-bridge version

# Serve a skill spec (coming in v0.2.0)
skill-openapi-bridge serve brainstorming-topic-dialog-creative-mentor-en-openapi-spec.json

Shell tab completion:

skill-openapi-bridge --install-completion

Status

Version Status
v0.1.0 Name reserved — CLI scaffold only
v0.2.0 serve command implemented via apiup
v0.3.0 generate command: GitHub repo → openapi-spec.json

Architecture

<skillname>-openapi-spec  (PyPI)
        |
        | depends on
        v
skill-openapi-bridge  (PyPI)
        |
        | depends on
        v
apiup[validate]  (PyPI)
        |
        | serves on
        v
localhost:<port>  (in-container HTTP)
        |
        | curl / fetch
        v
Agent (Progressive Disclosure)

Related

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skill_openapi_bridge-0.2.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skill_openapi_bridge-0.2.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file skill_openapi_bridge-0.2.0.tar.gz.

File metadata

  • Download URL: skill_openapi_bridge-0.2.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skill_openapi_bridge-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8051ed24ba7ef52724f5d52df94b6d5c1755550abcb7f1dfa7a8329d0a7b4288
MD5 d95930ce4955532dd1ca497fb7d37eb9
BLAKE2b-256 39e91e699b733ab1addb1d695c75168f0a266465430b3b38f01a3bfb77edf05b

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_openapi_bridge-0.2.0.tar.gz:

Publisher: publish.yml on roebi/skill-openapi-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skill_openapi_bridge-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for skill_openapi_bridge-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b61be5446eca35662ee361a21bed7fafaa36645479f0e2957691692d34ccab3
MD5 04463a28832c1b1a21c300307cdb2b43
BLAKE2b-256 9630faf6fa9ccab8d9eb878337d6e68d84d1fa6378cbf22b7ab81d18ab71a960

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_openapi_bridge-0.2.0-py3-none-any.whl:

Publisher: publish.yml on roebi/skill-openapi-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page