Skip to main content

CLI and client library for the Wealthbox CRM API

Project description

Wealthbox CLI

Run your Wealthbox CRM through Claude or ChatGPT. Tell your AI agent "add a contact for Jane Doe, send her our welcome packet, and put a follow-up on my calendar for next Tuesday" — and it just happens. No coding, no Python, no terminal commands to memorize.

PyPI Downloads CI License: Apache 2.0

Unofficial, community-built. Not affiliated with or endorsed by Wealthbox.


Install (60 seconds, no Python required)

Platform Paste this into your terminal
Mac / Linux curl -LsSf https://raw.githubusercontent.com/massive-value/wealthbox-cli/main/scripts/install.sh | bash
Windows (PowerShell) irm https://raw.githubusercontent.com/massive-value/wealthbox-cli/main/scripts/install.ps1 | iex

The installer:

  1. Downloads the prebuilt wbox binary from the latest GitHub Release and verifies its SHA-256 checksum (no Python required).
  2. Installs the AI agent skill into Claude Code (and Codex, if you have it).
  3. Asks for your Wealthbox API token. Where to find it: in Wealthbox, click your initials in the top right → SettingsAPI AccessCreate Access Token. Paste the token when prompted.

That's it. Open Claude Code and try one of the prompts below.


Try this in Claude Code

"Show me my contacts created this week."

"Add Jane Doe as a new prospect — she came in as a referral from Bob Smith."

"Pull up the Smith household, add a task for me to call them on Monday."

"Find notes from my meeting with the Joneses last month and summarize the action items."

"Schedule an annual review with Mary Chen for the second Tuesday of next month."

The first time you ask the agent to do something, it'll walk you through a short Q&A about your firm's conventions (default contact types, naming patterns, common workflows). After that, it just works.

If you're new to Claude Code itself, download it here — it's free for personal use.


What it covers

Full read/write access for contacts (people, households, organizations, trusts), tasks, events, notes, opportunities, projects, and workflows. Read access for users, activity, and your firm's category lookups.

Anything you can do in Wealthbox manually, the agent can do for you — usually in one sentence.


How it works

Your AI agent uses a small command-line tool called wbox to talk to the Wealthbox CRM API. The skill that ships with this repo teaches the agent two things:

  1. Your firm's conventions — the agent walks you through a one-time Q&A on first use ("what's your default contact type for new prospects? what's your household naming convention?"), then remembers your answers. Stored locally on your machine, never sent to a server.
  2. The right command for each request — translating "add Jane as a prospect" into the correct API call, handling required fields, validating dropdowns against your firm's actual categories.

You stay in control: the agent shows you what it's about to do before it does it.


What gets installed, where

