/claude-wayfinder:refresh-catalogfrom claude-wayfinder
Manually regenerate the dispatch catalog from skill sidecars and agent frontmatter. Trigger this skill whenever the user types /refresh-catalog, says "regenerate catalog", "refresh dispatch catalog", "rebuild catalog", "update the catalog", or any similar request to force a fresh dispatch catalog build outside of the automatic SessionStart or mtime-check paths.
Ships in claude-wayfinder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Force a fresh regeneration of the dispatch catalog and report the results.
The bundled refresh-catalog-on-stale.js hook (see Bundled hooks) automatically rebuilds the catalog when a source file (skill sidecar or agent frontmatter) is newer than the catalog itself. This skill exists for cases the mtime heuristic misses or when you want to force a rebuild for debugging:
[CATALOG ERROR] or [CATALOG STALE] banner.Read the mtime of the catalog before running the generator. The catalog path is resolved from $DISPATCH_CATALOG_PATH if set, otherwise the documented default ~/.claude/dispatch-catalog.json. If the file does not exist, note "catalog absent before run".
python -c "
import os, datetime
p = os.environ.get('DISPATCH_CATALOG_PATH') or os.path.expanduser('~/.claude/dispatch-catalog.json')
if os.path.exists(p):
t = os.path.getmtime(p)
print(datetime.datetime.fromtimestamp(t).isoformat(timespec='seconds'))
else:
print('absent')
"
Invoke claude-wayfinder catalog build with the consumer's source directories. The default layout follows Claude Code's standard ~/.claude/ tree; adjust the flags if your project uses non-standard paths.
claude-wayfinder catalog build \
--skills-dir ~/.claude/skills \
--agents-dir ~/.claude/agents \
--plugin-overrides-dir ~/.claude/triggers \
--plugins-dir ~/.claude/plugins \
--builtin-agents-dir ~/.claude/triggers/builtin \
--out "${DISPATCH_CATALOG_PATH:-$HOME/.claude/dispatch-catalog.json}" \
--log ~/.claude/dispatch-catalog-build.log
Capture both stdout and stderr. Record the exit code.
If the generator exits non-zero, surface the error visibly:
Catalog generation FAILED (exit {N})
{captured stderr}Check
~/.claude/dispatch-catalog-build.logfor per-entry details.
Read the mtime again using the same command as Step 1.
Read the catalog file. The top-level structure is:
{ "entries": [ { "kind": "skill" | "agent", ... }, ... ] }
Count entries by kind:
kind == "skill"kind == "agent"Read ~/.claude/dispatch-catalog-build.log and extract any lines containing warning or fatal (case-insensitive). Show only the lines from the most recent run (lines after the last generator-invocation timestamp that precedes the run).
If there are no warning/fatal lines, report "No warnings or fatal issues."
Print a structured summary:
Catalog regenerated successfully. ← or "DEGRADED (exit 2)" / "FAILED (exit 1)"
Skills: <N>
Agents: <M>
Total: <N+M>
Catalog mtime before: <ISO timestamp or "absent">
Catalog mtime after: <ISO timestamp>
Exclusion warnings (from dispatch-catalog-build.log):
<warning/fatal lines, or "None">
If exit code was 2, prepend the summary with a visible banner:
WARNING: Catalog is degraded — some entries were excluded due to validation errors. Review the warnings above and fix the affected
triggers.ymlor agent frontmatter files.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/dispatchMode-aware dispatch skill for the claude-wayfinder deterministic 7-decision matcher. Real-catalog mode is the default — the skill reads dispatch context JSON from stdin, runs the matcher against your live catalog, and returns the decision JSON verbatim. Pass --demo to opt into bundled fixtures instead. Catalog path resolution: --catalog-path flag > $DISPATCH_CATALOG_PATH env var > canonical default (~/.claude/state/dispatch-catalog.json). If neither --demo nor a resolvable catalog is present the skill emits a [CATALOG ERROR] and exits non-zero.
/dispatch-authoringMatcher-aware authoring and troubleshooting knowledge for the full dispatch authoring surface — trigger frontmatter, applicable_agents, applicable_skills, routable, and description: phrase-matching. Loaded by any agent (router, code-writer, doc-writer, project-planner, etc.) when the user wants to write, improve, troubleshoot, or understand dispatch configuration. Trigger this skill whenever the user types /dispatch-authoring, asks "how do I write triggers", "how do I make frontmatter for my agent", "what's a good keyword weight", "set up triggers", or says "my agent isn't being dispatched", "this skill never matches", "my frontmatter isn't working", "dispatch isn't picking up", or similar authoring or troubleshooting requests around dispatch configuration. Covers the matcher's seven-decision ladder, scoring math, weight ladder {0.25, 0.5, 1.0}, symmetric Porter2 stemming and the no_stem opt-out, fnmatch path-glob footguns, conflict-pair detection, and the audit-catalog CLI pointer.
/router-healthReports the deterministic-dispatch router's health — CI invariants, runtime telemetry, drift events, and catalog state. Wraps `claude-wayfinder health --report` and adds an Analysis section (drill-down on FAIL'ing or near-threshold metrics) plus an extended Notable Findings section (top dispatched agents/skills, catalog freshness).
Trigger phrases: "/router-health", "router health", "dispatch health", "router status", "is the router healthy", "router metrics", "show router stats", "router report", "check the router", "router drift".
/setup-wayfinderMaterialize the claude-wayfinder Python venv at ${CLAUDE_PLUGIN_DATA}/venv/
and write the setup-state flag. Use when:
- User types /setup-wayfinder
- User says "set up claude-wayfinder", "install wayfinder dependencies"
- User says "wayfinder isn't working", "fix wayfinder", "repair wayfinder"
- SessionStart banner indicates setup is required and the user wants to proceed
- Plugin version bumped and re-setup needed
Do NOT trigger on casual mentions of "wayfinder" without setup/install/fix intent.
claude-wayfinder@glitchwerks is listed by glitchwerks/claude-plugins — review the source before installing
npx claudepluginhub glitchwerks/claude-plugins --plugin claude-wayfinder