@applydigital/claude
v1.2.1
Published
Apply Digital's AI coding assistant CLI — a Claude Enterprise harness for Apply Digital developers with BMAD support, multi-agent orchestration (Claude, Gemini, OpenCode), and secure Google SSO via Anthropic.
Maintainers
Readme
▐▛███▜▌
▝▜█████▛▘
▘▘ ▝▝APPLY Claude CLI
The official AI coding CLI for APPLY engineers. One install brings Claude Enterprise, BMAD scaffolding, and every AI agent your team needs — authenticated via your APPLY Google account, no API keys required.
Why APPLY Claude?
APPLY Claude is the all-in-one AI coding assistant built for our engineering teams.
- Zero friction setup — run
applydigital-claudeonce, sign in with Google, start coding. That's it. - Claude Enterprise included — credits are provisioned per-seat through Anthropic. No personal billing, no API keys stored anywhere.
- BMAD by default — every project gets offered BMAD scaffolding on first init, so teams start with the same AI-driven delivery structure.
- Multiple agents, one config — Claude Code, Gemini, OpenCode, and a built-in LangGraph agent all share one login and one profile.
- Smart token guardrails — built-in hooks prevent Opus from being used for web research or PDF reading, nudging engineers toward cost-efficient Sonnet and Haiku.
- APPLY orange — ADA, our cheeky monkey mascot, greets you in APPLY brand colors. Small thing. Makes it ours.
Quick Start
# Install globally
npm install -g @applydigital/claude
# 1. First run — walks through sign-in and BMAD setup
applydigital-claude
# 2. After setup, same command launches Claude directly
applydigital-claude
# 3. Health check
applydigital-claude doctor
# 4. Force re-run setup (switch accounts, change config)
applydigital-claude setup --forceInstallation
Global (recommended)
npm install -g @applydigital/claudeRequires Node.js ≥ 20.0.0.
From source
git clone https://github.com/applydigital/applydigital-claude.git
cd applydigital-claude
npm install
npm run build && npm link
applydigital-claude doctorUsage
First run — setup wizard
applydigital-claude with no arguments detects whether you're configured:
- Not configured yet → runs the interactive setup wizard (sign in via Google SSO, optional BMAD init)
- Already configured → launches Claude Code directly
applydigital-claude # setup or launch
applydigital-claude setup --force # re-run wizardClaude Code (primary agent)
ad-claude # interactive session
ad-claude --task "add pagination to /users" # single task, then exitIDE integration (ACP)
ad-claude-acp # Claude ACP protocol — works with Zed, JetBrains, EmacsZed (~/.config/zed/settings.json):
{ "agent_servers": { "claude": { "command": "ad-claude-acp" } } }IntelliJ IDEA:
{ "agent_servers": { "Claude": { "command": "ad-claude-acp" } } }Other agents
ad-gemini # Google Gemini CLI
ad-opencode # OpenCode
ad-mcp-proxy # MCP stdio ↔ HTTP bridgeBMAD scaffolding
# Add BMAD to any project
applydigital-claude framework init bmad
# Re-initialize (overwrite existing scaffold)
applydigital-claude framework init bmad --forceCommands
applydigital-claude # setup (first run) or launch Claude
applydigital-claude setup # run setup wizard
applydigital-claude setup --force # force re-setup
applydigital-claude doctor # health check and diagnostics
applydigital-claude list # list available agents
applydigital-claude install claude # upgrade bundled Claude Code
applydigital-claude install claude 2.1.112 # pin specific version
applydigital-claude profile list # show configured profiles
applydigital-claude framework init bmad # add BMAD to current project
applydigital-claude analytics # view usage (sessions, tokens, costs)
applydigital-claude workflow <cmd> # manage CI/CD workflows
applydigital-claude self-update # update the CLI itselfClaude Enterprise & credits
APPLY provisions Claude Enterprise seats through Anthropic. Monthly credit allocation is enforced server-side — the CLI never stores API keys or touches billing.
When credits run out:
╔══════════════════════════════════════════════════════════╗
║ ⚠️ Claude Enterprise credits exhausted for this month ║
║ Contact your APPLY Claude admin for an increase ║
╚══════════════════════════════════════════════════════════╝Escalate to the APPLY Claude admin for a quota increase.
Token guardrails
A built-in PreToolUse hook blocks WebFetch, WebSearch, and PDF reads when the active model is Opus:
⚠️ Please use Sonnet or Haiku models for reading and researching to optimize tokens. Switch with
/modelinside this session.
Switch models at any time inside a Claude session with /model.
Configuration
Profiles are stored in ~/.codemie/codemie-cli.config.json. The default APPLY profile:
{
"version": 2,
"activeProfile": "apply-digital",
"profiles": {
"apply-digital": {
"provider": "anthropic-subscription",
"model": "claude-sonnet-4-6",
"haikuModel": "claude-haiku-4-5-20251001",
"sonnetModel": "claude-sonnet-4-6",
"opusModel": "claude-opus-4-6-20260205"
}
}
}Priority: CLI args > env vars > local config > global config > defaults
Architecture
Five-layer plugin architecture — agents, providers, and frameworks are independent plugins that auto-register on import:
CLI (Commander.js)
└─ Registry (agents · providers · frameworks)
└─ Plugin (Claude · Gemini · anthropic-subscription · BMAD · …)
└─ Core (base classes · interfaces · lifecycle hooks)
└─ Utils (errors · logging · security · processes)Development
| Script | Purpose |
|--------|---------|
| npm run dev | TypeScript watch mode |
| npm run build | Compile + copy plugin assets |
| npm run lint | ESLint (zero warnings) |
| npm run typecheck | tsc without emit |
| npm test | Vitest unit tests |
| npm run ci | Full pipeline: lint → build → test |
License
Apache 2.0 — see LICENSE.
