Help us improve
Share bugs, ideas, or general feedback.
From patent-kit
INTERNAL SKILL - For agent/skill use only. Do not invoke directly from user prompts. Retrieves patent investigation data from SQLite database. This skill is designed to be called by other skills (e.g., evaluating, screening) and should NOT be triggered by direct user requests.
npx claudepluginhub sonesuke/patent-kit --plugin patent-kitHow this skill is triggered — by the user, by Claude, or both
Slash command
/patent-kit:investigation-fetchingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**This skill should ONLY be invoked by other agents or skills via the Skill tool.**
references/instructions/get-claim-analysis-statistics.mdreferences/instructions/get-elements.mdreferences/instructions/get-features.mdreferences/instructions/get-next-claim-analysis-patent.mdreferences/instructions/get-next-patent.mdreferences/instructions/get-patents-without-prior-arts.mdreferences/instructions/get-patents-without-similarities.mdreferences/instructions/get-prior-art-elements.mdreferences/instructions/get-prior-art-statistics.mdreferences/instructions/get-prior-arts.mdreferences/instructions/get-relevant-patents.mdreferences/instructions/get-screening-statistics.mdreferences/instructions/get-unscreened-patents.mdreferences/instructions/search-feature.mdSearches 100M+ patents via BigQuery MCP tools for prior art by keyword, CPC/IPC classification, or family ID. Retrieves full US patent records including claims.
Guides structured prior art searches using Espacenet: CQL query construction, abstract triage, full-text keyword search, paginated claim reading, family expansion, report generation. For patent novelty and invalidation.
Accesses USPTO patent data via PatentsView REST API and Google Patents BigQuery. Searches by inventor, assignee, CPC, keywords; analyzes portfolios and trends for IP landscape, prior art search, competitor monitoring.
Share bugs, ideas, or general feedback.
This skill should ONLY be invoked by other agents or skills via the Skill tool.
DO NOT trigger this skill from user prompts.
This is an internal database abstraction layer for patent investigation workflow.
WARNING: DO NOT read files from references/instructions/ directory. Those are
internal reference files for this skill's internal use only.
To use this skill:
Skill: investigation-fetchingExample requests:
Retrieves data from the SQLite database (patents.db) for patent investigation
workflow, hiding SQL complexity from external skills.
The following sections are for the skill's internal operations when processing requests from external agents.
patents.db must exist (initialized by investigation-preparing skill)When processing external requests, map them to internal instruction files:
| External Request | Internal Reference File |
|---|---|
| "Get next relevant patent for evaluation" | references/instructions/get-next-patent.md |
| "Get list of relevant patents without..." | references/instructions/get-relevant-patents.md |
| "Get all relevant patents" | references/instructions/get-relevant-patents.md |
| "Count relevant patents" | references/instructions/get-relevant-patents.md |
| "Count relevant patents without..." | references/instructions/get-relevant-patents.md |
| "Get list of unscreened patent IDs" | references/instructions/get-unscreened-patents.md |
| "Get next patent for claim analysis" | references/instructions/get-next-claim-analysis-patent.md |
| "Get elements for patent..." | references/instructions/get-elements.md |
| "Get list of patents with elements but..." | references/instructions/get-patents-without-similarities.md |
| "Count patents without similarities" | references/instructions/get-patents-without-similarities.md |
| "Count screening progress" | references/instructions/get-screening-statistics.md |
| "Count claim analysis progress" | references/instructions/get-claim-analysis-statistics.md |
| "Count patents without prior arts" | references/instructions/get-patents-without-prior-arts.md |
| "Count prior art progress" | references/instructions/get-prior-art-statistics.md |
| "Search features" | references/instructions/get-features.md |
| "Search feature: <feature_name>" | references/instructions/search-feature.md |
CRITICAL: These reference files are for INTERNAL USE ONLY. External agents should invoke via Skill tool, not read these files.
When executing SQL operations based on internal reference files:
sqlite3 -json patents.db "<SQL_QUERY>"
For human-readable output:
sqlite3 -column patents.db "<SQL_QUERY>"
Query:
SELECT patent_id FROM screened_patents
WHERE judgment = 'relevant'
AND patent_id NOT IN (SELECT patent_id FROM claims)
LIMIT 1;
Query:
SELECT patent_id FROM screened_patents
WHERE judgment = 'relevant'
AND patent_id NOT IN (SELECT patent_id FROM claims);
This is a file-based operation (not SQL):
find 3-investigations -mindepth 1 -maxdepth 1 -type d | while read -r dir; do
patent_id=$(basename "$dir")
if [ -f "$dir/evaluation.md" ] && [ ! -f "$dir/claim-analysis.md" ]; then
echo "$patent_id"
exit 0
fi
done
Query:
SELECT
claim_number,
element_label,
element_description
FROM elements
WHERE patent_id = '<patent_id>'
ORDER BY claim_number, element_label;
Query:
SELECT DISTINCT e.patent_id
FROM elements e
LEFT JOIN similarities s ON e.patent_id = s.patent_id
AND e.claim_number = s.claim_number
AND e.element_label = s.element_label
WHERE s.patent_id IS NULL;
Query:
SELECT
feature_name,
description,
category,
presence
FROM features
ORDER BY feature_id;
Query:
SELECT
feature_name,
description,
category,
presence
FROM features
WHERE feature_name = '<feature_name>';
patents.db exists with dataThese files are for the skill's internal use when processing requests. External agents should NOT read these:
get-next-patent.md: Get next patent for evaluationget-relevant-patents.md: Get list of relevant patentsget-unscreened-patents.md: Get list of unscreened patentsget-next-claim-analysis-patent.md: Get next patent for claim analysisget-elements.md: Get elements for a specific patentget-patents-without-similarities.md: Get list of patents with elements but no similaritiesget-features.md: Get all product featuresget-screening-statistics.md: Get screening progress countsget-claim-analysis-statistics.md: Get claim analysis progress countsget-prior-art-statistics.md: Get prior art research progress countssearch-feature.md: Search for a specific feature by nameIMPORTANT: External agents should invoke this skill via the Skill tool, not access these internal files directly.