← Commit history
Publish 1.1.0
8 files changed
+79−98
README.md+27−36@@ -1,54 +1,45 @@ # Adom Molecule CLI -Rust CLI that wraps the Hydrogen molecule import pipeline. Upload KiCad, Fusion 360, or EasyEDA design files to create molecules, automatically queue 3D optimization via the Blender pipeline, and manage your molecule library — all from the command line or Claude Code.--## Install+Rust CLI for the Adom molecule pipeline. Install via the wiki (binary bundled — no+GitHub release needed): ```bash-gh release download v0.1.0 --repo adom-inc/adom-molecule --pattern 'adom-molecule' -D /usr/local/bin-chmod +x /usr/local/bin/adom-molecule-adom-molecule install+adompkg install adom/adom-molecule ``` -## Quick Start+## Import a wiki molecule into Hydrogen (new in 1.1.0)++Pulls a molecule **already published on the wiki** into a Hydrogen account, reusing+its published GLB — **no re-optimization, no silkscreen re-render**: ```bash-# Check connectivity-adom-molecule health+adom-molecule import <wiki-slug> --owner <username> [--name <molecule-name>]+``` -# Create a KiCad molecule (uploads + auto-optimizes)+The wiki page's auto-generated GLB (STEP→GLB at `adompkg publish` time) is fetched+and registered directly via Hydrogen's `/api/molecules/create-json`.++## Create from source files++```bash+# KiCad adom-molecule create --name "RP2040_Core" --owner adom \ --glb model.glb --pcb board.kicad_pcb --sch schematic.kicad_sch--# Create a Fusion 360 molecule+# Fusion 360 adom-molecule create --source fusion --name "Enclosure" --owner john \ --usdz model.usdz --silk-top silkscreen.png--# List all molecules-adom-molecule list--# Delete a molecule-adom-molecule delete --owner john --name "OldBoard" ``` -## Supported Sources--| Source | Required Files | Pipeline |-|--------|---------------|----------|-| **KiCad** | `.glb`, `.kicad_pcb`, `.kicad_sch` | Blender 3D optimization |-| **Fusion 360** | `.usdz`, silkscreen `.png` | USDZ-to-GLB conversion via Blender |-| **EasyEDA** | `.obj` | Direct upload |--Source type is auto-detected from file extensions, or set explicitly with `--source`.--## How It Works+`adom-molecule list` / `adom-molecule delete --owner <u> --name <n>` manage the library. -1. **Upload** — Files are sent via multipart POST to the Hydrogen API (`/api/molecules/create`)-2. **Optimize** — After upload, the CLI auto-queues the Blender optimization pipeline (KiCad or Fusion, depending on source)-3. **Result** — Molecule appears at `hydrogen.adom.inc/{owner}/molecules/{name}` with optimized 3D model+## Sources -## Repo+| Source | Files | Pipeline |+|--------|-------|----------|+| Wiki import | (reuses published GLB) | none — direct register |+| KiCad | `.glb`, `.kicad_pcb`, `.kicad_sch` | Blender |+| Fusion 360 | `.usdz`, silkscreen `.png` | USDZ→GLB (Blender) |+| EasyEDA | `.obj` | direct | -- Source: https://github.com/adom-inc/adom-molecule (private)-- Binary: 3.1 MB (Linux x86_64)-- Dependencies: serde, ureq, clap (same stack as adom-wiki CLI)+- Source: https://github.com/adom-inc/adom-molecule (backup)+- Binary: ~3.3 MB (Linux x86_64)
SKILL.md+16−1@@ -6,7 +6,8 @@ description: > list molecules, or delete a molecule. Trigger words: create molecule, import molecule, upload molecule, molecule from kicad, molecule from fusion, import kicad files, upload fusion files, list molecules, delete molecule, optimize molecule, usdz to glb,- kicad to molecule, fusion to molecule.+ kicad to molecule, fusion to molecule, import molecule from wiki, pull wiki+ molecule into hydrogen, import published molecule. --- # Adom Molecule CLI@@ -36,6 +37,20 @@ adom-molecule list adom-molecule delete --owner john --name "MyBoard" ``` +## Import a published wiki molecule (new in 1.1.0)++Pull a molecule **already published on the wiki** into a Hydrogen account, reusing its+published GLB — no re-optimization, no silkscreen re-render:++```bash+adom-molecule import <wiki-slug> --owner <username> [--name <molecule-name>]+```++The wiki page's auto-generated GLB (STEP→GLB at `adompkg publish` time) is fetched and+registered directly via Hydrogen's `/api/molecules/create-json`. Use this to reuse an+existing wiki molecule instead of re-uploading source files. The wiki read is public+(public molecules only for now).+ ## Commands ### `adom-molecule health`
adom-moleculeadded⋯ 1 unchanged line ⋯
docs/shot.pngadded⋯ 1 unchanged line ⋯
install.sh+4−12@@ -1,15 +1,7 @@ #!/bin/bash set -e PKG_DIR="$(cd "$(dirname "$0")" && pwd)"-SKILLS_DIR="$HOME/.claude/skills"-mkdir -p "$SKILLS_DIR/adom-molecule"-if [ -f "$PKG_DIR/SKILL.md" ]; then- cp "$PKG_DIR/SKILL.md" "$SKILLS_DIR/adom-molecule/SKILL.md"-fi-for skill_dir in "$PKG_DIR/skills"/*/; do- [ -d "$skill_dir" ] || continue- skill_name=$(basename "$skill_dir")- mkdir -p "$SKILLS_DIR/$skill_name"- cp -r "$skill_dir"* "$SKILLS_DIR/$skill_name/"-done-echo "Installed adom-molecule"+DEST="/usr/local/bin/adom-molecule"+if [ -w "$(dirname "$DEST")" ]; then cp "$PKG_DIR/adom-molecule" "$DEST"; else sudo cp "$PKG_DIR/adom-molecule" "$DEST"; fi+chmod +x "$DEST" 2>/dev/null || sudo chmod +x "$DEST"+echo "Installed adom-molecule → $DEST"
package.json+9−5@@ -1,11 +1,15 @@ { "slug": "adom-molecule",- "version": "1.0.0",+ "version": "1.1.0", "type": "app",- "description": "Import KiCad, Fusion 360, and EasyEDA files into the Adom molecule system. Create, optimize, list, and delete molecules from the command line or Claude Code.",+ "description": "Adom Molecule CLI — import a wiki molecule into Hydrogen (reuses the published GLB, no re-optimization), plus create/optimize/list/delete from KiCad, Fusion 360, and EasyEDA files.",+ "needs_sudo": true,+ "tags": ["molecule", "hydrogen", "kicad", "fusion360", "cli"], "dependencies": {},- "scripts": {- "install": "./install.sh",- "uninstall": "./uninstall.sh"+ "scripts": { "install": "./install.sh", "uninstall": "./uninstall.sh" },+ "hero": {+ "headline": "Wiki molecule → Hydrogen, one command",+ "subhead": "import a published molecule (reuses its GLB), or create from KiCad/Fusion/EasyEDA",+ "screenshot": "docs/shot.png" } }
page.json+21−41@@ -1,49 +1,29 @@ {- "schema_version": 1,- "type": "app", "slug": "adom-molecule",- "title": "Adom Molecule CLI",- "brief": "Import KiCad, Fusion 360, and EasyEDA files into the Adom molecule system. Create, optimize, list, and delete molecules from the command line or Claude Code.",- "version": "0.1.0",- "tags": [],- "license": "MIT",- "discovery_triggers": [- "create molecule",- "import molecule",- "upload molecule",- "molecule from kicad",- "molecule from fusion",- "import kicad files",- "upload fusion files",- "list molecules",- "delete molecule",- "optimize molecule",- "usdz to glb",- "kicad to molecule",- "fusion to molecule",- "blender optimization",- "molecule pipeline"+ "version": "1.1.0",+ "type": "app",+ "description": "Adom Molecule CLI — import a wiki molecule into Hydrogen (reuses the published GLB, no re-optimization), plus create/optimize/list/delete from KiCad, Fusion 360, and EasyEDA files.",+ "needs_sudo": true,+ "tags": [+ "molecule",+ "hydrogen",+ "kicad",+ "fusion360",+ "cli" ],- "discovery_pitch": "Import KiCad, Fusion 360, or EasyEDA design files into Adom molecules with one command. Handles file upload, 3D optimization (Blender pipeline), and molecule management.",- "install": {- "binary_name": "adom-molecule",- "install_dir": "",- "install_hint": "",- "version_cmd": ""+ "dependencies": {},+ "scripts": {+ "install": "./install.sh",+ "uninstall": "./uninstall.sh"+ },+ "hero": {+ "headline": "Wiki molecule → Hydrogen, one command",+ "subhead": "import a published molecule (reuses its GLB), or create from KiCad/Fusion/EasyEDA",+ "screenshot": "docs/shot.png" },- "readme": "# Adom Molecule CLI\n\nRust CLI that wraps the Hydrogen molecule import pipeline. Upload KiCad, Fusion 360, or EasyEDA design files to create molecules, automatically queue 3D optimization via the Blender pipeline, and manage your molecule library — all from the command line or Claude Code.\n\n## Install\n\n```bash\ngh release download v0.1.0 --repo adom-inc/adom-molecule --pattern 'adom-molecule' -D /usr/local/bin\nchmod +x /usr/local/bin/adom-molecule\nadom-molecule install\n```\n\n## Quick Start\n\n```bash\n# Check connectivity\nadom-molecule health\n\n# Create a KiCad molecule (uploads + auto-optimizes)\nadom-molecule create --name \"RP2040_Core\" --owner adom \\\n --glb model.glb --pcb board.kicad_pcb --sch schematic.kicad_sch\n\n# Create a Fusion 360 molecule\nadom-molecule create --source fusion --name \"Enclosure\" --owner john \\\n --usdz model.usdz --silk-top silkscreen.png\n\n# List all molecules\nadom-molecule list\n\n# Delete a molecule\nadom-molecule delete --owner john --name \"OldBoard\"\n```\n\n## Supported Sources\n\n| Source | Required Files | Pipeline |\n|--------|---------------|----------|\n| **KiCad** | `.glb`, `.kicad_pcb`, `.kicad_sch` | Blender 3D optimization |\n| **Fusion 360** | `.usdz`, silkscreen `.png` | USDZ-to-GLB conversion via Blender |\n| **EasyEDA** | `.obj` | Direct upload |\n\nSource type is auto-detected from file extensions, or set explicitly with `--source`.\n\n## How It Works\n\n1. **Upload** — Files are sent via multipart POST to the Hydrogen API (`/api/molecules/create`)\n2. **Optimize** — After upload, the CLI auto-queues the Blender optimization pipeline (KiCad or Fusion, depending on source)\n3. **Result** — Molecule appears at `hydrogen.adom.inc/{owner}/molecules/{name}` with optimized 3D model\n\n## Repo\n\n- Source: https://github.com/adom-inc/adom-molecule (private)\n- Binary: 3.1 MB (Linux x86_64)\n- Dependencies: serde, ureq, clap (same stack as adom-wiki CLI)\n",+ "org": "adom", "author": {- "id": "695820315b5f1e4db2fcf602", "name": "Kyle Bergstedt", "email": "[email protected]"- },- "visibility": {- "public": true- },- "hero": null,- "sample_prompts": [],- "metadata": {},- "created_at": "2026-05-28T05:29:23.996Z",- "updated_at": "2026-05-28T05:29:23.996Z",- "skills": []+ } }
uninstall.sh+2−3@@ -1,4 +1,3 @@ #!/bin/bash-set -e-rm -rf "$HOME/.claude/skills/adom-molecule"-echo "Uninstalled adom-molecule"+rm -f /usr/local/bin/adom-molecule 2>/dev/null || sudo rm -f /usr/local/bin/adom-molecule+echo "Removed adom-molecule"