[DNM] feat: skills over MCP #73
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/openshift/agentic-skills/pull/73#" title="Author self-approved">Cali0707</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":[]} -->
@Cali0707: all tests passed!
Full PR test history. Your PR dashboard.
<details>
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.
</details>
<!-- test report -->
Could we make DOCS_DIR a filesystem boundary before exposing this over HTTP? cmd.Dir sets the working directory, but caller-supplied ls and grep arguments can still reach files elsewhere that the server process can read. A docs-specific list/read/search interface could confine access to the corpus, including when resolving symlinks.
Could we cap matches and output bytes as we collect them? A broad recursive search can buffer much of the bundled corpus in memory, and concurrent calls multiply that cost. It would help to tell clients when results were truncated.
Could we build the MCP image in Prow and smoke-test it over HTTP? The current jobs cover the skills image, Python tests, and skill scanning. Starting this image, discovering a skill, reading a supporting file, and querying the packaged docs would cover the new delivery path. I’d also exercise a script-backed skill through the intended Claude setup before shipping.
Do we expect to ship this through a Claude connector that scans skills? The argo-repo-audit bundle is about 4.5 MB and includes two JSON schemas over 1 MB each. That exceeds the scanned-skill limits of 100 KB per text file and 400 KB per skill.
Could this example use networking/networking_overview/understanding-networking.md? The packaged 4.22 corpus contains that page, and the current networking/index.md path is absent.
go:embed ties skill updates to an MCP server image rebuild. If MCP Lifecycle can deploy a new image digest independently of the RHOAI release, that may already give us the release cadence we want. Do we also need to update skills while keeping the server image fixed? That’s the case where a separate OCI bundle would help.
matzew
Cali0707
This moves our skills to being server over MCP.
Note that this is a hacky proof of concept branch! It needs cleanup before being mergeable.