Token导航 LogoToken导航

Agent Skill · 研究检索

adk(广告)

adk 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

adk 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 11,985。

总安装 10,690周安装 441GitHub Stars 11下载 3,493核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:adk(广告)
来源仓库:https://github.com/botpress/skills
仓库路径:skills/adk
安装命令:
npx skills add https://github.com/botpress/skills --skill adk
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/botpress/skills --skill adk

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

提供 Botpress Agent Development Kit 开发规范与最佳实践指导。适用于构建表格、动作、工作流、对话与知识库等功能模块。帮助理解文件结构映射到 bot 能力的约定式开发模式。需熟悉 TypeScript 与 Botpress 生态方可有效使用。

adk 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/adk

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/botpress/skills --skill adk;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

adk 怎么安装?

在终端执行 npx skills add https://github.com/botpress/skills --skill adk。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

adk 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

adk 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

adk 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

adk 用的人多吗?

公开数据是累计安装 10,690 次,近一周安装 441 次,下载 3,493 次,GitHub 11 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

adk 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
adk

广告 · 本页

10,69011操作浏览器MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Botpress ADK Guidelines

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, evals, or Zai.

What is the ADK?

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:

  • Actions & Tools (reusable functions and AI-callable tools)
  • Workflows (long-running, resumable processes)
  • Conversations (message handling)
  • Tables (data storage with semantic search)
  • Files (file storage with semantic search)
  • Knowledge Bases (RAG implementation)
  • Triggers (event-driven automation)
  • Assets (static files with permanent URLs)
  • Zai (production-ready LLM utility library for common AI operations)

Project Structure (Convention-Based)

Most primitives must be placed in src/ directory (assets use the assets/ directory at the project root):

/                      # Project root
├── assets/            # Static files → synced to Botpress Cloud with permanent URLs
├── src/
│   ├── actions/       # Strongly-typed functions → auto-registered
│   ├── tools/         # AI-callable tools → available via execute()
│   ├── workflows/     # Long-running processes → resumable/scheduled
│   ├── conversations/ # Message handlers → routes by channel
│   ├── tables/        # Database schemas → auto-created with search
│   ├── triggers/      # Event handlers → subscribe to events
│   ├── knowledge/     # Knowledge bases → RAG with semantic search
│   └── utils/         # Shared helpers (not auto-registered)
└── agent.config.ts    # Bot configuration (includes integrations)
Note: dependencies.json was removed in ADK 1.9+. All configuration including integrations now lives in agent.config.ts.
Critical: Files outside src/ are not discovered. Location = behavior.

Session Start

The first time you help with an ADK project in a session, silently check the project's health:

  1. Run adk check --format json and adk status --format json.
  2. If there are errors or warnings (unconfigured integrations, missing models, validation issues), proactively mention them before answering the user's question: *"Before we start — I noticed [issue]. Want me to help fix that?"*
  3. Only do this once per session. Don't re-run on every question.

Available Commands

