# Add to your Claude Code skills
git clone https://github.com/basecamp/basecamp-clibasecamp-cli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by basecamp. Basecamp CLI and Agent Skills. It has 302 GitHub stars.
basecamp-cli's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/basecamp/basecamp-cli" and add it to your Claude Code skills directory (see the Installation section above).
basecamp-cli is primarily written in Go. It is open-source under basecamp on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh basecamp-cli against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
basecamp is the official command-line interface for Basecamp. Manage projects, todos, messages, and more from your terminal or through AI agents.
macOS / Linux / WSL2
curl -fsSL https://basecamp.com/install-cli | bash
Windows (PowerShell)
irm https://raw.githubusercontent.com/basecamp/basecamp-cli/main/scripts/install.ps1 | iex
On Windows 11 with Smart App Control, see Troubleshooting if the install is blocked.
On an interactive terminal, the installer opens Basecamp setup: approve OAuth in your browser and the CLI uses the account granted by OAuth, otherwise preserves an existing account or selects the first available. It saves that account globally, clears the global project default, and connects every detected coding agent. Directory-specific and environment project settings continue to apply. Use basecamp setup --customize to choose those settings instead.
Brew / macOS
brew install --cask basecamp/tap/basecamp-cli
Arch Linux / Omarchy (AUR):
yay -S basecamp-cli
Linux (deb/rpm/apk):
# Download from https://github.com/basecamp/basecamp-cli/releases/latest
sudo apt install ./basecamp-cli_*_linux_amd64.deb # Debian/Ubuntu
sudo dnf install ./basecamp-cli_*_linux_amd64.rpm # Fedora/RHEL
sudo apk add --allow-untrusted ./basecamp-cli_*_linux_amd64.apk # Alpine
Arm64: substitute arm64 for amd64 in the filename. Verify the SHA-256 checksum from checksums.txt before installing unsigned Alpine packages.
Scoop (Windows):
scoop bucket add basecamp https://github.com/basecamp/homebrew-tap
scoop install basecamp-cli
Shell script (macOS / Linux / WSL2 / Git Bash):
curl -fsSL https://raw.githubusercontent.com/basecamp/basecamp-cli/main/scripts/install.sh | bash
Nix:
nix profile install github:basecamp/basecamp-cli
Go install:
go install github.com/basecamp/basecamp-cli/cmd/basecamp@latest
mise:
mise use --global github:basecamp/basecamp-cli@latest
GitHub Release: download from Releases.
basecamp upgrade
What happens depends on how the CLI was installed:
~/bin or ~/.local/bin): upgrades in place. The CLI downloads the release for your platform, verifies its Sigstore signature (the keyless checksums.txt.bundle published by the release pipeline, identity-pinned to the release workflow and tag) and SHA-256 checksum, swaps the executable transactionally, and confirms the installed binary reports the new version. On failure the previous binary is restored; in the worst case — restoration itself fails mid-swap — the error names the preserved backup file next to the binary so you can put it back by hand.brew upgrade --cask / scoop update, then verifies the manager-installed binary actually reports the new version.go install builds: never touched. basecamp upgrade exits nonzero with upgrade guidance for that install method (the exact command where it can be known, e.g. mise or go install; otherwise which package manager to use).basecamp upgrade exits 0 only when there is no update, or the update was applied and confirmed. Every other outcome is a structured failure ("ok": false in JSON) with one of these codes:
| Code | Meaning |
|---|---|
upgrade_required |
An update exists but the CLI won't apply it for this install method — the hint carries the right next step |
upgrade_incomplete |
The package manager exited 0 but the binary still reports the old version |
upgrade_unverified |
The upgrade may have worked, but the installed version could not be confirmed |
upgrade_failed |
The update check, download, signature/checksum verification, or executable swap failed — the previous binary remains installed (or the error names the preserved backup if restoration also failed) |
The install scripts verify release signatures when cosign is available: cosign v3 verifies the published bundle format as-is, v2.6+ is driven with --new-bundle-format=true, and older versions skip signature verification with a warning (SHA-256 checksums are always verified).
The first interactive basecamp run applies the recommended setup automatically after browser approval:
Run the same setup directly with basecamp setup. To choose the account, default project, config scope, and agent integrations, run:
basecamp setup --customize
basecamp projects list # List projects
basecamp todos list --in 12345 # Todos in a project
basecamp todos create "Fix bug" --in 12345 # Create todo
basecamp todos complete 67890 # Complete todo
basecamp cards done 67890 --in 12345 # Complete card (move to Done)
basecamp search "authentication" # Search across projects
basecamp files list --in 12345 # List docs & files
basecamp cards list --in 12345 # List cards (Kanban)
basecamp chat post "Hello" --in 12345 # Post to chat
basecamp pings post Jane "Lunch?" # Ping someone directly
basecamp comments create 67890 "@Jane.Smith, done!" # Comment with @mention
basecamp projects # Styled output in terminal, JSON when piped
basecamp projects --json # JSON with envelope and breadcrumbs
basecamp projects --quiet # Raw JSON data only
Every command supports --json for structured output:
{
"ok": true,
"data": [...],
"summary": "5 projects",
"breadcrumbs": [{"action": "show", "cmd": "basecamp projects show <id>"}]
}
Breadcrumbs suggest next commands, making it easy for humans and agents to navigate.
Errors use the same envelope with ok: false, a stable code, and retryable,
which says whether a retry can change the outcome:
{
"ok": false,
"error": "Gateway error (503)",
"code": "api_error",
"retryable": true,
"hint": "..."
}
Key order within the envelope is not part of the contract — the interactive (TTY) path re-encodes through a map and alphabetizes keys — so match on key names, never on position.
retryable is present on every error envelope — true when the CLI classified
the failure transient (network, timeout, rate limit, circuit open, and most
5xx/gateway responses — not all: 507 and some 500s are verdicts), false for a
verdict (usage, not found, auth, forbidden, validation, account limit) and for
any error nothing classified — and never on a success envelope. Key on it rather
than on the code or message when deciding whether to retry; false means no
known reason a retry would help, not a guarantee the failure is permanent.
OAuth 2.1 with automatic token refresh. First login opens your browser. When the server advertises the OAuth device flow, login uses it automatically: you approve a short code in the browser instead of a redirect. Login falls back to Launchpad's authorization-code flow only when no modern OAuth issuer is advertised for the server; once a modern issuer is selected, login failures surface loudly rather than silently falling back.
basecamp auth login # Authenticate with Basecamp (full access)
basecamp auth login --scope read # Read-only access (ignored by Launchpad)
basecamp auth login --scope full # Full read+write access (default; ignored by Launchpad)
basecamp auth token # Print token for scripts
--expect-identity <id> makes any login assert who it authenticated as: the
new credential is checked before it is stored, and on a mismatch nothing is
written (a profile's previous credential is untouched) and the command exits
non-zero. basecamp profile create <name> --expect-identity <id> does the same
for a profile that does not exist yet. --login-hint <email> names the account to sign in as on the
device-flow approval page (sent as login_hint; it steers the sign-in page and
never authenticates on its own; ignored by Launchpad).
A personal access token can be imported instead of running OAuth — the shape for bots, CI, and any machine that should never sign in interactively. The token is read from stdin (never an argument), verified against the server — who it authenticates as, and that it can reach the profile's account — and only then stored under a named profile, with whatever expiry the server reports for it:
op read "op://Vault/Item/credential" | basecamp auth login --with-token -P bot --account 999
op read "op://Vault/Item/credential" | basecamp auth login --with-token -P bot --account 999 --expect-identity 12345 --json
--account is required when the profile does not exist yet. --json returns
an envelope with the profile, account, identity and person, oauth_type,
scope, and `expir