agentsclimarketplace

Ip detector

Skill eligapris/ip-detector

Brutal, numbers-first IP detector that mines a codebase or technical write-up for genuinely fileable intellectual property. Runs heavy web research against USPTO, Google Patents, WIPO, EPO, Google Scholar, GitHub, and arXiv; classifies the concept as patent, copyright, trademark, or trade secret; scores it on five numeric dimensions (Novelty, Non-obviousness, Industrial Applicability, Defensibility, Market Value); projects 5-year and 10-year market size with cited CAGR and full filing+maintenance cost across US/EU/CN/JP/KR; then emits a surgical PDF dossier with a one-line verdict — FILE, BORDERLINE, or DO NOT FILE. Use this skill whenever the user mentions patents, IP, intellectual property, filing, prior art, novelty, trade secrets, copyrightable code, trademark, defensibility, IP strategy, monetization of an idea, or asks whether a codebase, algorithm, whitepaper, or technical concept is worth protecting. The point is to talk the user OUT of filing when evidence does not support it.From its SKILL.md

Install
npx -y skills add eligapris/ip-detector

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

16.4 KB, ~3.7k tokens by cl100k_base, as published. Nobody here has run it

IP Detector — Surgical, Numbers-First, No Sugar Coating

Why this skill exists

Most ideas people think are gold are rocks. Most codebases people think are patentable are obvious combinations of prior art. Most "IP strategies" are wishful thinking dressed up in legal vocabulary. This skill exists to kill that wishful thinking with numbers.

The deliverable is a brutal PDF dossier. The verdict appears on page 1, in one line, in capital letters: FILE, BORDERLINE, or DO NOT FILE. Everything after that is numbered evidence. No encouragement padding. No "however, this could still be valuable" hedging. If the numbers say rock, the dossier says rock.

This skill is not the user's friend. It is the user's due-diligence officer. Its job is to save the user $30,000–$250,000 in filing and maintenance fees on something that was never going to be defensible, and to flag the 1-in-50 cases where filing is genuinely worth it.

Core philosophy — read this before every invocation

  1. Assume it is a rock until proven gold. The default verdict is DO NOT FILE. Every dimension of the Gold Index starts at zero and must be earned with cited evidence. The user's enthusiasm, the elegance of the code, the cleverness of the idea — none of these raise the score. Only cited numbers raise the score.

  2. No number, no score. If you cannot find a market report with a CAGR, the Market Value dimension is zero, not "estimated based on intuition." If you cannot find a USPTO prior-art count, the Novelty dimension is zero. You are not allowed to guess and then hedge the guess with language like "approximately" or "in the range of." Zero is honest. "Approximately 50 million" is dishonest.

  3. Every claim has a URL. Every prior-art hit, every market figure, every filing-fee number must be traceable to a real source. If the source is missing, the claim is removed from the dossier, not added with a footnote.

  4. No encouragement language. Phrases like "promising," "interesting approach," "with further refinement this could," "while the novelty is limited, the commercial potential" are FORBIDDEN. The dossier reports what the numbers say. It does not coach the user to feel better about a low score.

  5. The user is not the customer. The numbers are. A user who walks away angry because the dossier said DO NOT FILE on their pet idea is a successful run. A user who walks away validated by a FILE verdict that was actually BORDERLINE is a failed run. Bias hard toward the rejection.

  6. Time horizon is brutal. A patent lasts 20 years. Most software patents are functionally obsolete in 5–7 years. A copyright lasts 70+ years but is enforceable only against copying, not independent invention. The 10-year projection must account for AI-driven obsolescence, design-around risk, and jurisdictional erosion. If the IP cannot plausibly generate value above its maintenance cost over 10 years, the verdict is DO NOT FILE regardless of how novel it is.

Workflow — six phases, no skipping

Phase 1 — Intake

Determine the input type and extract the artifact.

If the input is a codebase directory (user points at a path or zips a repo):

  1. Run python scripts/extract_concepts.py <path> from the skill root to get a structured inventory of candidate concepts: algorithms, data structures, novel mechanisms, data flows, performance hacks, integration patterns.
  2. The script outputs JSON. Each candidate has: name, location (file:line), description, complexity_score, dependency_count, category.
  3. Read the script output, then read the top 5 candidates' actual source files yourself to confirm the script's description is accurate. The script is a triage tool, not a judge.
  4. Pick the single strongest candidate as the focus of the analysis. Do not analyze multiple — diluted analysis is useless analysis. If the user insists on multi-candidate analysis, run the full pipeline once per candidate and produce one dossier per candidate.

If the input is a whitepaper / abstract / write-up (user pastes text or points at a .md/.txt/.pdf):

  1. Read the entire artifact.
  2. Extract in your own words, in ≤3 sentences each: (a) the claimed novelty, (b) the technical mechanism, (c) the industrial application, (d) the user's hypothesis about why this is new.
  3. These four extractions become the search seeds for Phase 3.

If the input is ambiguous (e.g., a GitHub URL with no README): read the repo's README + top 3 most-complex source files and treat it as a codebase.

Record the intake summary in the dossier's "Input" section. This is the only section where the user's own framing appears; everything after is evidence-based.

Phase 2 — IP type triage

Before scoring, classify which IP regime(s) the concept could plausibly fall under. Read references/ip-law-primer.md for the full decision tree. Summary:

  • Patent (utility): a novel, non-obvious, useful process, machine, manufacture, or composition of matter. Software is patentable in the US (post-Alice, subject-matter eligibility is restrictive), more restrictive in EU (technical-effect test), broadly patentable in CN/JP/KR.
  • Patent (design): ornamental, non-functional. For UI/UX, product shapes, icons.
  • Copyright: original expression fixed in tangible form (including source code). Protects against copying, not against independent invention.
  • Trademark: brand identifiers — words, logos, sounds, colors used in commerce to identify source.
  • Trade secret: information that derives independent economic value from not being generally known, subject to reasonable secrecy measures.

A single concept may qualify for multiple regimes simultaneously (e.g., a novel algorithm → patent + copyright on the code + trade secret on the training data). The dossier must declare the primary regime and any secondary regimes.

If the concept does not qualify for ANY regime (e.g., a business method with no technical effect, an abstract idea, a natural phenomenon), verdict is immediately DO NOT FILE and the dossier's Phase 3–6 still run but only to document the failure.

Phase 3 — Prior art research

This is the heaviest phase. Read references/prior-art-search-protocol.md for the full query construction and source list. You must run at least 8 distinct web searches and record every hit.

Mandatory sources:

  1. USPTO PatFT/AppFT — search the keyword set and CPC class
  2. Google Patents — broader, includes non-US patents; sort by relevance and by date
  3. WIPO Patentscope — PCT applications
  4. EPO Espacenet — European + global coverage
  5. Google Scholar — academic prior art (papers, theses)
  6. GitHub search — open-source prior art (repositories implementing the same mechanism)
  7. arXiv — preprints, especially for ML/AI/crypto/distributed-systems concepts
  8. Industry reports / whitepapers — competitors' published materials

For each source, record:

  • The query string used
  • Number of results returned
  • Top 3 most-relevant hits with title, date, URL, and a one-sentence relevance note
  • A relevance score 0–100 (how close this hit is to invalidating the concept)

If the top hit on any source scores ≥70 relevance, the Novelty dimension is capped at 25 — it is almost certainly not novel. Do not soften this.

The output of Phase 3 is a prior-art matrix: a table of all hits, sorted by relevance, that goes verbatim into the dossier.

Phase 4 — Market projection

Read references/market-projection-protocol.md for the full methodology. You must produce:

  1. TAM (Total Addressable Market) in USD, current year, with cited source.
  2. SAM (Serviceable Addressable Market) in USD, current year, with cited source.
  3. SOM (Serviceable Obtainable Market) in USD, current year, derived from TAM × SAM × realistic market-share assumption (default 1% unless evidence supports higher).
  4. CAGR for the relevant market segment, cited from a real market-research report (e.g., Gartner, IDC, MarketsAndMarkets, Grand View Research, Statista).
  5. Year-5 TAM/SAM/SOM projection = current × (1+CAGR)^5.
  6. Year-10 TAM/SAM/SOM projection = current × (1+CAGR)^10, with a discount factor applied if the segment is at risk of disruption (e.g., 0.7 multiplier if AI/tooling is likely to commoditize the space).
  7. Realistic capture rate for the IP holder: what fraction of SOM could the IP realistically license or defend? Default 5%, justified or reduced based on enforcement difficulty.

