/cogni-workspace:claims runs instead · from cogni-workspace
Manages the full lifecycle of sourced claims: submit, verify against cited URLs, detect deviations, inspect evidence, and resolve findings. Useful for fact-checking and source verification workflows.
This skill never runs in Claude Code
It ships in cogni-workspace at skills/, but /cogni-workspace:claims (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
This skill manages the full lifecycle of sourced claims: accepting them, verifying them against their cited URLs, detecting deviations, presenting findings, and guiding the user through resolution.
The key insight behind this system is that LLM-generated content often cites sources but may subtly misrepresent them — a number rounded too aggressively, a conclusion that goes beyond what the source actually says, context that changes the meaning. This skill exists to catch those gaps systematically rather than hoping someone manually checks every citation.
Determine the operating mode from the user's intent. People rarely say "mode: verify" — they'll say things like "check my claims" or "what's the status" or "let me see what's wrong with claim-xyz". Here's how to map intent to mode:
| Mode | What triggers it | What it does |
|---|---|---|
submit | User or plugin provides new claims with sources | Add claims to the registry for tracking |
verify | "verify", "check", "re-check", "re-verify", "run verification", or first time after submission | Fetch sources and compare claims against them |
dashboard | "show", "status", "overview", "what claims", "dashboard", "what did you find", "which claims need attention", "what's the status" | Display all claims grouped by status |
inspect | "inspect", "show me", "details on", "what's wrong with", "explain this deviation" + a claim ID | Deep-dive into one claim's evidence |
resolve | "resolve", "fix", "handle", "deal with", "correct" + a claim ID | Walk the user through resolving a deviation |
cobrowse | "cobrowse", "let's look together", "help me check", "recover sources", "open sources", "browse together", "interactive check", "recover unavailable" | Interactive cobrowsing to recover source_unavailable claims |
When in doubt, dashboard is a safe default — it gives the user an overview and they can drill down from there.
Before any operation, make sure the workspace exists. Run the init script — it's idempotent, so calling it when the workspace already exists is fine:
bash "${CLAUDE_PLUGIN_ROOT}/skills/claims/scripts/claims-store.sh" init "${working_dir}"
The working_dir is either passed as a parameter or defaults to the current working directory. All claim state lives in {working_dir}/cogni-claims/ — that directory name is load-bearing and stays as-is regardless of which plugin ships this skill, because it holds accumulated per-project user state.
Accept one or more claims and register them for future verification.
Each claim needs: statement (the claim text), source_url, source_title, and submitted_by (the plugin name, or "user" for direct submissions).
Steps:
bash claims-store.sh gen-idunverified (field tables in references/schema.md)claims.json and update the updated_at timestamphistory/{claim-id}.jsonFor batch submissions, process all claims in a single registry update to keep things efficient.
Fetch the cited sources and compare each claim against them.
--id <id>, verify just that claim (even if already verified — this is re-verification)unverifiedMultiple claims often cite the same source. Group them by source_url so each URL is fetched exactly once. Tell the user: "Verifying {N} claims against {K} unique sources."
Before dispatching agents, check whether claude-in-chrome is available. Verification itself uses WebFetch only (no browser fallback), but the source-inspector (inspect mode) and cobrowse mode need claude-in-chrome.
Check claude-in-chrome:
mcp__claude-in-chrome__tabs_context_mcpcobrowse_available = truecobrowse_available = falseDecision:
/claims inspect and /claims cobrowse will not work until claude-in-chrome is enabled." Proceed to Step 3.For each unique URL group, launch a cogni-workspace:claim-verifier agent:
Agent parameters:
subagent_type: "cogni-workspace:claim-verifier"
prompt: Include working_dir, source URL, claim IDs, and claim statements
Launch all agents in parallel when there are multiple URLs — this is the main performance optimization. Each agent fetches the source once and verifies all claims referencing it.
As agents complete, update claims.json for each claim:
verifieddeviated, attach the DeviationRecordssource_unavailableAlso record the source excerpt and write verification events to each claim's history file.
Show a brief summary:
Verification complete:
- {n} verified (no deviations)
- {n} deviations detected ({n} critical, {n} high, {n} medium, {n} low)
- {n} sources unavailable
If there are source_unavailable claims, add a recovery suggestion:
{n} source(s) could not be reached via WebFetch. Run `/claims cobrowse` to open them
in your browser for interactive recovery — you can help navigate logins, cookie banners,
and dynamic content while I read and verify.
If there are deviated claims with severity medium or higher, briefly show each one (claim statement, deviation type, source excerpt) and proactively offer source inspection (see Source inspection section below). The goal is a seamless flow: verify → see the problem → decide what to do.
Show the user where things stand. Read claims.json, group by status, and render the dashboard following references/dashboard-format.md — the complete layout spec, covering section ordering, sorting, the 20-claims-per-section cap, and overflow handling.
The dashboard should give the user a clear picture at a glance and make it obvious what needs attention (deviated claims with high severity) vs. what's fine (verified claims).
For each deviated claim in the "Deviations Requiring Attention" section, include a one-line summary of what the deviation is (not just the type label) so the user can quickly decide which claims to inspect. When presenting action hints, emphasize that /claims inspect <id> will open the source via claude-in-chrome, locate the relevant passage, and let the user review it directly in their browser — this is the primary workflow for handling deviations.
When the user wants to dig into a specific claim's evidence. This mode should feel like a natural co-browsing session — show the evidence and immediately help the user see the source.
Walk the user through resolving a deviated claim. If source inspection hasn't been done yet from inspect mode, launch it (see Source inspection section below) — the user should have the source evidence available while making their decision.
deviatedresolved, write to history. Preserve the entity_ref field on the claim — downstream systems (cogni-portfolio's portfolio-verify Step 8) use it to propagate corrections back to the entity files that originally contained the wrong data. Do not set propagated_at here — that's set by the propagating system after it applies the correction.Interactive recovery for claims stuck at source_unavailable. The automated verification pipeline (WebFetch) already tried and failed for these sources — cobrowse mode is different because the user actively helps. They can dismiss cookie banners, log in to paywalled sites, accept terms, scroll to load dynamic content, or navigate to the right page section while you watch and verify.
This mode matters because many "unavailable" sources aren't truly gone — they just need human interaction that automated fetching can't provide. A pricing page behind a cookie wall, a report behind a corporate login, a dynamically-loaded table that needs a scroll — these are recoverable with the user's help.
Cobrowse mode requires the user's real Chrome browser via claude-in-chrome. Before starting:
mcp__claude-in-chrome__tabs_context_mcp to verify availability/claims resolve <id> to handle unavailable claims manually."Read claims.json and filter to status === "source_unavailable". If the user specified --id <claim-id>, filter to just that claim. If --url <url>, filter to all claims citing that URL.
If no candidates found, tell the user: "No source_unavailable claims to recover. All claims are either verified, deviated, or resolved."
Group candidates by source_url (same grouping pattern as verify mode) — each URL is opened once, all claims citing it are verified together.
Present what's ahead so the user knows what to expect:
Cobrowse Recovery Session
{N} claims across {K} sources are marked source_unavailable.
I'll open each source in your browser. You can help by:
- Dismissing cookie banners or popups
- Logging in if the source requires authentication
- Navigating to the right section or page
- Scrolling to load dynamic content (pricing tables, expandable sections)
Tell me "ready" when the page content is visible, and I'll read and verify.
Sources to recover:
1. [{Source Title}]({url}) — {n} claim(s)
2. [{Source Title}]({url}) — {n} claim(s)
...
Use AskUserQuestion: "How would you like to proceed?" with options:
For each source URL in the session:
3a. Open in browser
Always open a new tab — never navigate the user's active tab:
mcp__claude-in-chrome__tabs_create_mcp → get new tab ID
mcp__claude-in-chrome__navigate → go to source URL
Tell the user which source is now open: "Opened {Source Title} — {n} claim(s) depend on this source."
3b. Initial page assessment
Attempt a first read via mcp__claude-in-chrome__get_page_text. Based on what comes back, classify the page state and guide the user:
3c. User interaction checkpoint
Use AskUserQuestion with options:
If the user chooses "Alternative URL", ask for the new URL, navigate to it, and return to step 3b.
If the user chooses "Re-read", extract content again and re-assess. Allow multiple re-reads — the user may need several interactions before the page is fully loaded.
3d. Content extraction
Extract the page content:
mcp__claude-in-chrome__get_page_textmcp__claude-in-chrome__read_page as alternative3e. Inline verification
For each claim in the URL group, verify against the extracted content. Apply the same 5-dimension comparison used by the claim-verifier agent:
For each claim, determine:
3f. Present results per URL
Show the verification results for all claims against this source:
Source: [{Title}]({url})
claim-abc123: VERIFIED
"Cloud spending grew 29%..." — matches source excerpt.
claim-def456: DEVIATED (misquotation, medium)
Claim says "45% growth", source says "30-35% growth in Q3".
claim-ghi789: STILL UNAVAILABLE
Relevant passage not found on page. The page contains product descriptions
but no pricing data matching the claim.
Use AskUserQuestion: "How do you want to handle these results?" with options:
3g. Save results
On "Accept all" or after adjustments:
claims.json — change status from source_unavailable to verified, deviated, or keep as source_unavailable based on results. Attach DeviationRecords for deviated claims.sources/{url-hash}.json with fetch_method: "cobrowse_interactive" — this distinguishes interactive recovery from the automated cobrowse fallback. (this skill emits only webfetch / cobrowse_interactive; the shared fetch_method vocabulary also includes webfetch_fulltext — a fuller-body primary-tier web fetch — and direct — a non-web local source — both written by cogni-knowledge and recognized-but-never-emitted here, per cogni-workspace/CLAUDE.md § Claim Verification → Source Fetching Strategy.){
"event": "cobrowse_recovery",
"timestamp": "...",
"data": {
"previous_status": "source_unavailable",
"new_status": "verified",
"fetch_method": "cobrowse_interactive",
"user_assisted": true
}
}
After all URLs are processed (or the user ends the session):
Cobrowse Recovery Complete
Recovered: {n} of {total} unavailable claims
- {n} now verified (no deviations)
- {n} now deviated ({n} high, {n} medium, {n} low)
- {n} still unavailable (source gone or content not found)
- {n} skipped by user
If any claims remain source_unavailable, suggest: "Remaining unavailable claims can be resolved manually via /claims resolve <id> — you can provide alternative sources, accept as-is, or discard."
If deviated claims were found during recovery, suggest: "Use /claims inspect <id> to review the newly detected deviations, or /claims resolve <id> to handle them."
User can't access the page either (genuinely 404, domain expired, content removed): Note as confirmed_unavailable in the claim's verification_notes field. The claim stays source_unavailable but the history records that a human also confirmed the source is gone. Offer /claims resolve <id> to provide an alternative source or discard.
Page loads but relevant content is missing (the page exists but the specific data point — e.g., a pricing table — is no longer there): The claim stays source_unavailable with a verification note like "Page accessible but pricing section no longer present — content may have been restructured." This is different from a 404 and gives the user better context for resolution.
User provides an alternative URL mid-session: Navigate to the new URL, extract and verify. If verification succeeds, update the claim's source_url and source_title to the new source. This is a proper re-verification, not a resolution — the claim gets a fresh status based on the new source.
Session interrupted (user says "End session" midway): Save all results collected so far. Report what was processed and what remains. Unprocessed claims stay source_unavailable — the user can resume with /claims cobrowse later.
Mixed results within a URL group (some claims verify, others deviate or remain unavailable): Handle each claim independently. The user confirms the batch per URL, but individual claims can have different outcomes.
These aren't arbitrary rules — they reflect the fundamental nature of LLM-based verification:
Conservative detection: Since an LLM is reading source text and making judgments, false positives are more damaging than false negatives. A false positive wastes the user's time investigating a non-issue and erodes trust. When the comparison is ambiguous, lean toward not flagging.
Evidence-first: Showing the source excerpt alongside every finding lets the user quickly judge whether the deviation is real. Without the excerpt, the user has to go find the source themselves, which defeats the purpose.
Honest about uncertainty: The system is making probabilistic assessments, not delivering court verdicts. Language like "appears to diverge" rather than "is wrong" correctly communicates the confidence level and respects the user's judgment.
User authority: The system's job is to surface potential issues efficiently. The user decides what to do about them. Auto-resolving would be both presumptuous and risky.
No silent failures: If a source can't be fetched, that's important information — it means the claim can't be verified, which is different from being verified clean.
Pre-dispatch guard: Before dispatching source-inspector, check cobrowse_available from the pre-flight check (Step 2.5). If it is false, skip the dispatch — the agent works by driving the user's browser through claude-in-chrome, so without it the agent can only fail. Tell the user directly that source inspection requires claude-in-chrome, and give them the two ways forward: enable it and retry, or skip inspection and proceed to resolve using the deviation data verification already produced.
When claude-in-chrome is available and the user needs to see a source in context — whether from verify, inspect, or resolve mode — launch the cogni-workspace:source-inspector agent with the source URL, the verbatim excerpt, the claim statement, and the deviation explanation. It opens the page in the user's browser, extracts the text, and locates the relevant passage, returning a structured result with the matched text, surrounding context, and a screenshot. If the passage was not found on the page, let the user know the source may have been updated since verification.
Offer inspection proactively rather than waiting to be asked — a user looking at a deviation almost certainly wants to see the source, and findings are assessments they need the evidence to judge (see Guiding principles).
Submit + Verify:
Dashboard + Resolve:
claims.json.bak), and reinitialize.source_unavailable with a verification note explaining the failure, report to the user, and offer re-verification.verified_at is more than 7 days old, note this on the dashboard so the user knows the verification may be stale. Re-verification handles this cleanly.references/verification-protocol.md — Quality principles (epistemic humility, conservative detection, batch consistency) and re-verification rules. Read this when you need to understand the philosophical approach to verification or handle re-verification edge cases. The step-by-step methodology lives inline in the claim-verifier agent.references/dashboard-format.md — Complete dashboard layout spec with section ordering, truncation rules, and sorting. Read this when rendering the dashboard.references/schema.md — ClaimRecord, DeviationRecord, ResolutionRecord, EntityRef, enums, and lifecycle field tables.references/workspace-conventions.md — On-disk claim-store layout, cache records, history events, concurrency, and cross-plugin submission conventions.scripts/claims-store.sh — Handles workspace init, ID generation, URL hashing, and claim counting. Invoke via: bash "${CLAUDE_PLUGIN_ROOT}/skills/claims/scripts/claims-store.sh" <command> [args...]examples/claims-sample.json — A sample claims.json showing claims in all statuses with complete field structures. Useful for understanding the data shape.The contract has three record types: ClaimRecord, DeviationRecord, and ResolutionRecord.
ClaimRecord.entity_ref identifies the originating entity field so a correction can propagate back.
Field definitions, enums, status transitions, and EntityRef live in references/schema.md;
storage and concurrency rules live in references/workspace-conventions.md.
Other plugins submit records through this skill's submit mode.
cogni-workspace:claim-verifier — Fetches one source URL, verifies all claims against it, returns structured JSON. Launch in parallel for multiple URLs.cogni-workspace:source-inspector — Opens a source URL in the browser and highlights the relevant passage for the user to inspect.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.
evals/evals.json (opens in a new tab)examples/claims-sample.json (opens in a new tab)references/dashboard-format.md (opens in a new tab)references/schema.md (opens in a new tab)references/verification-protocol.md (opens in a new tab)references/workspace-conventions.md (opens in a new tab)scripts/claims-store.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/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.npx claudepluginhub cogni-work/insight-wave --plugin cogni-workspaceOther plugins' skills for the same job