dev-update-env
Audit and update the CLI tools, MCP servers, and system packages on a macOS or Linux dev machine.
Skill by itgenius-au
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/itgenius-au-dev-update-env
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/dev-update-env
What's inside
- Skill name
dev-update-env- Description
- Audit and update the CLI tools, MCP servers, and system packages on a macOS or Linux dev machine. Detects what is installed (npm, uv, pipx, Homebrew, apt, dnf), compares installed vs latest versions, presents one summary table, and runs updates only after confirmation. Triggers on: update environment, update env, check updates, update tools, update mcps, update servers, upgrade everything, env audit, tool audit, version check.
- License
- MIT
- Instructions
- 174 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Update Environment - CLI Tools, MCP Servers & Package Audit Full environment audit and update workflow. It detects which tools and package managers exist on this machine, checks each for a newer version, presents one report, and runs updates after the user confirms. Works on macOS and Linux. Nothing is assumed to be installed: a missing tool is skipped, not treated as an error. If an argument names one tool, audit and update only that tool. ## Phase 0: Detect the platform Run this first. Every later phase branches on the result. ```bash uname -s # Darwin = macOS, Linux = Linux for c in brew apt-get dnf pacman npm pnpm yarn uv pipx pip3 pyenv nvm; do command -v "$c" >/dev/null 2>&1 && echo "have: $c" done ``` - **System package manager**: `brew` (macOS, and Linuxbrew), else `apt-get` (Debian/Ubuntu), else `dnf` (Fedora/RHEL), else `pacman` (Arch). Use the first one found. If none is found, skip the system-package section and say so in the report. - **Language-level managers**: `npm` for global Node CLIs, `uv` or `pipx` for Python CLIs. Skip any that are missing. - Do not install a missing package manager. Report it as "not installed" and move on. ## Phase 1: Audit (read-only, run the checks in parallel) Every command in this phase only reads state. Capture each result for the report. Redirect stderr to `/dev/null` so a missing tool produces no noise, and treat empty output as "not installed". ### Core CLI tools For each tool below, run its version command only if the tool is on `PATH` (`command -v <tool>`). Then look up the latest version where a registry makes that possible. | Tool | Installed version | Latest version | |---|---|---| | Claude Code | `claude --version` | `npm view @anthropic-ai/claude-code version` | | Node.js | `node --version` | informational (managed by a version manager or the system package manager) | | npm | `npm --version` | informational | | Python 3 | `python3 --version` | informational | | uv | `uv --version` | informational (`uv self update` updates it if it was installed by its own installer) | | pipx | `pipx --version` | informational | | Google Cloud CLI | `gcloud --version \| head -1` | informational | | GitHub CLI | `gh --version \| head -1` | `gh release list -R cli/cli -L 1` | | jq | `jq --version` | informational | | OpenAI Codex CLI | `codex --version` | `npm view @openai/codex version` | | Google Gemini CLI | `gemini --version` | `npm view @google/gemini-cli version` | Add any other CLI the user names (the same pattern works: version command, plus a registry lookup if one exists). A tool that the user installed by hand and that has no registry entry is reported as "Unknown". ### Globally installed packages ```bash npm ls -g --depth=0 2>/dev/null # global npm packages npm outdated -g 2>/dev/null # which of them have a newer version uv tool list 2>/dev/null # uv-managed Python tools pipx list --short 2>/dev/null # pipx-managed Python tools ``` For a uv or pipx tool, find the latest version with `pip index versions <pkg> 2>/dev/null` (or `uv pip index versions <pkg>`). ### MCP servers Read the MCP server configuration to list every configured server. Look in these files, and skip any that do not exist: - `~/.claude.json` (user and project scope) - `~/.claude/settings.json` - `.mcp.json` in the current project You can also run `claude mcp list` to see the configured servers. Categorize each server by how it is launched: - **npx-based** (`command: npx`): "Auto-latest". It fetches the newest version on each run, so no action is needed. A pinned version (`pkg@1.2.3`) is the exception: report the pin and the latest version. - **uv or uvx-based**: if installed with `uv tool`, compare against the latest like any uv tool. `uvx` runs fetch on demand. - **pipx-based**: compare installed vs latest. - **HTTP or SSE remote** (`url:` instead of `command:`): "Remote". The version lives on the server, so no local update is possible. - **Local binary or script** at a fixed path: report "Unknown" unless you can read a version from it. ### System packages Run only the one that matches the manager found in Phase 0: ```bash brew outdated # Homebrew (macOS or Linuxbrew) apt list --upgradable 2>/dev/null # Debian/Ubuntu (does not need sudo) dnf check-update 2>/dev/null # Fedora/RHEL (exit code 100 means updates exist) pacman -Qu 2>/dev/null # Arch ``` On Debian/Ubuntu, `apt list --upgradable` shows what a previous `apt-get update` already fetched. Refreshing the package index needs `sudo`, so offer it in Phase 3 instead of running it silently. ### Claude Code special note Updating Claude Code replaces the program that is running this session. Flag it in the report, but never auto-update it. Handle it separately, with explicit confirmation. ## Phase 2: Report Present a clean summary table: | Tool | Installed | Latest | Status | |------|-----------|--------|--------| Status values: - **Current**: installed matches latest. - **OUTDATED**: an update is available (bold it). - **Unknown**: the latest version cannot be determined. - **Auto-latest**: npx-based, always fetches the latest. - **Remote**: server-side, no local update. - **Not installed**: not on this machine (list these at the end in one line, not as rows). Group the results into three sections: 1. **Updates available (actionable)**: installed is older than latest. These are updated if the user confirms. 2. **Current (no action needed)**. 3. **Unknown / Remote / Auto-latest (informational)**. Before the table, state the platform and which package managers you found, so the user can see what was and was not checked. ## Phase 3: Update (only after confirmation) After the report, ask:
From itgenius-au/skills-library, MIT.
More from itgenius-au/skills-library
- 0.592score
dev-brainstorming
itgenius-au
Turn a vague idea into a concrete, approved design or spec through collaborative dialogue.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
plugin-fresh-install-test
itgenius-au
Test what a teammate on a brand-new machine actually gets from a Claude Code plugin (skills, SessionStart context, PreToolUse guards) - with a throwaway…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
dev-deploy-safely
itgenius-au
Use before production, shared staging, or preview deploys.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-debugging
itgenius-au
The house debugging discipline for a bug or unexpected behaviour: reproduce it on demand, form one testable hypothesis, isolate the cause with evidence…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-auto-build
itgenius-au
Autonomously execute a plan/runbook end to end using a rigorous multi-model method: an AI build agent (e.g.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-qa-verify
itgenius-au
The verification-before-completion gate: prove a change works on the real surface before anything is called done.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-writing-plans
itgenius-au
Turn a spec into a granular, dependency-ordered implementation plan with a file-structure map, right-sized tasks, verification criteria, risk/rollback flags…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
exec-summary
itgenius-au
Turn complex content into a short plain-language executive summary in Simplified Technical English: 3-5 key points, numbered decisions each with a…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
machine-move
itgenius-au
Live multi-machine sync (the daily driver) OR one-time new-machine setup.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
ai-debate
itgenius-au
ALIAS - renamed to review-debate.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
gemini-review
itgenius-au
ALIAS - renamed to review-with-gemini.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
fable-review
itgenius-au
ALIAS - renamed to review-with-claude.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Oct 22, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/itgenius-au/skills-library
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from itgenius-au
- 0.592score
dev-deploy-safely
itgenius-au
Use before production, shared staging, or preview deploys.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
dev-brainstorming
itgenius-au
Turn a vague idea into a concrete, approved design or spec through collaborative dialogue.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
plugin-fresh-install-test
itgenius-au
Test what a teammate on a brand-new machine actually gets from a Claude Code plugin (skills, SessionStart context, PreToolUse guards) - with a throwaway…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-qa-verify
itgenius-au
The verification-before-completion gate: prove a change works on the real surface before anything is called done.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-auto-build
itgenius-au
Autonomously execute a plan/runbook end to end using a rigorous multi-model method: an AI build agent (e.g.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
dev-writing-plans
itgenius-au
Turn a spec into a granular, dependency-ordered implementation plan with a file-structure map, right-sized tasks, verification criteria, risk/rollback flags…
SkillAFreshness: A★ 1Claude Code +9
Cite this page
dev-update-env skill. Agent Mart. https://agentmart.dev/skills/itgenius-au-dev-update-env (last updated 2026-10-24)