Repository navigation
docs(skill): slim the interactive-shell skill around the calls agents make - #92
Merged
Merged
Conversation
…t keys Rename the bundled skill to interactive-shell (the name the tool description and prompt guideline point to), lead with the hot path seen in 3,401 logged calls (background dispatch, stream monitors, query/kill, cleanup), and move hands-free, agent launch, output selection, and Jev detail to references. Unknown inputKeys names were typed into the terminal as literal text and bad inputHex bytes were dropped; both now error with suggestions, which lets the named-key table leave the skill. SKILL.md: 8,592 -> 1,702 tokens (chars/4).
Background dispatch wake-ups carry 5 lines, hands-free sends no running updates, foreground dispatch keeps its session, monitor honors an explicit autoExitOnQuiet, worktrees work for every spawn agent. Key lookups use Object.hasOwn so prototype names like constructor are rejected. SKILL.md: 8,592 -> 1,784 tokens (chars/4).
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 bundled skill didn't reach most agents, and when it did, it taught the wrong defaults for the calls they make most.
pi-interactive-shell. The README claimed an automatic symlink that no code creates.gh run watchand silent test runs early.inputKeysnames were typed into the terminal as literal text and badinputHexbytes were dropped silently, so the skill had to carry a full key table.Changes:
interactive-shell.SKILL.mdis now ~1.8k tokens: a mode table, hot call shapes, and rules (quiet auto-close, 5-line wake-up tail, finished sessions are gone, worktrees for unattended agents, cleanup). Hands-free, agent launching, selected output, and Jev move toreferences/behind one pointer list.inputKeysrejects unknown names with suggestions,inputHexrejects malformed bytes, and key lookups no longer match prototype names likeconstructor.SKILL.mdplus its references.Before/after eval (14 tasks sampled from real calls, 3 runs each, claude-haiku-4-5, skill only, no tool schema):
The new skill matches or beats the old one on every task; the gains are CI watches, test runs, PR gates, and unattended delegation.