/agenv:savefrom agenv
Previews and saves the current machine's agent and coding environment into an agenv profile. Shows every add, update, removal, and secrets status before writing only the approved digest. Handles git commit/push, secrets to private repos, and --create for new profiles.
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.
agenv save is the only writer of the profile. Point it at the right folder, turn its preview into an account the person can read, and write only a digest their request or their answer to that preview covers (step 5). Never hand-copy, edit, delete or move files in the profile or on the machine to make a save go through.
--data-root nor AGENV_DATA_ROOT, save uses the snapshot repository from the product manifest's snapshotDefaults (the JSON then has a snapshot block) and, on approve, commits with its own message and pushes to origin main. Its printed approve command then has no --data-root and the digest is the same either way, so pasting it pushes. Pass --data-root <dir> on every save call, preview and approve; with it agenv never commits or pushes.--create writes at once, even without --approve: a checkout, profile manifest, .gitignore, git repo and a GitHub repository via gh (visibility from snapshotDefaults). The engine's "no snapshot repository … run agenv save --create" error is not permission; use it only after the person agrees to all of that, visibility included.--data-root accepts the agenv application checkout (a manifest.json with command, snapshotDefaults, profileLayout; a package.json named show-me-the-env) and says "nothing to save". Never use it as the profile; a real profile's manifest.json lists files, dirs, tools. Reading the product manifest for snapshotDefaults is fine.--include-secrets preview that would write secrets/ asks gh for the visibility of the data root's origin; no repo, no or non-GitHub remote, public or internal, or gh unable to answer all refuse, and the refusal blocks the whole save, ordinary changes included (exit 5). The options are the person's: save without secrets and sign in again after restore, or give the profile a private GitHub origin themselves and preview again. Never add remotes or create repositories for them.next argv), changing nothing; it carries the preview's --data-root, --select and --include-secrets, which the digest covers. An approve missing --include-secrets gets a mismatch or "nothing to save", both writing nothing, so never report the secret as saved after them.refused <path>: <reason>: a token, private key or AGENV_CANARY_ string in a non-secret file; a credential such as auth.json outside secrets/; key stores and identity.json/logins.json unless the profile marks that secrets/ entry keyMaterial; a non-JSON file under omit/only. Failed: a required tracked file missing here, or a held record missing from the profile.remove <path>, and approving deletes it from the profile, even for a tool the person never mentioned. Files deleted inside a tracked folder stay in the profile.--select <ids> adds tools, it does not narrow the save: it adds them and their settings to the profile manifest (an extra update manifest.json), and every other entry, removals included, is still saved. No flag saves only part. To keep a file that would be removed, the person can put it back on this machine first or accept the removal.held records named in the profile manifest are files kept in the profile itself: they show as add/update against their last git commit, save writes nothing to them and does not scan them for tokens, so check them (without printing values) before any commit. signingKeys exports public GPG keys only with --include-secrets.secrets/ entries appear only under authRequirements (sign in on the target machine). With it they are copied as-is, live tokens included, with no token or canary check; restoring them needs agenv load --include-secrets.agenv --help must exit 0. If agenv is missing, no save happens: say so, and offer to install it only by ../../references/install.md (its npm package or another route it names, never an anonymous clone or raw URL), as a separate change with the person's consent.AGENV_DATA_ROOT; else snapshotDefaults.localPath from the product manifest (default {HOME}/.agenv). Confirm it holds a profile manifest.json; if nothing resolves or it is not a profile, ask. Tell the person the full path, where it came from, and whether it is a git repo and its origin.agenv save --data-root <dir> --json. When the person asked for secrets, preview both without and with --include-secrets, so you can say what the save is without them and what adding them changes or why it is refused. Never print secret files; diffing non-secret configs against the profile copy to describe changes is fine.--create, a profile folder other than the one step 2 resolved, or a preview that changes something they said to leave alone; then approve only after they have seen that preview and said yes to it. When they approved a digest in an earlier turn, approve exactly that digest against exactly that folder; re-previewing first is fine, and if the digest differs, show the new preview and stop.git diff in the profile helps). Say what is unknown as unknown. There is no rollback command; recovery relies on the person's git history.origin, unless they said to leave git alone or the folder has no remote. Never add a remote, force-push or rewrite their history. Always say whether the change is committed and whether it is pushed (a local commit is not on origin until pushed).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./initStart an agenv profile or see what this machine lacks: run agenv init, suggest tools per role and platform, and point to the one install route when the engine is missing./loadBring this machine to the person's own saved agenv profile (new machine, reinstall, catching up after the profile changed elsewhere), including a preview-only look at what loading would change and getting a missing agenv engine in place first. Also use when someone asks to undo or roll back an earlier agenv load. Not for saving this machine into a profile (save), starting one (init), catalog profiles (catalog, adopt, follow) or a health check with no intent to change anything (doctor)./patchDiagnoses and fixes Claude Code / Codex plugin hook failures on Windows.
Use this skill when:
- a hook fails at SessionStart, UserPromptSubmit, PostToolUse, Stop, or any other event ("hook error", "훅 에러")
- "Hook load failed", "JSON Parse error", or "Unrecognized token" appears while hooks load
- the user asks to fix or patch hooks ("fix hooks", "훅 수정", "플러그인 호환성")
- plugins were just installed or updated on Windows
Do NOT use on macOS or Linux, where hooks work natively.
Other plugins' skills for the same job