The installer drops a single prebuilt wbox binary onto your PATH (~/.local/bin/wbox on Mac/Linux, %LOCALAPPDATA%\Programs\wbox\wbox.exe on Windows), then registers the AI agent skill with Claude Code (and Codex, if it's installed). Firm data lives at ~/.config/wbox/firm/ (Mac/Linux) or %APPDATA%\wbox\firm\ (Windows) and survives reinstalls and upgrades. Run wbox doctor to see your install status anytime, and wbox skills upgrade to pull the latest skill template.


For developers and power users

Direct CLI use, scripting, automation
pip install wealthbox-cli
wbox config set-token

# List contacts as a table
wbox contacts list --format table

# Create a contact
wbox contacts add person --first-name Jane --last-name Doe --contact-type Client

# Export tasks to CSV
wbox tasks list --format csv > tasks.csv

# Add a meeting note linked to a contact
wbox notes add "Discussed retirement plan" --contact 12345

Full command reference: CLI Reference. Output formats: json (default), table, csv, tsv. Date format: ISO 8601 (2026-05-01T10:00:00-07:00). See Getting Started for pipx, env-var auth, and project-scoped installs.

Manage skill installs (legacy / Codex / project scope)
wbox skills install        # interactive picker — Claude Code, Codex, project scope
wbox skills bootstrap      # populate firm data from your Wealthbox account
wbox skills refresh        # re-fetch generated firm data (categories, users, custom fields)
wbox skills upgrade        # update the bundled SKILL.md / references in every install
wbox skills firm-path      # print the canonical firm data directory
wbox skills uninstall      # remove the skill template (firm data is preserved)
wbox doctor                # comprehensive health check

The one-line installer (top of this README) wires up Claude Code automatically. These commands are for the cases the installer doesn't cover: re-running on a different host, swapping platforms, project-scoped installs, or air-gapped setups where you've placed the wbox binary by hand.

Architecture and contributing
src/wealthbox_tools/
    cli/        # Typer commands
    client/     # Async HTTP client built from mixins
    models/     # Pydantic v2 input validation

Built with Typer, httpx, and Pydantic v2.

git clone https://github.com/massive-value/wealthbox-cli
cd wealthbox-cli
python -m venv .venv
# Activate: source .venv/bin/activate (Mac/Linux) | .venv\Scripts\Activate.ps1 (Windows)
pip install -e ".[dev]"
pytest

See CONTRIBUTING.md and CLAUDE.md for the architecture guide and conventions.

Troubleshooting
  • 401 Unauthorized — token expired or wrong. Run wbox config show to see the masked token, wbox config set-token to update.
  • Windows: "execution policy" error during install — the installer offers to fix this for you. If you skipped it, run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser and re-run the installer.
  • Linux: command not found after install — open a new terminal, or run source ~/.local/bin/env in your current shell.
  • Date format errors — Wealthbox needs ISO 8601: "2026-05-01T10:00:00-07:00" for datetimes, "YYYY-MM-DD" for date-only fields.
  • Writes succeed but nothing changes — some category-constrained fields silently no-op on bad values. Check valid values with wbox categories <type>.

For anything else, open an issue at github.com/massive-value/wealthbox-cli/issues.


Links

Documentation · Changelog · PyPI · Wealthbox CRM · Wealthbox API

Disclaimer

This is an unofficial, community-built tool. It is not affiliated with, endorsed by, or supported by Wealthbox or its parent company. "Wealthbox" is a trademark of its respective owner. Use of this tool is subject to the Wealthbox API Terms of Service.

License

Apache 2.0 — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wealthbox_cli-2.1.0.tar.gz (145.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wealthbox_cli-2.1.0-py3-none-any.whl (136.1 kB view details)

Uploaded Python 3

File details

Details for the file wealthbox_cli-2.1.0.tar.gz.

File metadata

  • Download URL: wealthbox_cli-2.1.0.tar.gz
  • Upload date:
  • Size: 145.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wealthbox_cli-2.1.0.tar.gz
Algorithm Hash digest
SHA256 fa7cfee2748bcc146da1d8d562dc004512761bfaa12ff95c03553d7e544fd713
MD5 ecdb4d7c5818f2dcd0c21458687d71e5
BLAKE2b-256 c54e1134076ff1cb5cf89ae2f8ec58feeb19ade4e064f7ac8e759eafc6262df7

See more details on using hashes here.

Provenance

The following attestation bundles were made for wealthbox_cli-2.1.0.tar.gz:

Publisher: ci.yml on massive-value/wealthbox-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wealthbox_cli-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: wealthbox_cli-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 136.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wealthbox_cli-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b8db6e7c816e3d24a2d78d64a2a933ccacb50fce943f39eb72bbb2505c6e1da
MD5 dccd3f555dfa171d76666e9ea7baa41f
BLAKE2b-256 15fbc03f7a49e16c7ef845d37e7f3bb4ff0ef53cf5c82d0887a42fc2f16403e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for wealthbox_cli-2.1.0-py3-none-any.whl:

Publisher: ci.yml on massive-value/wealthbox-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page