Logotipo de Loe Analysis

Loe Analysis

Organización
navisbio
loe-analysis

Guides Claude through a Loss-of-Exclusivity (LOE) patent analysis using the Espacenet patent tools. Teaches how to identify all relevant patents protecting a drug (compound, formulation, method-of-use), check legal status and expiry across target jurisdictions, detect patent term extensions (PTE/SPC), and produce an LOE timeline. Triggers on: loss of exclusivity, LOE analysis, patent expiry, generic entry, biosimilar entry, when does patent expire, patent cliff, SPC, supplementary protection certificate, patent term extension, drug patent expiry, orange book, patent life cycle.

Descripción general

Editornavisbio
RepositorioOPS-patent-search-mcp
Nombre de la habilidadloe-analysis
Estrellas
22
Forks
9
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por navisbio en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Loe Analysis en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/navisbio/OPS-patent-search-mcp/tree/main/skills/loe-analysis
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/navisbio/OPS-patent-search-mcp.git /tmp/OPS-patent-search-mcp
mkdir -p .claude/skills
cp -r /tmp/OPS-patent-search-mcp/skills/loe-analysis .claude/skills/loe-analysis
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Loe Analysis en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Loe Analysis automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Loe Analysis no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Loss-of-Exclusivity (LOE) Analysis Skill

You are conducting a Loss-of-Exclusivity analysis using the Espacenet patent tools. LOE analysis determines when patent protection for a drug expires across target markets, enabling generic/biosimilar entry planning or portfolio lifecycle management.

Workflow Overview

Drug / active ingredient identification
  --> Search for all relevant patents (compound, formulation, method-of-use)
    --> Classify patents by type and strength
      --> Get legal status for each (grant, expiry, SPC/PTE)
        --> Check family coverage across target jurisdictions
          --> Estimate expiry dates per jurisdiction
            --> Build LOE timeline
              --> LOE report with earliest entry windows

Step 1: Identify the Drug and Target Markets

Extract from the user's request:

  1. Drug name — brand name, INN (generic name), and any known synonyms
  2. Active ingredient — chemical/biological name
  3. Originator company — who markets the drug
  4. Target markets — jurisdictions of interest (typically US, EP, JP, CN)
  5. Drug type — small molecule, biologic (antibody, protein), gene therapy, etc.

Example: "When can a biosimilar to Keytruda enter the market?"

  • Brand: Keytruda
  • INN: pembrolizumab
  • Active: anti-PD-1 monoclonal antibody
  • Originator: Merck (MSD)
  • Markets: US, EP, JP
  • Type: biologic (monoclonal antibody)

Step 2: Search for All Relevant Patents

LOE analysis requires finding ALL patent families protecting the drug, not just the main compound patent. Search in layers:

Layer 1: Compound / composition-of-matter patents

The strongest form of protection — covers the molecule itself.

search_patents(query='ta="pembrolizumab" OR ta="Keytruda" OR ta="MK-3475"',
  auto_paginate=true, detail_level="compact")

Also search by applicant + target:

search_patents(query='pa="MERCK*" AND (ta="anti-PD-1" OR ta="anti-PD1") AND ta="antibod*"',
  published_after="2005", auto_paginate=true, detail_level="compact")

Layer 2: Formulation / dosage patents

Cover specific formulations, dosage forms, concentrations, stabilizers.

search_patents(query='(ta="pembrolizumab" OR ta="MK-3475") AND (ta="formulation" OR ta="composition" OR ta="stable" OR ta="lyophil*")',
  detail_level="full")

Layer 3: Method-of-use / indication patents

Use the applicant of record from the compound patent's biblio, not the marketing company. Keytruda's compound patent lists Organon and MSD, so pa="MERCK*" misses it and the method-of-use families with it. Re-run every layer with the applicant strings the compound family actually carries.

Cover specific therapeutic uses — can block specific indications even after compound patent expires.

search_patents(query='(ta="pembrolizumab" OR ta="anti-PD-1") AND pa="MERCK*" AND (ta="method" OR ta="treatment" OR ta="cancer")',
  auto_paginate=true, detail_level="compact")

Layer 4: Manufacturing / process patents

Cover production methods — relevant for biologics especially.

search_patents(query='pa="MERCK*" AND (ta="pembrolizumab" OR ta="anti-PD-1") AND (ta="process" OR ta="manufacturing" OR ta="purif*" OR ta="cell line")',
  detail_level="full")

Layer 5: Combination therapy patents

Cover the drug in combination with other agents.

search_patents(query='(ta="pembrolizumab" OR ta="anti-PD-1") AND ta="combination" AND pa="MERCK*"',
  detail_level="compact", auto_paginate=true)

Step 3: Classify Patents by Type and Strength

Read the claims (get_patent_claims) of every patent the report names as decisive for the LOE date. A method-of-use patent "blocks only identical follow-on products" is a claim-scope statement and cannot be made from a title.

