[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78EXK3Z2AR1EV4G43DQQK3N":3,"skill-same:01M78EXK3Z2AR1EV4G43DQQK3N":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M78EXK3Z2AR1EV4G43DQQK3N","flowleap-patstat-graph",null,"Graph Analytics over the PATSTAT snapshot — a named node and the relationships around it. Worldwide DOCDB citation networks (who cites a patent, examiner vs applicant origin), citation\u002Ffamily paths between two patents, family coverage, an applicant's co-applicant network with top CPC and jurisdictions, the CPC codes that cover a technology keyword (`graph cpc`), and one CPC area's landscape (`graph technology`: top applicants, filing trend, grant rate, new entrants), every edge carrying a confidence tag (EXTRACTED\u002FINFERRED\u002FAMBIGUOUS) and a PATSTAT row provenance ref. Trigger when an agent needs a traversal answer about a specific patent or applicant — 'who cites EP3477840', 'how are patent X and patent Y connected', 'why does this patent matter', 'who does this company file with', where a family has coverage — or asks 'which CPC codes cover X', 'who dominates \u003Ctechnology area>', or wants the technology landscape for a CPC area; as opposed to other corpus aggregate counts (flowleap-patstat), free-text keyword analytics (flowleap analytics), or document retrieval (flowleap-patent\u002Fflowleap-ops).","flowleap-ai\u002Fflowleap-plugins","flowleap-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F308447201?v=4","01M78EW41SDYP0XH04G056G4GS","01M78EW42W8DAJJK73C3Z95PEA",1,"MIT","https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fflowleap\u002Fskills\u002Fflowleap-patstat-graph\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: flowleap-patstat-graph\ndescription: \"Graph Analytics over the PATSTAT snapshot — a named node and the relationships around it. Worldwide DOCDB citation networks (who cites a patent, examiner vs applicant origin), citation\u002Ffamily paths between two patents, family coverage, an applicant's co-applicant network with top CPC and jurisdictions, the CPC codes that cover a technology keyword (`graph cpc`), and one CPC area's landscape (`graph technology`: top applicants, filing trend, grant rate, new entrants), every edge carrying a confidence tag (EXTRACTED\u002FINFERRED\u002FAMBIGUOUS) and a PATSTAT row provenance ref. Trigger when an agent needs a traversal answer about a specific patent or applicant — 'who cites EP3477840', 'how are patent X and patent Y connected', 'why does this patent matter', 'who does this company file with', where a family has coverage — or asks 'which CPC codes cover X', 'who dominates \u003Ctechnology area>', or wants the technology landscape for a CPC area; as opposed to other corpus aggregate counts (flowleap-patstat), free-text keyword analytics (flowleap analytics), or document retrieval (flowleap-patent\u002Fflowleap-ops).\"\n---\n\n# FlowLeap Patstat Graph (Graph Analytics)\n\nAuth and global flags: see `flowleap-shared`.\n\nIn a chat client with the FlowLeap connector or in the FlowLeap Patent AI app, call the tools named in the `flowleap-shared` tool table instead of these commands, and never run a `flowleap` command there.\n\nEight native commands under `flowleap patstat graph`. Each one runs one\n**PATSTAT tool** on the Tools facade, the same tool `flowleap mcp` serves under\nthe same name. The graph tools need sign-in only: no plan and no patent-data\nkey.\n\n## Routing: which engine answers this?\n\nThe routing table between Topic, Portfolio and Graph Analytics lives in\n`flowleap-patstat` (\"Which engine?\"). The served statement is step 1 of every\nserved workflow (`flowleap patstat docs --workflow \u003Cportfolio-analysis|guarded-sql|graph>`);\n`--workflow graph` is the served procedure for this skill. A *connection* (who\ncites what, what links two patents, who co-files with whom) is here. One known\ndocument's text, claims or legal status is not: use `flowleap-patent`,\n`flowleap-ops` or `flowleap-uspto`.\n\nA CPC\u002FIPC-class landscape is Portfolio Analytics.\n`flowleap patstat graph technology \u003Ccpc>` is its fast path: find the code with\n`graph cpc` first. Use `patstat query` when the composite does not answer.\n\n## The eight commands\n\n```bash\nflowleap patstat graph resolve EP3477840\nflowleap patstat graph cpc \"solid electrolyte\"\nflowleap patstat graph patent EP3477840\nflowleap patstat graph applicant 98765\nflowleap patstat graph technology H01M10\u002F0562\nflowleap patstat graph neighborhood pat:56123456 --depth 2 --edge-types cites,cited_by\nflowleap patstat graph path EP3477840 US5960411 --max-hops 3\nflowleap patstat graph explain EP3477840 --token-budget 4000\n```\n\n| Command | Tool | Gate | Answers |\n|---|---|---|---|\n| `resolve \u003Cquery>` | `patstat_resolve` | sign-in, 30\u002Fmin shared | Number → its `pat:\u003Cappln_id>` anchor; free text → ranked applicant entities with `psn_id`, largest portfolio first |\n| `cpc \u003Ckeyword>` | `patstat_cpc` | sign-in, 30\u002Fmin shared | Technology keyword → ranked CPC symbols with scheme title and application count |\n| `patent \u003Cnumber>` | `patstat_patent` | sign-in, 30\u002Fmin shared | The whole patent picture in one call: anchor, backward\u002Fforward citations, family, applicants\u002Finventors\u002FCPC, priorities |\n| `applicant \u003Cpsn_id>` | `patstat_applicant` | sign-in, 30\u002Fmin shared | One harmonized entity: filings by year, top CPC, jurisdictions, co-applicants |\n| `technology \u003Ccpc>` | `patstat_technology` | sign-in, 30\u002Fmin shared | Portfolio-shaped composite, served by the graph engine. One CPC area: top applicants, filing trend, grant rate by office, new entrants, seminal families, top inventors, geography |\n| `neighborhood \u003Cnode>` | `patstat_neighborhood` | sign-in, 30\u002Fmin shared | Bounded 1–2 hop expansion, examiner citations ranked first |\n| `path \u003Ca> \u003Cb>` | `patstat_path` | sign-in, 30\u002Fmin shared | Shortest citation\u002Ffamily path between two patents |\n| `explain \u003Cnode>` | `patstat_explain` | sign-in, 30\u002Fmin shared | Node card + top connections, the remainder grouped with TRUE counts |\n\nNode ids are `pat:\u003Cappln_id>`, `person:\u003Cpsn_id>`, `family:\u003Cdocdb_family_id>`,\n`cpc:\u003Csymbol>`. Through `tools run` the inputs are snake_case: `q`, `number`,\n`psn_id`, `cpc`, `depth`, `edge_types` (an array), `max_hops`, `token_budget`.\n\n## Start with resolve, or with cpc\n\nA human input becomes a node id through an entry ramp, and the graph verbs\n**refuse** rather than guess:\n\n- A number or a company name goes through `resolve`. `applicant` takes a strict\n  numeric `psn_id`, which only `resolve \u003Cname>` produces.\n- A technology word goes through `cpc`, and one symbol from its list goes to\n  `technology`. Take CPC codes from `cpc`, never from memory. When nothing\n  matches, `cpc` prints one line and exits 0: try a shorter or different\n  keyword.\n\n`resolve` on a company name is a **pick-one list, not an answer**: present the\nranked candidates and let the user choose. It exits 0.\n\nAn ambiguous publication number has one answer per verb family, and none exits\n0, so a script can never mistake a pick-one prompt for a resolved anchor:\n\n- `resolve` answers 200 with `kind: \"ambiguous\"` and its candidates, and exits 1.\n- `patent` answers 422 `patstat_patent_ambiguous`, with the candidates at\n  `error.details.candidates`.\n- `neighborhood`, `path` and `explain` refuse with 400\n  `patstat_invalid_request`, whose message names the candidates in prose.\n\nIn each case, pass the `pat:` id the user meant.\n\n## Reading output\n\n**Human mode, `neighborhood` \u002F `path` \u002F `explain`** — the command prints the\nbackend's line-per-fact `text` verbatim:\n\n```\nEP3477840 --cites [EXTRACTED 1.0]--> DE4302443 at=tls212:530028653\n```\n\nQuote those lines with their confidence tag and `at=` ref rather than\nre-deriving facts. The Data Edition is in the header, and `TRUNCATED` notices\ncarry verb-specific narrowing hints — never present a truncated listing as\ncomplete.\n\n**Human mode, `patent` \u002F `applicant`** — section tables, in a fixed order.\n`graph patent`: Anchor → Applicants → Inventors → CPC Classifications →\nBackward Citations (Patents → Non-Patent Literature → Unresolved) → Forward\nCitations → DOCDB Family → Priority Claims → data-quality flags → edition and\nattribution footer. `graph applicant`: entity card → Filings by Year → Top CPC\n→ Jurisdictions → Co-Applicants → footer.\n\nEvery section header prints even when empty, showing `(none recorded)` — an\nabsent section means no data, never a parsing slip. Truncation reads literally\n`Showing {shown} of {total} {label}.` — repeat the TRUE total when you quote\nthe list. `Filings by Year` is uncapped; do not imply a cap there.\n\n**Human mode, `cpc` \u002F `technology`** — `cpc` prints one line per candidate\n(symbol, scheme title, application count). `technology` prints the area card,\nthen Top Applicants → Filing Trend → Grant Rate by Office → New Entrants →\nSeminal Families → Top Inventors → the three geography rankings → notes and\ndata-quality flags → footer. Its notes say the most recent filing years are\nincomplete: never read that tail as a decline.\n\n**`--json`, every command** — the tool data verbatim, with no CLI envelope and\nno `success` flag. `neighborhood`, `path` and `explain` answer\n`{ text, data, data_edition, attribution }`; the other verbs answer their own\nfields with `data_edition` and `attribution` beside them. A typed error\ncarries an `error` object with `code`, `message` and `details`.\n\n**Which number is which.** Every node the backend answers with carries a\ncitable `publication` — the first grant where one exists, else the earliest\npublication (may be `null` for an application with no publication at all).\n`application` \u002F `prior_application` are **deprecated**: they carry DOCDB's own\napplication-number format, which for a US application is a 6-digit serial\nplus the 2-digit filing year (`US10374408 (A)` decodes to USPTO application\n12\u002F103,744 — it is not itself a lookupable number). EP happens to be the one\noffice where DOCDB's format equals the real application number, which is why\nthis stayed hidden until a US-bearing family was reported (flowleap-backend\n#419). Prefer `publication` \u002F `prior_publication`; read `docdb_application` \u002F\n`prior_docdb_application` only when you need the raw DOCDB string and know to\nlabel it as such. In `--json` all four keys ride on every node — this is\nadditive, not a breaking change. Human-mode text already applies this rule:\nit prints the citable publication, falling back to a `DOCDB appln …`-labeled\nstring only when no publication exists.\n\n## Budgets and bounds\n\n- `--token-budget` (default 2000) trims the `text` serialization only; `--json`\n  data stays complete. Out-of-range values are **clamped silently** into\n  100–20000 — never an error, so a huge budget simply gives you the maximum.\n- `--depth` (1 or 2) and `--max-hops` (1–4) are **refused** with a relayed\n  `patstat_invalid_request` message stating the valid range. Read the message\n  rather than guessing.\n- `--edge-types` takes a comma-separated subset of `cites`, `cited_by`,\n  `in_family`, `has_applicant`, `has_inventor`, `classified_as`,\n  `claims_priority`. Narrow with it instead of accepting a capped listing.\n\n`path` reporting `found: false` is a **200 and exit 0** — the search ran and\nthere is no path within the hop limit. That is an answer, not a failure, and\nit carries its own caveat: absence is not proof of unrelatedness. Unrelated\ntechnology areas commonly have no path; raise `--max-hops` only if the\nconnection actually matters.\n\n## Confidence discipline\n\nEvery edge carries `confidence`:\n\n- `EXTRACTED` (1.0) — a direct PATSTAT row. State as fact.\n- `INFERRED` (0.75–0.85) — a derived join (harmonized-name grouping, extended\n  family). Hedge it: \"grouped under the harmonized entity…\", never bare fact.\n- `AMBIGUOUS` (≤0.3) — unresolved citations kept as ghost `doc:` nodes.\n  Flag, don't omit — and never build conclusions on them.\n\nProvenance `at=\u003Ctable>:\u003Ckey>` points at the PATSTAT row asserting the\nrelationship; carry it when the user needs to verify a claim.\n\n## Errors\n\n| Code | Meaning | What to do |\n|---|---|---|\n| `patstat_invalid_request` (400) | Bad node, ambiguous input, or out-of-range bound | Read the relayed message — it states the fix. Resolve first if ambiguous. |\n| `patstat_patent_ambiguous` (422) | `graph patent` only: a number matching several applications, with the candidates at `error.details.candidates` | Render the candidates and let the user pick. |\n| `patstat_patent_not_found` \u002F `patstat_entity_not_found` (404) | Nothing matches in the loaded edition | Check the number, or the input may postdate the snapshot. |\n| `patstat_unavailable` (503) | No PATSTAT dataset configured on this deployment | Report plainly; do not retry-loop. |\n\nExit codes follow the CLI-wide table. A `3` means the credential is missing or\nrejected — a human must run `flowleap auth login`; see `flowleap-auth` for the\nverification states.\n\n## Snapshot honesty\n\nPATSTAT is a named snapshot, not live data. Every result names its Data\nEdition: carry it with any number you quote, compare numbers only within the\nsame edition, and keep the `attribution` line with any table you hand on. For **current legal status** (in force, lapsed,\nopposed) the snapshot is the wrong source: use the live document tools\n(`flowleap ops legal`, `flowleap-uspto`).\n\nTwo boundaries worth stating to users:\n\n- **`graph applicant` vs `patstat portfolio`** draw entity boundaries\n  differently. `applicant` is one harmonized `psn_id`; `portfolio` groups by\n  name-prefix aliases. They may disagree about where one company ends and\n  another begins — say which one a number came from.\n- **This engine vs `flowleap-citation`** are different citation universes.\n  Here: the worldwide DOCDB citation network from the PATSTAT snapshot, with\n  examiner-vs-applicant origin. There: USPTO office-action enriched citations\n  — US only, with X\u002FY\u002FA relevance categories. Neither is a superset; pick by\n  whether the question is about worldwide structure or US examiner reasoning.\n","# FlowLeap Patstat Graph (Graph Analytics)\n\nAuth and global flags: see `flowleap-shared`.\n\nIn a chat client with the FlowLeap connector or in the FlowLeap Patent AI app, call the tools named in the `flowleap-shared` tool table instead of these commands, and never run a `flowleap` command there.\n\nEight native commands under `flowleap patstat graph`. Each one runs one\n**PATSTAT tool** on the Tools facade, the same tool `flowleap mcp` serves under\nthe same name. The graph tools need sign-in only: no plan and no patent-data\nkey.\n\n## Routing: which engine answers this?\n\nThe routing table between Topic, Portfolio and Graph Analytics lives in\n`flowleap-patstat` (\"Which engine?\"). The served statement is step 1 of every\nserved workflow (`flowleap patstat docs --workflow \u003Cportfolio-analysis|guarded-sql|graph>`);\n`--workflow graph` is the served procedure for this skill. A *connection* (who\ncites what, what links two patents, who co-files with whom) is here. One known\ndocument's text, claims or legal status is not: use `flowleap-patent`,\n`flowleap-ops` or `flowleap-uspto`.\n\nA CPC\u002FIPC-class landscape is Portfolio Analytics.\n`flowleap patstat graph technology \u003Ccpc>` is its fast path: find the code with\n`graph cpc` first. Use `patstat query` when the composite does not answer.\n\n## The eight commands\n\n```bash\nflowleap patstat graph resolve EP3477840\nflowleap patstat graph cpc \"solid electrolyte\"\nflowleap patstat graph patent EP3477840\nflowleap patstat graph applicant 98765\nflowleap patstat graph technology H01M10\u002F0562\nflowleap patstat graph neighborhood pat:56123456 --depth 2 --edge-types cites,cited_by\nflowleap patstat graph path EP3477840 US5960411 --max-hops 3\nflowleap patstat graph explain EP3477840 --token-budget 4000\n```\n\n| Command | Tool | Gate | Answers |\n|---|---|---|---|\n| `resolve \u003Cquery>` | `patstat_resolve` | sign-in, 30\u002Fmin shared | Number → its `pat:\u003Cappln_id>` anchor; free text → ranked applicant entities with `psn_id`, largest portfolio first |\n| `cpc \u003Ckeyword>` | `patstat_cpc` | sign-in, 30\u002Fmin shared | Technology keyword → ranked CPC symbols with scheme title and application count |\n| `patent \u003Cnumber>` | `patstat_patent` | sign-in, 30\u002Fmin shared | The whole patent picture in one call: anchor, backward\u002Fforward citations, family, applicants\u002Finventors\u002FCPC, priorities |\n| `applicant \u003Cpsn_id>` | `patstat_applicant` | sign-in, 30\u002Fmin shared | One harmonized entity: filings by year, top CPC, jurisdictions, co-applicants |\n| `technology \u003Ccpc>` | `patstat_technology` | sign-in, 30\u002Fmin shared | Portfolio-shaped composite, served by the graph engine. One CPC area: top applicants, filing trend, grant rate by office, new entrants, seminal families, top inventors, geography |\n| `neighborhood \u003Cnode>` | `patstat_neighborhood` | sign-in, 30\u002Fmin shared | Bounded 1–2 hop expansion, examiner citations ranked first |\n| `path \u003Ca> \u003Cb>` | `patstat_path` | sign-in, 30\u002Fmin shared | Shortest citation\u002Ffamily path between two patents |\n| `explain \u003Cnode>` | `patstat_explain` | sign-in, 30\u002Fmin shared | Node card + top connections, the remainder grouped with TRUE counts |\n\nNode ids are `pat:\u003Cappln_id>`, `person:\u003Cpsn_id>`, `family:\u003Cdocdb_family_id>`,\n`cpc:\u003Csymbol>`. Through `tools run` the inputs are snake_case: `q`, `number`,\n`psn_id`, `cpc`, `depth`, `edge_types` (an array), `max_hops`, `token_budget`.\n\n## Start with resolve, or with cpc\n\nA human input becomes a node id through an entry ramp, and the graph verbs\n**refuse** rather than guess:\n\n- A number or a company name goes through `resolve`. `applicant` takes a strict\n  numeric `psn_id`, which only `resolve \u003Cname>` produces.\n- A technology word goes through `cpc`, and one symbol from its list goes to\n  `technology`. Take CPC codes from `cpc`, never from memory. When nothing\n  matches, `cpc` prints one line and exits 0: try a shorter or different\n  keyword.\n\n`resolve` on a company name is a **pick-one list, not an answer**: present the\nranked candidates and let the user choose. It exits 0.\n\nAn ambiguous publication number has one answer per verb family, and none exits\n0, so a script can never mistake a pick-one prompt for a resolved anchor:\n\n- `resolve` answers 200 with `kind: \"ambiguous\"` and its candidates, and exits 1.\n- `patent` answers 422 `patstat_patent_ambiguous`, with the candidates at\n  `error.details.candidates`.\n- `neighborhood`, `path` and `explain` refuse with 400\n  `patstat_invalid_request`, whose message names the candidates in prose.\n\nIn each case, pass the `pat:` id the user meant.\n\n## Reading output\n\n**Human mode, `neighborhood` \u002F `path` \u002F `explain`** — the command prints the\nbackend's line-per-fact `text` verbatim:\n\n```\nEP3477840 --cites [EXTRACTED 1.0]--> DE4302443 at=tls212:530028653\n```\n\nQuote those lines with their confidence tag and `at=` ref rather than\nre-deriving facts. The Data Edition is in the header, and `TRUNCATED` notices\ncarry verb-specific narrowing hints — never present a truncated listing as\ncomplete.\n\n**Human mode, `patent` \u002F `applicant`** — section tables, in a fixed order.\n`graph patent`: Anchor → Applicants → Inventors → CPC Classifications →\nBackward Citations (Patents → Non-Patent Literature → Unresolved) → Forward\nCitations → DOCDB Family → Priority Claims → data-quality flags → edition and\nattribution footer. `graph applicant`: entity card → Filings by Year → Top CPC\n→ Jurisdictions → Co-Applicants → footer.\n\nEvery section header prints even when empty, showing `(none recorded)` — an\nabsent section means no data, never a parsing slip. Truncation reads literally\n`Showing {shown} of {total} {label}.` — repeat the TRUE total when you quote\nthe list. `Filings by Year` is uncapped; do not imply a cap there.\n\n**Human mode, `cpc` \u002F `technology`** — `cpc` prints one line per candidate\n(symbol, scheme title, application count). `technology` prints the area card,\nthen Top Applicants → Filing Trend → Grant Rate by Office → New Entrants →\nSeminal Families → Top Inventors → the three geography rankings → notes and\ndata-quality flags → footer. Its notes say the most recent filing years are\nincomplete: never read that tail as a decline.\n\n**`--json`, every command** — the tool data verbatim, with no CLI envelope and\nno `success` flag. `neighborhood`, `path` and `explain` answer\n`{ text, data, data_edition, attribution }`; the other verbs answer their own\nfields with `data_edition` and `attribution` beside them. A typed error\ncarries an `error` object with `code`, `message` and `details`.\n\n**Which number is which.** Every node the backend answers with carries a\ncitable `publication` — the first grant where one exists, else the earliest\npublication (may be `null` for an application with no publication at all).\n`application` \u002F `prior_application` are **deprecated**: they carry DOCDB's own\napplication-number format, which for a US application is a 6-digit serial\nplus the 2-digit filing year (`US10374408 (A)` decodes to USPTO application\n12\u002F103,744 — it is not itself a lookupable number). EP happens to be the one\noffice where DOCDB's format equals the real application number, which is why\nthis stayed hidden until a US-bearing family was reported (flowleap-backend\n#419). Prefer `publication` \u002F `prior_publication`; read `docdb_application` \u002F\n`prior_docdb_application` only when you need the raw DOCDB string and know to\nlabel it as such. In `--json` all four keys ride on every node — this is\nadditive, not a breaking change. Human-mode text already applies this rule:\nit prints the citable publication, falling back to a `DOCDB appln …`-labeled\nstring only when no publication exists.\n\n## Budgets and bounds\n\n- `--token-budget` (default 2000) trims the `text` serialization only; `--json`\n  data stays complete. Out-of-range values are **clamped silently** into\n  100–20000 — never an error, so a huge budget simply gives you the maximum.\n- `--depth` (1 or 2) and `--max-hops` (1–4) are **refused** with a relayed\n  `patstat_invalid_request` message stating the valid range. Read the message\n  rather than guessing.\n- `--edge-types` takes a comma-separated subset of `cites`, `cited_by`,\n  `in_family`, `has_applicant`, `has_inventor`, `classified_as`,\n  `claims_priority`. Narrow with it instead of accepting a capped listing.\n\n`path` reporting `found: false` is a **200 and exit 0** — the search ran and\nthere is no path within the hop limit. That is an answer, not a failure, and\nit carries its own caveat: absence is not proof of unrelatedness. Unrelated\ntechnology areas commonly have no path; raise `--max-hops` only if the\nconnection actually matters.\n\n## Confidence discipline\n\nEvery edge carries `confidence`:\n\n- `EXTRACTED` (1.0) — a direct PATSTAT row. State as fact.\n- `INFERRED` (0.75–0.85) — a derived join (harmonized-name grouping, extended\n  family). Hedge it: \"grouped under the harmonized entity…\", never bare fact.\n- `AMBIGUOUS` (≤0.3) — unresolved citations kept as ghost `doc:` nodes.\n  Flag, don't omit — and never build conclusions on them.\n\nProvenance `at=\u003Ctable>:\u003Ckey>` points at the PATSTAT row asserting the\nrelationship; carry it when the user needs to verify a claim.\n\n## Errors\n\n| Code | Meaning | What to do |\n|---|---|---|\n| `patstat_invalid_request` (400) | Bad node, ambiguous input, or out-of-range bound | Read the relayed message — it states the fix. Resolve first if ambiguous. |\n| `patstat_patent_ambiguous` (422) | `graph patent` only: a number matching several applications, with the candidates at `error.details.candidates` | Render the candidates and let the user pick. |\n| `patstat_patent_not_found` \u002F `patstat_entity_not_found` (404) | Nothing matches in the loaded edition | Check the number, or the input may postdate the snapshot. |\n| `patstat_unavailable` (503) | No PATSTAT dataset configured on this deployment | Report plainly; do not retry-loop. |\n\nExit codes follow the CLI-wide table. A `3` means the credential is missing or\nrejected — a human must run `flowleap auth login`; see `flowleap-auth` for the\nverification states.\n\n## Snapshot honesty\n\nPATSTAT is a named snapshot, not live data. Every result names its Data\nEdition: carry it with any number you quote, compare numbers only within the\nsame edition, and keep the `attribution` line with any table you hand on. For **current legal status** (in force, lapsed,\nopposed) the snapshot is the wrong source: use the live document tools\n(`flowleap ops legal`, `flowleap-uspto`).\n\nTwo boundaries worth stating to users:\n\n- **`graph applicant` vs `patstat portfolio`** draw entity boundaries\n  differently. `applicant` is one harmonized `psn_id`; `portfolio` groups by\n  name-prefix aliases. They may disagree about where one company ends and\n  another begins — say which one a number came from.\n- **This engine vs `flowleap-citation`** are different citation universes.\n  Here: the worldwide DOCDB citation network from the PATSTAT snapshot, with\n  examiner-vs-applicant origin. There: USPTO office-action enriched citations\n  — US only, with X\u002FY\u002FA relevance categories. Neither is a superset; pick by\n  whether the question is about worldwide structure or US examiner reasoning.\n",{"name":5,"description":7},"main","83ea326400c9270816882fce38d9a026bd78d023","plugins\u002Fflowleap\u002Fskills\u002Fflowleap-patstat-graph",0,"https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins","https:\u002F\u002Fgithub.com\u002Fflowleap-ai","2026-11-03 00:32:37",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add flowleap-ai\u002Fflowleap-plugins --skill flowleap-patstat-graph",{"tool":36,"command":37},"bunx","bunx skills add flowleap-ai\u002Fflowleap-plugins --skill flowleap-patstat-graph",{"tool":39,"command":40},"pnpm","pnpm dlx skills add flowleap-ai\u002Fflowleap-plugins --skill flowleap-patstat-graph","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fflowleap\u002Fskills\u002Fflowleap-patstat-graph\u002FSKILL.md",true,[],[45,52,58,65,72,78],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M78F35H37QQZ9YPMHPRFTV1H","totally-different-name","This skill's frontmatter name does not match its folder 'baz-skill' and must be rejected.","https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Finvalid-skill-name-mismatch\u002Fplugins\u002Fbaz\u002Fskills\u002Fbaz-skill\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M78F32ETQQ73XTJ0QQ2RTDPT","bar-skill","https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Finvalid-skill-missing-description\u002Fplugins\u002Fbar\u002Fskills\u002Fbar-skill\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M78F2Z98DYP2PV9Q3ATDRAAA","qux-skill","A valid skill in a plugin whose README is too short.","https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Finvalid-plugin-readme-short\u002Fplugins\u002Fqux\u002Fskills\u002Fqux-skill\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M78F2WEH2WYVZMMW8MHFQ8GN","grault-skill","A valid skill in a plugin whose .mcp.json server is broken.","https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Finvalid-mcp-server-url-scheme\u002Fplugins\u002Fgrault\u002Fskills\u002Fgrault-skill\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M78F2SY7AVXS8SM6Z33584XZ","corge-skill","https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Finvalid-mcp-server-no-endpoint\u002Fplugins\u002Fcorge\u002Fskills\u002Fcorge-skill\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M78F2R4APKHKDNW8MBK8M93D","quux-skill","A valid skill in a plugin whose .mcp.json is malformed.","https:\u002F\u002Fgithub.com\u002Fflowleap-ai\u002Fflowleap-plugins\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Finvalid-mcp-json\u002Fplugins\u002Fquux\u002Fskills\u002Fquux-skill\u002FSKILL.md",[],[]]