用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tdimino/claudicle --skill telegram命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Multi-turn onboarding interview for first ensoulment.
Reference documentation for the Open Souls paradigm—the functional programming approach to AI souls that Claudicle implements. This skill should be used when extending the cognitive pipeline, adding new memory tiers, implementing mental processes, researching soul design patterns, or planning any extension to Claudicle's soul engine architecture.
正在显示 SKILL.md
| name | telegram |
| description | Send, read, and respond to Telegram messages as Claudicle with persistent memory and cognitive pipeline integration. |
Send, read, and respond to Telegram messages via the Claudicle daemon adapter. Thin skill layer on top of the existing python-telegram-bot v22 polling adapter at ~/.claudicle/daemon/adapters/telegram_adapter.py.
/telegram-respond cognitive pipelinepython-telegram-bot v21+ installed (pip install python-telegram-bot)TELEGRAM_BOT_TOKEN in ~/.config/env/secrets.env@claudicle_bot (ID: 8646522411)633125581| Variable | Default | Description |
|---|---|---|
TELEGRAM_BOT_TOKEN | -- | Bot token from @BotFather |
CLAUDICLE_TELEGRAM_ALLOWED_USERS | -- | Comma-separated user IDs allowed to DM (empty = deny all) |
CLAUDICLE_TELEGRAM_ALLOWED_CHATS | -- | Comma-separated chat IDs for groups (empty = all) |
CLAUDICLE_TELEGRAM_RESPOND_TO_DMS | true | Respond to private messages (filtered by allowed users) |
CLAUDICLE_TELEGRAM_RESPOND_TO_MENTIONS | true | Respond to @mentions in groups |
# Start the listener (background daemon)
python3 ~/.claudicle/adapters/telegram/telegram_listen.py --bg
# Check for unhandled messages
cd ~/.claude/skills/telegram/scripts && python3 telegram_check.py
# Send a message
cd ~/.claude/skills/telegram/scripts && python3 telegram_send.py 633125581 "Hello from Claudicle!"
# Process inbox through cognitive pipeline
/telegram-respond
telegram_send.py -- Send a Telegram messagepython3 ~/.claudicle/adapters/telegram/telegram_post.py CHAT_ID "Hello!"
python3 telegram_send.py CHAT_ID "Reply to this" --reply-to 42
python3 telegram_send.py CHAT_ID --stdin # Read text from stdin
python3 telegram_send.py --help
telegram_check.py -- Check inbox for unhandled messagespython3 telegram_check.py # Unhandled telegram:* entries
python3 telegram_check.py --all # All entries (including handled)
python3 telegram_check.py --limit 5 # Last 5
python3 telegram_check.py --mark-read MSG_ID # Mark entry as handled
python3 telegram_check.py --mark-all-read # Mark all as handled
Reads from ~/.claudicle/daemon/inbox.jsonl (shared with Slack/Discord).
telegram_memory.py -- Memory context CLIpython3 telegram_memory.py load-context 633125581
python3 telegram_memory.py user-model tg:633125581
python3 telegram_memory.py soul-state
Thin CLI over ~/.claudicle/adapters/shared/claudicle_memory.py.
The listener is the existing Claudicle adapter script (not duplicated):
python3 ~/.claudicle/adapters/telegram/telegram_listen.py --bg # Start
python3 ~/.claudicle/adapters/telegram/telegram_listen.py --status # Check
python3 ~/.claudicle/adapters/telegram/telegram_listen.py --stop # Stop
telegram:{chat_id} -- e.g., telegram:633125581 (private), telegram:-100123456789 (group)
Claude Code session
|
|-- /telegram-respond (cognitive pipeline: 6 XML tags)
|-- telegram_send.py (wraps Bot API send_message)
|-- telegram_check.py (reads shared inbox.jsonl)
|-- telegram_memory.py (thin CLI over claudicle_memory)
|
v
~/.claudicle/adapters/telegram/ (existing, not duplicated)
telegram_listen.py (polling daemon)
telegram_post.py (CLI post)
_telegram_utils.py (split_message, config)
|
v
~/.claudicle/adapters/shared/claudicle_memory.py (3-tier memory routing)
CLAUDICLE_TELEGRAM_ALLOWED_USERS=633125581 to allow Tom.WebFetch removed from allowed tools in daemon mode subprocess.