cirrus-uchicago/symbolon/input-menu-pin
Claude Code and agent skill by cirrus-uchicago/symbolon
- community
Checking that the SKILL.md file is still in the repository.
Use when a parser/interpreter has a menu of mutually-exclusive sibling deep branches (a calculator's add/mul/div handlers, a parser's statement kinds, a protocol's message types) and no single pinned input reaches more than one — per-file coverage shows one feature's engine entered and its siblings at 0%
Install
npx vskill@latest install cirrus-uchicago/symbolon/input-menu-pinSKILL.md
The same SKILL.md was published earlier as cirrus-uchicago/symbolon/input-menu-pin.
input-menu-pin
Category: path-explosion · Kind: manual pattern (no .cocci)
_Reference: Symbolon transformation pattern (generalises input-prefix-pin)._
Overview
Pin the symbolic input to one of a menu of known-valid, terminating inputs selected by a symbolic klee_range. KLEE forks once on the selector and explores every menu entry in a single run, covering all deep branches with one bitcode build and one manifest — never a cross-run profraw union.
When to use
- input-prefix-pin works but only reaches one branch family; siblings stay at 0%.
- The deep branches are mutually exclusive in the input — you cannot pin one input that exercises all of them, and stacking individual pins is impossible (they pin the same bytes to contradictory values).
- Each menu entry, run alone, terminates (emits a ktest).
How to apply
Write a static const char *const menu[] of complete, valid, terminating inputs, plus a klee_range(0, NMENU, ...) selector placed right after the symbolic input is read and before it is parsed. In each fork, klee_assume the input equals the chosen entry and concretize the buffer (buf[i]=entry[i]) so downstream is fork-free. Guard with #ifdef KLEE_BITCODE. CRITICAL for min-distance searchers (nurs:md2u): pad every entry to the full symbolic width so no symbolic tail is left, or md2u starves to 0 ktests. See README for the sed-style companion pin when the program and its data are separate symbolic objects.
Evidence
Toy (6-handler dispatcher): obstacle 48 completed paths; remedy 12 (one per entry), all six handlers covered, 4x fewer paths. At scale on bc 1.08.2: a 60-entry menu took execute.c 0/578 -> 417/578 and number.c 24/1128 -> 902/1128 in one run.
Source files
Copied verbatim from transformations/path-explosion/input-menu-pin/:
README.mdtests/
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinglibrary/transformations/input-menu-pin/SKILL.md
Popularity
- Repository stars
- 11
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cirrus-uchicago/symbolon/input-menu-pin)