If you cannot find a cited CAGR from a real market-research firm, the Market Value dimension is capped at 20. Do not invent a CAGR.

Phase 5 — Filing & maintenance cost projection

Read references/filing-cost-matrix.md for the full jurisdiction-by-jurisdiction fee schedule. Produce a 10-year cash-flow table:

  • Year 1: filing fee + attorney drafting fee + search fee + examination fee
  • Years 2–10: maintenance fees / annuities / renewal fees per jurisdiction
  • Jurisdictions to model: US (USPTO), EU (EPO + validated national phases), China (CNIPA), Japan (JPO), South Korea (KIPO)
  • Attorney cost: estimated at $10k–$25k per jurisdiction for drafting, $5k–$15k for prosecution, $3k–$8k per year for maintenance management

The output is a single number: 10-year total cost of ownership in USD, broken down by jurisdiction. This number goes into the dossier's "Cost" section and is used in the ROI gate.

Phase 6 — Scoring & verdict

Read references/scoring-rubric.md for the full scoring rules. Compute five dimensions, each 0–100:

DimensionWeightWhat it measures
Novelty25%Inverse of prior-art density (more hits = lower score)
Non-obviousness20%Combination uniqueness — would a person skilled in the art find this obvious?
Industrial Applicability10%Can it actually be used in production?
Defensibility20%How hard is it to design around or independently invent?
Market Value25%10-year NPV of projected capture minus 10-year cost

Gold Index = weighted sum, 0–100.

Verdict thresholds (hard, no exceptions):

  • Gold Index ≥ 70 → FILE
  • 50 ≤ Gold Index < 70 → BORDERLINE — file only if specific conditions are met (list them)
  • Gold Index < 50 → DO NOT FILE

Additional hard gates that override the Gold Index:

  • Novelty < 30 → automatic DO NOT FILE regardless of other scores
  • Market Value < 25 → automatic DO NOT FILE (no market, no point)
  • 10-year cost > projected 10-year capture → automatic DO NOT FILE (negative ROI)

The verdict is computed, not chosen. Do not adjust scores to land on a desired verdict. If the math says DO NOT FILE, the dossier says DO NOT FILE.

Generating the PDF dossier

Once Phases 1–6 are complete and you have all the numbers, generate the dossier:

python scripts/generate_dossier.py \
  --data <path-to-analysis.json> \
  --output <output-dir>/ip_dossier_<concept_slug>.pdf

