peepshow/ sinks/ clickup

Reel #27 Issue tracker

peepshow sink / clickup

ClickUpCreate a ClickUp task with frames attached.

Markdown description summarising the run, plus one multipart attachment per frame.

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 peepshow

Use it

CLICKUP_TOKEN=pk_... \
CLICKUP_LIST_ID=1234567890 \
peepshow ./bug-repro.mov --sink clickup

Make 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_TOKEN Personal API token or OAuth token. Sent verbatim with no `Bearer` prefix. required
  • CLICKUP_LIST_ID List id for new tasks. Required unless `CLICKUP_TASK_ID` is set.
  • CLICKUP_TASK_ID Attach to an existing task; skip the create step.
  • CLICKUP_API_URL Override 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 .env it can load),
  • the peepshow CLI is on PATH — install with npm 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,mov

3. Example LLM session

You → drop a .mov into Claude Code.

Claude → auto-invokes /peepshow:slides ./clip.mov. peepshow extracts frames + audio, the ClickUp sink 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'.