The PassionCode.ai launcher (@passioncode-ai/passioncode on npm) sets up PassionCode.ai on a
computer with one command: the apps (Fabric, Fabric Switchboard, Fabric Dashboards, Fabric Inbox,
Project Observatory) from their signed releases, their MCP servers for every coding agent on it,
the PassionCode.ai skills listed in family.json, and the agents' wiki memory
(the open-source obsidian-wiki with a vault of its own, and
Obsidian to read it in). Run the same command on a
computer that is already set up, and it checks everything, repairs what is wrong and tells you
what changed; a computer set up before the wiki memory came gets it on its next setup, unless something setup names holds it
back (the reasons are listed in the CLI reference; see the wiki memory below).
npx @passioncode-ai/passioncode@latest setup # a new computer: set up · an existing one: check and repair
npx @passioncode-ai/passioncode@latest doctor # check only; changes nothing (apart from anonymous counts)| Member | Skills |
|---|---|
| Fabric Agent Adapter | creating-fabric-agents, adapting-projects-to-fabric, building-fabric-services |
| Observatory Log | explaining-changes, handling-secrets, tracking-resources (+ its session hooks) |
| passioncode | setting-up-passioncode (set up and check a computer), working-in-passioncode (the organisation's working rules, for every contributor's agent) and the once-a-day update check |
Only PassionCode.ai products are members. Agents that people build for themselves stay out of it, even when they implement Fabric protocols.
Paste this into Claude Code, Codex or another coding agent:
Set up PassionCode.ai on this computer, or check and repair it if it is already set up. Run
npx --yes @passioncode-ai/passioncode@latest setup --yes --json(it needs Node 18 or newer) and read its JSON: it installs the missing PassionCode.ai apps from their signed releases (and Obsidian, checked by its own signature and notarization), the skills, every MCP server and the agents' wiki memory, repairs whatever is wrong, and checks everything again. Do not download or install anything by hand, exceptbrew install uvwhen a step names it, and never stop or kill a running app. Then run each product onboarding step it lists that an agent may run, never ask me for a key or password in the chat (the tools open their own hidden prompts), and finish withnpx --yes @passioncode-ai/passioncode@latest doctor. Tell me briefly what you set up or fixed, what still fails, and the numbered steps only I can do, such as signing in, and remind me to restart you so the new skills and MCP servers load. If the launcher prints a line about anonymous usage counts, give it to me word for word. If a[passioncode]line at the start of this session says to keep using a version, use that version instead of@latestand tell me why; if one says there is no npm beside Node, give it to me word for word.
Once the skills are installed, "set me up" or "check my setup" is enough: the
setting-up-passioncode skill knows the rest. What stays yours: signing in, consenting, typing a
secret into a product's own hidden prompt, starting Docker for Fabric, unlocking a folder setup cannot write (or asking
an administrator), installing uv with its own installer where Homebrew is not yours (setup names the page), installing
Apple's command line tools when setup asks for git, the steps setup names when it leaves the wiki memory out (moving or
renaming a skill of yours, rewriting a config line, setting XDG_CONFIG_HOME; the full list is in
the CLI reference), opening the wiki vault in Obsidian once, and restarting your agent.
- Install (Node 18 or newer; the Claude Code CLI on
PATHfor the plugins):npx @passioncode-ai/passioncode@latest setup, then restart your agents. In a terminal it asks one question per absent app (on macOS, Obsidian included; one whose folder you cannot write is named instead, SCN-017), then one for the agents' wiki memory when it is offered, then one for the repairs, if any are left, then one for Claude Code's rules for PassionCode's own tools where Claude Code is and they are missing, and one for the rules for commands where Claude Code is and any are missing (an app you install that bundles an MCP server runs the skill and MCP update itself; a--jsonrun never asks);--yesaccepts the plan,--with/--without <ids>choose apps (switchboard,dashboards,observatory,inbox,fabric) and the memory (obsidian,wiki, ormemoryfor both),--no-appssets up the skills and MCP only (no memory either),--dry-runshows the plan,--allow-toolslets Claude Code use PassionCode's own tools without asking and--allow-commandsrun the commands setup lists, such asgh pr merge(each offered as its own question in a terminal, never by--yesalone). Apps are installed on macOS; on other systems setup names each download page, and on Windowsdoctorreads which version of each app is installed. Skills only:npx @passioncode-ai/passioncode@latest update. - Configure: nothing to set, no account and no key. Background updates are on by default;
npx @passioncode-ai/passioncode@latest config set update.auto offturns them off. The launcher's anonymous usage and error counts are on by default too (what is sent);npx @passioncode-ai/passioncode@latest analytics offturns them off for the launcher (each PassionCode.ai app has its own switch in its settings). Each app's own onboarding (sign-ins, Fabric Inbox's server, Observatory's projects) is listed bysetup. - MCP: the launcher serves no MCP server of its own. It registers the apps' servers
(
fabric-dashboards,fabricwithfabric-mcp --runner <agent>, andswitchboardwithswitchboard mcp) for Claude Code, Codex CLI, Gemini CLI and Kimi Code, anddoctorproves each one with a real call:initialize,tools/list, thenlist_services,switchboard_accountsorobservatory_status; a server built with two doors (searchandexecute, where an old tool name is reached only throughexecute) is proved by a read-onlysearchwith an empty query instead, and doctor's line names which call proved it. Fabric's server is never started by doctor, because it enrols a session as it starts: doctor checks its entry, and your agent's firstfabric_whoamiis the proving call. Fabric is an early preview, so onlysetupregisters it, never a background update. Project Observatory and Fabric Inbox register their own servers through their onboarding;doctorchecks those too. - Develop: clone, then
npm test. There are no dependencies and no lockfile, so there is nothing to install (npm cirefuses to run here).npm run vendorbuildspayload/from the members pinned infamily.json;claude plugin validate ./payload --strictchecks it. Start inlib/launcher.js(update, restore, status, uninstall) andbin/passioncode.js(the CLI); AGENTS.md maps the rest and CONTRIBUTING.md the rules.
- Claude Code gets plugins from a local marketplace named
passioncodeat~/.passioncode/current, with no GitHub access needed. A plugin that was installed from its old single-member marketplace (fabric-agent-adapter@fabric-agent-adapter,observatory-log@observatory-log) is replaced once the new one is verified, and that marketplace is unregistered and taken out ofsettings.jsononce nothing installed comes from it. - Every other agent (Cursor, Codex, Gemini, OpenCode, Kiro, Windsurf, Goose, …) gets
the same skills through
~/.agents/skills, linked from each channel that exists on the machine. On Windows these links (and~/.passioncode/current) are junctions, which need neither an administrator session nor Developer Mode. - Updates create no skill copies in
~/.claude/skills(or the folderCLAUDE_CONFIG_DIRnames): a plain copy there shadows the plugin. Such copies, and hub entries that pointed at a repository's working tree, are moved into~/.passioncode/quarantine/;npx @passioncode-ai/passioncode@latest restoreputs them back. - Each version is an immutable release under
~/.passioncode/releases/<version>; an update keeps the release it replaced for rollback and removes older ones. update(and thereforesetup) registers the MCP server inside each installed app: Fabric Dashboards (fabric-dashboards), Fabric Switchboard (switchboard, unless Claude Code already gets it from theswitchboardplugin) and, fromsetuponly because it is an early preview, Fabric (fabric, with each agent's own--runner). It registers them for every agent that is present: Claude Code (throughclaude mcp add --scope user), Codex CLI (~/.codex/config.toml), Gemini CLI (~/.gemini/settings.json) and Kimi Code (~/.kimi-code/mcp.json). An entry that already exists is left alone; one that points elsewhere is reported and kept.restoreanduninstallremove the parts the launcher added (the Claude Code tool and command rules setup orpermissions allowadded and a modepermissions modeset stay in~/.claude/settings.json(or the folderCLAUDE_CONFIG_DIRnames; in a session of Fabric Switchboard 0.7.14 or later, your own Claude folder, and with an earlier one~/.claude, docs/reference/cli.md), and agents' declarations in~/.passioncode/rules.dand the permissions ledger~/.passioncode/permissions.jsonstay; so does the agents' wiki memory: obsidian-wiki, its vault and SessionStart hook, and Obsidian, ADR-0006) (ADR-0003, ADR-0004).
setup checks first, then installs the absent apps you chose, repairs what the checks found,
checks again and prints a before → after table and the steps that stay yours. On a healthy
computer it changes nothing (apart from the anonymous counts) and exits 0. A PassionCode.ai app is installed only after its release's
SHA256SUMS.asc verifies against the PassionCode.ai release key bundled in this package
(fingerprint 63B3 0DC3 24BD 6974 87AA 3194 4FAF B8AE C803 B6A7), the file matches the signed
checksum and GitHub's digest, and the app passes codesign, carries team KJ35UYYL22, has its
notarization ticket stapled and is accepted by Gatekeeper. Obsidian, which publishes no signed checksums, is checked by
its own chain instead: the image against GitHub's digest, then team 6JSW4SJWN9, the stapled ticket and Gatekeeper
(ADR-0006). Apps go into your own ~/Applications (made on the first
install); a copy in /Applications that is yours and that you may replace stays there. An outdated or damaged app is
reinstalled only when it is not running and you may replace it; the old one goes to the Trash ("running" means running
for you: on a Mac with several users only your own processes count, so a copy of yours that another user has open, or runs an MCP server from (an entry they set by hand: the launcher's own follow each user's copy, PC-149), is still replaced and goes to your Trash; that user restarts it, PC-151). One you cannot replace
(another user's, or in a folder you cannot write) is named, never reinstalled. A family service that
does not answer is started through launchd (launchctl kickstart, never a kill), unless its own update holds it
stopped on purpose (Project Observatory's update lock, PC-234): that is an info row with no repair.
The agents' wiki memory (PC-178, ADR-0006). setup also
installs obsidian-wiki (MIT), the tool your agents read and write their
memory with, at the version this launcher pins (uv tool install obsidian-wiki==2026.11.4; with no
uv it names that step instead: brew install uv where Homebrew
is and this user can write its bin folder, else uv's installer, which you run), and, on a Mac, Obsidian, where you read that memory. Obsidian publishes no signed
checksums, so its image must match GitHub's digest and the app must carry Obsidian's own Developer ID team 6JSW4SJWN9,
its notarization ticket and Gatekeeper's yes. Obsidian updates itself inside the app, so setup never replaces a working
copy for its version, only a damaged one of yours; a copy in /Applications that root owns (a package or MDM install) counts as yours, while one another user dragged in stays theirs and you get your own. When you have no
obsidian-wiki config yet, setup makes a new vault in the hidden folder ~/.wiki, whose full path setup names since
Obsidian's folder picker does not show it (or the folder --wiki-vault names; never one
that already holds files, never ~/Documents or a folder inside it (iCloud may sync Documents, and a Git repository in a synced folder breaks), never while XDG_CONFIG_HOME is a relative path, which obsidian-wiki reads from the folder it
runs in, or starts with ~, which its SessionStart recap reads as written (setup then installs no obsidian-wiki either, and doctor shows memory.config), and never while a skill of
yours shares a name with one of obsidian-wiki's, since its setup would replace it: setup names the first five and how many more for you to move
or rename, and installs no obsidian-wiki while one is there; and only where git is, on a Mac Apple's command line
tools, which setup names as a step), makes it a Git repository, runs obsidian-wiki setup --no-hooks (which adds obsidian-wiki's
skills to every agent's skills folder, making the folders of agents that are not installed) and registers only the
SessionStart recap for Claude Code (only where Claude Code reads ~/.claude; obsidian-wiki's hooks writer targets only ~/.claude/settings.json). The run
ends by naming the vault to open in Obsidian. An existing config or vault is left exactly as it is (apart from the version and package path obsidian-wiki's refresh records after an upgrade, or an install over an existing config, and, with the same meaning, quotes around a bare value or an empty vault line where there was none (ADR-0006 decision 16), every other key kept), and the Stop hook (which asks
every session in every project to write into the vault after every turn) is never registered; doctor names it if
someone did. --without leaves a part out: obsidian the app; wiki obsidian-wiki, its vault, its upgrade and the
hook repair; memory both. Leaving it out, or answering "no" to its question, lasts that run only: the next setup --yes
installs it again (a terminal run asks again; PC-205 would remember the choice).
doctor changes nothing but the launcher's anonymous counts, sent once their notice has been shown unless they are off (docs/analytics-events.md). It reads prerequisites, the skill set, each app's version, signature
and team, each agent's MCP entries with one proving call per server, and the Fabric services of
the family, and the agents' wiki memory (memory lines: Obsidian and its signature, obsidian-wiki and its version,
the vault as obsidian-wiki doctor --json reads it, or why the config names no usable vault, a failure while obsidian-wiki is
installed and the config is a folder, a link to nothing, unreadable or names no vault, and the Claude Code hooks); each
line names its state and its fix.
Exit codes: 0 nothing failed in what the run covered (the memory lines of a part named in leftOut do not count,
except a failing Obsidian signature), or setup only showed its plan, 1 a check (or a setup step) failed, 2 bad
arguments. doctor --fix runs setup's repairs without
installing new apps. Details: the CLI contract.
Release trains. An organization's machines install one set of pinned app versions instead of
each app's latest release: setup --train organization-r1 installs and reinstalls the apps at
the versions in trains/organization-r1.json, remembers the train,
and doctor then compares every app with its pin (offline too) in an app.<id> line per app and
one train line. An app newer than its pin is reported and left alone (a damaged one, or one whose version cannot be read, is reinstalled from the latest
release): the train never takes an app back, because its data may not open in an older release. A train pins PassionCode.ai apps
only: Obsidian follows its latest release, and obsidian-wiki the launcher's own pin. setup --train none returns to the
latest releases. Either change is saved with --yes or in a terminal (after its answers, or at once when there is nothing to ask; a --json run never asks), never with --dry-run; without either it is only shown as a plan. A named
train is not saved when every offer in the terminal (at least one of them defaulting to yes) is
answered no, while --train none is saved on any answer. The skills are pinned by the launcher release itself (family.json). Which
version each app pins is the train's record in fabric-workspace
(SD-4); a
change to the file is a launcher release. setup --train fabric-base-1 installs the apps of Fabric Base 1
(trains/fabric-base-1.json); the founders' one-line install and the steps only a person
can do are in docs/reference/fabric-base-1-install.md.
At Claude Code session start the passioncode plugin uses a cached npm check for up
to 24 hours and, when a newer set is out and every npm account that publishes it is in the
plugin's trust.json, npm's signature over it verifies with the registry key pinned there and it
carries build provenance, updates to that exact version in the background; it takes
effect in the next session. Any other version is named and not installed
automatically; while that stands, @latest runs it, so use the version the line names
(npx @passioncode-ai/passioncode@<installed> status) until a release is accepted (SECURITY.md).
On Windows, where npm is installed as .cmd files (the Node installer, nvm-windows, fnm), an installation from 0.2.75 or
earlier never updates itself (its hook could not start npm): run
npx --yes @passioncode-ai/passioncode@latest update once, and it updates itself from 0.2.76 on (PC-135), when the Node
that runs Claude Code's hooks (the first node on PATH) has npm beside it; otherwise a session line says how to fix
that (PC-143). It runs that npm, the one in Node's own folder, even when npm i -g npm has put a newer one in another
prefix; the bundled one checks and updates the same way.
npx @passioncode-ai/passioncode@latest config set update.auto off makes it only say so. status and doctor show
when the switch is off (by config set, or by an uninstall by 0.2.75 or earlier), and config set update.auto on turns it
back on.
status reads local state without contacting npm. Its npm version is labelled
npm latest (cached) with the saved check timestamp, or check time unknown.
When that stable version is below the installed stable version, the line also says
stale: older than installed, and when the session hook refused it, not installed automatically
with the reason (PC-131). A newer or equal cached version is still a saved
observation, not a live registry check. With no saved version it says
npm latest: not checked, and after a failed check while a refusal stands it adds the refused version and the
reason; --json retains the raw latest and checkedAt fields.
While that refusal stands, every command the launcher prints (doctor's fixes, setup's closing line, the help, the
analytics notice) names the installed version instead of @latest, which would run the refused one (PC-143).
npx @passioncode-ai/passioncode@latest status # the installed release: its members, their channels, shadows
npx @passioncode-ai/passioncode@latest update --dry-run
npx @passioncode-ai/passioncode@latest uninstall
npx @passioncode-ai/passioncode@latest analytics off # stop the launcher's anonymous usage and error counts (on by default)
npx @passioncode-ai/passioncode@latest permissions # what PassionCode allowed Claude Code to do without asking (in Claude Code's user settings), and who asked for itFor supported flags, JSON fields, exit codes and partial-failure recovery, read the
CLI contract. restore repairs the latest quarantine batch;
it is not a release rollback. A successful uninstall preserves recovery files and
leaves the update switch as it was; with nothing installed, the session hook starts no update (PC-131). Unsupported flags are rejected before mutation (the anonymous counts still count the run).
Repository docs describe the current source. See the documentation index and dated handoffs for which changes have actually been published or installed.
The ssheleg family (sshlg-skills, on npm as
sshlg-skills) is a separate, public set of skills for coding agents: a working method with
task-pipeline (gated delivery and release iterations), agent-sync (leases and id
reservation), super-ux, sheleg-design, make-skill, agent-stack and others. It is not a
member of this launcher's set, and neither set installs or vendors the other's plugins. Install
both and update each as one set with its own command:
npx @passioncode-ai/passioncode@latest update # this set: Fabric Agent Adapter, Observatory Log, passioncode
npx --yes sshlg-skills@latest update # the family; it takes no member argument- Routers.
npx sshlg-skills routerswrites one routing block into each agent's global instructions (~/.claude/CLAUDE.md,~/.codex/AGENTS.md,~/.gemini/GEMINI.md, …). It says which member owns which kind of work: interface behaviour, look, copy, delivery, coordination. On a computer where Fabric is installed (its services directory exists) the block gains afabricrouter, which sends questions about the computer's agent services to the Fabric tooling and to this set's Fabric Agent Adapter skills. - The method. Fabric principle 11 (a project moves in releases, and every run leaves a lesson)
takes its method from
task-pipeline's release iteration. Principle 10's wait rule (a wait is not a stop) reaches personal repositories as the family's opt-in rule block (npx sshlg-skills config set rules.wait on). In a passioncode-ai repository both reach the agent through this plugin's session-start line andworking-in-passioncodeinstead. - What the family gains here. Where Project Observatory runs,
task-pipelinewrites workflow checkpoints and planned handoffs through it and records cross-project lessons in its shared lesson store, as proposals;agent-synctakes the git leases that passioncode-ai repositories declare. - One channel per plugin id. Each plugin comes from one source: this set's from the
passioncodemarketplace, each family member's from its own (<name>@<name>). A plain skill copy in~/.claude/skillsshadows a plugin; both updaters take such copies out of the way and never create one. Never update a plugin member with a barenpx skills update <name>: it recreates that copy.
- Tag every member at the version to ship; set
refto that tag infamily.json. - Bump
versioninpackage.jsonandplugin/passioncode/.claude-plugin/plugin.json(a test holds them and the CHANGELOG in sync), add the CHANGELOG section. - The npm account that publishes must be listed in
plugin/passioncode/trust.json(npmPublishers), and be the package's only kind of maintainer, and the release must be published byrelease.ymlwith provenance (a public repository; the workflow stops otherwise, and its registry receipt runs the hook's signature and provenance checks on the published version). Otherwise every installed hook refuses the update and says so. When npm announces a new registry key, add it tonpmRegistryKeysin a release before npm signs with it, and name the new keyid in that release's CHANGELOG section (SECURITY.md tells people to look for it there). - Merge, then tag the merge commit
vX.Y.Zand push the tag..github/workflows/release.ymlvalidates, checks the tag against both manifests, creates the GitHub release from the CHANGELOG section, vendors every member from its own repository at its pinned tag, runs the tests, exercises packed update/status/uninstall with a fake Claude CLI in a temporary home (node scripts/smoke-pack.mjs), publishes@passioncode-ai/passioncodeand waits until npm serves it. It runs when the repository variablesRELEASE_ENABLEDandPUBLISH_NPMJSaretrue; npm auth is trusted publishing (OIDC) or theNPM_TOKENsecret; a private member needsMEMBERS_READ_TOKEN. The job writeslib/analytics-key.jsonfrom thePASSIONCODE_ANALYTICS_APP_KEYsecret (the App Key for the anonymous counts, PC-123) and refuses to publish without it. Release only through the tag. A handnpm publish(prepublishOnlyvendors from tags only, refuses credential-shaped strings and runs the tests) carries no build provenance, so every installed plugin refuses it and its users see a line that may mean tampering; it also carries no App Key and sends no counts. If the registry receipt fails after publishing (the version is alreadylatest), publish a corrected next version through the tag at once and say in its CHANGELOG section that the refused one was not tampering. npx @passioncode-ai/passioncode@<version> updateon each machine; restart the agents.
Vendoring clones every member from its own repository at its tag. A maintainer with
local clones can point the vendor at them instead: PASSIONCODE_CHECKOUT_ROOT=<dir>
reads a member from <dir>/<repository name>, and PASSIONCODE_CHECKOUT_<MEMBER>=<path>
(the member's name upper-cased, - as _) names one clone kept under another name.
PASSIONCODE_VENDOR_CLONE=1 ignores both. family.json names no machine paths.
Open source under the GNU AGPL-3.0. A commercial license is available for use that does not meet the AGPL's terms: passioncode.ai/business. Versions before 0.1.12 were released under PolyForm Noncommercial or Internal Use (v0.1.5 to v0.1.11) and MIT (v0.1.4 and earlier); each keeps the licence it was released under. Contributions are accepted under CLA.md (CONTRIBUTING.md).