Agent skill

Watchmen Setup

by firstbatchxyz in firstbatchxyz/watchmen

Sets up watchmen on the current machine: installs the CLI, hands off the init wizard, wires the plugin and statusline into Claude Code and Codex, and verifies with doctor.

MITAuto-check: notesAgent Workflows

Install Watchmen Setup

skills CLI
$ npx skills add firstbatchxyz/watchmen --skill setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install firstbatchxyz/watchmen setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/firstbatchxyz/watchmen.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/skills/setup .claude/skills/setup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
setup
GitHub stars
297
Token cost
~1.2k tokens
SKILL.md length
587 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Sets up watchmen on the current machine: installs the CLI, hands off the init wizard, wires the plugin and statusline into Claude Code and Codex, and verifies with doctor.

  • Works in 4 steps: Install the CLI → Run the init wizard (interactive — hand… → Wire the plugin into the agent (agent UI… → …
  • Installing watchmen for the first time on a laptop or workstation
  • SKILL.md covers Before you start, 1. Install the CLI, 2. Run the init wizard… and 3. Wire the plugin into the…, plus 1 more section
  • Calls uv, git and curl; reaches astral.sh

What it does

Watchmen is a local CLI that turns past coding-agent sessions into a curated skills library and feeds it back into new sessions. This skill is a thin orchestrator. The agent runs the non-interactive shell steps itself, and for interactive steps, such as the init wizard or the /plugin command in the agent UI, it gives you the exact commands and waits. It never touches your API keys or credentials, because the wizard handles provider authentication.

It first checks the operating system, whether uv is installed and whether watchmen is already present. If uv is missing it stops and tells you how to install it, and if watchmen already works it goes straight to verification and fixes only what doctor flags. On a fresh machine it clones the repository and runs uv sync with uv tool install --editable, then asks you to run watchmen init yourself. That wizard picks a provider (OpenRouter, OpenAI, Anthropic or a macOS OAuth subscription), ingests your session history, previews cost, runs analysis and curation, and installs the background daemon and viewer.

When your agent uses it

  • Installing watchmen for the first time on a laptop or workstation
  • Wiring the watchmen plugin and statusline into Claude Code or Codex
  • Verifying an existing watchmen install and fixing what doctor reports

Example prompts

  • “Set up watchmen on this machine.”
  • “I already installed watchmen, so run doctor and fix whatever it flags.”
  • “Wire the watchmen plugin and statusline into Claude Code.”
  • “Walk me through installing watchmen on a fresh laptop.”

Requirements

  • uv, the Python package manager
  • git, to clone the watchmen repository
  • An API key or subscription for one LLM provider
  • Pre-approved tools (allowed-tools): Bash(uname*), Bash(which*), Bash(command -v*), Bash(uv*), Bash(git clone*), Bash(watchmen*)

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Install the CLI
  2. Run the init wizard (interactive — hand off)
  3. Wire the plugin into the agent (agent UI — hand off)
  4. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit bbe763c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(uname*)
    • Bash(which*)
    • Bash(command -v*)
    • Bash(uv*)
    • Bash(git clone*)
    • Bash(watchmen*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • git
    • curl
    • sh
    • brew

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • astral.sh

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Watchmen Setup loads about 1.2k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 587 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePipes a well-known installer script into a shellSKILL.md:27
    and tell the user to install uv first (`curl -LsSf https://astral.sh/uv/install.sh | sh`, or `brew install uv`), then re

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from firstbatchxyz/watchmen at commit bbe763c, republished under its MIT licence (© firstbatchxyz). 587 words, ~1,157 tokens.

Download SKILL.mdSave it as .claude/skills/setup/SKILL.md (or your agent's skills folder).
name
setup
description
Set up watchmen end-to-end for the current machine — install the CLI, run the init wizard, wire the plugin + statusline into Claude Code (and Codex), and verify the install with doctor. Use when someone wants to install, onboard, or configure watchmen with their coding agent.
allowed-tools
Bash(uname*), Bash(which*), Bash(command -v*), Bash(uv*), Bash(git clone*), Bash(watchmen*)

Set up watchmen

You are guiding the user through installing and wiring watchmen on this machine. watchmen is a local CLI that turns past coding-agent sessions into a curated skills library and surfaces it back into new sessions. This skill is a thin orchestrator: you run the non-interactive shell steps yourself, and for the steps that are interactive (the init wizard) or that only the agent UI can do (/plugin), you give the user the exact commands and wait.

Do not touch the user's API keys or credentials directly — the init wizard handles provider auth. Never paste a key on the user's behalf.

Before you start

Check what's already here so you don't redo work:

!uname -s; command -v uv >/dev/null && echo "uv: $(uv --version)" || echo "uv: MISSING"; command -v watchmen >/dev/null && echo "watchmen: $(watchmen --version 2>/dev/null)" || echo "watchmen: not installed"

Read that output and branch:

  • uv: MISSING → stop and tell the user to install uv first (curl -LsSf https://astral.sh/uv/install.sh | sh, or brew install uv), then re-run this skill. uv is the only hard prerequisite besides a provider credential.
  • watchmen already installed → skip to step 3 (verify) and only fix what doctor flags. Don't reinstall over a working setup.
  • Fresh machine → walk steps 1 → 4 in order.

1. Install the CLI

watchmen installs as an editable uv tool from a clone, so git pull + the daemon pick up updates:

bash
git clone https://github.com/firstbatchxyz/watchmen.git
cd watchmen
uv sync && uv tool install --editable .

Run these for the user (pick a sensible parent dir, or ask where they want the clone). If the clone already exists, cd into it and just run the uv sync && uv tool install --editable . line.

2. Run the init wizard (interactive — hand off)

watchmen init is an interactive wizard: it asks which LLM provider to use (OpenRouter / OpenAI / Anthropic, or an OAuth subscription on macOS), prompts for that provider's API key, ingests ~/.claude/projects/ history, lets the user pick projects, previews cost, runs analyze + curate, and installs the daemon + viewer for autostart.

You can't drive an interactive prompt cleanly, so tell the user to run it themselves in their terminal:

bash
watchmen init

Wait for them to confirm it finished before continuing. If they'd rather skip the wizard and just install the background services with defaults, watchmen up is the non-interactive equivalent (no provider/project picking) — but they'll still need a provider credential set via watchmen settings api-key or an OAuth login.

Show full SKILL.md (200 more words)Show less

3. Wire the plugin into the agent (agent UI — hand off)

The plugin (skill suggestions + the /watchmen:brief digest) installs through the agent's own plugin system, which you cannot invoke from here. Give the user the exact commands for whichever agent(s) they use and ask them to paste them.

Claude Code:

/plugin marketplace add firstbatchxyz/watchmen
/plugin install watchmen@watchmen
/reload-plugins

Then the statusLine (this one you can run for them):

bash
watchmen statusline install

Codex:

/plugins marketplace add github:firstbatchxyz/watchmen
/plugins install watchmen

(Codex has no statusline; the digest is on-demand via brief / $brief instead.)

If watchmen was already installed and you're updating it, the refresh path is /plugin marketplace update watchmen then reinstall — the plugin only re-caches when its version changes.

4. Verify

Run doctor and read it back to the user:

!watchmen doctor 2>&1 | tail -20

Walk the ✓/✗/! lines. Common follow-ups:

  • viewer not responding → watchmen viewer install
  • hooks not wired → watchmen hooks install
  • API key invalid/missing → watchmen settings provider to check, watchmen settings api-key --provider <p> to fix
  • no corpus / 0 sessions → they haven't run watchmen init (or watchmen ingest) yet

Close with a one-line "you're set up" summary and point them at watchmen status for the daily view and watchmen --help for the full command surface. Keep the whole interaction tight; only dig into a step if it failed.

© firstbatchxyz, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugin/skills/setup of firstbatchxyz/watchmen.

Open the folder on GitHubat commit bbe763c

Compare with similar skills

Watchmen Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Watchmen Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Watchmen Setup this skillfirstbatchxyz/watchmen297—~1.2kAutomated safety check: NotesMIT
Elite Longterm MemoryaAAaqwq/AGI-Super-Team1052 repos~2.9kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Session History Searchslopus/happy24k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Elite Longterm Memory

    aAAaqwq/AGI-Super-Team

    Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot.

    105 GitHub starsUsed in 2 repos~2.9k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.

    24k GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Official

    Runs a nightly or on-demand sleep cycle for a local Codex agent: review past sessions, replay recurring tasks and stage validated skill and memory edits for adoption.

    18k GitHub stars~2.3k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from firstbatchxyz/watchmen

  • Watchmen Setup

    firstbatchxyz/watchmen

    Walks through installing watchmen, running its init wizard, wiring the plugin into Codex or Claude Code and checking the result with doctor.

    297 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Watchmen Workspace Brief

    firstbatchxyz/watchmen

    Summarizes what the watchmen tool detected in your workspace since its last curator run: skill changes, AGENTS.md edits and a suggested skill to load.

    297 GitHub stars~479 tokensUpdated 1 mo ago
    Auto-check passed
  • Watchmen Brief

    firstbatchxyz/watchmen

    Reports what the watchmen plugin found in this workspace since its last curator run: new or changed skills, CLAUDE.md edits and a suggested skill to load.

    297 GitHub stars~485 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Watchmen Setup

What does Watchmen Setup do?

Sets up watchmen on the current machine: installs the CLI, hands off the init wizard, wires the plugin and statusline into Claude Code and Codex, and verifies with doctor. Watchmen is a local CLI that turns past coding-agent sessions into a curated skills library and feeds it back into new sessions. This skill is a thin orchestrator.

When should I use Watchmen Setup?

Watchmen Setup fits situations like: installing watchmen for the first time on a laptop or workstation; wiring the watchmen plugin and statusline into Claude Code or Codex; verifying an existing watchmen install and fixing what doctor reports.

How do I install Watchmen Setup in Claude Code?

Run `npx skills add firstbatchxyz/watchmen --skill setup -a claude-code`. Or copy the skill folder (plugin/skills/setup in firstbatchxyz/watchmen) into .claude/skills/setup in your project. Claude Code loads it when a task matches its description.

How do I install Watchmen Setup in Codex?

Run `npx skills add firstbatchxyz/watchmen --skill setup -a codex`. Or copy the skill folder (plugin/skills/setup in firstbatchxyz/watchmen) into .agents/skills/setup in your project. Codex loads it when a task matches its description.

Can I use Watchmen Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add firstbatchxyz/watchmen --skill setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup, .gemini/skills/setup, .github/skills/setup and .opencode/skills/setup in your project.

What does Watchmen Setup need to run?

Going by SKILL.md and its folder, Watchmen Setup needs the command-line tools its instructions call (uv, git, curl, sh and brew). Our summary lists: uv, the Python package manager; git, to clone the watchmen repository; An API key or subscription for one LLM provider. Its frontmatter pre-approves these tools: Bash(uname*), Bash(which*), Bash(command -v*), Bash(uv*), Bash(git clone*), Bash(watchmen*).

Does Watchmen Setup access the network?

SKILL.md names 1 domain. In commands or code: astral.sh; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Watchmen Setup safe to install?

Our automated static check of SKILL.md found notes only (pipes a well-known installer script into a shell), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Watchmen Setup use?

Watchmen Setup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Watchmen Setup use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Watchmen Setup?

Skills that share tags, products or a category with Watchmen Setup: Elite Longterm Memory (aAAaqwq/AGI-Super-Team, 105 stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars) and Beads Task Memory (gastownhall/beads, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Watchmen Setup?

firstbatchxyz (a GitHub organization) maintains it in firstbatchxyz/watchmen, which has 297 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on August 25, 2026.

Source: firstbatchxyz/watchmen on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.