Skip to content

Add interview-pane agent skill#50

Open
hockeybuggy wants to merge 1 commit into
mainfrom
add-interview-pane-skill
Open

Add interview-pane agent skill#50
hockeybuggy wants to merge 1 commit into
mainfrom
add-interview-pane-skill

Conversation

@hockeybuggy

Copy link
Copy Markdown
Owner

Collecting a batch of answers from the user in chat is awkward when the replies are long-form or benefit from editing, and there was no repeatable way to hand a set of questions off to the user's editor and read the answers back.

Add an interview-pane skill that writes questions to a Markdown file with inline > ANSWER: blocks, opens it in vim/nvim in a new pane in the user's own tmux session, waits for the editor to close, then reads the answers back. A watch-editor.sh helper does an appear-then-disappear poll so it never falsely reports the editor closed before it has spawned, and matches on an n?vim .*<basename> pattern so it tracks the right process.

The SKILL.md documents the hard-won caveats from a live session: use the user's default tmux socket (not the isolated -L agent one they can't see), run socket-touching tmux commands with the sandbox disabled, and treat split orientation (-v top/bottom vs -h side-by-side) as an explicit parameter. Empty/unchanged files are reported honestly rather than fabricated, and the flow is safe to re-run.

🤖 Generated with Claude Code

Collecting a batch of answers from the user in chat is awkward when the
replies are long-form or benefit from editing, and there was no
repeatable way to hand a set of questions off to the user's editor and
read the answers back.

Add an `interview-pane` skill that writes questions to a Markdown file
with inline `> ANSWER:` blocks, opens it in vim/nvim in a new pane in
the user's own tmux session, waits for the editor to close, then reads
the answers back. A `watch-editor.sh` helper does an appear-then-
disappear poll so it never falsely reports the editor closed before it
has spawned, and matches on an `n?vim .*<basename>` pattern so it
tracks the right process.

The SKILL.md documents the hard-won caveats from a live session: use
the user's default tmux socket (not the isolated `-L agent` one they
can't see), run socket-touching `tmux` commands with the sandbox
disabled, and treat split orientation (`-v` top/bottom vs `-h`
side-by-side) as an explicit parameter. Empty/unchanged files are
reported honestly rather than fabricated, and the flow is safe to
re-run.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant