Logo di Patent Audit

Patent Audit

Community
gfodor
patent-audit

Audit a draft U.S. utility patent application before it is filed, against a 316-item checklist grounded in 35 U.S.C., 37 CFR, the MPEP, and current USPTO practice. Runs a deterministic pre-pass over the draft, gates on patentability, inventorship and deadlines, then fans out parallel review agents over the specification, claims, drawings and filing packet, adversarially verifies every fatal finding, and reports ranked defects with honest coverage accounting. Use when asked to audit, review, check, or pre-flight a patent application, provisional, specification, or claim set before filing.

Panoramica

Pubblicato dagfodor
Repositorylegal-skills
Nome della skillpatent-audit
Stelle
398
Fork
49
File inclusi
19
LicenzaGPL-3.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 19

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da gfodor su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Patent Audit in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/gfodor/legal-skills/tree/main/patent-audit
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gfodor/legal-skills.git /tmp/legal-skills
mkdir -p .claude/skills
cp -r /tmp/legal-skills/patent-audit .claude/skills/patent-audit
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Patent Audit in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Patent Audit non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Patent Audit non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Pre-filing patent application audit

Audit a draft utility patent application against 316 checklist items and return a ranked defect list with coverage accounting.

Not legal advice. The checklist is grounded in 35 U.S.C., 37 CFR, the MPEP, and current USPTO materials. Fee amounts, form names and filing mechanics must be re-verified against current PTO practice, and §101 case law moves. Say so in the report; the template already does.

What ships with this skill

PathPurpose
reference/checklist_index.jsonAll 316 items with routing: id, part, section, title, check, severity, applies_to, inputs, automation, owner, blocking
reference/parts/{A..I}_*.mdFull item text per part — these are the agent payloads
scripts/prepass.pyOne command for all of Phase 1
scripts/parse_application.pyDraft → structured parsed.json
scripts/mechanical_checks.pyDeterministic checks → findings_mechanical.json
scripts/deadlines.pyIntake → deadlines.json with weekend/holiday rollover
scripts/synthesize.pyAll findings → ranked report + coverage
assets/intake.yamlThe intake questionnaire template
assets/sample_draft.mdA draft with planted defects, for testing the harness

Routing is precomputed. Every item carries:

  • inputs — what evidence it consumes: draft_text (210 items), intake_facts (99), forms_packet (68), drawings (47), search_report (40), prior_art_refs (20), ppa_text (20), parent_app (13).
  • automation — mechanical (28), assisted (169), judgment (119).
  • owner — which agent runs it.
  • blocking — 105 items halt the audit on failure.

26 items are answerable only from intake facts. No document review reaches them: A19 A20 A22–A25 A36 C05 C08–C12 C21 D19–D26 D28 D29 I38 I42. If intake is skipped, those are cannot_assess — never pass.

Core principles

The draft fits in one context. Parallelize for attention, not capacity. Every agent gets the whole application. Never chunk the document across agents — enablement, antecedent basis and numeral consistency are whole-document properties.

Never let a model do arithmetic or exhaustive cross-referencing. Dates, claim counts, fee tiers, dependency graphs and numeral reconciliation run in code. Models find 19 of 20 numerals and report "all consistent."

Silence is not a pass. Every item ends as pass, fail, cannot_assess, not_applicable, or not_reached. An agent that omits an item has not passed it.

cannot_assess is a correct answer. Some items — the duty of candour above all — cannot be established from any document. Guessing is worse than admitting.


Phase 0 — Intake (blocking)

Run prepass.py with no --intake; it writes the questionnaire into the working directory. Have the user fill it. Parts A, C and D are unanswerable without it.

Do not proceed past the gates on assumed facts. If the user wants to start anyway, run Phases 1 and 3 only, and mark every intake-dependent item cannot_assess.

The most consequential fields are the disclosure and bar dates, and disclosure_made_by — post-AIA, only an inventor-derived disclosure gets the one-year grace period. A third party's independent disclosure before filing means the U.S. right is already gone, and no amount of drafting fixes it.

Phase 1 — Deterministic pre-pass

bash
python scripts/prepass.py --draft DRAFT --drawings DRAWINGS \
    --intake intake.yaml --workdir audit_run

Exit 1 means intake is missing; exit 2 means the draft did not parse and the run must stop. Individual steps if you need them:

bash
python scripts/parse_application.py DRAFT --drawings D -o parsed.json
python scripts/mechanical_checks.py parsed.json --intake intake.yaml -o findings/findings_mechanical.json
python scripts/deadlines.py intake.yaml -o deadlines.json [--asof YYYY-MM-DD]

parse_application.py accepts .txt, .md, .pdf, .docx. prepass.py refuses to continue when no claims parsed, fewer than four sections were recognised, or the detailed description yielded no reference numerals — all signs the draft uses headings the parser did not expect. Fix the parse before dispatching agents; otherwise they confidently audit a document that isn't there.

The mechanical checks credit the checklist items they cover, so those items are not reported as unaudited. A mechanical pass never suppresses a later agent fail on the same item — the synthesizer keeps the worst verdict.

Hand parsed.json to every agent. It carries the claim dependency graph, element decomposition, antecedent-basis candidates, reference-numeral tables and figure inventory, so no agent has to recompute them.

Phase 2 — Gates (sequential, fail fast)

Run in order. Each gets intake.yaml, parsed.json, deadlines.json, the draft, and only its own part file.

AgentPart fileAlso needs
gate_thresholdA_threshold.mdsearch report, closest prior art
gate_inventorshipC_inventorship.md—
gate_priorityD_priority_deadlines.mddeadlines.json, PPA text, parent

If any gate returns a fail on an item tagged blocking: true, stop. Report the blocker and do not spend tokens auditing the prose of an application that is statutorily barred, names the wrong inventors, or has already lost its priority date. Tell the user what would have run.

gate_priority must not compute dates. deadlines.json already has them, with rollover applied. Its job is to interpret them and catch the conflicts the script flags in warnings.

Phase 3 — Document fan-out (parallel, single message)

Eight agents, all with the full draft and parsed.json. Launch together.

AgentPart fileLens to put in the prompt
doc_enablementE_disclosure.md (own items)Read as a skilled artisan trying to build it. Every point where you'd have to invent something is a gap.
doc_narrowingE_disclosure.md + F_spec_sections.md (own items)Read as opposing counsel hunting for admissions, essentiality language, and claim-construction traps.
doc_spec_sectionsF_spec_sections.mdWalk the spec section by section in PTO order.
doc_claims_lawG_claims.md (own items)§112 form, definiteness, antecedent basis, means-plus-function. Adjudicate the candidates lists from the mechanical pass — do not re-derive them.
doc_claims_archG_claims.md (own items)Set architecture: is claim 1 the broadest? Does each dependent add real scope? Are the statutory classes covered?
doc_drawingsH_drawings.md + I05, I33Multimodal — attach the sheets as images. Text-only, this agent silently passes.
doc_filingI_filing_packet.mdFormalities, ADS, declaration, fees, IDS, nonpublication request.
doc_searchB_search.mdWas the search adequate, were the references read correctly, does the draft answer what was found?

Split E/F/G between their agents using the owner field in checklist_index.json, not by file — owners deliberately cross file boundaries. An item about narrowing language belongs to doc_narrowing wherever it sits, and the claim-support items in Part G belong to doc_enablement.

Filter each agent's payload to its own IDs:

bash
python -c "import json,sys; \
 ids={i['id'] for i in json.load(open('reference/checklist_index.json',encoding='utf-8')) \
      if i['owner']==sys.argv[1]}; print(' '.join(sorted(ids)))" doc_narrowing

Workload is uneven by design: gate_priority 48, doc_filing 46, doc_claims_law 39, gate_threshold 35, doc_enablement 25, doc_drawings 24, doc_claims_arch 23, doc_search 22, gate_inventorship 21, doc_spec_sections 19, doc_narrowing 14.

Red team (launch with the same batch)

The highest-value output, and not checklist-shaped. Each returns prose, not findings.

  • redteam_examiner — You are the examiner. Given these claims and this search report, write the first Office Action you would actually issue: every §101, §102, §103 and §112 rejection, with the reference and the mapping.
  • redteam_design_around — Given claim 1, design three products that capture the commercial value and do not infringe. If this is easy, claim 1 is too narrow — no checklist item will tell you that.
  • redteam_invalidity — Assume it issued and you are the accused infringer. Attack it: priority defects, §112 gaps, prior art the applicant missed.

Phase 4 — Adversarial verification

For every fail on a blocking item, spawn a fresh verifier that receives the draft and the claim but not the finding's reasoning, and is prompted to refute it. Three verifiers; the finding survives on two. Record survivors in the finding's verified_by field and drop the rest to cannot_assess with a note.

This is where surplus budget goes. A 93-item fatal list with a 20% false-positive rate is worse than a clean 60-item list — attorneys stop reading audits that cry wolf.

Phase 5 — Synthesis

bash
python scripts/synthesize.py findings/ --deadlines deadlines.json \
    -o audit_report.md --json audit_report.json

Exits non-zero when a fatal item failed. Reports not_reached for any item no agent touched — check that number is zero before calling the audit complete. If it isn't, an agent skipped work; re-run that agent.

Append the three red-team outputs as appendices.


Finding schema

Every agent returns only a JSON array to findings/<agent>.json. No prose.

json
[{
  "item_id": "G14",
  "verdict": "fail",
  "severity": "Serious",
  "location": "claim 3",
  "evidence": "the said locking member",
  "explanation": "No earlier claim introduces a locking member.",
  "suggested_fix": "Introduce 'a locking member' in claim 1, or recite it in claim 3.",
  "confidence": "high"
}]

verdict ∈ pass | fail | cannot_assess | not_applicable. Rules to put in every agent prompt:

  1. Emit exactly one entry per item in your part file. Count them before writing.
  2. evidence must be a verbatim quote from the draft, never a paraphrase. A finding with no quote is not a finding.
  3. Use cannot_assess when the input is missing. Never infer a date, an inventor's knowledge, or a fact not in the materials.
  4. not_applicable needs a reason in explanation.
  5. Do not edit the draft. This is an audit; remediation is a separate pass.

Scaling

Typical case (20–60 pages, ~20 claims): 11 agents in Phase 3, wall clock ≈ the slowest, 5–10 minutes. Large claim sets (100+) — fan doc_claims_law out per claim, since form checks are claim-independent; keep doc_claims_arch whole-set.

Do not

  • Run one agent per checklist item. 316 agents each re-reading the draft buys nothing; items share reading effort.
  • Chunk the draft across agents.
  • Let an audit agent edit the draft — you lose the evidence trail.
  • Report a pass for anything an agent stayed silent about.
  • Recompute in a model what parsed.json already computed exactly.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Patent Audit?

Audit a draft U.S. utility patent application before it is filed, against a 316-item checklist grounded in 35 U.S.C., 37 CFR, the MPEP, and current USPTO practice. Runs a deterministic pre-pass over the draft, gates on patentability, inventorship and deadlines, then fans out parallel review agents over the specification, claims, drawings and filing packet, adversarially verifies every fatal finding, and reports ranked defects with honest coverage accounting. Use when asked to audit, review, check, or pre-flight a patent application, provisional, specification, or claim set before filing.

Perché usare Patent Audit su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Patent Audit è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Patent Audit in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/gfodor/legal-skills/tree/main/patent-audit. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Patent Audit?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Patent Audit?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Patent Audit: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Patent Audit è gratuita?

Sì. È pubblicata su GitHub da gfodor con licenza GPL-3.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