If the user asks "what can you help with?", "what commands are available?", or invokes /adk-explain without arguments, present:

  • Build: /adk-init (scaffold project), /adk-build (interview & build a primitive), /adk-integration (add services), /adk-frontend (build UI)
  • Test & Debug: /adk-validate (check a primitive's schema/types/config), /adk-test (invoke a primitive once), /adk-eval (write assertion tests), /adk-debug (fix issues)
  • Ship: /adk-ship (pre-flight checks + deploy)
  • Document: /adk-document (create, review, update, sync, search)
  • Understand: /adk-explain (explain bot architecture and components), /adk-dev-console (navigate the Dev Console)

Then ask: *"What are you working on?"*

When to Use This Skill

Activate this skill when users ask ADK-related questions like:

  • "How do I create an Action/Tool/Workflow/Conversation?"
  • "What is the difference between X and Y?"
  • "Show me an example of..."
  • "How do I configure...?"
  • "What's the CLI command for...?"
  • "How do I use the Context API?"
  • "How do I call integration actions?"
  • "How do I use Zai for [extract/check/label/etc]?"
  • "What are the best practices for...?"
  • "How do I avoid common mistakes?"
  • "How do I handle ticket assignment/escalation?"
  • "Explain my config"
  • "What does my bot do?"
  • "What models am I using?"
  • "What integrations do I have?"
  • "What state does my bot track?"

Plugin Installation Prompt

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:

/plugin marketplace add botpress/skills
/plugin install adk@botpress-skills

Only suggest this once per session. If the user declines, do not ask again.

How to Answer ADK Questions

ADK questions fall into two categories: CLI queries and documentation lookups.

Option 1: Direct CLI Commands (FAST - Use First!)

For integration discovery and CLI queries, use the Bash tool to run commands directly:

Integration Discovery:

# Search for integrations
adk search <query>

# List all available integrations
adk list --available

# Get detailed integration info (actions, channels, events)
adk info <integration-name>

# Check installed integrations (must be in ADK project)
adk list

Project Info:

# Check CLI version
adk --version

# Show project status
adk

# Get help
adk --help

Prefer non-interactive paths when driving ADK workflows:

# 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
adk dev --logs --no-open

# Auto-approve preflight changes only
adk deploy --yes

Use these defaults when relevant:

  • Prefer adk login --token "$BOTPRESS_TOKEN" or adk login --token <token> over interactive login.
  • Treat bare BOTPRESS_TOKEN as a no-TTY convenience, not a guaranteed interactive-terminal shortcut.
  • Prefer adk init <name> --yes --skip-link for AI-driven scaffolding, but only after login is already completed.
  • Treat adk link --workspace... --bot... as scriptable, but not guaranteed safe in every no-TTY environment.
  • Treat adk dev --logs --no-open as CI-friendly, not fully prompt-free.
  • Treat adk deploy --yes as auto-approving preflight only; config validation can still block automation.

When to use CLI commands:

  • "What integrations are available?"
  • "Search for Slack integration"
  • "Show me details about the Linear integration"
  • "What actions does the Slack integration have?"
  • "What version of ADK am I using?"
  • "How do I add an integration?"

Response pattern:

  1. Use Bash tool to run the appropriate adk command
  2. Parse and present the output to the user
  3. Optionally suggest next steps (e.g., "Run adk add slack@3.0.0 to install")

Option 2: Documentation Questions (For Conceptual Questions)

For documentation, patterns, and how-to questions, search and reference the documentation files directly:

When to use documentation:

  • "How do I create a workflow?"
  • "What's the difference between Actions and Tools?"
  • "Show me an example of using Zai"
  • "What are best practices for state management?"
  • "How do I fix this error?"
  • "What's the pattern for X?"

How to answer documentation questions:

  1. Find relevant files - Use Glob to discover documentation: pattern: **/references/*.md
  2. Search for keywords - Use Grep to find relevant content: pattern: <keyword from user question> path: <path to references directory from step 1> output_mode: files_with_matches
  3. Read the files - Use Read to load relevant documentation
  4. Provide answer with:

- Concise explanation - Code examples from the references - File references with line numbers (e.g., "From references/actions.md:215") - Common pitfalls if relevant - Related topics for further reading

Option 3: Config Explanation (CLI + File Reading)

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:

  • "What does my bot do?"
  • "Explain my config"
  • "What models am I using?"
  • "What integrations do I have?"
  • "What state does my bot track?"

Response pattern:

  1. Run adk status --format json to get the structured project overview
  2. Read agent.config.ts for full configuration details
  3. Follow the explanation patterns in references/explain-config.md
  4. Produce a structured explanation covering metadata, models, integrations, state, and primitives
  5. Flag any issues (unconfigured integrations, missing models, hardcoded secrets)

Available Documentation

Documentation should be located in ./references/ directory relative to this skill. When answering questions, search for these topics:

Core Concepts

  • actions.md - Actions with strong typing and validation
  • tools.md - AI-callable tools and Autonomous namespace
  • workflows.md - Workflows and step-based execution
  • conversations.md - Conversation handlers and message routing
  • triggers.md - Event-driven automation
  • messages.md - Sending messages and events

Data & Content

  • tables.md - Data storage with semantic search
  • files.md - File storage and management
  • knowledge-bases.md - RAG implementation
  • assets.md - Static files with permanent URLs and sync lifecycle
  • zai-complete-guide.md - Complete ZAI developer guide
  • zai-agent-reference.md - Quick ZAI reference

Configuration & Integration

  • agent-config.md - Bot configuration and state management
  • explain-config.md - How to interpret and explain an agent's configuration to developers
  • model-configuration.md - AI model configuration reference
  • context-api.md - Runtime context access
  • integration-actions.md - Using integration actions
  • tags.md - Entity tags for bot, user, conversation, and workflow
  • cli.md - Complete CLI command reference
  • mcp-server.md - MCP server for AI assistants
  • desk.md - Desk integration for ticket/support workflows
  • integrations.md - Integration management overview (points to adk-integrations skill)

Patterns & Best Practices

  • advanced-patterns.md - Guardrails, admin auth, logging/observability, extension composition
  • patterns-mistakes.md - Common mistakes, correct patterns, and context access reference

Integration Management

Note: Full integration lifecycle docs (discovery, adding, configuring, and using integrations) are in the separate adk-integrations skill. Install it with npx skills add botpress/skills --skill adk-integrations. The adk-integrations skill covers adk search, adk add, adk info, configuration types, and common integrations. You need it if you are touching integrations.

Frontend Integration

Note: Frontend integration docs are in the separate adk-frontend skill. Install it with npx skills add botpress/skills --skill adk-frontend. The adk-frontend skill covers @botpress/client, calling actions, type generation, and authentication. You need it if you are touching any frontend code.

Evals

Note: Detailed eval docs are in the separate adk-evals skill. Install it with npx skills add botpress/skills --skill adk-evals. The adk-evals skill covers writing evals, assertion types, testing workflows, and CLI usage. You usually always need it, for testing and evaluations.

Runtime Access Patterns

Quick reference for accessing ADK runtime services:

Imports

// Always import from @botpress/runtime
import {
  Action,
  Autonomous,
  Workflow,
  Conversation,
  z,
  actions,
  adk,
  user,
  bot,
  conversation,
  configuration,
  context,
} from "@botpress/runtime";

State Management

// Bot state (defined in agent.config.ts)
bot.state.maintenanceMode = true;
bot.state.lastDeployedAt = new Date().toISOString();

// User state (defined in agent.config.ts)
user.state.preferredLanguage = "en";
user.state.onboardingComplete = true;

// User tags
user.tags.email; // Access user metadata

Calling Actions

// Call bot actions
await actions.fetchUser({ userId: "123" });
await actions.processOrder({ orderId: "456" });

// Call integration actions
await actions.slack.sendMessage({ channel: "...", text: "..." });
await actions.linear.issueList({ teamId: "..." });

// Convert action to tool
tools: [fetchUser.asTool()];

Context API

// Get runtime services
const client = context.get("client"); // Botpress client
const cognitive = context.get("cognitive"); // AI model client
const citations = context.get("citations"); // Citation manager

File Naming

  • Actions/Tools/Workflows: myAction.ts, searchDocs.ts (camelCase)
  • Tables: Users.ts, Orders.ts (PascalCase)
  • Conversations/Triggers: chat.ts, slack.ts (lowercase)

Critical ADK Patterns (Always Reference in Answers)

When answering questions, always verify these patterns against the documentation:

Package Management

# All package managers are supported
bun install       # Recommended (fastest)
npm install       # Works fine
yarn install      # Works fine
pnpm install      # Works fine

# ADK auto-detects based on lock files
# - bun.lockb → uses bun
# - package-lock.json → uses npm
# - yarn.lock → uses yarn
# - pnpm-lock.yaml → uses pnpm

Imports

// ✅ CORRECT - Always from @botpress/runtime
import { Action, Autonomous, Workflow, z } from "@botpress/runtime";

// ❌ WRONG - Never from zod or @botpress/sdk
import { z } from "zod"; // ❌ Wrong
import { Action } from "@botpress/sdk"; // ❌ Wrong

Export Patterns

// ✅ Both patterns work - export const is recommended
export const myAction = new Action({ ... });  // Recommended
export default new Action({ ... });           // Also valid

// Why export const?
// - Enables direct imports: import { myAction } from "./actions/myAction"
// - Can pass to execute(): tools: [myAction.asTool()]

Actions

// ✅ CORRECT - Handler receives { input, client }
export const fetchUser = new Action({
  name: "fetchUser",
  async handler({ input, client }) {  // ✅ Destructure from props
    const { userId } = input;         // ✅ Then destructure fields
    return { name: userId };
  }
});

// ❌ WRONG - Cannot destructure input fields directly
handler({ userId }) {  // ❌ Wrong - must be { input }
  return { name: userId };
}

Tools

// ✅ CORRECT - Tools CAN destructure directly
export const myTool = new Autonomous.Tool({
  handler: async ({ query, maxResults }) => {
    // ✅ Direct destructuring OK
    return search(query, maxResults);
  },
});

Conversations

// ✅ CORRECT - Use conversation.send() method
await conversation.send({
  type: "text",
  payload: { text: "Hello!" }
});

// ❌ WRONG - Never use client.createMessage() directly
await client.createMessage({ ... });  // ❌ Wrong

Conversation Handler Types

// Handler receives typed context based on the event type:
// type: "message" | "event" | "workflow_request" | "workflow_callback"
async handler({ type, message, event, request, completion, conversation, execute }) {
  if (type === "workflow_request") {
    // event: WorkflowDataRequestEventType, request: WorkflowRequest
    await request.workflow.provide("email", { email: "..." });
  }
  if (type === "workflow_callback") {
    // event: WorkflowCallbackEventType, completion: WorkflowCallback
    console.log(completion.status); // "completed" | "failed" | "canceled" | "timed_out"
  }
}

// ⚠️ isWorkflowDataRequest() and isWorkflowCallback() are deprecated
// Use type === "workflow_request" / "workflow_callback" instead

Examples of Questions This Skill Answers

Beginner Questions

  • "What is an Action?"
  • "How do I create my first workflow?"
  • "What's the difference between Actions and Tools?"

Implementation Questions

  • "How do I access the Botpress client?"
  • "How do I use citations in RAG?"
  • "What's the syntax for searchable table columns?"
  • "How do I call a Slack integration action?"
  • "How do I use Zai to extract structured data?"
  • "How do I validate content with Zai?"

Advanced Pattern Questions

  • "How do I add guardrails to prevent hallucinations?"
  • "How do I implement admin authentication?"
  • "How do I add logging and observability?"
  • "How do I compose multiple extensions?"
  • "How do I manage context in async tool handlers?"

Troubleshooting Questions

  • "Why am I getting 'Cannot destructure property' error?"
  • "How do I fix import errors?"
  • "What's wrong with my workflow state access?"

Best Practices Questions

  • "What are common mistakes to avoid?"
  • "How should I structure my project?"
  • "What's the recommended pattern for X?"

Response Format

Match your response depth to the question depth. Not every question needs a full walkthrough.

Conceptual Questions ("what is X?", "what's the difference between X and Y?")

One sentence definition + one short code example. That's it.

Knowledge bases add RAG to your bot — place markdown or PDF files in `src/knowledge/` and they become queryable with semantic search.

import { Autonomous } from '@botpress/runtime'
export default new Autonomous.Tool({
  handler: async ({ query }) => adk.knowledgeBase.search({ query }),
})

How-To Questions ("how do I create X?", "how do I use X?")

Brief explanation + working code example + one critical pitfall only if it's a common trap.

Implementation Questions ("implement X in my project", "add X to my bot")

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.

Architecture Questions ("explain my bot", "how does X work in my project?")

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.).

Troubleshooting Questions ("X is broken", "why is X failing?")

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.

Default Rule

If the answer fits in one sentence and a code snippet, don't add headers, pitfall sections, or related topics. More structure ≠ more helpful.

平台分布

Claude Code

29.04%
按下载量换算1,014

Cursor

23.67%
按下载量换算827

Codex

16.8%
按下载量换算587

Gemini CLI

11.36%
按下载量换算397

Antigravity

6.52%
按下载量换算228

OpenCode

3.29%
按下载量换算115

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills