[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EPMYC1J3ECA0RSPMAG9B76":3,"skill-same:01M7EPMYC1J3ECA0RSPMAG9B76":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M7EPMYC1J3ECA0RSPMAG9B76","patentfig",null,"Generate patent-office-compliant figures via the PatentFig AI API — patent line art from text (PNG or SVG), vectorize drawings to SVG\u002FDXF\u002Fvector PDF, AI-upscale images, and convert to filing-ready TIFF\u002FPDF\u002FPNG. Use when the user asks for patent drawings, patent figures, invention diagrams, USPTO\u002FEPO-compliant line art, vectorizing a drawing for CAD, or preparing figures for a patent filing. Requires a PATENTFIG_API_KEY environment variable.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-patentfig\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: patentfig\ndescription: Generate patent-office-compliant figures via the PatentFig AI API — patent line art from text (PNG or SVG), vectorize drawings to SVG\u002FDXF\u002Fvector PDF, AI-upscale images, and convert to filing-ready TIFF\u002FPDF\u002FPNG. Use when the user asks for patent drawings, patent figures, invention diagrams, USPTO\u002FEPO-compliant line art, vectorizing a drawing for CAD, or preparing figures for a patent filing. Requires a PATENTFIG_API_KEY environment variable.\nversion: 1.0.0\nauthor: TopLocalAI\nlicense: MIT\ntags: [Patent, Patent Drawings, Line Art, SVG, Vectorize, DXF, USPTO, Image Generation, API]\nmetadata:\n  homepage: https:\u002F\u002Fpatentfig.ai\n  docs: https:\u002F\u002Fpatentfig.ai\u002Fdocs\n---\n\n# PatentFig AI API\n\nGenerate and convert patent figures through the PatentFig AI REST API.\n\n- **Base URL**: `https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fv1`\n- **Auth**: `Authorization: Bearer $PATENTFIG_API_KEY`\n- **All endpoints are synchronous** and return JSON: `{ \"success\": true, \"data\": {...} }` on success, `{ \"success\": false, \"error\": { \"code\", \"message\" } }` on failure.\n- Generated files are returned as URLs on `https:\u002F\u002Fcdn.patentfig.ai` — pass them to the user or feed them into follow-up calls.\n\n## Setup\n\nThe key comes from the `PATENTFIG_API_KEY` environment variable. Never hardcode it, print it, or write it into files or logs.\n\nIf the variable is not set, tell the user to create a key at https:\u002F\u002Fpatentfig.ai\u002Fsettings\u002Fapi-keys (requires a PatentFig AI account; keys start with `pfig_`) and export it:\n\n```bash\nexport PATENTFIG_API_KEY=\"pfig_...\"\n```\n\nVerify connectivity and credit balance (free call):\n\n```bash\ncurl -s https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fv1\u002Fcredits \\\n  -H \"Authorization: Bearer $PATENTFIG_API_KEY\"\n# → { \"success\": true, \"data\": { \"balance\": 500 } }\n```\n\n## Generate a patent figure (10 credits)\n\n`POST \u002Ffigures` — the core endpoint. One prompt → one figure. Views, diagram type, and composition are all controlled through the prompt; for a multi-view set (front\u002Fside\u002Ftop), make one call per view.\n\n```bash\ncurl -s -X POST https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fv1\u002Ffigures \\\n  -H \"Authorization: Bearer $PATENTFIG_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --max-time 300 \\\n  -d '{\n    \"prompt\": \"Exploded view of a wireless earbud charging case showing lid, hinge, charging coil, and battery\",\n    \"output\": \"svg\",\n    \"labeled\": true\n  }'\n```\n\n- `output`: `\"png\"` (raster figure) or `\"svg\"` (stroke-based line art, CAD-friendly). Default `\"png\"`.\n- `labeled: true` adds patent-style numeric reference callouts (100, 102, …).\n- `referenceImageUrls`: up to 4 public image URLs (sketch\u002Fphoto\u002Fprior figure) used as the structural baseline.\n- Response `data.url` is the figure; with `output: \"svg\"` the full SVG source is also in `data.svg`.\n\nPrompting tips: name the parts to draw (names tell the model WHAT to draw, not what to label); for flowcharts\u002Fblock diagrams, name every node explicitly.\n\n## Convert an existing image\n\nAll three endpoints accept either JSON with `imageUrl` (public URL) or `multipart\u002Fform-data` with a `file` field (PNG\u002FJPEG\u002FWebP\u002FTIFF, ≤10 MB).\n\n**Vectorize (20 credits)** — raster → SVG \u002F DXF \u002F vector PDF:\n\n```bash\ncurl -s -X POST https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fv1\u002Fvectorize \\\n  -H \"Authorization: Bearer $PATENTFIG_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --max-time 300 \\\n  -d '{ \"imageUrl\": \"https:\u002F\u002Fexample.com\u002Fdrawing.png\", \"format\": \"dxf\", \"engine\": \"lineart\" }'\n```\n\n`engine: \"lineart\"` (default) redraws as clean single-stroke patent line art — use for CAD\u002FDXF. `engine: \"trace\"` reproduces the input pixels faithfully, preserving fills — use when output must match the original.\n\n**Enhance (20 credits)** — AI super-resolution: `POST \u002Fenhance` with `scale` (2 or 4, controls pixels) and `dpi` (300 or 600, metadata stamp only).\n\n**Convert (20 credits)** — filing-ready raster: `POST \u002Fconvert` with `format` (`png`\u002F`tiff`\u002F`pdf`) and `dpi` (300 or 600).\n\nFull parameter tables for every endpoint: see [references\u002Fendpoints.md](references\u002Fendpoints.md). Machine-readable spec: https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fopenapi.yaml\n\n## Operational rules\n\n- **Set a client timeout of at least 300 seconds** — generation and vectorization take from ~20s up to a few minutes.\n- Credits are charged **only on success**; retrying a failed call never double-bills.\n- Rate limit: 60 requests\u002Fminute per key. On `429` back off (start at 5s) and retry.\n- On `402 INSUFFICIENT_CREDITS`, stop and tell the user to top up at https:\u002F\u002Fpatentfig.ai\u002Fpricing.\n- On `500 GENERATION_FAILED`, one retry is reasonable; persistent failures usually mean the input doesn't suit the pipeline (e.g., a photo sent for line-art vectorization — suggest `POST \u002Ffigures` with the photo as `referenceImageUrls` instead).\n- Before a batch of billable calls, check `GET \u002Fcredits` and confirm the balance covers it.\n","# PatentFig AI API\n\nGenerate and convert patent figures through the PatentFig AI REST API.\n\n- **Base URL**: `https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fv1`\n- **Auth**: `Authorization: Bearer $PATENTFIG_API_KEY`\n- **All endpoints are synchronous** and return JSON: `{ \"success\": true, \"data\": {...} }` on success, `{ \"success\": false, \"error\": { \"code\", \"message\" } }` on failure.\n- Generated files are returned as URLs on `https:\u002F\u002Fcdn.patentfig.ai` — pass them to the user or feed them into follow-up calls.\n\n## Setup\n\nThe key comes from the `PATENTFIG_API_KEY` environment variable. Never hardcode it, print it, or write it into files or logs.\n\nIf the variable is not set, tell the user to create a key at https:\u002F\u002Fpatentfig.ai\u002Fsettings\u002Fapi-keys (requires a PatentFig AI account; keys start with `pfig_`) and export it:\n\n```bash\nexport PATENTFIG_API_KEY=\"pfig_...\"\n```\n\nVerify connectivity and credit balance (free call):\n\n```bash\ncurl -s https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fv1\u002Fcredits \\\n  -H \"Authorization: Bearer $PATENTFIG_API_KEY\"\n# → { \"success\": true, \"data\": { \"balance\": 500 } }\n```\n\n## Generate a patent figure (10 credits)\n\n`POST \u002Ffigures` — the core endpoint. One prompt → one figure. Views, diagram type, and composition are all controlled through the prompt; for a multi-view set (front\u002Fside\u002Ftop), make one call per view.\n\n```bash\ncurl -s -X POST https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fv1\u002Ffigures \\\n  -H \"Authorization: Bearer $PATENTFIG_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --max-time 300 \\\n  -d '{\n    \"prompt\": \"Exploded view of a wireless earbud charging case showing lid, hinge, charging coil, and battery\",\n    \"output\": \"svg\",\n    \"labeled\": true\n  }'\n```\n\n- `output`: `\"png\"` (raster figure) or `\"svg\"` (stroke-based line art, CAD-friendly). Default `\"png\"`.\n- `labeled: true` adds patent-style numeric reference callouts (100, 102, …).\n- `referenceImageUrls`: up to 4 public image URLs (sketch\u002Fphoto\u002Fprior figure) used as the structural baseline.\n- Response `data.url` is the figure; with `output: \"svg\"` the full SVG source is also in `data.svg`.\n\nPrompting tips: name the parts to draw (names tell the model WHAT to draw, not what to label); for flowcharts\u002Fblock diagrams, name every node explicitly.\n\n## Convert an existing image\n\nAll three endpoints accept either JSON with `imageUrl` (public URL) or `multipart\u002Fform-data` with a `file` field (PNG\u002FJPEG\u002FWebP\u002FTIFF, ≤10 MB).\n\n**Vectorize (20 credits)** — raster → SVG \u002F DXF \u002F vector PDF:\n\n```bash\ncurl -s -X POST https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fv1\u002Fvectorize \\\n  -H \"Authorization: Bearer $PATENTFIG_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  --max-time 300 \\\n  -d '{ \"imageUrl\": \"https:\u002F\u002Fexample.com\u002Fdrawing.png\", \"format\": \"dxf\", \"engine\": \"lineart\" }'\n```\n\n`engine: \"lineart\"` (default) redraws as clean single-stroke patent line art — use for CAD\u002FDXF. `engine: \"trace\"` reproduces the input pixels faithfully, preserving fills — use when output must match the original.\n\n**Enhance (20 credits)** — AI super-resolution: `POST \u002Fenhance` with `scale` (2 or 4, controls pixels) and `dpi` (300 or 600, metadata stamp only).\n\n**Convert (20 credits)** — filing-ready raster: `POST \u002Fconvert` with `format` (`png`\u002F`tiff`\u002F`pdf`) and `dpi` (300 or 600).\n\nFull parameter tables for every endpoint: see [references\u002Fendpoints.md](references\u002Fendpoints.md). Machine-readable spec: https:\u002F\u002Fpatentfig.ai\u002Fapi\u002Fopenapi.yaml\n\n## Operational rules\n\n- **Set a client timeout of at least 300 seconds** — generation and vectorization take from ~20s up to a few minutes.\n- Credits are charged **only on success**; retrying a failed call never double-bills.\n- Rate limit: 60 requests\u002Fminute per key. On `429` back off (start at 5s) and retry.\n- On `402 INSUFFICIENT_CREDITS`, stop and tell the user to top up at https:\u002F\u002Fpatentfig.ai\u002Fpricing.\n- On `500 GENERATION_FAILED`, one retry is reasonable; persistent failures usually mean the input doesn't suit the pipeline (e.g., a photo sent for line-art vectorization — suggest `POST \u002Ffigures` with the photo as `referenceImageUrls` instead).\n- Before a batch of billable calls, check `GET \u002Fcredits` and confirm the balance covers it.\n",{"name":5,"tags":24,"author":34,"license":15,"version":35,"metadata":36,"description":7},[25,26,27,28,29,30,31,32,33],"Patent","Patent Drawings","Line Art","SVG","Vectorize","DXF","USPTO","Image Generation","API","TopLocalAI","1.0.0",{"docs":37,"homepage":38},"https:\u002F\u002Fpatentfig.ai\u002Fdocs","https:\u002F\u002Fpatentfig.ai","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-imp-patentfig",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill patentfig",{"tool":53,"command":54},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill patentfig",{"tool":56,"command":57},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill patentfig","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-patentfig\u002FSKILL.md",true,[61],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fendpoints.md","REFERENCE","参考文档",3297,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-imp-patentfig\u002Freferences\u002Fendpoints.md",[68,75,83,90,97,104],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]