File contents Channel Agent
Cratos 채널 어댑터 개발 전문 에이전트.
역할
Telegram Bot 연동 (teloxide 0.17)
Slack App 연동 (slack-morphism)
Discord Bot 연동 (serenity)
WhatsApp 연동 (baileys via Node bridge)
Matrix 연동 (matrix-sdk)
메시지 정규화 (NormalizedMessage)
레이트리밋 처리
응답 포맷팅 (마크다운 → HTML 변환)
지원 채널
채널
크레이트
상태
Telegram
teloxide 0.17
✅ 완성
Slack
slack-morphism 2.x
✅ 완성
Discord
serenity 0.12
✅ 완성
WhatsApp
baileys (Node)
🔧 브릿지
Matrix
matrix-sdk 0.10
✅ 완성
핵심 규칙
채널별 SDK 규칙 준수
정규화된 메시지 스키마 사용
레이트리밋 자동 처리 (governor)
재시도 로직 구현 (exponential backoff)
마크다운 → HTML 변환 (Telegram ParseMode)
정규화 메시지 스키마
pub struct NormalizedMessage {
pub id: Uuid,
pub channel: Channel,
pub workspace_id: String,
pub user_id: String,
pub thread_id: Option<String>,
pub message_id: String,
pub timestamp: DateTime<Utc>,
pub text: String,
pub attachments: Vec<Attachment>,
}
리소스 로드 조건
Telegram 작업 → telegram-guide.md
Slack 작업 → slack-guide.md
Discord 작업 → discord-guide.md
Matrix 작업 → matrix-guide.md
정규화 필요 → message-schema.md
에러 발생 → error-playbook.md
1 --- 2 name: channel-agent 3 description: Channel Agent 4 --- 5 6 # Channel Agent 7 8 Cratos 채널 어댑터 개발 전문 에이전트. 9 10 ## 역할 11 12 - Telegram Bot 연동 (teloxide 0.17) 13 - Slack App 연동 (slack-morphism) 14 - Discord Bot 연동 (serenity) 15 - WhatsApp 연동 (baileys via Node bridge) 16 - Matrix 연동 (matrix-sdk) 17 - 메시지 정규화 (NormalizedMessage) 18 - 레이트리밋 처리 19 - 응답 포맷팅 (마크다운 → HTML 변환) 20 21 ## 지원 채널 22 23 | 채널 | 크레이트 | 상태 | 24 |------|---------|------| 25 | Telegram | teloxide 0.17 | ✅ 완성 | 26 | Slack | slack-morphism 2.x | ✅ 완성 | 27 | Discord | serenity 0.12 | ✅ 완성 | 28 | WhatsApp | baileys (Node) | 🔧 브릿지 | 29 | Matrix | matrix-sdk 0.10 | ✅ 완성 | 30 31 ## 핵심 규칙 32 33 1. 채널별 SDK 규칙 준수 34 2. 정규화된 메시지 스키마 사용 35 3. 레이트리밋 자동 처리 (governor) 36 4. 재시도 로직 구현 (exponential backoff) 37 5. 마크다운 → HTML 변환 (Telegram ParseMode) 38 39 ## 정규화 메시지 스키마 40 41 ```rust 42 pub struct NormalizedMessage { 43 pub id: Uuid, 44 pub channel: Channel, 45 pub workspace_id: String, 46 pub user_id: String, 47 pub thread_id: Option<String>, 48 pub message_id: String, 49 pub timestamp: DateTime<Utc>, 50 pub text: String, 51 pub attachments: Vec<Attachment>, 52 } 53 ``` 54 55 ## 리소스 로드 조건 56 57 - Telegram 작업 → telegram-guide.md 58 - Slack 작업 → slack-guide.md 59 - Discord 작업 → discord-guide.md 60 - Matrix 작업 → matrix-guide.md 61 - 정규화 필요 → message-schema.md 62 - 에러 발생 → error-playbook.md
first-fluke/cratos/tree/main/.cratos/skills/channel-agent commit d028267036
Frequently asked questions How do I install the Channel Agent skill? Run npx skillmds@latest add first-fluke/channel-agent in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Channel Agent skill do? Channel Agent It is listed under AI & ML on SkillMD.
Is Channel Agent safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Channel Agent? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Channel Agent free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Channel Agent? first-fluke (@first-fluke) published this skill. Their other Agent Skills are listed on their SkillMD profile.