一键导入
channels
Configure external messaging channel adapters (Telegram, etc.) — saves credentials securely and patches kraken.jsonc
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure external messaging channel adapters (Telegram, etc.) — saves credentials securely and patches kraken.jsonc
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Manage the Kraken daemon -- view status, manage tasks, and perform maintenance
Configure LSP language servers for real-time diagnostics after code edits
Persistent memory system -- save and search observations across sessions
Configure and test notification channels -- Slack, Discord, Email, GitHub, and system notifications
Manage API keys and secrets safely -- list, set, and delete without exposing values
Create, modify, and debug triggers -- cron jobs, webhooks, file watchers, CI failure handlers, PR mentions, and slash commands
| name | channels |
| description | Configure external messaging channel adapters (Telegram, etc.) — saves credentials securely and patches kraken.jsonc |
| slash | channels |
| aliases | telegram, discord |
You are configuring a messaging channel adapter so the user can interact with Kraken from an external platform.
| Type | Required secrets | Config key |
|---|---|---|
telegram | TELEGRAM_BOT_TOKEN | channels.telegram |
Ask the user for:
/newbot to BotFather and follow the prompts./start to @userinfobot to get it.Use the daemon secrets API (do NOT edit ~/.kraken/.env directly — it is blocked at the tool level):
curl -s -X POST http://localhost:50051/api/secrets \
-H "Content-Type: application/json" \
-d '{"key": "TELEGRAM_BOT_TOKEN", "value": "<THE_TOKEN>"}'
Read ~/.kraken/kraken.jsonc, then edit it to add or update the channels.telegram section:
{
"channels": {
"telegram": {
"token": "${TELEGRAM_BOT_TOKEN}",
"ownerId": <OWNER_ID>,
"enabled": true
}
}
}
token must reference the env variable with ${TELEGRAM_BOT_TOKEN}, not the raw token value.ownerId is the numeric user ID from step 1.enabled defaults to true.curl -s -X POST http://localhost:50051/api/config/reload
This triggers a live config reload without restarting the daemon. If the daemon is not running, use kill -HUP $(cat ~/.kraken/daemon.pid) as a fallback.
Run the CLI to confirm the channel appears:
kraken channel list
Expected output should show telegram with enabled: yes.
To remove a configured channel, edit ~/.kraken/kraken.jsonc and delete the corresponding key under channels (e.g., remove channels.telegram), then reload the daemon.
kraken.jsonc — always use the ${TELEGRAM_BOT_TOKEN} env reference.~/.kraken/.env — it is blocked at the tool level.POST /api/secrets) for all credential storage.