Organize found patents into categories:

CategoryStrengthTypical ExpiryImpact
Compound/moleculeStrongest20 yrs from filing + PTE/SPCBlocks all generic/biosimilar versions
FormulationMedium-Strong20 yrs from filingBlocks identical formulation; design-around possible
Method-of-useMedium20 yrs from filingBlocks specific indication; other indications may be free
ManufacturingMedium-Low20 yrs from filingBlocks specific process; alternative processes possible
CombinationLow-Medium20 yrs from filingOnly blocks specific combination

For each patent, note the priority date — this is needed for expiry estimation.

Step 4: Legal Status — The Core of LOE Analysis

Query legal status for each US family member that could carry the compound claims, not only the first one. A twelve-member US family with one status call is one data point, and the report must not present it as the US position.

For each key patent family, check legal status:

get_patent_legal_status(document_number="EP2170959")

Look for these critical events:

Grant events

  • Patent granted (B1/B2 kind code) — confirms the patent is enforceable
  • If still pending (A1/A2) — claims may change; timeline uncertain

Expiry-related events

  • Lapse/cessation — patent no longer in force (fees not paid)
  • Withdrawal — applicant abandoned the patent
  • Expiry — reached end of term

Patent term extensions

A PTEF event is an application for extension; only PTEG (or a statement that the extension was granted) means the term moved. Do not add a requested extension to the expiry date. Report it as "PTE of N days requested, not shown as granted" and give both dates.

  • SPC (Supplementary Protection Certificate) — extends protection for up to 5 years in Europe for pharmaceuticals
  • PTE (Patent Term Extension) — US equivalent under 35 USC §156, up to 5 years
  • Pediatric extension — additional 6 months in US/EU for pediatric studies

Opposition / invalidation

  • Opposition filed — patent validity challenged (EP patents)
  • Inter partes review (IPR) — US patent validity challenge
  • Claims amended — scope may have narrowed

Step 5: Family Coverage Across Jurisdictions

For each key patent, check where it's filed and granted:

get_patent_family(document_number="EP2170959")

Build a jurisdiction coverage matrix:

Patent FamilyPriority DateUSEPJPCNStatus
Compound (EP2170959)2008-07-08US8354509 (granted)EP2170959 (granted)JP5746174CN102245640In force
Formulation2015-03-01US10234567EP3456789——In force
Method: NSCLC2013-09-13US9387247EP3043816JP pending—Mixed

A patent only blocks you in jurisdictions where it's granted and in force.

Step 6: Estimate Expiry Dates

Base calculation

Expiry = Priority date + 20 years

Adjustments

  • Patent Term Adjustment (PTA) — US only, compensates for USPTO examination delays. Check legal status events.
  • Patent Term Extension (PTE/SPC) — adds up to 5 years for regulatory delay. Look for SPC grant events in legal status.
  • Pediatric exclusivity — adds 6 months after any other extension
  • Patent term disclaimer — applicant may have disclaimed part of the term (terminal disclaimer in US)

Example calculation:

Compound patent EP2170959:
  Priority date:    2008-07-08
  Base expiry:      2028-07-08
  SPC granted:      +4.5 years → 2033-01-08
  Pediatric ext:    +6 months  → 2033-07-08
  Effective expiry: July 8, 2033

Step 7: Build the LOE Timeline

Organize all expiry dates chronologically per jurisdiction:

Timeline format:

US Market:
  2028 ─── Compound patent expires (base term)
  2029 ─── Manufacturing process patent expires
  2030 ─── Formulation patent expires
  2033 ─── Compound patent + PTE expires ← EFFECTIVE LOE
  2033 ─── Method-of-use (NSCLC) expires
  2035 ─── Method-of-use (melanoma) expires ← FULL LOE

EU Market:
  2028 ─── Compound patent expires (base term)
  2033 ─── Compound patent + SPC + pediatric expires ← EFFECTIVE LOE
  2034 ─── Formulation patent expires

Effective LOE = when the compound/composition patent expires (including extensions). This is when a generic/biosimilar with the same molecule can enter.

Full LOE = when ALL method-of-use patents expire. After this, generics can market for all approved indications.

Step 8: Compile the LOE Report

