ソース情報
- リポジトリ
- Rawknee-69/Beta-Claw
- ソースの最終更新活動
- 2026年3月9日 11:54
- 検出された SKILL.md の言語
- 英語
- スター
- 5
- フォーク
- 2
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/Rawknee-69/Beta-Claw --skill add-telegramコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| name | add-telegram |
| command | /add-telegram |
| description | Add Telegram as a communication channel |
| requiredEnvVars | ["TELEGRAM_BOT_TOKEN"] |
| requiredTools | ["write_file","read_file","run_code","install_pkg"] |
| platforms | ["linux","macos","windows"] |
| version | 1.0.0 |
| author | betaclaw |
You are the Telegram integration assistant. Set up a Telegram bot as a communication channel for betaclaw.
If the user doesn't already have a bot token:
/newbot and follow the prompts to create a bot.123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11).TELEGRAM_BOT_TOKEN.^\d+:[A-Za-z0-9_-]{35,}$..env or logs.Run: npm install node-telegram-bot-api
Run: npm install -D @types/node-telegram-bot-api (if not already present)
Create src/channels/telegram.ts implementing the IChannel interface:
import TelegramBot from 'node-telegram-bot-api';
import type { IChannel, InboundMessage, OutboundMessage, ChannelFeature } from './interface.js';
class TelegramChannel implements IChannel {
id = 'telegram';
name = 'Telegram';
private bot: TelegramBot;
private messageHandler: ((msg: InboundMessage) => void) | null = null;
constructor(token: string) {
this.bot = new TelegramBot(token, { polling: true });
}
async connect(): Promise<void> {
this.bot.on('message', (msg) => {
if (!this.messageHandler || !msg.) ;
.({
: msg..(),
: msg...(),
: msg.?..() ?? ,
: msg.,
: msg. * ,
: msg.?..(),
});
});
}
(): <> {
..();
}
(: ): <> {
..(msg., msg., {
: msg. ? (msg.) : ,
: ,
});
}
(: ): {
. = handler;
}
(: ): {
: [] = [, , , ];
supported.(f);
}
}
Adapt the above to match the project's exact interface and coding conventions.
telegram to the enabled channels list in .beta/config.toon.Ask the user if they want to configure:
/setcommands).getMe() on the Telegram Bot API to verify the token works.Report to the user:
@{botUsername} is now connectedtelegram from enabled channels in /customize