Skip to content
Legal
Command

/patent-check

Check environment readiness in the active host before first RESEARCH or project resume.

From plugin
oh-my-patent
1169 skills14 agents9 commands
$ npx -y skills add illusionaireal/oh-my-patent --agent claude-code

Command definition

patent-check.md

/patent-check

Check environment readiness in the active host before first RESEARCH or project resume.

Usage

/patent-check [project-path]

From the installed workspace root, run the bundled checker:

node "{{PATENT_CHECK_SCRIPT}}" --json

From another directory, resolve that installed script and pass its full path. The script uses its own location to select the workspace and the active host's configuration. It needs Node.js 22+ but no source checkout, global CLI, node_modules or npx cache.

The public CLI also supports `oh-my-patent check --json --tool <host>`. `<host>` is claude-code, codex or opencode; specify it in mixed-host workspaces.

Results and handoff

Return the actual timestamp, adapter, ready, blocking/warning counts, MCP configuration statuses and runtime/tool/project results. The check reads local configuration and probes local tools; it does not contact or authenticate MCP services. Observe actual host tools separately. A configured service has not passed a connectivity check.

Archimedes saves the real report and host capability observations in the selected project's references/init-report.json. Do not change formal workflow state here. Missing git or runtime capabilities block plugin readiness. Missing mmdc is an optional figure warning; only an elected Mermaid path requires its renderer. Report retrievalCoverage, configuredCount and degradedRetrieval: zero configured sources (none) blocks RESEARCH; academic sources only (google_scholar/semantic_scholar, fallback_only) blocks by default; at least one patent source (patsnap_search/uspto_patent/cnipa_patent, professional) passes the configuration gate. Missing individual sources remain warnings. Template priority is setup advice; retrievalRole determines coverage. No source must be individually required.

Only after explicit user acceptance of academic-only limitations, rerun the same checker with --accept-degraded-retrieval --degradation-reason "user acceptance reference/reason". Save the resulting confirmation, timestamp and limitation in the report. Consent applies to this invocation; recheck on resume. It cannot waive zero sources or runtime/tool blockers. Observe actual approved host retrieval tools too: none/unknown blocks formal RESEARCH, and academic-only tools require explicit acceptance even if a patent source is configured. Failed execution and unknown capabilities must never be recorded as passed. A search plan or supplied-material analysis cannot be described as completed retrieval.

Consume stageReadiness by phase: runtime readiness applies to every plugin task; research.configurationReady is only the configuration gate for RESEARCH/new evidence collection. diagramDraft/diagramFinal remain unknown until actual host observation. Top-level ready retains its startup/research meaning; a retrieval gap does not block independent drafting or figures from existing evidence when their own capabilities pass.

Invocation

Archimedes must invoke the sentinel before first RESEARCH and on resume through an actually exposed native delegation tool. Without one, perform the check sequentially and label the execution mode. This is an orchestration instruction, not a session-start hook. Manual /patent-check is available at any time. The check itself does not install tools or change configuration; setup commands require the user's explicit selection.

Drawing observations include SVG, Mermaid, PlantUML, imagegen, preview and timed selection. The checker reports figureToolChecks as local_version_only; actual rendering remains host-reported. Before DIAGRAM_DRAFT/resume, save fresh .patent/figure-capabilities.json and run the shared figure.plan / figure.offer / figure.select operations through the installed checker with --runtime --input request.json. A real 30-second deadline defaults locally; hosts without timed interaction default immediately and label it honestly. No default grants egress/spending consent; pending visual review blocks final required-figure delivery, not drafting.

Read more
@illusionaireal
Ships withoh-my-patent

<img src="./assets/brand/png/logo-primary.png" width="720" alt="oh-my-patent — Archimedes raising a patent document with a WOW! expression"> Meet Archimedes. Turn your “Eureka!” into a patent disclosure.

1167 skills14 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
116
Star history of illusionaireal/oh-my-patent on GitHub, a chart by star-history.com

Other commands on oh-my-patent.

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n1d210k
@n8n-io@n8n-ioInstall Command