bootstrapping-agent
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "bootstrapping-agent":https://skillpi.com/zh/skills/deepskill-d60c214727b9caa70fc49f3a32b76b33499b4b31cf8b80dbf9c667a262481a12。安装前核对上游来源和版本:https://github.com/Kilo-Org/kilo-marketplace。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
为 PydanticAI 或 Claude SDK 代理连接 Airbyte 连接器时使用。生成身份验证配置、连接器初始化及带有 tool_utils 装饰器的工具函数。适用于将连接器添加到代理或设置带有连接器的新代理的场景。
介绍来源: third_party · Kilo-Org · 0.0.1 参考来源
SkillPi 解读
- 实测状态
- 未测试
文件浏览
Frontmatter
name: bootstrapping-agent
description: >-
Wires up an Airbyte connector for use in a PydanticAI or Claude SDK agent.
Generates auth config, connector initialization, and tool_utils-decorated tool
function. Use when adding a connector to an agent or setting up a new agent
with a connector.
metadata:
category: development
source:
repository: 'https://github.com/airbytehq/airbyte-agent-sdk'
path: .codex/skills/bootstrapping-agent
license_path: LICENSE
commit: f20dbf71efa4f63cf57e2209049fd53c4c0f0614Bootstrapping an Agent with an Airbyte Connector
Install the SDK
uv pip install airbyte-agent-sdk
The single airbyte-agent-sdk package ships every typed connector. Import them from airbyte_agent_sdk.connectors.{slug}. tool_utils, list_entities(), and entity_schema() are only available on typed connectors.
Core Pattern (PydanticAI)
import os
from pydantic_ai import Agent
from airbyte_agent_sdk import AirbyteAuthConfig
from airbyte_agent_sdk.connectors.stripe import StripeConnector
connector = StripeConnector(
auth_config=AirbyteAuthConfig(
airbyte_client_id=os.getenv("AIRBYTE_CLIENT_ID"),
airbyte_client_secret=os.getenv("AIRBYTE_CLIENT_SECRET"),
workspace_name=os.getenv("AIRBYTE_WORKSPACE_NAME", "default"),
)
)
agent = Agent(
"<provider:model>",
system_prompt=(
"You are a helpful assistant with access to Stripe. "
"Use the stripe_execute tool to look up customer, invoice, and balance data. "
"Ask for clarification if a request is ambiguous."
),
)
@agent.tool_plain
@StripeConnector.tool_utils
async def stripe_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})
Always hosted mode: Use AirbyteAuthConfig with airbyte_client_id and airbyte_client_secret. Never generate local auth code.
Decorator Stacking
The framework decorator goes on top, tool_utils goes underneath:
@agent.tool_plain # Framework registers this as a tool
@StripeConnector.tool_utils # Enriches docstring with connector capabilities
async def stripe_execute(...):
tool_utils is a @classmethod — use StripeConnector.tool_utils, not connector.tool_utils.
Automatic Retry Translation
tool_utils automatically translates retryable errors to the framework's retry signal (ModelRetry for pydantic-ai). The example above continues to work unchanged — translation happens inside tool_utils with no extra decorator needed.
Reference demo: connector-sdk/examples/demo_agent.py (mocked, no credentials needed: --mock).
Verify the Setup
check = await connector.check()
if check.status == "healthy":
print(f"Connected — checked {check.checked_entity}/{check.checked_action}")
else:
print(f"Failed: {check.error}")
Framework Detection
Detect the developer's framework from their existing imports:
from pydantic_ai import Agent→ Use PydanticAI patternsfrom anthropic import Anthropic→ Use Claude SDK patterns- If unclear, ask which framework they're using
Connector Naming Convention
All connectors ship in airbyte-agent-sdk. Import each one from airbyte_agent_sdk.connectors.{slug}:
| Connector | Import | Class |
|---|---|---|
| stripe | airbyte_agent_sdk.connectors.stripe |
StripeConnector |
| zendesk-support | airbyte_agent_sdk.connectors.zendesk_support |
ZendeskSupportConnector |
| hubspot | airbyte_agent_sdk.connectors.hubspot |
HubspotConnector |
Hyphens in connector slugs become underscores in the submodule path.
Environment Variables
The developer needs these in their .env:
AIRBYTE_CLIENT_ID=your_client_id
AIRBYTE_CLIENT_SECRET=your_client_secret
AIRBYTE_WORKSPACE_NAME=your_workspace_name
References
- SDK API reference — full API signatures and options
- PydanticAI patterns — complete runnable examples
- Claude SDK patterns — Anthropic Python SDK examples
版本历史
-
skills-20261103210927-6c1b454
GitHub ↗
原版更新说明
Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323
-
skills-20260928190452-ff51758
GitHub ↗
原版更新说明
Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505
-
skills-20260924105536-d31110d
GitHub ↗
原版更新说明
Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049
-
skills-20260923085113-cea285e
GitHub ↗
原版更新说明
Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7
-
skills-20260922193956-97d7333
GitHub ↗
原版更新说明
Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供将 Airbyte 连接器接入 PydanticAI 或 Claude SDK 代理的完整引导,实用性强
- 包含身份验证配置、连接器初始化、工具函数装饰器使用等核心内容,适用于开发者集成场景
亮点
- description 明确描述了使用场景、核心功能和使用时机,触发词覆盖合理,边界清晰
待提升项
-
缺少 When to Use 章节 原报告严重程度:轻微
文档结构清晰,但缺少明确的 'When to Use' 章节标题来引导用户
改进建议:建议添加 'When to Use' 章节,明确说明该 Skill 的适用场景和使用时机
-
文档过长 原报告严重程度:轻微
文档内容超过 500 行,可能影响用户阅读体验
改进建议:建议适当精简文档内容,或将部分内容移至外部参考文档
亮点
- 文档结构清晰,包含安装、核心模式、装饰器堆叠、验证设置等多个章节
- 提供了丰富的代码示例和连接器命名约定,便于开发者理解和使用
亮点
- 提供了具体的安装命令、导入路径、代码示例和环境变量配置,工具来源明确
- 覆盖了主要的使用场景和异常处理(如重试翻译),可靠性良好
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 22 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 76 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。