Repository navigation
Description
Problem
Skills are a first-class feature but arrive empty: infer init creates an empty skills dir and users must author or infer skills install everything themselves. There is no way to ship curated skills with the CLI installation. Built-in skills also open the path to shrinking the always-on tool registry (follow-up issue) — instruction skills instead of registered tools, following the existing "no GitHub tool, use gh via Bash" guidance pattern (agent_utils.go:264).
Design
Seed-if-absent embedded builtins — reuse the existing loader end-to-end; no new scope, no new config:
- Skills live at
internal/services/skills/builtins/<name>/SKILL.md, embedded via//go:embed builtins/*→embed.FSin a new file besideskills.go(same pattern asinternal/web/server.go:24). seedBuiltins()at the top ofService.Load():fs.WalkDirthe embed FS and write each builtin into~/.infer/skills/<name>/only if that dir is absent (mirrorscmd/init.go's seed-if-absent family).- Everything downstream is unchanged and free: precedence (project
.infer/skills/and.agents/skills/shadow the user dir via the existing first-match-winsseenmap,skills.go:87-127), per-skill opt-out (agent.skills.disabled_skills), master switch (agent.skills.enabled), prompt roster, Read sandbox carve-out,infer skills list. - Deliberate: seed-if-absent, not runtime-merge — a user who edits a seeded builtin keeps their edit. If builtins must self-update later, add a version stamp + reseed then (not now).
Starter builtin: tmux — generalize the TUI-driving recipe into an end-user skill teaching the infer agent to drive interactive terminal programs: session lifecycle (new-session -d -x -y, kill-session), send-keys -l for literal text vs named keys, capture-pane -p -S for reading frames, sleep-before-capture, cleanup discipline. This is the product-side counterpart of the repo-dev drive-tui skill and directly serves the "agent can see and drive TUIs" goal.
Acceptance criteria
- Fresh HOME: first run seeds
~/.infer/skills/tmux/;infer skills listshows it (user scope); frontmatter validates - An existing
~/.infer/skills/tmux/is never overwritten - A project-scope skill of the same name shadows it;
disabled_skillsremoves it from the roster - Tests: seeded-when-missing, not-overwritten-when-present, shadowed-by-project-scope, disabled via config
Dependencies
None. Unblocks the tool-to-skill conversion issue.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
inference-gateway-releaser commentedon Jul 12, 2026
🎉 This issue has been resolved in version 0.144.0 🎉
The release is available on:
Your semantic-release bot 📦🚀