Repository navigation
feat(skills): add built-in demo skill - #1364
Merged
Merged
Conversation
/demo (e.g. "@infer /demo" on a PR) records a short demo GIF of any project - CLI, TUI or GUI app. The skill plans the demo up front, rehearses it unrecorded, records one take after the work is pushed and converts it to a single ~/.infer/artifacts/demo.gif. Recordings never enter the repository. Shaped by the earlier infer-action demo runs: committed MP4s, several GIFs per run from probe takes, takes capped at 60 s because each step was its own model turn, runs killed by ImageDecode on a GIF or by pkill -f matching the agent itself.
edenreich
commented
Sep 27, 2026
Contributor
|
🎉 This PR is included in version 0.215.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closed
4 tasks
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
@infer /demoon a PR (or/demoin chat) now has a procedure to follow: a new built-indemoskill, seeded into~/.infer/skillsbyinfer initlikebugandtmux. It records a short demo GIF of any project - CLI, TUI or GUI app - so it works in every org repo that runs infer-action withrecord-demo, desktop included.It replaces the demo procedure hardcoded in infer-action's
infer-action-record-demoreminder (follow-up PR there shrinks it to a pointer to this skill).Why this shape
Every rule comes from the 8 demo runs so far (#1355, #1348, #1359):
.mp4(#1348)capture-pane/ Screenshot, record one take, convert only it to a fixed~/.infer/artifacts/demo.gifCallOrderkeeps them in order)ImageDecodeof a GIF (API 400) (#1355, #1359)pkill -f "infer chat"matched the agent's own command line (#1355)pkill -f/killalldemosession; GUI apps start there withDISPLAY=:99~/.infer/artifactsis the delivery channel; recordings never enter the repoChanges
internal/skills/builtins/demo/SKILL.md- the skillinternal/skills/builtins_test.go- seeds and validatesdemo; description must route/demodocs/skills.md- listed under built-in skillsVerification
go test ./internal/skillsgreen; pre-commit hook (mod:tidy, fmt, lint, markdownlint) passed on the commit@infer /demoon feat(tui): label slash autocomplete rows by kind (command, shortcut, skill, remote skill) #1363 once this ships and infer-action/.githubbump their CLI versionRollout
ffmpeg, bumps default CLI versioninference-gateway/.github: bumpcli-versionand the infer-action tagDocs follow-up: inference-gateway/docs#848