/agenv:loadfrom agenv
Loads an agenv profile onto the current machine with a preview step, supporting new machines, reinstalls, and rollbacks of previous loads.
Ships in agenv. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Load makes this machine match a profile folder. The person sees this machine's whole plan first, approves that exact plan, and only then does anything change. Load never writes into the profile.
agenv --help exits 0 when the engine is installed. If it fails, follow ../../references/install.md (the only install reference) and do not run any load until agenv --help works.agenv binary found elsewhere on disk, and never write your own stand-in.<!DOCTYPE or <html is a saved sign-in page.install.ps1 or install.sh checks every file against SHA256SUMS), or the checkout via gh repo clone with their own GitHub sign-in. Ask before you try any route they did not agree to.manifest.json by hand and calling that a preview. Say plainly that no preview could be produced and that nothing changed.AGENV_DATA_ROOT. If they name a folder, use theirs. If neither exists, ask. Never guess one.manifest.json has command, dataRootVariable and profileLayout. A profile's manifest.json has files, dirs and tools.Run agenv load --data-root <dir> --json. It changes nothing. Exit 3 means there is a plan to approve. Exit 0 with status satisfied and no actions means the machine already matches: say that nothing needed to change and that nothing changed, and stop. Exit 2 means invalid input, for example no profile manifest.json in data root.
How to read each action:
operation and target: an install, update or configure of a tool, or configure <repo path> for a file. A prerequisite that a selected tool needs, such as node, shows up as its own install action.requires: none: a file write in the home.requires: consent: the action asks for more than writing in the home, typically network access, plus PATH changes, elevation or a service depending on the install route. Approving the digest grants these.requires: blocked: the action carries blocked.status, code and reason, for example a missing manager, a copy another installer owns, or a version that isn't pinned or isn't offered.requires: unsupported: the platform doesn't support the action.repo in the profile's manifest.json to find its live path ({HOME} is the home folder). Then check whether that file exists.cat files that may hold tokens.secrets/ entries are left out unless --include-secrets is given, and that flag changes the plan and its digest. Use it only if the person explicitly asks. Tokens written inside ordinary config files are not covered by this exclusion.Show the person the whole plan in plain words:
If they only wanted a preview, or they decline, stop there and tell them nothing was changed.
agenv load --data-root <dir> --approve <digest> --json with the same --data-root, and the same --include-secrets and --state-root if the preview used them. The line the engine prints ("to apply this plan run: agenv load --data-root ... --approve ") and the next array in --json repeat the preview's --data-root, --state-root, --include-secrets and --jobs.--select belongs to init and save. If they want an item left out, the options are declining, or changing the profile themselves (a save or edit, which is a separate act).--jobs 1 unless they ask for more (the range is 1 to 16).Go through results one by one:
changed or satisfied: done.conflict: the file changed after the plan and was kept as it was.failed: give the summary. An action that depends on a failed one also fails.unsupported: give the reason. For an unpinned tool, the person has to pin a version in the profile.needs-auth: give the reason; the person has to sign in or act themselves.cancelled: the action never started.Exit codes: 0 all done, 4 conflict, 5 a step failed, 130 cancelled. Partial success is reported as partial and never as success. After a failure or cancellation, a fresh preview shows what is left, and any retry needs a new approval.
Then check with read-only commands against the same profile:
agenv load --data-root <dir> should now say nothing to load. Otherwise it lists what is still missing.agenv doctor --data-root <dir> reports the tools. "no tools selected" there only means the profile lists no tools.agenv doctor --data-root <dir> --readiness asks the installed agent CLIs about sign-in without reading any credential.Signing in to each provider is the person's own step. Never read, copy or enter credentials for them.
Replaced files are recoverable. Each one has a copy under the state root, as described next.
--state-root, else AGENV_STATE_ROOT. Otherwise it is %LOCALAPPDATA%\show-me-the-env on Windows, or $XDG_STATE_HOME/show-me-the-env or ~/.local/state/show-me-the-env elsewhere.journal/operations.jsonl, each intent line of a run (runId) gives:
file: the live filebefore: the sha256 of the old content. null means the load created the file, so undoing it means deleting the file, and no copy exists.after: what agenv wrotecopy: the saved original, under rollback/<runId>/before, and the current file against after. If the current file differs from after, it was edited since.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
agenv, profile-load, environment-setup, machine-provisioning
npx claudepluginhub lilmgenius/show-me-the-env --plugin agenv6 skills in this plugin
/attachAttach another computer (a second laptop, a spare desktop) so it can take this machine's heavy work, or decide it should be restored from the profile as a working machine instead. Chooses the role, then drives agenv machine bootstrap, serve, specs, register, lanes and detach and hands the person the one line to paste. Not for restoring a profile (load), saving one (save), or reaching a machine the person does not own./contributeUse when someone wants something agenv could not install, configure or detect reported to the agenv maintainers, wants an adapter change they made proposed upstream as a pull request, or wants to review, send or withdraw an existing agenv contribution draft. Triages with agenv doctor first (local setup is never filed), drafts only through agenv contribute, and sends only after the person approves the exact preview./Other plugins' skills for the same job