From f55af24f435fb7b5c03e4218c48753763e9883db Mon Sep 17 00:00:00 2001 From: Claude Code Date: Mon, 6 Apr 2026 11:38:20 +0000 Subject: [PATCH 1/2] feat: add CSV download and import step between targeting and screening After targeting completes, output a Google Patents URL with the final search query so the user can download CSV. Then import CSV via investigation-preparing before proceeding to screening. Co-Authored-By: Claude Opus 4.6 --- plugin/skills/targeting/SKILL.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/plugin/skills/targeting/SKILL.md b/plugin/skills/targeting/SKILL.md index 3ac43e9..82265cd 100644 --- a/plugin/skills/targeting/SKILL.md +++ b/plugin/skills/targeting/SKILL.md @@ -219,12 +219,28 @@ language:CHINESE`). - Create a file `keywords.md` using the template `assets/keywords-template.md`. This is the **Golden Keywords Registry**. -#### Step 4: Transition to Screening +#### Step 4: CSV Download and Import -Upon successful completion: +Upon successful targeting, the user must download search results as CSV from Google Patents. -- Deliverables: `targeting.md`, `keywords.md` -- Next skill: `/patent-kit:screening` +1. **Output Google Patents URL**: Present the final search query as a Google Patents URL the user can paste into their browser: + ``` + https://patents.google.com/?q=&after=filing:&assignee=&country= + ``` + - The `q` parameter uses the quoted keywords joined with `AND` + - Date filter uses `after:filing:` (NOT `filing_after:`) + - Include assignee filter if Phase 1 was used + - **Action**: Tell the user to open this URL, then click "Download CSV" from Google Patents + +2. **Wait for CSV**: Do NOT proceed until the user has placed the CSV file in the `csv/` directory. + +3. **Import CSV**: Once the CSV file is in `csv/`, invoke `Skill: investigation-preparing` with request "Initialize the patent database and import CSV files from csv/" + +4. After import is complete, proceed to screening. + +#### Step 5: Transition to Screening + +- Invoke `/patent-kit:screening` ## Quality Gates @@ -249,4 +265,5 @@ Upon successful completion: - `targeting.md` created with validated search commands - `keywords.md` created with golden keywords registry +- CSV downloaded from Google Patents and imported into `patents.db` - Ready to proceed to screening skill From 99df5313b86f444ed7951f900a2d4cddb74a0b4e Mon Sep 17 00:00:00 2001 From: Claude Code Date: Mon, 6 Apr 2026 11:40:56 +0000 Subject: [PATCH 2/2] docs: add sqlite3 to prerequisites and add CSV download step in targeting Co-Authored-By: Claude Opus 4.6 --- README.md | 6 +++--- plugin/skills/targeting/SKILL.md | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 52b960b..bde597c 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@ AI-Native Patent Analysis Kit, designed for Claude Code. -> [!IMPORTANT] -> **Disclaimer**: This tool is provided for informational purposes only. The outputs do not constitute legal advice or professional patent opinions. +> [!IMPORTANT] > **Disclaimer**: This tool is provided for informational purposes only. The outputs do not constitute legal advice or professional patent opinions. ## Overview @@ -32,10 +31,11 @@ claude plugin install patent-kit@patent-kit-marketplace ### Prerequisites -You must have the following CLI tools installed and accessible in your system PATH to execute patent and paper searches. **When this plugin is loaded, it will automatically connect to these tools as built-in MCP servers.** +You must have the following CLI tools installed and accessible in your system PATH. **When this plugin is loaded, it will automatically connect to these tools as built-in MCP servers.** - [Google Patent CLI (google-patent-cli)](https://github.com/sonesuke/google-patent-cli) - [arXiv CLI (arxiv-cli)](https://github.com/sonesuke/arxiv-cli) +- [sqlite3](https://www.sqlite.org/) — Required for database operations (screening, evaluating, etc.) ## Quick Start diff --git a/plugin/skills/targeting/SKILL.md b/plugin/skills/targeting/SKILL.md index 82265cd..b1cb669 100644 --- a/plugin/skills/targeting/SKILL.md +++ b/plugin/skills/targeting/SKILL.md @@ -224,9 +224,11 @@ language:CHINESE`). Upon successful targeting, the user must download search results as CSV from Google Patents. 1. **Output Google Patents URL**: Present the final search query as a Google Patents URL the user can paste into their browser: + ``` https://patents.google.com/?q=&after=filing:&assignee=&country= ``` + - The `q` parameter uses the quoted keywords joined with `AND` - Date filter uses `after:filing:` (NOT `filing_after:`) - Include assignee filter if Phase 1 was used