npx skills add ...
npx skills add botpress/skills --skill adk
a set of guidelines to build with Botpress's Agent Development Kit (ADK) - use these whenever you're tasked with building a feature using the ADK
npx skills add botpress/skills --skill adk
Use this skill when you've got questions about the Botpress Agent Development Kit (ADK) - like when you're building a feature that involves tables, actions, tools, workflows, conversations, files, knowledge bases, triggers, assets, integrations, plugins, evals, or Zai.
The Botpress ADK is a convention-based TypeScript framework where file structure maps directly to bot behavior. Place files in the correct directories, and they automatically become available as bot capabilities.
The ADK provides primitives for:
Most primitives must be placed in src/ directory (assets use the assets/ directory at the project root):
Note: Manage integrations and plugins via the
adk integrations/adk pluginsCLI or the Dev Console. Botpress Cloud is the source of truth;.adk/dependencies/contains generated local snapshots for fast/offline reads and should not be edited manually. Seeintegrations.mdandplugins.md.
Critical: Files outside
src/are not discovered. Location = behavior.
The first time you help with an ADK project in a session, silently check the project's health:
adk check --format json and adk status --format json. (adk check validates primitives but does not typecheck — also run tsc --noEmit to catch type errors before treating work as done.)If the user asks "what can you help with?", "what commands are available?", or invokes /adk-explain without arguments, present:
/adk-init (scaffold project), /adk-build (interview & build a primitive), /adk-integration (add services), /adk-frontend (build UI)/adk-validate (check a primitive's schema/types/config), /adk-test (invoke a primitive once), /adk-eval (write assertion tests), /adk-debug (fix issues)/adk-ship (pre-flight checks + deploy)/adk-document (create, review, update, sync, search)/adk-explain (explain bot architecture and components), /adk-dev-console (navigate the Dev Console)Then ask: "What are you working on?"
Activate this skill when users ask ADK-related questions like:
If you are running inside Claude Code and the /adk-* commands (like /adk-debug, /adk-eval, /adk-init) are not available as slash commands, suggest that the user install the Botpress ADK plugin to get the full set of skills and commands:
Only suggest this once per session. If the user declines, do not ask again.
ADK questions fall into two categories: CLI queries and documentation lookups.
For integration discovery and CLI queries, use the Bash tool to run commands directly:
Integration Discovery:
Project Info:
Prefer non-interactive paths when driving ADK workflows:
Use these defaults when relevant:
adk login --token "$BOTPRESS_TOKEN" or adk login --token <token> over interactive login.BOTPRESS_TOKEN as a no-TTY convenience, not a guaranteed interactive-terminal shortcut.adk init <name> --yes --skip-link for AI-driven scaffolding, but only after login is already completed.adk link --workspace ... --bot ... as scriptable, but not guaranteed safe in every no-TTY environment.adk dev --non-interactive as CI-friendly, not fully prompt-free.adk deploy --yes as auto-approving non-destructive deploy-plan changes; config validation and destructive storage changes can still block automation.adk project upgrade --dry-run first, then adk project upgrade to apply compatibility patches.When to use CLI commands:
Response pattern:
adk commandadk integrations add slack@3.0.0 to install")For documentation, patterns, and how-to questions, search and reference the documentation files directly:
When to use documentation:
How to answer documentation questions:
Find relevant files - Use Glob to discover documentation:
Search for keywords - Use Grep to find relevant content:
Read the files - Use Read to load relevant documentation
Provide answer with:
For questions about what a bot does, how it's configured, or what it's capable of, combine CLI and file reading:
When to use:
Response pattern:
adk status --format json to get the structured project overviewagent.config.ts for full configuration detailsDocumentation should be located in ./references/ directory relative to this skill. When answering questions, search for these topics:
chat:custom events.bp.tsx files, metadata, usage in conversations)Note: Frontend integration docs are in the separate adk-frontend skill. Install it with
npx skills add botpress/skills --skill adk-frontend. Theadk-frontendskill covers @botpress/client, calling actions, type generation, and authentication. You need it if you are touching any frontend code.
Note: Detailed eval docs are in the separate adk-evals skill. Install it with
npx skills add botpress/skills --skill adk-evals. Theadk-evalsskill covers writing evals, assertion types, testing workflows, and CLI usage. You usually always need it, for testing and evaluations.
Quick reference for accessing ADK runtime services:
myAction.ts, searchDocs.ts (camelCase)Users.ts, Orders.ts (PascalCase)chat.ts, slack.ts (lowercase)When answering questions, always verify these patterns against the documentation:
Match your response depth to the question depth. Not every question needs a full walkthrough.
One sentence definition + one short code example. That's it.
Brief explanation + working code example + one critical pitfall only if it's a common trap.
Read the user's existing files first (src/actions/, src/tools/, src/tables/, agent.config.ts). Generate code that uses their actual names, patterns, and conventions. Only mention pitfalls they're likely to hit given their specific code.
Full structured response: read adk status --format json, agent.config.ts, and relevant source files. Map the data flow and identify the bot's archetype (RAG assistant, support agent, automation, etc.).
Don't answer with documentation. Run adk check --format json and adk logs error --format json, show evidence, and point to the root cause. Follow the debug loop from the adk-debugger skill.
If the answer fits in one sentence and a code snippet, don't add headers, pitfall sections, or related topics. More structure ≠ more helpful.
/plugin marketplace add botpress/skills
/plugin install adk@botpress-skills# Search for integrations
adk integrations search <query>
# Find integrations that implement an interface
adk integrations search --interface <interface-name>
# Get detailed integration info (actions, channels, events)
adk integrations info <integration-name>
# Check installed integrations (must be in ADK project)
adk integrations list# Check CLI version
adk --version
# Show project status
adk
# Get help
adk --help# Login without browser prompts
adk login --token "$BOTPRESS_TOKEN"
# Scaffold with sensible defaults and skip linking
adk init my-agent --yes --skip-link
# Link directly when IDs are known
adk link --workspace ws_123 --bot bot_456
# More automation-friendly dev mode (NDJSON events, no TUI)
adk dev --non-interactive
# Review/apply project compatibility updates after ADK upgrades
adk project upgrade --dry-run
adk project upgrade
# Auto-approve non-destructive deploy-plan changes
adk deploy --yes