RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/CLAUDE.md/asheshgoplani/agent-deck

CLAUDE.md

assets/watcher-templates/CLAUDE.md
CLAUDE.md

Quality

62/100

Scores the file, not the repository.

Length

301 words

5 headings · 3 code blocks

Repository

656

— · pushed 0 days ago

Last changed

3 days ago

First indexed 3 days ago.
asheshgoplani/agent-deck/assets/watcher-templates/CLAUDE.mdRawGitHub
1# Watcher: Shared Knowledge Base
2 
3This file contains shared infrastructure knowledge for all watcher instances.
4Each watcher has its own identity in its subdirectory and its own LEARNINGS.md.
5Agent sessions inspecting this directory will find the layout and CLI reference below.
6 
7## Layout
8 
9The singular watcher root mirrors `~/.agent-deck/conductor/`:
10 
11```
12~/.agent-deck/watcher/
13 CLAUDE.md — this file (shared knowledge base)
14 POLICY.md — behavior rules (escalation, dedup, retry, health thresholds)
15 LEARNINGS.md — cross-watcher patterns accumulated over time
16 clients.json — routing map: sender key -> conductor name
17 
18 <name>/ — per-watcher directory (one per registered watcher)
19 meta.json — watcher registration metadata (type, created_at, expiry)
20 state.json — latest health snapshot (last_event_ts, error_count, adapter_healthy)
21 task-log.md — append-only event log (one Markdown heading per event)
22 LEARNINGS.md — per-watcher patterns (optional, watcher-specific)
23```
24 
25## Files
26 
27| File | Purpose |
28|------|---------|
29| `CLAUDE.md` | Shared mechanism knowledge. Read by agent sessions to understand watcher infrastructure. |
30| `POLICY.md` | Behavior rules: escalation thresholds, dedup strategy, retry backoff, health thresholds. |
31| `LEARNINGS.md` | Cross-watcher patterns. Add entries as you notice recurring behaviors. |
32| `clients.json` | Routing map loaded by the engine. Key format: `<adapter>:<channel>` or email address. |
33 
34## For Agents Inspecting This Directory
35 
36To inspect watcher health and list all registered watchers:
37 
38```bash
39agent-deck watcher list --json
40agent-deck watcher status &lt;name&gt;
41```
42 
43The `list --json` output includes `last_event_ts`, `error_count`, and `health_status` per watcher.
44 
45To check if a specific sender would be routed:
46 
47```bash
48agent-deck watcher test &lt;name&gt;
49```
50 
51## Why This Folder Shape
52 
53Watcher state mirrors the conductor pattern (`~/.agent-deck/conductor/`) for consistency:
54both subsystems use a singular directory root with shared top-level files and
55per-instance subdirectories. This makes the layout predictable and tooling reusable.
56 
57The legacy `~/.agent-deck/watchers/` path is preserved as a relative compatibility
58symlink pointing to `watcher/`. Existing tooling that reads `watchers/` continues
59to work without modification.
60 

Commands it names

  • task-log.md — append-only event log (one Markdown heading per event)

Sections

  • Watcher: Shared Knowledge Base
  • Layout
  • Files
  • For Agents Inspecting This Directory
  • Why This Folder Shape

What it covers

architecture

Stack — with the evidence

go

(1.00)

cli-tool

(0.90)

node

(0.70)

vitest

(0.70)

playwright

(0.70)

typescript

(0.60)

github-actions

(0.60)

javascript

(0.50)

Format

CLAUDE.md

Claude Code's memory file. Shaped like AGENTS.md but with two things it lacks: @path imports, so shared rules live in one place, and a user-scope layer that follows the developer across repos rather than shipping with the code.

What the corpus says about it

Repository

Owner
asheshgoplani
Language
—
License
—
Archived
no

All configs in this repo

Also in asheshgoplani/agent-deck

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
asheshgoplani/agent-deckinternal/watcher/assets/watcher-templates/CLAUDE.md · 656CLAUDE.mdgocli-tool+6arch62/1003 days ago
Diff against internal/watcher/assets/watcher-templates/CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
bagisto/bagistoCLAUDE.md · 28kCLAUDE.mdphplaravel+8setupbuildteststyle+5100/1003 days ago
filamentphp/filamentCLAUDE.md · 32kCLAUDE.mdphplaravel+5buildtestlint-formatstyle+7100/1003 days ago
dotCMS/corecore-web/CLAUDE.md · 949CLAUDE.mdjavanode+13teststylearchtesting-strategy+3100/1003 days ago
nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4kCLAUDE.mdtypescriptnode+16setupbuildstylearch+2100/1003 days ago
microsoft/playwrightCLAUDE.md · 94kCLAUDE.mdtypescriptjavascript+10buildtestlint-formatstyle+7100/1003 days ago
Adit-Jain-srm/NightmareNetCLAUDE.md · 45CLAUDE.mdtypescriptpython+18buildtestlint-formatstyle+6100/1003 days ago
stacklok/toolhiveCLAUDE.md · 2.0kCLAUDE.mdgogithub-actionsbuildteststylearch+4100/1003 days ago
dotCMS/coreCLAUDE.md · 949CLAUDE.mdjavanode+9setupbuildteststyle+799/100today
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack