Skip to content

feat: list plugins with their format, and read a skill's content - #6

Merged
QuentinBisson merged 4 commits into
mainfrom
feat/list-plugins-and-content
Nov 10, 2026
Merged

QuentinBisson merged 4 commits into
mainfrom
feat/list-plugins-and-content

Conversation

@QuentinBisson

@QuentinBisson QuentinBisson commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

list_skills and GET /v1/skills report each repository's plugins with their format (agent-plugins for a root plugin.json, claude-code for .claude-plugin/plugin.json), from the same tree read as the skills. The rule is the portal's discoverPlugins.ts. New get_skill and get_skill_file (GET /v1/skills/content and /content/file) read a skill's SKILL.md, its file list and one file at a full commit, below a configured source, as the person.

What is the effect of this change to users?

Agents and MCP clients can discover plugins, which only the portal could before. The portal can drop its own GitHub discovery and token for skills (giantswarm/backstage#3432; chart: giantswarm/agent-platform#1334).

Any background context you can provide?

Stacked on #2. Towards giantswarm/giantswarm#38322: skill-manager becomes the only discoverer for the portal and agents.

What is needed from the reviewers?

Whether the content tools belong in v0 or after it. A private repository the caller cannot read lists empty skills and plugins, as for skills today.

Do the docs need to be updated?

Done: docs/api.md, docs/tools.md.

@circleci-architect

circleci-architect Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Published Helm chart skill-manager

0.0.0-r4f4a53d1t20261110091217h725e4b9
Chart skill-manager
Version 0.0.0-r4f4a53d1t20261110091217h725e4b9
OCI reference oci://gsoci.azurecr.io/charts/giantswarm/skill-manager:0.0.0-r4f4a53d1t20261110091217h725e4b9
Digest sha256:20804eda91cb04c9927b82376ff618ea8aa2efeb540081e48edc501694b24d9c
Registry public — gsoci.azurecr.io
Git catalog giantswarm-test-catalog (index)
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/skill-manager --version 0.0.0-r4f4a53d1t20261110091217h725e4b9

Posted by architect-orb · build 166 · commit 725e4b9 · updated in place on every push

list_skills and GET /v1/skills report each repository's plugins (agent-plugins: a root plugin.json; claude-code: .claude-plugin/plugin.json), from the same tree read as its skills and withheld with them from a person who cannot read a private repository. get_skill and get_skill_file (GET /v1/skills/content and /content/file) read a skill's SKILL.md, its file list and one file at a full commit, below a configured source, as the person.
A .codex-plugin or .cursor-plugin directory carries another tool's manifest for its parent; list_skills listed it as an Agent Plugins package. Seen on agentlab with oliver-zehentleitner/keep-the-why.
…ent reader

A skill read is no longer failed for every waiting caller when the caller
that started it gives up, and is cached once it finishes. A directory
without a SKILL.md costs one request instead of a recursive tree read. A
file that is not valid UTF-8 is answered as binary instead of with its
bytes replaced. The file argument is checked with io/fs.ValidPath; a
plugin's skill description is always present, as a skill's is.
An upper-case commit id no longer makes a second cache entry and a second GitHub read, and the answer reports the commit as list_skills does.
@QuentinBisson
QuentinBisson force-pushed the feat/list-plugins-and-content branch from 091ec26 to 725e4b9 Compare November 10, 2026 09:13
@QuentinBisson
QuentinBisson marked this pull request as ready for review November 10, 2026 09:25
@QuentinBisson
QuentinBisson requested a review from a team as a code owner November 10, 2026 09:25
@QuentinBisson
QuentinBisson merged commit 40d616e into main Nov 10, 2026
12 checks passed
@QuentinBisson
QuentinBisson deleted the feat/list-plugins-and-content branch November 10, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant