Agent skill

Watchmen Setup

by firstbatchxyz in firstbatchxyz/watchmen

Walks through installing watchmen, running its init wizard, wiring the plugin into Codex or Claude Code and checking the result 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-codex/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
296
Token cost
~1.1k tokens
SKILL.md length
605 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Walks through installing watchmen, running its init wizard, wiring the plugin into Codex or Claude Code and checking the result 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 on a new machine
  • 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 sets it up on the current machine. It first checks the operating system, whether `uv` is installed and whether watchmen is already present. A missing `uv` stops the process with install advice, an existing install skips ahead to verification, and a fresh machine goes through the steps in order.

The agent clones the repository and installs the CLI as an editable `uv` tool with `uv sync && uv tool install --editable .`. The `watchmen init` wizard is interactive, so the agent hands you the command to run yourself: it asks for an LLM provider (OpenRouter, OpenAI, Anthropic or a macOS OAuth subscription), takes the API key, ingests `~/.claude/projects/` history, previews cost and installs the background daemon and viewer. The agent never touches API keys. Plugin wiring and a final doctor check complete the setup.

When your agent uses it

  • Installing watchmen on a new machine
  • Onboarding watchmen with Codex or Claude Code
  • Verifying an existing watchmen install and fixing what doctor flags

Example prompts

  • “Set up watchmen on this laptop and tell me what I need to run myself.”
  • “Watchmen is installed but sessions are not showing up; run the doctor check and fix it.”
  • “Wire the watchmen plugin into Codex.”

Requirements

  • uv
  • git
  • An API key or OAuth subscription for an LLM provider, entered in the init wizard

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 nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    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.1k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 605 words of instructions outside code blocks.

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

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:20
    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). 605 words, ~1,144 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 into Codex (and Claude Code), and verify the install with doctor. Use when someone wants to install, onboard, or configure watchmen with their coding agent.

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 install), 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 (217 more words)Show less

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

The plugin (skill suggestions + the 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.

Codex:

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

You then get /skills brief (or $brief) inside Codex with the workspace digest. Codex has no statusline, so the skill-suggestion hint is on-demand brief instead of a live indicator.

Claude Code:

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

Then the statusLine, one-time (Claude Code only): watchmen statusline install.

If watchmen was already installed and you're updating it, the refresh path is /plugins 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-codex/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/watchmen296—~1.1kAutomated safety check: NotesMIT
Publish Plugins Version Bumpvinta/hal-90001381 repos~1kAutomated safety check: PassMIT
OmniRoute Plugins, Skills and Memory CLIdiegosouzapw/OmniRoute74k—~1kAutomated 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

Similar skills

  • Finds which plugins in the repository changed, bumps only the ones not already bumped since origin/main, and checks that each plugin's two manifests stay in sync.

    138 GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check passed
  • Command reference for the omniroute CLI's memory, plugin, marketplace and skills commands: search and manage stored memory, install and scaffold plugins, and find skill packages.

    74k GitHub stars~1k tokensUpdated today
    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 7 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 yesterday
    Agent WorkflowsAuto-check passed

More from firstbatchxyz/watchmen

  • Watchmen Setup

    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.

    296 GitHub stars~1.2k 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.

    296 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.

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

Works with

Categories

Questions about Watchmen Setup

What does Watchmen Setup do?

Walks through installing watchmen, running its init wizard, wiring the plugin into Codex or Claude Code and checking the result 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 sets it up on the current machine. It first checks the operating system, whether `uv` is installed and whether watchmen is already present.

When should I use Watchmen Setup?

Watchmen Setup fits situations like: installing watchmen on a new machine; onboarding watchmen with Codex or Claude Code; verifying an existing watchmen install and fixing what doctor flags.

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-codex/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-codex/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; git; An API key or OAuth subscription for an LLM provider, entered in the init wizard.

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.1k 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: Publish Plugins Version Bump (vinta/hal-9000, 138 stars), OmniRoute Plugins, Skills and Memory CLI (diegosouzapw/OmniRoute, 74k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k 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 296 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.