diff -ruN adom-wiki-cli.orig/SKILL.md adom-wiki-cli/SKILL.md --- adom-wiki-cli.orig/SKILL.md 2026-10-22 14:27:05.296726578 -0500 +++ adom-wiki-cli/SKILL.md 2026-10-22 14:37:26.074395800 -0500 @@ -1,7 +1,11 @@ --- name: adom-wiki-cli user-invocable: true -description: "The official, default CLI for the Adom Wiki (wiki.adom.inc): one tool over the entire git-wiki API: publish and install signed packages, cut multi-platform releases, run git-style page repos, open PRs and issues, manage visibility/heroes, discover/vouch, and admin. ALWAYS prefer this over the deprecated, unmaintained adompkg (old `adompkg ` maps to `adom-wiki pkg|page|repo|release `). Trigger on publishing or installing a wiki package, releases/binaries, PRs/issues/discussions, wiki.adom.inc, adompkg, or any Adom registry work from the terminal." +description: >- + Command reference for the adom-wiki CLI: every pillar and verb (pkg, repo, release, issue, pr, + page, discover, auth) with exact flags and hints; old adompkg verbs (retired) map here. Use when + you need the exact adom-wiki command, a verb's flags, or wiki issues, PRs or releases from the + terminal. --- # adom-wiki CLI @@ -19,7 +23,7 @@ - **pkg** (npm-style): publish/install signed packages: install, add, update, ci, publish, pack, lint, version, dist-tag, deprecate, vouch, vouches, init, build, info, view, search, why, outdated. - **repo** (git-style page repos): clone (files-only working copy; the wiki exposes no git wire protocol), download (one-shot whole-repo ZIP, streamed at any size, `--extract` to unpack; rate-capped 10/min so back off on 429, never loop), push, pull, log, show, status, contributors, transfer, fork, rename, rm, delete/undelete, reindex. Clone reports `complete` and warns CLONE_INCOMPLETE naming any listed file that failed to download; before computing a push-delta from a clone taken right after a push, cross-check the pushed paths exist in it (`repo show --ref` is the per-file source of truth) since a ref's tree listing can briefly lag the newest commit. Undelete needs `--confirm-not-bloat`: the server discloses who deleted the page and when, and a soft-delete is often a judgment someone already made; check why before resurrecting. - **release**: versioned binaries: upload/download per-platform+arch assets, list, view, notes, edit, platform/arch re-tag, verify, delete-asset. -- **issue / pr**: full collaboration: issues (create, list, view, comment, answer, triage/labels, close, reopen; `discussion` is a hidden alias); PRs with diff, review, merge, revert, ready. PR addressing: `/#` is the PER-PAGE number (what the page and your inbox show, like issues), a bare number is the global id, and a pasted PR URL works; `--body-file` on create/comment/review for long or backticked bodies. Bodies with backticks MUST go through --body-file (an inline double-quoted --body gets shell-substituted before the CLI sees it; see the agent-ground-rules skill). Coming from gh: `--body @file` does NOT expand here and is REFUSED when the file exists (BODY_LOOKS_LIKE_FILE_REFERENCE); creates and comments echo the landed body back (BODY_POSTED) so verify what posted at a glance. Repeatable `--image` (inline) and `--file` (any-type: logs, patches, CAD, archives, videos; renders as a chip) attach to issue create/comment/edit and pr comment; images cap 10MB, files 25MB, videos (mp4/webm/mov/m4v/mkv) 256MB via an automatic presigned direct-to-bucket flow. +- **issue / pr**: full collaboration: issues (create, list, view, comment, answer, triage/labels, close, reopen; `discussion` is a hidden alias); PRs with diff, review, merge, revert, ready. PR addressing: `/#` is the PER-PAGE number (what the page and your inbox show, like issues), a bare number is the global id, and a pasted PR URL works; `--body-file` on create/comment/review for long or backticked bodies. Bodies with backticks MUST go through --body-file (an inline double-quoted --body gets shell-substituted before the CLI sees it; see the agent-ground-rules skill, `adom-wiki pkg install adom/agent-ground-rules`). Coming from gh: `--body @file` does NOT expand here and is REFUSED when the file exists (BODY_LOOKS_LIKE_FILE_REFERENCE); creates and comments echo the landed body back (BODY_POSTED) so verify what posted at a glance. Repeatable `--image` (inline) and `--file` (any-type: logs, patches, CAD, archives, videos; renders as a chip) attach to issue create/comment/edit and pr comment; images cap 10MB, files 25MB, videos (mp4/webm/mov/m4v/mkv) 256MB via an automatic presigned direct-to-bucket flow. - **page**: visibility presets (open aka public / licensed / private aka preview; adom/wiki#100 decided against a distinct preview tier, so preview is a permanent alias), edit (title/brief/tags + changelog in one authenticated call), heroes, stars, stats, trending, HTML render. Page and package types: app | skill | hardware (legacy alias: component) | bootstrap. - **discover**: search, popular, stale, and trigger-based find/preview; rows carry star + vouch counts so you see what is good. To mark a page as good, `pkg vouch `: one click, any page type (parts, boards, apps, skills); `pkg vouches ` shows who vouched. High-fives and issue reactions were removed (the server answers REACTIONS_REMOVED). Type filters and --type accept both `hardware` (the launch spelling, what the CLI now EMITS on scaffolds, creates, and filters) and `component` (the legacy spelling, accepted forever): one type, synonyms everywhere, and hardware pages carry a `kind` axis (component/molecule/project/equipment; board = project alias, projects need no MPN but must ship a layout JSON). PROJECTS ARE NOT PACKAGES: `pkg install` on one explains the category error and hands you `repo download --extract`; open the layout JSON in the 3D editor. - **branch**: branches on a page repo: list (ahead/behind), create, delete (never the default), rebase, and a live three-dot `compare`. @@ -642,7 +646,7 @@ ## Logging a browser in (`auth login`) To view the wiki in a real browser **as yourself** (pup, a webview, the native -browser, hdbw), mint a magic link and navigate to it: +browser, hbw), mint a magic link and navigate to it: ```bash adom-wiki auth login --json # { logged_in_url, expires_in, single_use }