feat(skills): Add Agent Skills discovery#487
Merged
Merged
Conversation
Discovers SKILL.md files in .infer/skills/ and ~/.infer/skills/ with YAML frontmatter, exposes them via a new `infer skills list` command, and injects their metadata into the agent system prompt so the model can read full skill bodies on demand.
Adds remote install and local uninstall to the Skills feature so users can pull a skill folder straight from a public GitHub repo and remove it later, without copying files by hand. - `infer skills install <github-url>` downloads a single skill folder from a `/tree/<ref>/<path>` URL via the GitHub trees API + raw content host. Post-validates with the existing loadSkill so what installs is what loads; cleans up on failure. Supports --user and --overwrite. - `infer skills uninstall <name>` removes a skill folder. Name is regex-validated to prevent path traversal. No confirmation prompt (matches npm/brew conventions). - `/skills` chat shortcut with `list`, `install`, `uninstall` subcommands, seeded by `infer init`. - Flox manifest: prepend $GOPATH/bin to PATH on activate so the binary built by `task install` resolves in chat shortcut subprocesses. Verified end-to-end with anthropics/skills/skills/pdf — installs, shows up in /skills list, the agent reads SKILL.md on demand via the existing Read tool, and uninstall cleans up the folder.
inference-gateway-releaser-bot Bot
pushed a commit
that referenced
this pull request
May 4, 2026
## [0.109.0](v0.108.0...v0.109.0) (2026-05-04) ### 🚀 Features * **skills:** Add Agent Skills discovery ([#487](#487)) ([42dcfbd](42dcfbd)) ### 🧹 Maintenance * **deps:** Bump dev dependecies to their latest ([1d873dc](1d873dc)) * **deps:** Bump github.com/fsnotify/fsnotify from 1.9.0 to 1.10.0 ([#489](#489)) ([f2f5056](f2f5056)) * **deps:** Bump go version from 1.26.1 to 1.26.2 ([952f941](952f941)) * **deps:** Bump go.uber.org/zap from 1.27.1 to 1.28.0 ([#488](#488)) ([29787ab](29787ab)) * **nix:** Update package to v0.108.0 ([#484](#484)) ([a76cb90](a76cb90))
Contributor
|
🎉 This PR is included in version 0.109.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Summary
SKILL.mdfiles (with YAML frontmatter) under.infer/skills/(project) and~/.infer/skills/(user-global), with project scope taking precedence on name collisions.infer skills listcommand surfaces discovered skills, their scope, description, and path — plus validation errors for skipped entries — and works regardless of the enable flag.Readtool (progressive disclosure). Disabled by default — enable viaagent.skills.enabledorINFER_AGENT_SKILLS_ENABLED=true.Closes #486