
Composio 开发者可分发代理技能。本仓库包含使用 Composio 工具路由器和触发器构建 AI 代理的全面指南和最佳实践。
概览
Composio 开发者可分发代理技能。本仓库包含使用 Composio 工具路由器和触发器构建 AI 代理的全面指南和最佳实践。 为你的AI助手添加Composio技能: 该命令安装 Composio 代理技能,使您的 AI 助手能够访问以下内容:- - 会话管理、认证和框架集成 - - 实时 webhook 和事件处理 - - 安全、错误处理和部署指南 你的AI助手现在可以在用Composio帮你构建时引用这些技能! 该技能库提供关于使用 Composio 构建 AI 代理的全面指南和最佳实践,并以 markdown 文件形式整理,AI 助手便于查阅。
概述(AI 翻译)
Composio 开发者可分发代理技能。本仓库包含使用 Composio 工具路由器和触发器构建 AI 代理的全面指南和最佳实践。
快速启动
为你的AI助手添加Composio技能:
该命令安装了Composio代理技能,使你的AI助手能够访问以下内容:
- Tool Router 最佳实践 - 会话管理、认证与框架集成
- 触发器与事件 - 实时webhook和事件处理
- 生产模式 - 安全性、错误处理和部署指南
你的AI助手现在可以在用Composio帮你构建时引用这些技能!
概述
该技能库提供关于使用 Composio 构建 AI 代理的全面指南和最佳实践,并以 markdown 文件形式整理,AI 助手便于查阅。
结构
可用技能
1.工具布线器(建筑代理)
- 用户ID安全最佳实践
- 创建和管理会话
- 会话生命周期模式
- 原生工具与MCP集成
- 框架集成(Vercel、OpenAI Agents、LangChain、Claude、CrewAI)
2.认证
- 聊天中的自动认证
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
@composiohq/skills
Distributable agent skills for Composio developers. This repository contains comprehensive guides and best practices for building AI agents with Composio’s Tool Router and Triggers.
Quick Start
Add Composio skills to your AI assistant:
npx skills add composiohq/skills
This command installs the Composio agent skills, giving your AI assistant access to:
- Tool Router best practices - Session management, authentication, and framework integration
- Triggers & Events - Real-time webhooks and event handling
- Production patterns - Security, error handling, and deployment guides
Your AI assistant can now reference these skills when helping you build with Composio!
Overview
This skills repository provides comprehensive guides and best practices for building AI agents with Composio, organized as markdown files that AI assistants can easily reference.
Structure
skills/
└── composio/
├── SKILL.md # Main skill overview with rule references
├── AGENTS.md # Consolidated single-file version (auto-generated)
└── rules/ # Individual rule files
├── tr-*.md # Tool Router rules
└── triggers-*.md # Trigger rules
Available Skills
1. Tool Router (Building Agents)
- User ID best practices for security
- Creating and managing sessions
- Session lifecycle patterns
- Native tools vs MCP integration
- Framework integration (Vercel, OpenAI Agents, LangChain, Claude, CrewAI)
2. Authentication
- Auto authentication in chat
- Manual authorization flows
- Connection management
3. Toolkits & Connection Status
- Querying toolkit availability
- Building connection UIs
4. Advanced Features (Triggers & Events)
- Creating triggers for real-time events
- Subscribing to events (development only)
- Webhook verification (production recommended)
- Managing trigger lifecycle
Usage
For AI Assistants
Read either:
- SKILL.md - Main file with links to individual rules (faster to navigate)
- AGENTS.md - Single consolidated file with all content (easier to consume)
For Developers
Build AGENTS.md
Automatically generate the consolidated AGENTS.md file from all rule files:
npm run build:agents
This script:
- Reads SKILL.md for structure
- Extracts all rule references
- Combines individual rule files
- Generates table of contents
- Outputs AGENTS.md with proper formatting
Watch Mode
Auto-rebuild AGENTS.md when any file changes:
npm run watch:agents
This watches:
SKILL.mdfor structure changesrules/*.mdfor content changes- Auto-rebuilds on any modification
Contributing
Adding a New Rule
- Create a new markdown file in
skills/composio/rules/ - Use the naming convention:
tr-*.mdfor Tool Router rulestriggers-*.mdfor Trigger rules
- Include frontmatter:
---
title: Your Rule Title
impact: CRITICAL|HIGH|MEDIUM|LOW
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add composio-community/skills