Report Structure

  1. Executive Summary

    • Drug name, originator, drug type
    • Effective LOE date per jurisdiction (headline finding)
    • Key risk: which patent is the last to expire?
  2. Patent Portfolio Map

    • All identified patent families by category
    • Publication numbers, priority dates, grant status
    • Jurisdiction coverage matrix
  3. Expiry Timeline

    • Chronological expiry dates per jurisdiction
    • Effective LOE vs. full LOE dates
    • Extensions (SPC/PTE) with details
  4. Legal Status Assessment

    • Granted vs. pending vs. lapsed for each key patent
    • Any opposition or invalidation proceedings
    • Risk of claims narrowing
  5. Generic/Biosimilar Entry Windows

    • Earliest possible entry date per market
    • Which indications open first (if method-of-use patents stagger)
    • Design-around opportunities (formulation, process)
  6. Risk Factors and Uncertainties

    • Pending applications that could extend protection
    • Opposition outcomes that could shorten protection
    • Regulatory exclusivities beyond patents (data exclusivity, orphan drug, etc.)
    • Paragraph IV / Bolar provisions for early generic filing
  7. Methodology and Limitations

    • Search queries used
    • Patents not found in Espacenet (some US-specific patents may need FDA Orange Book cross-reference)
    • Regulatory exclusivities are NOT covered by patent tools — note this gap

Important Notes

  • Patents are only part of the picture. Regulatory exclusivities (data exclusivity, orphan drug exclusivity, pediatric exclusivity) are separate from patent protection and are NOT visible in patent databases. Always flag this limitation.
  • Orange Book / Purple Book patent linkage. In the US, the FDA Orange Book lists patents for small-molecule drugs approved under an NDA; biologics approved under a BLA (antibodies such as pembrolizumab) are listed in the Purple Book instead, and their 12-year reference-product exclusivity is separate from any patent. Neither register is reachable through this server. If the user knows specific listed patent numbers, search those directly.
  • SPC calculation is complex. In Europe, SPC duration = (first marketing authorization date − patent filing date) − 5 years, capped at 5 years. The legal status events should show the granted SPC term.
  • Biologics vs. small molecules. Biosimilar entry has additional regulatory requirements (similarity studies) that delay entry beyond patent expiry. The LOE date is the earliest possible, not the expected market entry.
  • Patent term adjustment (PTA). US-specific, compensates for examination delays. Can add months to years. Visible in legal status events.
  • Divisional applications. A single priority filing can spawn multiple divisional patents with the same priority date but different claims. Check the full family for divisionals.
  • Continuation patents. US-specific — new patents filed claiming priority to earlier applications. Can have the same expiry date as the parent but different claims. These are particularly important for biologics patent thickets.
  • Follow cross-references. Patents often cite related applications inline (e.g., "as described in US2017/0137537"). When a patent references another document as a primary source of data (e.g., clinical data, formulation details), fetch that document — it may contain extension-relevant information (SPC data, regulatory milestones) not present in the citing patent.
  • CQL full-text field limitations. The CQL fields claims=, desc=, ftxt= are unreliable for phrase searches and don't support wildcards. Use ta= for CQL queries, then search_in_patent_text for full-text keyword analysis of specific patents.
  • European SPC data is NOT reliably available from OPS. National SPCs are filed at national patent offices (DPMA, INPI, UKIPO) and may not appear in OPS legal status events. Flag this limitation prominently in the report. If spcOrPte returns false, it may mean "no SPC data available" rather than "no SPC exists."
  • Drug names in patents. Patent titles/abstracts often use research codes (e.g., MK-3475) more than INN names (pembrolizumab), especially in earlier filings. Search for both. Also try brand names and mechanism descriptions (e.g., "anti-PD-1 antibody").
  • Legal status event filtering. Use event_types=["grant", "spc_pte", "lapse"] and condensed=true to get a concise view of patents with many events (EP patents can have 100+ PGFP fee payment entries that obscure the important events).
  • NEVER describe companies from training knowledge. Do not add phrases like "a leading pharmaceutical company" or "known for its oncology portfolio" — these are hallucination-prone. Only state what the patent data shows.
  • Mandatory biblio verification. Before including ANY patent in the LOE report, call get_patent_details to verify its title, applicant, and dates. For batch efficiency, use the document_numbers array parameter to verify up to 100 patents in one call.
  • Priority dates are now structured. The biblio tool returns priority claims as {number, date, country} objects. Use the date field for expiry calculations when available.

Preguntas frecuentes

¿Qué hace la habilidad de IA Loe Analysis?

Guides Claude through a Loss-of-Exclusivity (LOE) patent analysis using the Espacenet patent tools. Teaches how to identify all relevant patents protecting a drug (compound, formulation, method-of-use), check legal status and expiry across target jurisdictions, detect patent term extensions (PTE/SPC), and produce an LOE timeline. Triggers on: loss of exclusivity, LOE analysis, patent expiry, generic entry, biosimilar entry, when does patent expire, patent cliff, SPC, supplementary protection certificate, patent term extension, drug patent expiry, orange book, patent life cycle.

¿Por qué usar Loe Analysis en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Loe Analysis está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Loe Analysis en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/navisbio/OPS-patent-search-mcp/tree/main/skills/loe-analysis. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Loe Analysis?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Loe Analysis?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Loe Analysis con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Loe Analysis?

Sí. navisbio la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