/agenv:contributefrom agenv
Triages and drafts agenv issues or pull requests for adapter changes or installation gaps. Guides through agenv doctor, draft creation, and approval before sending.
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.
Goal: a real agenv gap or adapter change reaches its owners in a form they can act on, nothing private leaves the machine, and nothing is published without the person's approval of the exact preview. Everything goes through agenv; you never file, push or write the report yourself.
agenv contribute --send: no gh issue create, gh pr create, gh api, prefilled browser URL, or hand-written issue/PR body handed over as "the report to post". A plain list of the finding's facts kept for a later agenv run is fine; label it as that.git push or any other write to a remote for the person, even when they ask you to push "so the PR is current". Decline, say why, and leave the push to them. A pull request draft points at a branch they pushed themselves.--summary or in your messages. Do not quote secrets you saw in files back to the person.Run agenv --help. If it fails, the only source for getting agenv is ../../references/install.md (relative to this file). Its first route is the npm package show-me-the-env (npx show-me-the-env <command> with Node 22 or newer). Never try another package name such as npx agenv, winget/scoop/choco, a raw download script, or a GitHub releases page, even if the person suggests them; they fetch someone else's package or nothing, and an attempt counts. Without Node 22 or newer, the other routes need a release-candidate folder or .tgz the person was given, or a checkout of a repository they can read. If none is on the machine, stop and ask for one (or suggest running on a machine that already has agenv). Still leave them a useful result: the finding as structured facts (adapter id, OS, operation, kind, which QA receipts and tested commit to bring) and the exact agenv contribute ... command you will run once agenv is present, noting that doctor runs first and the draft will need their approval before anything is sent.
Run agenv doctor before any draft (add --gaps when the tool is not in the person's profile, --readiness for agent CLI sign-in and sandbox state). It changes nothing and exits 5 when it finds a problem. If its output names a setting on this machine (a PATH entry, a missing sign-in, an orphaned installer, commit signing that cannot work, a pending save, a missing prerequisite), that is the answer: draft nothing, even if the person is sure it is an agenv bug. agenv would accept a gap draft for it (exit 0), so the triage is yours. Back the verdict with evidence: quote doctor's line, confirm with read-only checks (git config --get ..., listing keys), and when it is cheap, reproduce with the underlying tool alone in a throwaway temp directory outside the person's repos (for example, a commit in a scratch repo fails the same way). Then tell them: it is local, nothing was drafted or filed, the concrete fixes they can apply themselves, rerun agenv doctor afterwards, and you will draft a report if it persists once doctor is clean. agenv contribute --kind misconfiguration ... records that routing without writing a draft (exit 0, referral to doctor).
When the finding is about another OS, or about an adapter change tested elsewhere, doctor lines about this machine (such as "not installed") don't block the draft. Say so and continue.
agenv contribute --adapter <id> --os <os> --operation <op> --kind <kind> [--receipt <file>]... [--revision <commit>] [--summary "<text>"]. For a catalog profile finding, use --profile <catalog id> (ids from agenv catalog) instead of --adapter. What the engine enforces, verified against it:
--adapter must be an id agenv registers. The ids are the names agenv doctor --gaps lists, and they can differ from product names (for example separate cli and desktop ids). Never guess or leave a placeholder. An unregistered id is refused with "no repository owns ; agenv does not guess where to send it" (exit 2). Report that refusal; don't file elsewhere. agenv picks the target repository, never you.--os is exactly windows, macos or linux: the OS where the finding happened, which may not be this machine's. Values such as "ubuntu" or "win32" are refused. --operation is one lowercase word, such as install, configure, detect or update.--kind is gap, adapter-change or misconfiguration. Any other value is refused (exit 2), so spell it exactly.--receipt takes a QA receipt JSON file (fields such as case, variant, tier, status, guest, observedFailures). Repeat it once for every receipt available. Logs and other text files are not receipts: agenv refuses them as not a readable JSON receipt (exit 2, nothing written), and their contents must not go into the summary.--revision is the commit the receipts were taken at. If the branch moved after testing, use the tested commit, not HEAD, and tell the person the draft states what was actually tested. Re-running QA is how a newer commit becomes the tested one.--kind adapter-change, a --revision, a happy receipt with status pass at tier F or G, and every failure-variant (planted defect) receipt showing status fail. If any is missing, agenv silently produces an issue draft whose body says "Not a pull request: ...". Check the first printed line (pull-request for ... or issue for ...) before you present it.--summary is free text you control. agenv rewrites token shapes and the home directory. It refuses the whole draft with "the draft would carry at $.summary; it was not written" (exit 2) for emails, paths (including ~/), localhost or private IPs, GUIDs and canaries. It does not catch names, usernames or hostnames. Write the summary clean the first time: describe the behaviour, not the person. If the person wants contact details or paths in the text, leave them out and say why.--json prints one object with draft.id, kind, target, title, body, evidence and preview, for when you need exact fields.A successful draft exits 0 and is stored locally under agenv's state root at contributions/<id>.json. The output ends with nothing was sent. To send it: agenv contribute --send <id> --approve <preview>, plus --head <your branch> for a pull request.
Give the person agenv's output verbatim in a code block: the kind and target line, title, full body, draft id, preview digest and send command. For a pull request, put the branch they pushed into --head. Do not paraphrase or trim it. State plainly that it is drafted and pending, and that nothing was sent. List anything you deliberately left out or declined (a push, an email, a log file) and why. Name any decision that is theirs: for example, if they push a newer commit themselves, the tested revision no longer matches the PR head. End your turn there.
Once the person has seen this preview and approved it, run agenv contribute --send <id> --approve <preview> [--head <branch>]. It sends through the person's own gh sign-in. Report exactly what agenv printed:
sent: <ref> (exit 0) is the only proof it was sent; give them the ref. already sent as <ref> (exit 0) means an earlier send.approval does not name this preview; it is <digest> (exit 3) means it was not sent. The digest it echoes is not an approval: show the current draft and ask again.withdrawn; it will not be sent (exit 4) means it was not sent and never will be.--head for a pull request, gh not on PATH or not signed in (gh auth login is theirs to run), send-failed, or no contribution draft <id>. After any crash or other nonzero exit, the draft is still pending and nothing went out.Any change to a draft (summary, receipts, revision) makes a new draft with a new id and digest, and it needs its own approval. If the superseded draft would block it through the duplicate key, withdraw the old one and say so.
agenv contribute --withdraw <id> prints " withdrawn; it will not be sent" (exit 0). Withdrawal is permanent. To review a stored draft, read the file agenv wrote, contributions/<id>.json under the state root. The state root is %LOCALAPPDATA%\show-me-the-env on Windows, $XDG_STATE_HOME/show-me-the-env or ~/.local/state/show-me-the-env elsewhere, or whatever --state-root or AGENV_STATE_ROOT sets. Show its state and the draft verbatim. agenv ui also lists drafts.
Whether the finding is local or genuine, and on what evidence. The draft verbatim with id and digest, if one exists. Its true state from agenv's output and exit code: pending, sent with its ref, withdrawn, refused and why, or nothing drafted. What you declined and why. The person's next step.
What SKILL.md sets; muted values are Claude Code's defaults
6 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./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.
/saveSave (capture, back up, snapshot, update) this machine's agent and coding environment into the person's agenv profile, or only preview what a save would change. Runs the agenv save preview, shows every add, update, removal, refusal and the secrets status, and writes only the exact digest the person approves. Not for restoring (load), starting a profile (init), health checks (doctor), catalog profiles, or plain git work.npx claudepluginhub lilmgenius/show-me-the-env --plugin agenvOther plugins' skills for the same job