[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BK08F0RG5CTMJ7KRZ2Y11P":3,"skill-same:01M7BK08F0RG5CTMJ7KRZ2Y11P":65},{"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":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M7BK08F0RG5CTMJ7KRZ2Y11P","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.","origin-labs-ai\u002Fcode","origin-labs-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F347654492?v=4","01M7B0MAD1JMVZ6ME9891AYYYG","Origin","01M7B0MADP3AZS42R4NEF1JTS8",0,"MIT","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fpayloads\u002Fskills\u002Fpatentfig\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.\nlicense: MIT\nmetadata:\n  homepage: https:\u002F\u002Fpatentfig.ai\n  docs: https:\u002F\u002Fpatentfig.ai\u002Fdocs\n  version: 1.0.0\n  author: TopLocalAI\n  tags: [Patent, Patent Drawings, Line Art, SVG, Vectorize, DXF, USPTO, Image Generation, API]\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,"license":15,"metadata":24,"description":7},{"docs":25,"tags":26,"author":36,"version":37,"homepage":38},"https:\u002F\u002Fpatentfig.ai\u002Fdocs",[27,28,29,30,31,32,33,34,35],"Patent","Patent Drawings","Line Art","SVG","Vectorize","DXF","USPTO","Image Generation","API","TopLocalAI","1.0.0","https:\u002F\u002Fpatentfig.ai","main","1e72c52e0f3ffd72fbc6ba994fda0f4a6d63911a","payloads\u002Fskills\u002Fpatentfig","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai","2026-11-14 20:35:25",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add origin-labs-ai\u002Fcode --skill patentfig",{"tool":51,"command":52},"bunx","bunx skills add origin-labs-ai\u002Fcode --skill patentfig",{"tool":54,"command":55},"pnpm","pnpm dlx skills add origin-labs-ai\u002Fcode --skill patentfig","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fpayloads\u002Fskills\u002Fpatentfig\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fendpoints.md","REFERENCE","参考文档",3297,"https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fpayloads\u002Fskills\u002Fpatentfig\u002Freferences\u002Fendpoints.md",[66,74,82,90,98,107],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7BP6Z7NBQXMB8Y5ZRR7PGCF","web-search","Implement web search capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to search for real-time information from the web, retrieve up-to-date content beyond the knowledge cutoff, or find the latest news and data. Returns structured search results with URLs, snippets, and metadata.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fweb-search\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fweb-search\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7BP6T13CWYHZSHGYG0RT885","web-reader","Implement web page content extraction capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to scrape web pages, extract article content, retrieve page metadata, or build applications that process web content. Supports automatic content extraction with title, HTML, and publication time retrieval.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fweb-reader\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fweb-reader\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7BP6GM9Z301PPT4ZRV049AN","video-understand","Implement specialized video understanding capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze video content, understand motion and temporal sequences, extract information from video frames, describe video scenes, or perform video-based AI analysis. Optimized for MP4, AVI, MOV, and other common video formats.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fvideo-understand\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fvideo-understand\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":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7BP6ANRHQ1K7PVS11RBZCC7","Video Generation","Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fvideo-generation\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fvideo-generation\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":102,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7BP56W5SX2MMJWKMJVC66F0","skill-creator","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":102,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7BP503HPG0DBCN4K0JKCA88","seo-content-writer","Use when the user asks to \"write SEO content\", \"create a blog post\", \"write an article\", \"content writing\", \"draft optimized content\", \"write me an article\", \"create a blog post about\", \"help me write SEO content\", or \"draft content for\". Creates high-quality, SEO-optimized content that ranks in search engines. Applies on-page SEO best practices, keyword optimization, and content structure for maximum visibility and engagement. For AI citation optimization, see geo-content-optimizer. For updating existing content, see content-refresher.","https:\u002F\u002Fgithub.com\u002Forigin-labs-ai\u002Fcode\u002Fblob\u002Fmain\u002Fwindows\u002Fsonar\u002Fmerger\u002Fcode-fusion-dead-20261101\u002Fskills\u002Fseo-content-writer\u002FSKILL.md",[],[]]