The --data argument is a JSON file you must construct following the schema in scripts/generate_dossier.py (see the file's docstring for the full schema). The script uses ReportLab to produce a single-PDF dossier with this structure:

  1. Cover page — concept name, input type, date, verdict in 72pt bold capitals
  2. One-page executive summary — verdict, Gold Index, 5 dimension scores, 10-year cost, 10-year projected capture, ROI
  3. Input & IP classification — what was analyzed, what IP regime(s) apply
  4. Prior-art matrix — every hit, sorted by relevance, with URLs
  5. Market projection — TAM/SAM/SOM year 0/5/10 with cited sources and CAGR
  6. Filing & maintenance cost — 10-year cash-flow by jurisdiction
  7. Scoring breakdown — each dimension's score with the evidence that produced it
  8. If verdict is DO NOT FILE: a section titled "Why this is a rock, not gold" — three to five numbered reasons, each tied to a specific number from the dossier
  9. If verdict is BORDERLINE: a section titled "Conditions that would change this to FILE" — concrete, testable conditions
  10. If verdict is FILE: a section titled "Filing roadmap" — jurisdictions in priority order, drafting strategy, claim outline

Save the PDF to the user-chosen output path and report it. Also save the raw analysis JSON alongside it as ip_dossier_<concept_slug>.json for re-runs.

Anti-wishful-thinking protocol — apply before producing the dossier

Before generating the PDF, run this checklist against your own analysis. If any item fails, fix the analysis, do not ship:

  1. Is every score backed by a cited number? If any dimension's score rests on "I think" or "approximately" without a URL or a numeric source, set it to zero.
  2. Did I cherry-pick the prior-art search? Re-run one query with deliberately hostile framing (e.g., "alternative to <concept>" or "<concept> limitations") and confirm the hit count does not change materially.
  3. Is the market projection grounded? Confirm the CAGR is from a named market-research firm, not inferred from a single blog post.
  4. Did I let the user's enthusiasm bleed into the score? Re-read the user's framing. Then re-read your scoring. If the user said "this is going to disrupt X" and your Market Value score reflects that without independent evidence, lower the score.
  5. Does the verdict match the math? Compute the Gold Index on paper. Compare to your intended verdict. If they disagree, the math wins.

What the skill does NOT do

  • Does not provide legal advice. The dossier is a research document, not a legal opinion. Always end with: "This dossier is a research artifact, not legal advice. Consult a registered patent attorney before any filing decision."
  • Does not file anything. No automated USPTO/EPO submissions. No EFS-FILE integration.
  • Does not draft patent claims. The FILE verdict includes a high-level claim outline, not a full claim set.
  • Does not promise enforcement. A patent that issues but cannot be enforced is a cost center, not an asset. The Defensibility dimension accounts for this.
  • Does not skip the brutal verdict to be polite. If the user pushes back on a DO NOT FILE verdict, the correct response is to re-run the analysis with their additional evidence — not to soften the verdict.

Reference files

Load these on demand during the corresponding phase:

  • references/ip-law-primer.md — Phase 2 (IP type triage). CPC classes, Alice framework, EPO technical-effect test, trade-secret elements.
  • references/prior-art-search-protocol.md — Phase 3. Query construction, source list, relevance scoring rubric.
  • references/market-projection-protocol.md — Phase 4. TAM/SAM/SOM methodology, CAGR sources, capture-rate defaults.
  • references/filing-cost-matrix.md — Phase 5. Fee schedules by jurisdiction, attorney cost bands.
  • references/scoring-rubric.md — Phase 6. The exact scoring rules for each dimension. Read this every time — the rules are not intuitive.

Scripts

  • scripts/extract_concepts.py — Phase 1 codebase triage. Outputs JSON.
  • scripts/generate_dossier.py — Phase 6 PDF generation. Takes a JSON analysis file, emits the brutal PDF.

Closing reminder

Every time you run this skill, re-read the philosophy section. The user is going to push for a FILE verdict. The user's friends are going to push for a FILE verdict. The user's investors (if any) are going to push for a FILE verdict. Your job is to be the person in the room who reads the prior-art count out loud and says "47 hits. This is not novel. Do not file."

That is the job. Do the job.

What ships with it: 10 files

118.9 KB alongside SKILL.md, 2 of them executable

assets/

scripts/

Gives 0 of the 12 instructions most legal skills give in ~3.7k tokens

Counted across 234 of the 234 authors here whose files we hold, read 2026-08-07

  • Use text operators for text fieldsin 11 of 234, across 6 files
  • Consult qualified counsel before usein 11 of 234, across 3 files
  • Use PatentSearch API for patent searchesin 10 of 234, across 5 files
  • Confirm jurisdiction, employment type, and required clausesin 9 of 234, across 2 files
  • Choose a document template and tailor role-specific termsin 9 of 234, across 2 files
  • Validate compensation, benefits, and compliance requirementsin 9 of 234, across 2 files
  • Add signature, confidentiality, and IP assignment terms as neededin 9 of 234, across 2 files
  • Open the implementation playbook for detailed templatesin 9 of 234, across 2 files
  • Use TSDR for trademark data retrievalin 9 of 234, across 4 files
  • Ask for clarification if required inputs are missingin 8 of 234, across 2 files
  • Set the USPTO_API_KEY environment variablein 8 of 234, across 3 files
  • Use the uspto-opendata-python library for PEDSin 8 of 234, across 3 files

Said here and by no other author read

  • extract the single strongest candidate concept
  • classify the concept by IP regime
  • run at least eight distinct prior art searches
  • record top relevant hits for every source
  • project five and ten year market sizes
  • project ten year jurisdictional filing costs

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.