Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Bizuayeuv1.19.1MITIn 1 marketplace
Chat with a secretary agent through a Telegram bot, with replies in seconds from a cloud routine.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Of the plugin's README
Japanese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

📦 設定の置き場 — 環境固有の値は
<INSTALL_DIR>/config.json(agent_name/private_dir/session_duration_sec/registry_*、雛型templates/config.template.json、init-configで生成)に集約します。秘匿(bot token / authorized chats)は env で注入。運用値の手置換は不要——人格名・private_dir は config.json、<INSTALL_DIR>/<REPO_ROOT>は bootstrap が env 解決します(<INSTALL_DIR>=インストール先 /<OWNER>=運用主体 はドキュメント上の読み替え表記)。詳細は STRUCTURE.md。
Telegram Bot API の long-polling を Claude Code Routines(Anthropic のクラウド実行スケジュールエージェント基盤。Remote 実行=cloud routine)上で常駐させ、認可済みチャットからのメッセージに秘書エージェント(SecretaryRole を被った本体エージェント。人格名は config.json の agent_name)が即応する対話チャネル。
公開 ingress を持てない cloud routine 環境でも、long-polling と deadline 駆動ループで 24-7 の即応を実現します(watch --exit-on-message がメッセージ受信時に即座に exit → 返信 → 再起動)。応答は親プロセスのエージェント本人が起草し、本スキルは fetch / 認可 / 正規化 / 送信のみを担います(応答生成をサブプロセスに投げない設計)。
Clean Architecture 4層(Domain → UseCase → Interface → Infrastructure、依存は内向きのみ)。設計の理由は DESIGN.md、ディレクトリ構造は STRUCTURE.md を参照。
<OWNER> から呼べる 24-7 の対話チャネルregistry_sync 有効時は固定ブランチへ git 永続化(揮発 state と分離・イベント駆動 commit&push)。PROFILE / GOALS が蓄積すると秘書の役割が進化する(次節)registry_sync 有効時、「登録しました」等の約束をする返信の前に intent を WAL ログへ先行 push(must-succeed=push 不能なら送信もしない)し、起動時に未反映分を registry へ redo。push 漏れによる「言ったのに未登録」を構造的に防ぐ。先行書込の入口と redo の双方に管理表 add と同じ検証が掛かり、受理されない payload は WAL に入らない(入口で exit 2)/redo で dead へ隔離されて記録に残る(正典へ黙って書かれない)預けたデータで秘書の顔がデータ駆動で進化します——秘書(baseline)から始まり、プロファイルを預けると執事、目標を預けるとコーチ、両方そろうと守護霊へ。役割はフラグではなくデータの状態から立ち上がります(判定は role-status=決定論、演じ方は SecretaryRole。設計の理由は DESIGN.md §3.11)。
| 目標なし | 目標あり(GOALS / STEPS) | |
|---|---|---|
| プロファイルなし | 秘書(baseline) | コーチ(目標逆算とプロマネ巻き取り) |
| プロファイルあり(PROFILE) | 執事(嗜好を踏まえた先回り) | 守護霊(人物理解 × 伴走の両輪) |
cd <INSTALL_DIR>
# 依存インストール
python -m pip install -e ".[dev]"
# 環境変数(秘匿のみ=純2層)
$env:TELEGRAM_BOT_TOKEN = "<bot-token-from-botfather>"
$env:TELEGRAM_SECRETARY_AUTHORIZED_CHATS = "[<your-chat-id>]"
$env:TELEGRAM_SECRETARY_STATE_DIR = ".\state" # 任意(既定 ./state)
# 運用設定 config.json を生成(session_duration_sec 必須、範囲 1〜86400)
python scripts/main.py init-config --session-duration-sec 14400 --agent-name YourSecretary
# 設定検証 → 現設定の確認 → 疎通 ping → 1サイクル poll
python scripts/main.py validate-config
python scripts/main.py show-config
python scripts/main.py test --chat-id <your-chat-id>
python scripts/main.py poll --timeout 5
# deadline 駆動の常駐を試す(メッセージ受信で即応、窓満了で再起動)
python scripts/main.py lease acquire
python scripts/main.py watch --exit-on-message --max-duration 30 --timeout 5
# → メッセージが来たサイクルで即 exit 0/無ければ 30 秒の窓満了で exit 0
# (本番の常駐設定=4h 枠・540s 窓は ROUTINE_PROMPT.md 参照)
python scripts/main.py lease release
chat_id の発見(初回のみ手動)— bot に 1 通送ってから
pollを 1 回叩き、emit JSON のchat_idを読んでAUTHORIZED_CHATSに登録します(鶏卵問題ゆえ初回だけ手動)。
poll/watch が中身を解釈して emit します。PDF の段階処理(先頭ページ Vision → 必要に応じ render-pdf で全文/個別ページ)や voice の文字起こしの詳細は SKILL.md。send-reply --file <path>(複数可、画像→sendPhoto・他→sendDocument に自動振り分け)。--reply-to <message_id> で返信スレッドを張れます。Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub bizuayeu/plugins-weave --plugin TelegramSecretaryPlugins from other owners that cover similar ground