What it does
Open a Jira Cloud or Data Center issue with the peepshow run summary as the description and every frame uploaded as a multipart attachment. Supports basic auth (email + API token) or a PAT, and can target an existing issue key to append frames without creating a new one.
When to reach for it
- Turn bug-report videos into properly-triaged Jira tickets automatically
- Append follow-up clips to an existing issue via `JIRA_ISSUE_KEY`
- Data Center / Server installs that need PAT auth instead of basic
Install
npm i -g peepshowUse it
JIRA_BASE_URL=https://you.atlassian.net \
JIRA_USER=me@example.com \
JIRA_API_TOKEN=... \
JIRA_PROJECT_KEY=ENG \
peepshow ./bug-repro.mov --sink jiraMake it automatic
Register the sink once — every run fires it afterward. Scope by --when so it only runs for matching videos.
peepshow sinks add jira
peepshow sinks add jira --when extension=mp4,mov
peepshow sinks add jira --when path=/Volumes/Work/Configuration
JIRA_BASE_URLAtlassian instance URL, Cloud or Data Center. requiredJIRA_USEREmail for basic auth. Required with `JIRA_API_TOKEN`.JIRA_API_TOKENAPI token for basic auth.JIRA_BEARER_TOKENPAT — alternative to `JIRA_USER` + `JIRA_API_TOKEN`.JIRA_PROJECT_KEYProject key for new issues. Required unless `JIRA_ISSUE_KEY` is set.JIRA_ISSUE_KEYAttach to an existing issue; skip the create step.JIRA_ISSUE_TYPEIssue type on create. Default `Task`.
Use with an LLM agent
Every peepshow sink reads its config from env vars and receives a single JSON payload on stdin. An LLM agent (Claude Code, Cursor, Windsurf, Gemini, Codex) can drive the Jira sink automatically when three things are true:
- the env vars below are exported in the agent's shell (or a project
.envit can load), - the
peepshowCLI is onPATH— install withnpm i -g peepshow, - a peepshow auto-sink is registered for the run (optional but recommended — makes invocation zero-argument).
1. Set the environment
# Add to ~/.zshrc, ~/.bashrc, or a project .env the agent can load
export JIRA_BASE_URL="..."2. Register as an auto-sink
peepshow sinks add jira
peepshow sinks add jira --when extension=mp4,mov3. Example LLM session
You → drop a
.movinto Claude Code.Claude → auto-invokes
/peepshow:slides ./clip.mov. peepshow extracts frames + audio, theJirasink forwards the run to a new issue with the frames attached. Claude replies with a summary and a link to the created record.
Transcript appears in the issue body, giving triage a copy-paste-able record of what was said.
Write your own
A sink is any executable that reads the --emit json payload on stdin. Shell, Node, Python, Go — the spec's in docs/PLUGINS.md. Register persistent ones with peepshow sinks add-cmd 'your-command'.