Skip to content

basecamp/basecamp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

344 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basecamp Basecamp CLI

basecamp is the official command-line interface for Basecamp. Manage projects, todos, messages, and more from your terminal or through AI agents.

  • Works standalone or with any AI agent (Claude, Codex, Copilot, Gemini)
  • JSON output with breadcrumbs for easy navigation
  • OAuth authentication with automatic token refresh

Quick Start

brew install --cask basecamp/tap/basecamp
basecamp auth login

That's it. You now have full access to Basecamp from your terminal.

Other installation methods

Arch Linux / Omarchy (AUR):

yay -S basecamp-bin

Scoop (Windows):

scoop bucket add basecamp https://github.com/basecamp/homebrew-tap
scoop install basecamp

Shell script:

curl -fsSL https://raw.githubusercontent.com/basecamp/basecamp-cli/main/scripts/install.sh | bash

Go install:

go install github.com/basecamp/basecamp-cli/cmd/basecamp@latest

GitHub Release: download from Releases.

Usage

basecamp projects                     # List projects
basecamp todos --in 12345             # Todos in a project
basecamp todo --content "Fix bug" --in 12345  # Create todo
basecamp done 67890                   # Complete todo
basecamp search "authentication"      # Search across projects
basecamp cards --in 12345             # List cards (Kanban)
basecamp campfire post "Hello" --in 12345  # Post to chat

Output Formats

basecamp projects              # Styled output in terminal, JSON when piped
basecamp projects --json       # JSON with envelope and breadcrumbs
basecamp projects --quiet      # Raw JSON data only

JSON Envelope

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.

Authentication

OAuth 2.1 with automatic token refresh. First login opens your browser:

basecamp auth login              # Read-only access (default)
basecamp auth login --scope full # Full read/write access
basecamp auth token              # Print token for scripts

AI Agent Integration

basecamp works with any AI agent that can run shell commands.

Claude Code: claude plugin install basecamp — installs the plugin with skills, hooks, and agent workflow support.

Other agents: Point your agent at skills/basecamp/SKILL.md for Basecamp workflow coverage.

Agent discovery: Every command supports --help --agent for structured JSON output (flags, gotchas, subcommands). Use basecamp commands --json for the full catalog.

See install.md for step-by-step setup instructions.

Configuration

~/.config/basecamp/           # Your Basecamp identity
├── credentials.json          #   OAuth tokens (fallback when keyring unavailable)
├── client.json               #   DCR client registration
└── config.json               #   Global preferences

~/.config/basecamp/theme/     # Tool display (optional)
└── colors.toml               #   TUI color scheme

~/.cache/basecamp/            # Ephemeral tool data
├── completion.json           #   Tab completion cache
└── resilience/               #   Circuit breaker state

.basecamp/                    # Per-repo (committed to git)
└── config.json               #   Project, account defaults

Troubleshooting

basecamp doctor              # Check CLI health and diagnose issues
basecamp doctor --verbose    # Verbose output with details

Development

make build            # Build binary
make test             # Run Go tests
make test-e2e         # Run e2e tests
make lint             # Run linter
make check            # All checks (fmt-check, vet, lint, test, test-e2e)

See CONTRIBUTING.md for development setup.

License

MIT

About

Basecamp CLI and Agent Skills

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages