recipe-prior-art-searchlisted
Install: claude install-skill flowleap-ai/flowleap-plugins
# Recipe: Prior Art Search
A multi-step workflow for comprehensive prior-art searching. Each database uses
its own query syntax — see `flowleap-uspto` for the USPTO Lucene grammar.
## Steps
### Step 1: Generate Search Queries
```bash
# --focus broad widens recall for a first novelty pass
flowleap patent build-query "<describe the invention in natural language>" --focus broad --allow-external-processing
flowleap uspto build-query "<describe the invention in natural language>" --focus broad --allow-external-processing
```
These live builders transmit the invention description to FlowLeap and its
configured Anthropic or OpenAI provider. Obtain informed user consent before
using `--allow-external-processing`. For a local preview, use
`--dry-run --dry-run-redacted`; if external processing is not permitted, write
the CQL/ODP query manually and skip the builder commands.
Done when you have one EPO CQL query and one USPTO ODP query for the invention.
### Step 2: Search Patents (EPO + USPTO)
Run **both** databases — they are not interchangeable:
- `patent search` hits EPO OPS: worldwide DOCDB coverage, including EPO's own
bibliographic copy of US documents. `--countries US` narrows this EPO
collection to US members; it does **not** reach USPTO's Open Data Portal.
- `uspto search` hits USPTO ODP directly, returning US application and
prosecution metadata (the `patentFileWrapperDataBag`) that the EPO copy lacks.
For US prior art the USPTO leg must go through USPTO ODP; d