Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .prototools
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
actionlint = "1.7.12"
blender = "4.5.11"
buf = "1.71.0"
claude = "2.1.191"
cloud-provider-kind = "0.10.0"
cwic = "1.33.0"
direnv = "2.37.1"
Expand All @@ -24,6 +25,7 @@ yq = "4.53.3"
actionlint = "file://./actionlint/plugin.toml"
blender = "file://./blender/plugin.toml"
buf = "file://./buf/plugin.toml"
claude = "file://./claude/plugin.toml"
cloud-provider-kind = "file://./cloud-provider-kind/plugin.toml"
cwic = "file://./cwic/plugin.toml"
direnv = "file://./direnv/plugin.toml"
Expand Down
30 changes: 30 additions & 0 deletions claude/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# claude plugin

[Claude Code](https://code.claude.com/docs) (Anthropic's agentic coding CLI)
plugin for [proto](https://github.com/moonrepo/proto).

## Installation

claude is not built into proto, so register this plugin, pin a version, then
install:

```shell
proto plugin add claude "https://raw.githubusercontent.com/Genesis-Embodied-AI/proto-plugins/main/claude/plugin.toml"
proto pin claude <version> --resolve
proto install claude
```

## Picking a version

Versions track Claude Code's GitHub release tags
(<https://github.com/anthropics/claude-code/releases>). The current release is
also published at
<https://downloads.claude.ai/claude-code-releases/latest>.

## Notes

- Binaries are served from `https://downloads.claude.ai/claude-code-releases/`
as a single executable per platform (no archive). Linux uses the static
`musl` build so it runs on both glibc and musl hosts.
- Upstream publishes checksums only inside a per-version `manifest.json`, which
the TOML plugin format cannot parse, so installs are not checksum-verified.
29 changes: 29 additions & 0 deletions claude/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name = "claude"
type = "cli"

[resolve]
git-url = "https://github.com/anthropics/claude-code"

[install.arch]
aarch64 = "arm64"
x86_64 = "x64"

# Claude Code ships a single prebuilt binary per platform (no archive), served
# from downloads.claude.ai under a {version}/{platform}/<binary> path. The Linux
# build uses the static musl variant so it runs on both glibc and musl hosts.
# Per-version checksums exist only inside a manifest.json (keyed JSON), which the
# TOML plugin format cannot parse, so no checksum-url is published here.
[platform.linux]
download-file = "linux-{arch}-musl/claude"
exe-path = "claude"

[platform.macos]
download-file = "darwin-{arch}/claude"
exe-path = "claude"

[platform.windows]
download-file = "win32-{arch}/claude.exe"
exe-path = "claude.exe"

[install]
download-url = "https://downloads.claude.ai/claude-code-releases/{version}/{download_file}"