{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kicad-pcb",
    "name": "KiCad PCB",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/G0HEAD/kicad-pcb",
    "canonicalUrl": "https://clawhub.ai/G0HEAD/kicad-pcb",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/kicad-pcb",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kicad-pcb",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/kicad_pcb.py",
      "skill.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kicad-pcb"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/kicad-pcb",
    "agentPageUrl": "https://openagent3.xyz/skills/kicad-pcb/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kicad-pcb/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kicad-pcb/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "🔧 KiCad PCB Automation",
        "body": "Design → Prototype → Manufacture\n\nAutomate PCB design workflows using KiCad. From natural language circuit descriptions to manufacturing-ready Gerber files."
      },
      {
        "title": "What This Skill Does",
        "body": "Design — Create schematics from circuit descriptions\nLayout — Design PCB layouts with component placement\nVerify — Run DRC checks, generate previews for review\nExport — Generate manufacturing files (Gerbers, drill files, BOM)\nOrder — Prepare and place orders on PCBWay"
      },
      {
        "title": "KiCad Installation",
        "body": "# Ubuntu/Debian\nsudo add-apt-repository ppa:kicad/kicad-8.0-releases\nsudo apt update\nsudo apt install kicad\n\n# Verify CLI\nkicad-cli --version"
      },
      {
        "title": "Python Dependencies",
        "body": "pip install pillow cairosvg"
      },
      {
        "title": "Quick Start",
        "body": "# 1. Create a new project\npython3 scripts/kicad_pcb.py new \"LED Blinker\" --description \"555 timer LED blinker circuit\"\n\n# 2. Add components to schematic\npython3 scripts/kicad_pcb.py add-component NE555 U1\npython3 scripts/kicad_pcb.py add-component LED D1\npython3 scripts/kicad_pcb.py add-component \"R 1K\" R1 R2\n\n# 3. Generate schematic preview (for review)\npython3 scripts/kicad_pcb.py preview-schematic\n\n# 4. Run design rule check\npython3 scripts/kicad_pcb.py drc\n\n# 5. Export manufacturing files\npython3 scripts/kicad_pcb.py export-gerbers\n\n# 6. Prepare PCBWay order\npython3 scripts/kicad_pcb.py pcbway-quote --quantity 5"
      },
      {
        "title": "Project Management",
        "body": "CommandDescriptionnew <name>Create new KiCad projectopen <path>Open existing projectinfoShow current project infolist-projectsList recent projects"
      },
      {
        "title": "Schematic Design",
        "body": "CommandDescriptionadd-component <type> <ref>Add component to schematicconnect <ref1.pin> <ref2.pin>Wire components togetheradd-net <name> <refs...>Create named netpreview-schematicGenerate schematic imageercRun electrical rules check"
      },
      {
        "title": "PCB Layout",
        "body": "CommandDescriptionimport-netlistImport schematic to PCBauto-placeAuto-place componentsauto-routeAuto-route tracesset-board-size <W>x<H>Set board dimensions (mm)preview-pcbGenerate PCB preview imagesdrcRun design rules check"
      },
      {
        "title": "Manufacturing Export",
        "body": "CommandDescriptionexport-gerbersExport Gerber filesexport-drillExport drill filesexport-bomExport bill of materialsexport-posExport pick-and-place fileexport-3dExport 3D model (STEP/GLB)package-for-fabCreate ZIP with all files"
      },
      {
        "title": "PCBWay Integration",
        "body": "CommandDescriptionpcbway-quoteGet instant quotepcbway-uploadUpload Gerbers to PCBWaypcbway-cartAdd to cart (requires auth)"
      },
      {
        "title": "Step 1: Describe Your Circuit",
        "body": "Tell me what you want to build:\n\n\"I need a simple 555 timer circuit that blinks an LED at about 1Hz.\nShould run on 9V battery, through-hole components for easy soldering.\""
      },
      {
        "title": "Step 2: I'll Generate the Design",
        "body": "# Create project\nkicad_pcb.py new \"LED_Blinker_555\"\n\n# Add components based on description\nkicad_pcb.py from-description \"555 timer LED blinker, 1Hz, 9V battery\""
      },
      {
        "title": "Step 3: Review & Confirm",
        "body": "I'll show you:\n\nSchematic preview image\nComponent list (BOM)\nCalculated values (resistors for timing, etc.)\n\nYou confirm or request changes."
      },
      {
        "title": "Step 4: PCB Layout",
        "body": "# Import to PCB\nkicad_pcb.py import-netlist\n\n# Auto-layout (or manual guidance)\nkicad_pcb.py auto-place --strategy compact\nkicad_pcb.py set-board-size 50x30\n\n# Preview\nkicad_pcb.py preview-pcb --layers F.Cu,B.Cu,F.Silkscreen"
      },
      {
        "title": "Step 5: Manufacturing",
        "body": "# Run final checks\nkicad_pcb.py drc --strict\n\n# Export everything\nkicad_pcb.py package-for-fab --output LED_Blinker_fab.zip\n\n# Get quote\nkicad_pcb.py pcbway-quote --quantity 10 --layers 2 --thickness 1.6"
      },
      {
        "title": "templates/555_astable.kicad_sch",
        "body": "Classic 555 timer in astable mode. Parameters:\n\nR1, R2: Timing resistors\nC1: Timing capacitor\nFreq ≈ 1.44 / ((R1 + 2*R2) * C1)"
      },
      {
        "title": "templates/arduino_shield.kicad_pcb",
        "body": "Arduino Uno shield template with:\n\nHeader footprints\nMounting holes\nPower rails"
      },
      {
        "title": "templates/usb_c_power.kicad_sch",
        "body": "USB-C power delivery (5V):\n\nUSB-C connector\nCC resistors\nESD protection"
      },
      {
        "title": "Configuration",
        "body": "Create ~/.kicad-pcb/config.json:\n\n{\n  \"default_fab\": \"pcbway\",\n  \"pcbway\": {\n    \"email\": \"your@email.com\",\n    \"default_options\": {\n      \"layers\": 2,\n      \"thickness\": 1.6,\n      \"color\": \"green\",\n      \"surface_finish\": \"hasl\"\n    }\n  },\n  \"kicad_path\": \"/usr/bin/kicad-cli\",\n  \"projects_dir\": \"~/kicad-projects\",\n  \"auto_backup\": true\n}"
      },
      {
        "title": "Design Review Protocol",
        "body": "Before ordering, I'll always:\n\nShow schematic — Visual confirmation of circuit\nShow PCB renders — Top, bottom, 3D view\nList BOM — All components with values\nReport DRC — Any warnings or errors\nShow quote — Cost breakdown before ordering\n\nI will NOT auto-order without explicit confirmation."
      },
      {
        "title": "PCBWay Order Flow (Current)",
        "body": "Export Gerbers + drill files\nCreate ZIP package\nManual step: You upload to pcbway.com\nFuture: Automated upload + cart placement"
      },
      {
        "title": "Cost Reference",
        "body": "PCBWay typical pricing (2-layer, 100x100mm, qty 5):\n\nStandard (5-7 days): ~$5\nExpress (3-4 days): ~$15\nShipping: ~$15-30 DHL"
      },
      {
        "title": "Safety Notes",
        "body": "⚠️ High Voltage Warning: This skill does not validate electrical safety. For mains-connected circuits, consult a qualified engineer.\n\n⚠️ No Auto-Order (Yet): Cart placement requires your explicit confirmation."
      },
      {
        "title": "v1.0.0",
        "body": "Initial release\nKiCad CLI integration\nSchematic/PCB preview generation\nGerber export\nPCBWay quote integration\nTemplate system\n\nBuilt by PaxSwarm"
      }
    ],
    "body": "🔧 KiCad PCB Automation\n\nDesign → Prototype → Manufacture\n\nAutomate PCB design workflows using KiCad. From natural language circuit descriptions to manufacturing-ready Gerber files.\n\nWhat This Skill Does\nDesign — Create schematics from circuit descriptions\nLayout — Design PCB layouts with component placement\nVerify — Run DRC checks, generate previews for review\nExport — Generate manufacturing files (Gerbers, drill files, BOM)\nOrder — Prepare and place orders on PCBWay\nRequirements\nKiCad Installation\n# Ubuntu/Debian\nsudo add-apt-repository ppa:kicad/kicad-8.0-releases\nsudo apt update\nsudo apt install kicad\n\n# Verify CLI\nkicad-cli --version\n\nPython Dependencies\npip install pillow cairosvg\n\nQuick Start\n# 1. Create a new project\npython3 scripts/kicad_pcb.py new \"LED Blinker\" --description \"555 timer LED blinker circuit\"\n\n# 2. Add components to schematic\npython3 scripts/kicad_pcb.py add-component NE555 U1\npython3 scripts/kicad_pcb.py add-component LED D1\npython3 scripts/kicad_pcb.py add-component \"R 1K\" R1 R2\n\n# 3. Generate schematic preview (for review)\npython3 scripts/kicad_pcb.py preview-schematic\n\n# 4. Run design rule check\npython3 scripts/kicad_pcb.py drc\n\n# 5. Export manufacturing files\npython3 scripts/kicad_pcb.py export-gerbers\n\n# 6. Prepare PCBWay order\npython3 scripts/kicad_pcb.py pcbway-quote --quantity 5\n\nCommands\nProject Management\nCommand\tDescription\nnew <name>\tCreate new KiCad project\nopen <path>\tOpen existing project\ninfo\tShow current project info\nlist-projects\tList recent projects\nSchematic Design\nCommand\tDescription\nadd-component <type> <ref>\tAdd component to schematic\nconnect <ref1.pin> <ref2.pin>\tWire components together\nadd-net <name> <refs...>\tCreate named net\npreview-schematic\tGenerate schematic image\nerc\tRun electrical rules check\nPCB Layout\nCommand\tDescription\nimport-netlist\tImport schematic to PCB\nauto-place\tAuto-place components\nauto-route\tAuto-route traces\nset-board-size <W>x<H>\tSet board dimensions (mm)\npreview-pcb\tGenerate PCB preview images\ndrc\tRun design rules check\nManufacturing Export\nCommand\tDescription\nexport-gerbers\tExport Gerber files\nexport-drill\tExport drill files\nexport-bom\tExport bill of materials\nexport-pos\tExport pick-and-place file\nexport-3d\tExport 3D model (STEP/GLB)\npackage-for-fab\tCreate ZIP with all files\nPCBWay Integration\nCommand\tDescription\npcbway-quote\tGet instant quote\npcbway-upload\tUpload Gerbers to PCBWay\npcbway-cart\tAdd to cart (requires auth)\nWorkflow: Natural Language to PCB\nStep 1: Describe Your Circuit\n\nTell me what you want to build:\n\n\"I need a simple 555 timer circuit that blinks an LED at about 1Hz. Should run on 9V battery, through-hole components for easy soldering.\"\n\nStep 2: I'll Generate the Design\n# Create project\nkicad_pcb.py new \"LED_Blinker_555\"\n\n# Add components based on description\nkicad_pcb.py from-description \"555 timer LED blinker, 1Hz, 9V battery\"\n\nStep 3: Review & Confirm\n\nI'll show you:\n\nSchematic preview image\nComponent list (BOM)\nCalculated values (resistors for timing, etc.)\n\nYou confirm or request changes.\n\nStep 4: PCB Layout\n# Import to PCB\nkicad_pcb.py import-netlist\n\n# Auto-layout (or manual guidance)\nkicad_pcb.py auto-place --strategy compact\nkicad_pcb.py set-board-size 50x30\n\n# Preview\nkicad_pcb.py preview-pcb --layers F.Cu,B.Cu,F.Silkscreen\n\nStep 5: Manufacturing\n# Run final checks\nkicad_pcb.py drc --strict\n\n# Export everything\nkicad_pcb.py package-for-fab --output LED_Blinker_fab.zip\n\n# Get quote\nkicad_pcb.py pcbway-quote --quantity 10 --layers 2 --thickness 1.6\n\nCommon Circuit Templates\ntemplates/555_astable.kicad_sch\n\nClassic 555 timer in astable mode. Parameters:\n\nR1, R2: Timing resistors\nC1: Timing capacitor\nFreq ≈ 1.44 / ((R1 + 2*R2) * C1)\ntemplates/arduino_shield.kicad_pcb\n\nArduino Uno shield template with:\n\nHeader footprints\nMounting holes\nPower rails\ntemplates/usb_c_power.kicad_sch\n\nUSB-C power delivery (5V):\n\nUSB-C connector\nCC resistors\nESD protection\nConfiguration\n\nCreate ~/.kicad-pcb/config.json:\n\n{\n  \"default_fab\": \"pcbway\",\n  \"pcbway\": {\n    \"email\": \"your@email.com\",\n    \"default_options\": {\n      \"layers\": 2,\n      \"thickness\": 1.6,\n      \"color\": \"green\",\n      \"surface_finish\": \"hasl\"\n    }\n  },\n  \"kicad_path\": \"/usr/bin/kicad-cli\",\n  \"projects_dir\": \"~/kicad-projects\",\n  \"auto_backup\": true\n}\n\nDesign Review Protocol\n\nBefore ordering, I'll always:\n\nShow schematic — Visual confirmation of circuit\nShow PCB renders — Top, bottom, 3D view\nList BOM — All components with values\nReport DRC — Any warnings or errors\nShow quote — Cost breakdown before ordering\n\nI will NOT auto-order without explicit confirmation.\n\nPCBWay Order Flow (Current)\nExport Gerbers + drill files\nCreate ZIP package\nManual step: You upload to pcbway.com\nFuture: Automated upload + cart placement\nCost Reference\n\nPCBWay typical pricing (2-layer, 100x100mm, qty 5):\n\nStandard (5-7 days): ~$5\nExpress (3-4 days): ~$15\nShipping: ~$15-30 DHL\nSafety Notes\n\n⚠️ High Voltage Warning: This skill does not validate electrical safety. For mains-connected circuits, consult a qualified engineer.\n\n⚠️ No Auto-Order (Yet): Cart placement requires your explicit confirmation.\n\nChangelog\nv1.0.0\nInitial release\nKiCad CLI integration\nSchematic/PCB preview generation\nGerber export\nPCBWay quote integration\nTemplate system\n\nBuilt by PaxSwarm"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/G0HEAD/kicad-pcb",
    "publisherUrl": "https://clawhub.ai/G0HEAD/kicad-pcb",
    "owner": "G0HEAD",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kicad-pcb",
    "downloadUrl": "https://openagent3.xyz/downloads/kicad-pcb",
    "agentUrl": "https://openagent3.xyz/skills/kicad-pcb/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kicad-pcb/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kicad-pcb/agent.md"
  }
}