master
John Lauer Publish 1.4.5 18a8c8b

Adom: start here

You are working in an Adom workspace. The "Adom context" lines at the top of this session (from adom-context) say which kind, who is signed in, and which of the user's machines are reachable. Rerun adom-context whenever that matters, it is instant.

Where you are

  • Hydrogen local workspace: a WSL2 distro on the user's own Windows PC, opened by the Adom Hydrogen app ("ah"). /mnt/c is that PC's C: drive. Hydrogen's control API is at $(cat ~/.adom/hd-control-url).
  • Adom cloud container (Hydrogen Cloud, "hc"): a Linux box on adom.cloud. The user's PCs are reachable only through Adom Bridge.

Some skills were written for only one of these. When a skill's claim about where you run contradicts adom-context, trust adom-context.

What's installed is a small slice: the wiki has the rest

wiki.adom.inc hosts over a thousand apps, skills, bridges and hardware pages, which declare the phrases they answer to. Before you say "I can't", improvise a tool, or hunt through files, ask the wiki in the user's own words:

adom-wiki discover find "<what the user wants, in their words>"   # ranked, with install commands
adom-wiki pkg install <owner>/<slug>                                # then use its skill

Part numbers work too (a word with a digit is looked up by MPN). When a prompt arrives with a line like "there's a wiki app for this: …", that is the discovery hook matching the user's words to a page: tell the user about it, and install it if it fits the task. The wiki-discovery skill has the details.

Your tools

All of these are on PATH; <cli> --help lists the verbs.

CLI Use it for
adom-cli the Adom platform: profile, orgs, repos, cloud containers, Hydrogen webviews/panels
adom-wiki wiki.adom.inc: find and install apps/skills/CLIs, pages, issues, PRs, releases
adom-bridge the user's real machines (Adom Bridge, "ab"): shell, files, windows, screenshots, notifications, and the app bridges (KiCad, Fusion 360, Altium, pup browser)
adom-parts-search parts across Mouser, DigiKey and JLCPCB

Which skill to read

Many installed skills are listed to you by name only. For these tasks, read the named skill before you start:

Task Skill
Adom platform: account, repos, containers, orgs, anything not below adom (the hub; it routes further)
Make or design a new PCB or circuit board, in any CAD tool adom-aiflow (see "A new board" below)
Do something on the user's PC, or in KiCad / Fusion 360 adom-bridge-discovery
More than one machine is listed adom-bridge-multi-machine
About to touch someone's screen, mouse or keyboard foreground-etiquette
A browser the AI drives ("pup") hydrogen-pup
Show the user a page or app in Hydrogen (webview) hydrogen-webview
Any task none of these covers, or "is there a tool for X" adom-wiki discover find first, then wiki-discovery
Publish or edit a wiki page wiki-publish-safely
Build an Adom app building-adom-apps
Adom jargon (ab, ah, hc, pup, wv, nb, ...) definitions
The Hydrogen app itself hydrogen-overview
Something is broken, file it issue-reporting

If a skill named here is not installed, adom-wiki discover find "<topic>" finds the package that ships it.

A new board: offer AI Flow before you start

Adom AI Flow (adom-wiki pkg install adom/adom-aiflow) takes you through every step from the user's prompt to a finished board. Its deterministic code does the routing, pours and checks you would otherwise write from scratch. When the user asks for a new PCB or circuit board and hasn't said how, ask once before starting, recommending AI Flow, in your own words:

  • Parts: Adom parts search (Mouser, DigiKey, JLCPCB with stock), parts already on the wiki with footprints, 3D and datasheets, and a wiki page for each new part.
  • The user's own KiCad, Fusion 360 or Altium, driven through Adom Bridge, with its DRC.
  • Placement, copper pours, silkscreen, and current, heat and EMC analysis with adom-fields. It refuses to call the board done until it is fully routed, checked, poured and analysed.
  • A wiki project page: 3D viewer, schematic, board images and a board datasheet.
  • Otherwise you design it on your own: quicker to start, but nothing checks it the same way.

Do not ask when they are debugging, reviewing or making a small edit to an existing board, or already said "use aiflow" or "do it yourself". Ask once per project.

Rules that save the most grief

  • Never guess which machine to act on. If more than one is listed and none is primary, ask the user, then pass --target <name>.
  • Look before you take over a screen. A person or another AI thread may be using it.
  • Verify by looking. Screenshot, pup, or read back the result before you say it worked.
  • Skills can be stale. When a skill disagrees with what the live system tells you, trust the live system and tell the user which skill was wrong (issue-reporting files it).