Manages Tambo project setup and component installation via CLI. Agent-friendly with non-interactive mode and exit codes. Use when initializing projects, adding components, creating apps, or working with tambo init, tambo add, npx tambo, or the component library.
View on GitHubtambo-ai/tambo
tambo
February 5, 2026
Select agents to install to:
npx add-skill https://github.com/tambo-ai/tambo/blob/main/plugins/tambo/skills/cli/SKILL.md -a claude-code --skill cliInstallation paths:
.claude/skills/cli/# Tambo CLI Agent-friendly CLI for project setup and component management. ## Quick Start ```bash npx tambo init --api-key=sk_... # Initialize with API key npx tambo add message-thread-full --yes # Add a component npx tambo create-app my-app --template=standard # New app from template ``` ## Non-Interactive Mode The CLI detects non-interactive environments and returns guidance instead of hanging: ```bash # In CI or piped environments, this returns guidance (exit 2) instead of prompting npx tambo init # Error: Project name required. # Run one of: # tambo init --project-name=myapp # Create new project # tambo init --project-id=abc123 # Use existing project ``` ### Detection Logic Non-interactive when ANY of these are true: - `process.stdin.isTTY` is false (piped input) - `process.stdout.isTTY` is false (piped output) - `CI` environment variable is set - `GITHUB_ACTIONS=true` Override with `FORCE_INTERACTIVE=1` (requires real TTY). ### Exit Codes | Code | Meaning | | ---- | ----------------------------------------------------- | | 0 | Success | | 1 | Error (network, invalid args, etc.) | | 2 | User action required - check stderr for exact command | ## Commands for Agents ### Initialize Project ```bash # Option 1: Direct API key (simplest for agents) npx tambo init --api-key=sk_... # Option 2: Create new project (requires prior auth) npx tambo init --project-name=myapp # Option 3: Use existing project npx tambo init --project-id=abc123 # Skip all prompts with defaults npx tambo init --yes --project-name=myapp ``` ### Add Components ```bash npx tambo add form --yes # Skip confirmation npx tambo add form graph --yes # Multiple components npx tambo add form --prefix=src/components # Custom directory npx tambo add form --dry-run # Preview changes npx tambo add