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.1.0.tar.gz (4.2 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.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skill_openapi_bridge-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 96a832e1d886052945367cabf782e39f9a34a9b6e7c9d577c23765258f9f8fa0
MD5 4964c26536817e1171b2354759069d63
BLAKE2b-256 c5fc3c78428f59b546288fd79ee9d91fd088b74969d4d778dd923499338a04ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_openapi_bridge-0.1.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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for skill_openapi_bridge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44043549b8f6456ff3c71582eed9696f8b56950ea4f7394d710dd6760d2832f7
MD5 9eb71be60ce7a4f93dc83f81ab801105
BLAKE2b-256 5401fb7de28d9a86d9c98d4ed33f985ba286070491705322cc65c361cdc29d59

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_openapi_bridge-0.1.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