What it does
Open a ClickUp task for every peepshow run — markdown description summarises strategy, codec, duration, resolution, and attached frames are uploaded via the v2 REST API. Personal token or OAuth token both work.
When to reach for it
- Support-team triage: drop a screen recording, get a ClickUp task with the evidence
- Attach additional frames to an existing `CLICKUP_TASK_ID` without creating a new task
- Agency workflows where each client has a dedicated ClickUp list
Install
npm i -g peepshowUse it
CLICKUP_TOKEN=pk_... \
CLICKUP_LIST_ID=1234567890 \
peepshow ./bug-repro.mov --sink clickupMake it automatic
Register the sink once — every run fires it afterward. Scope by --when so it only runs for matching videos.
peepshow sinks add clickup
peepshow sinks add clickup --when extension=mp4,mov
peepshow sinks add clickup --when path=/Volumes/Work/Configuration
CLICKUP_TOKENPersonal API token or OAuth token. Sent verbatim with no `Bearer` prefix. requiredCLICKUP_LIST_IDList id for new tasks. Required unless `CLICKUP_TASK_ID` is set.CLICKUP_TASK_IDAttach to an existing task; skip the create step.CLICKUP_API_URLOverride for self-hosted proxies. Default `https://api.clickup.com/api/v2`.
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 ClickUp 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 CLICKUP_TOKEN="..."2. Register as an auto-sink
peepshow sinks add clickup
peepshow sinks add clickup --when extension=mp4,mov3. Example LLM session
You → drop a
.movinto Claude Code.Claude → auto-invokes
/peepshow:slides ./clip.mov. peepshow extracts frames + audio, theClickUpsink 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'.