/cogni-workspace:manage-market-registryfrom cogni-workspace
Reads and writes the canonical insight-wave market registry: reports coverage/orphan overlay domains and interactively adds new markets.
Ships in cogni-workspace. 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.
${CLAUDE_PLUGIN_ROOT}/references/supported-markets-registry.json is the
canonical taxonomy that every market-aware insight-wave plugin reads
through ${CLAUDE_PLUGIN_ROOT}/scripts/get-market-config.py. There is one
source of truth and no sync — plugin overlays carry only plugin-specific
metadata keyed against the registry's canonical domain set, and the merge
utility joins them at read time.
This skill owns both directions over that one registry: the read path reports what the taxonomy holds and where an overlay has drifted from it, and the write path adds a market. They were two skills once, and the split cost a routing decision on every market question while giving the host router no tiebreaker — the read skill's report was reachable from the write skill as well, so one was a superset of the other in all but name.
What this skill does not do (intentionally — these are gone in the centralized model):
sync — there's no copy of shared fields to propagate.promote — domains live in the registry only, so there's nothing
to promote from drift findings.baseline-refresh — there's no baseline file because there's no
drift on shared fields.When invoked without arguments, ask the user which action to take:
Which manage-market-registry action?
1. status — coverage matrix per market across registry/research/trends, plus orphan overlay domains
2. add — interactive new-market workflow (registry-first)
Use AskUserQuestion. If $ARGUMENTS starts with one of the two sub-action
names, dispatch directly without asking.
Read-only coverage and drift report. Write nothing.
The set arithmetic behind this report is not done in prose — it is computed by a script and read back. That matters for the orphan check specifically: it was described here for a long time and computed nowhere, so nothing ever proved it could fire.
ORPHANS="${CLAUDE_PLUGIN_ROOT}/scripts/check-market-orphans.py"
python3 "$ORPHANS"
The script returns the standard envelope, and everything the report needs
is in data:
data.matrix[] — one row per registry market, already joined. Each row
carries market, name, tier, registry_domains, output_language,
and one cell per consuming plugin: research, trends, portfolio.data.orphans[] — every overlay domain the registry does not carry,
each naming its plugin, market, domain, the field that carried
it, and market_in_registry.data.markets_canonical and data.plugins.<name>.curated_markets[] —
the counts the summary line needs.If the script exits non-zero, do not render a report. A failure envelope
here means the overlay cascade could not be loaded at all, so nothing read an
overlay and a "0 orphans" report would be a clean audit over nothing. Show the
error string instead. A plugin whose overlay merely does not resolve is a
different and expected state: it comes back inside a successful envelope, as
curated: false, and belongs in the report.
One row per registry market, with a column for each of the three consuming plugins:
| Column | Source |
|---|---|
| Market | row market |
| Name | row name |
| Domains (registry) | row registry_domains |
| Research overlay | row research, or — when null |
| Trends overlay | row trends, or — when null |
| Portfolio | row portfolio |
| Output language | row output_language |
A null research or trends cell renders —: that plugin does not curate
this market today and its pipelines fall back to default behaviour. This
is information, not drift.
A cell reading not-scanned is a different statement and renders n/a:
that plugin's overlay was never opened, so nothing is being claimed about
what it curates. It cannot appear on this skill's path, which always scans
every plugin — only a --plugin-narrowed run produces it.
cogni-portfolio is a column even though it curates no overlay. It reads the registry directly through the merge utility, so its cell is the canonical domain count — dropping the column would report a plugin that consumes the registry as one that consumes no markets at all.
Orphans are the one real drift signal, and the only thing this report must never omit. An orphan means an overlay carries metadata for a domain the canonical registry does not hold: either the registry needs the domain, or the overlay entry is stale.
List each entry in data.orphans[] with its plugin, market, domain and
carrying field. When market_in_registry is false, say so — the whole
market is uncanonical, not just the one domain, and adding domains to a
market the registry does not carry would not fix it.
End with a single line:
Registry: {markets_canonical} markets canonical, {R} curated by research, {T} curated by trends, {orphan_count} orphan domain(s)
If orphan_count > 0, append: "Action required — orphan overlays
reference domains the canonical registry doesn't carry. Run
/cogni-workspace:manage-market-registry add to add the market or its
domains, or remove the overlay entry."
Interactive workflow for adding a brand-new market to the registry.
Ask the user, via AskUserQuestion (one or two questions per turn — don't quiz the user with a wall of fields):
code (kebab-case, e.g. kr or nordics-extended),
name (display string), tier (primary / extended / composite /
anglo / global).currency (ISO 4217 like EUR, or the literal MIXED
for composites), locale (xx_YY BCP-47 like ko_KR), timezone
(IANA like Asia/Seoul), languages_supported[] (multiSelect from
a small picklist plus an "other" override), default_output_language
(subset of languages_supported).composite) — composite_of[]
(multiSelect of existing market codes) and countries[] (ISO 3166-1
alpha-2). For non-composite markets, ask only for countries[].regional_qualifiers.local and regional_qualifiers.en
(two short strings, e.g., "in DACH" / "in DACH region"). These are
the narrative format; plugins maintain their own search-query
format under region_qualifiers in their overlays.name (display) and domain (root domain, no scheme). The list MAY
be empty for new composite markets — the registry can carry the
metadata first and have plugins curate domains later.Construct the new entry with consumed_by defaulting to
["cogni-portfolio"] (any new market is at minimum a portfolio target —
the user can edit consumed_by afterwards once research/trends curate
overlay metadata for it).
Read the registry, append the new entry to markets, write it back with
markets sorted alphabetically by code (preserving the file's leading
metadata fields). Bump last_updated to today's ISO date.
After writing, run the status operation's script once more and report the new market's row, so the user sees the registry as it now stands rather than being told it worked.
Then suggest:
"Market added to the registry. To curate plugin-specific metadata, edit the relevant overlay:
- Research authority metadata (search patterns, categories, tiers):
cogni-research/references/market-sources.json— add an entry under<code>.authority_metadata.- Trends dimension queries (site_searches per Smarter Service dimension):
cogni-trends/skills/trend-research/references/region-authority-sources.json— add an entry under<code>.site_searches."
The skill writes only to the registry. It does not touch plugin overlays — those are plugin-side curation and follow their own authoring loops.
${CLAUDE_PLUGIN_ROOT}/references/supported-markets-registry.json — canonical registry${CLAUDE_PLUGIN_ROOT}/scripts/get-market-config.py — merge utility (read entry point for plugins)${CLAUDE_PLUGIN_ROOT}/scripts/check-market-orphans.py — orphan and coverage computation behind the status report${CLAUDE_PLUGIN_ROOT}/tests/test-check-market-orphans.sh — proves the orphan check discriminatescogni-research/references/market-sources.json — research overlay (authority_metadata keyed by domain)cogni-trends/skills/trend-research/references/region-authority-sources.json — trends overlay (site_searches[] keyed by dimension)evals/evals.json holds this skill's trigger and behaviour prompts — reference material for verifying the skill still fires on the phrasings it claims, not loaded at runtime.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/claimsThis skill should be used to manage the claim lifecycle: submit, verify, dashboard, inspect,
resolve, and cobrowse. It applies to "claims", fact-checking, source verification, checking whether
statements match cited sources, reviewing deviations, tracking sourced-statement accuracy, or
receiving claims from another plugin. It also applies to "which claims need attention", "what did
verification find", "let's look at those sources together", "help me check these links", "browse
the unavailable sources", "check what fields a ClaimRecord has", or "understand deviation types or
severity levels". Verification re-fetches cited URLs; cogni-knowledge:knowledge-verify provides
zero-network scoring against claims extracted at ingest time.
/cogni-issuesThis skill files and tracks GitHub issues (bugs, features, change requests,
questions) against insight-wave plugins via the GitHub CLI (`gh`). It consults
the user, resolves the plugin repository, drafts from templates, creates
atomically with labels, and tracks locally.
It should be used whenever the user wants to report a bug, request a feature, file a change
request, ask a plugin question, list filed issues, or check issue status. Also
trigger on "this plugin is broken", "open an issue", "set up GitHub issues",
"das Plugin funktioniert nicht", "Fehler in {plugin}", "ich kann kein Issue
erstellen", or any complaint about a specific plugin — even without the word
"issue".
/copywriterPolish, rewrite, or create business documents (memos, briefs, reports, proposals, one-pagers, executive summaries, emails, blog posts, business letters) using professional messaging frameworks (BLUF, McKinsey Pyramid, SCQA, STAR, PSB, FAB) and persuasion techniques (number plays, power words, rhetorical devices). Use this skill when the user asks to polish a document, improve writing, make something more readable, restructure a brief, apply BLUF or Pyramid Principle, rewrite for executives, strengthen messaging, create a proposal, write a one-pager, clean up a report, compress a document to minimum length without losing facts, shorten a synthesis for circulation, tighten a document while keeping every citation and number, or apply any named messaging framework. Handles German documents (Wolf Schneider style), arc-aware narrative polishing (story arcs with arc_id), and IS/DOES/MEANS sales messaging. Simple requests like "make this better" about a markdown file should trigger this skill./install-mcpEnd-to-end MCP server installation for the insight-wave ecosystem — clone and build git-based MCPs, configure native app MCPs, and write the server into the user's own config for Claude Code or Claude Desktop without manual JSON editing. Use this skill whenever the user mentions MCP installation, MCP setup, MCP configuration, "my MCPs aren't working", "set up excalidraw", "install MCP servers", "update MCP servers", "patch desktop config", "MCP not found", "excalidraw tools not available", "excalidraw tools missing in Claude Code", "MCP not loaded", "mcpServers missing in ~/.claude.json", "pencil MCP not working", port conflicts with MCP servers (localhost:3000), or any mention of claude_desktop_config.json. Also trigger when manage-workspace needs to handle its MCP installation step (step 5), when workspace-status reports MCP servers as not loaded and the user wants to fix it, or when a rendering agent in cogni-portfolio (Excalidraw) or cogni-website (Pencil) fails because its MCP dependency is missing./manage-themesCreate, audit, improve, select, and apply visual design themes for the workspace — sourced from Claude Design bundles or bundled presets. Audits cover contrast, palette harmony, typography pairing, and completeness. Use it whenever the user mentions themes, brand colors or visual identity, wants a consistent look-and-feel across outputs, or whenever a downstream skill needs a theme resolved before it renders. Trigger phrases include "pick a theme", "select a theme", "which theme", "choose theme", "apply a theme", "my theme feels off", "check contrast", "improve my colors", "what theme for my brand?", "I need a visual identity for my startup", "make it match our brand", "use our company colors", "grab the style from that site", "brand guidelines", "design system", "brand identity", "visual standards", "author tokens", "build a tiered theme system", "deepen a theme", and "match the cogni-work pattern". Also triggers on a Claude Design bundle URL (api.anthropic.com/v1/design/h/...)./manage-workspaceInitialize or update an insight-wave workspace — the shared foundation that all marketplace plugins depend on. Use this skill whenever someone asks to create, set up, scaffold, initialize, update, refresh, or sync a workspace — including phrases like "set up my workplace", "get started with cogni", "create a new project workspace", "update workspace", "refresh workspace", "sync plugins", "re-scan plugins", or any mention of workspace initialization or updates. Also trigger when someone runs a fresh plugin install and needs the shared foundation that plugins depend on, or when plugins were added/removed and the workspace needs to catch up. Even if the user just says "new project", "start fresh", "add a plugin", "wire up my workspace", or "my plugins can't find each other", this skill applies.npx claudepluginhub cogni-work/insight-wave --plugin cogni-workspaceOther plugins' skills for the same job