cmd: add commands for managing AI skills #751
Merged
stefanprodan merged 15 commits intomainfrom Mar 12, 2026
Merged
Conversation
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
f057470 to
2051e00
Compare
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2051e00 to
a72a721
Compare
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
77f49f5 to
4bf0323
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
flux-operator skillscommands are used to manage AI agent skills distributed as OCI artifacts.Skills are installed to the
.agents/skillsdirectory in the current working directory and tracked via acatalog.yamlfile.The following commands are available:
flux-operator skills install <repository>: Install skills from an OCI artifact.--tag: OCI artifact tag (defaultlatest).--agent: Agent ID(s) for which to create skill symlinks, can be specified multiple times (e.g.claude-code).--verify: Verify the cosign signature of the artifact (defaulttrue).--verify-oidc-issuer: OIDC issuer for signature verification (auto-derived forghcr.iohosts).--verify-oidc-subject-regex: OIDC subject regexp for signature verification (auto-derived forghcr.iohosts).--verify-trusted-root: Path to atrusted_root.jsonfile for offline signature verification.flux-operator skills list: List all installed skills and their sources.flux-operator skills update: Check for new versions of all installed skills and update them.--verify-trusted-root: Path to atrusted_root.jsonfile for offline signature verification.--dry-run: Only check for updates without installing them (exits with code 1 if updates are available).flux-operator skills uninstall <repository>: Uninstall all skills from the specified repository.--all: Uninstall all skills from all repositories.flux-operator skills publish <repository>: Package a local skills directory and push it as an OCI artifact.--path: Path to the skills directory (defaultskills).--tag: OCI artifact tag, can be specified multiple times (defaultlatest).--diff-tag: Only push if the contents differ from the specified tag.--annotation, -a: OCI manifest annotation inkey=valueformat, can be specified multiple times.--sign: Sign the artifact with cosign keyless (defaultfalse).--output, -o: Output format (json).Example:
Generated catalog at
.agents/skills/catalog.yaml(this file can be manually edited, serves as the desired state of all skills):Generated lock at
.agents/skills/catalog-lock.yaml(this file tracks the installed skills):