Update packages

From kamadorueda/machine · View interactive version

Update packages is an AI agent skill from the GitHub repository kamadorueda/machine. Update Claude Code and other npm packages in pkgs/

How to use this skill

Skill file

Update Packages

Update npm packages in the /data/machine/pkgs/ directory, including Claude Code.

Steps

  1. Update Claude Code dependencies

```

cd /data/machine/pkgs/claude-code && npm update

```

This updates the @anthropic-ai/claude-code dependency to the latest version and resolves transitive dependencies.

  1. Build the package to test

```

cd /data/machine && nix build .#packages.x86_64-linux.claude-code

```

This validates that the updated dependencies work correctly with the Nix build system.

  1. Verify the build

```

./result/bin/claude --version

```

Confirm the updated Claude Code is working properly.

  1. Update package-lock.json

After npm update, the package-lock.json should be updated. If changes are made to pkgs/claude-code/package-lock.json, commit them.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.