amirfish1/watchtower/add-annotate-widget

Claude Code and agent skill by amirfish1/watchtower

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when the user asks to add WatchTower annotation, add an annotate/report button to an HTML page, or "let me report issues from this page directly to a <QUEUE>". Installs the drop-in ⚑ annotate widget so clicking any element on the page files a ticket into a WatchTower queue, then verifies the ingest works.

Install

npx vskill@latest install amirfish1/watchtower/add-annotate-widget

SKILL.md

Add the WatchTower annotate widget to an HTML app

Goal: after this, the user opens their HTML page, clicks a floating ⚑ button, picks an element, types a note, and a ticket lands in their WatchTower queue (<QUEUE>-1, <QUEUE>-2, ...). A worker drains it with wt claim -q <QUEUE>.

Steps

  1. Queue name. Use the queue the user named (e.g. MYAPP). If they didn't give

one, derive it from the app/repo name and confirm in one line. Tickets become MYAPP-1, MYAPP-2, ...

  1. Copy the widget into the app's dev assets (next to the HTML):

``bash cp ~/Apps/watchtower/contrib/annotate-widget.js <app-dir>/annotate-widget.js ``

(If a local watchtower/contrib/annotate-widget.js exists in the repo, use that.)

  1. Include it in the HTML, dev-only, with the config set BEFORE the script:

``html <!-- dev only: WatchTower annotate widget --> <script> window.WT_ANNOTATE = { queue: 'MYAPP', endpoint: 'http://127.0.0.1:8787' }; </script> <script src="annotate-widget.js"></script> ``

  1. Make sure the ingest server is up on 8787. Prefer the background dashboard

server (binds cleanly; wt start runs foreground and may not bind):

``bash wt dashboard --no-open --port 8787 # verify: curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:8787/api/queues # expect 200 ``

  1. Verify the whole path before telling the user it works — POST a test

annotation and confirm a ticket lands, then delete/close it:

``bash annotation_response=$(curl -sS -X POST http://127.0.0.1:8787/api/queue/MYAPP/add \ -H 'Content-Type: application/json' \ -d '{"note":"annotate wiring test","url":"http://localhost/","selector":"body"}') annotation_ref=$(printf '%s' "$annotation_response" | python3 -c 'import json,sys; print(json.load(sys.stdin)["ref"])') wt find "$annotation_ref" --json wt close "$annotation_ref" --no-code --summary "Verified annotate widget ingest wiring" ``

  1. Tell the user: open the page, click the floating ⚑ (bottom-right, draggable),

pick an element, type a note → ticket lands in MYAPP. Drain with wt claim -q MYAPP. Close implemented code tickets with wt close MYAPP-1 --commit <sha> --summary "..."; use --no-code instead only when resolving the ticket changed no code.

Notes

  • Guard the widget behind a dev-only check so it never ships to production.
  • The widget POSTs to POST <endpoint>/api/queue/<QUEUE>/add with {note, url, selector}.
  • Optional server enrichment: add a thin route in the app that forwards the

annotation and appends repo_path: <abs path> so CCC routes the ticket to the right project. See watchtower/contrib/annotate-widget.md.

  • For real end-user bug reports (production), use the GitHub-Issues recipe

(watchtower/cookbook/bug-report-widget-github-issues.md) instead of this dev widget.

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

Popularity

Repository stars
6
Repository forks
1
7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/amirfish1/watchtower/add-annotate-widget/badge)](https://verified-skill.com/skills/amirfish1/watchtower/add-annotate-widget)

Something wrong with this skill or its page? Tell us.