用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aAAaqwq/AGI-Super-Team --skill telegram-send命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
币安广场合约投机雷达 v5:以最近24小时专业交易帖为主要证据,回源核验帖子, 联合币安公共合约行情、4周期K线、布林带、ATR、量能和RR,生成可审计的本地影子报告。 触发词:币安广场、扫描币安、binance square、合约机会、交易信号雷达、4小时雷达
BTC 5分钟K线实时方向预测。v5.9对抗式审查重构: 13因子收敛到3个有证据信号(half_body延续+volume放量+meanrev回归, 11个47-49%硬币因子清零) + 三层独立信息过滤(多周期4h/1h/15m趋势 + 跨资产ETH/SOL广度 + 真订单流OFI) + 移除bull×0.92惩罚/Platt置信度门控。半K线策略第2分钟执行。黑天鹅防护: ATR spike+FNG<25。Binance端点双向故障切换。
BB 双向套利策略:加密合约 10x 杠杆布林带均值回归。布林带收窄=横盘→在下轨买、上轨卖;三重过滤器(1h趋势/RSI/BB甜区)确认碗平放,轨对轨止盈(RR 2:1~4:1)。含实时WebSocket模拟盘(paper)、历史回测(simulate/backtest_daily)、币安永续实盘CLI(trade_exec)。触发:'bb套利'、'布林带'、'bollinger'、'横盘策略'、'NEAR'、'回测'、'模拟盘'、'paper trading'。
基于 SOC 职业分类
| name | telegram-send |
| description | Telegram DM sending from CSV, rate limiting, idempotency |
Sending messages via Telegram (Telethon) with CSV input
preferred_channel = Telegram in data| What | Path |
|---|---|
| Tool | $TG_TOOLS_PATH/tools/tg_send.py |
| Shared lib | $TG_TOOLS_PATH/tg_utils/ |
| Telegram Session | $SALES_PATH/telegram/sessions/telegram_session.session |
| ENV | $SALES_PATH/.env |
| Send Log | $TG_TOOLS_PATH/data/send_log.json |
Claude prepares CSV with recipients. Minimum columns:
key,name,phone,username,message
p-001,Alice,+380XXXXXXXXX,,Hello Alice! Message text.
p-002,Ruslan,,,Nizami_ua,Hello Ruslan!
Or without the message column -- then use the --message template.
python3 $TG_TOOLS_PATH/tools/tg_send.py \
--input contacts.csv --dry-run
Or with a template:
python3 $TG_TOOLS_PATH/tools/tg_send.py \
--input contacts.csv --message "Hello, {name}! Text." --dry-run
python3 $TG_TOOLS_PATH/tools/tg_send.py \
--input contacts.csv --send
# Or test on the first contact:
python3 $TG_TOOLS_PATH/tools/tg_send.py \
--input contacts.csv --send --test 1
| Parameter | Description | Default |
|---|---|---|
--input FILE | CSV file (or - for stdin) | required |
--message TMPL | Message template with {name} | - |
--message-file FILE | Template from file | - |
--dry-run | Preview only | true (default) |
--send | Actual sending | false |
--test N | Send only to first N | - |
--max N | Max number of messages | - |
--cold | Limits for cold outreach (5/day, batch pauses) | false |
--delay MIN MAX | Override delay (sec) | 20 60 |
--status | Show send log | - |
--reset-log | Reset log | - |
--reset-cooldown | Reset flood cooldown | - |
--key-col NAME | Column for idempotency | key |
--name-col NAME | Column for name | name |
--phone-col NAME | Column for phone | phone |
--user-col NAME | Column for username | username |
--msg-col NAME | Column for message | message |
Claude (LLM) is responsible for: selecting recipients, composing text, generating CSV, interpreting results, updating CRM.
tg-send is responsible for: Telegram session, phone normalization, message delivery, rate limiting, idempotency, flood handling.
tg_utils/)| Module | Purpose |
|---|---|
auth.py | Connecting to Telegram, loading credentials |
phone.py | Phone normalization (UA/PL/IE/US) |
rate_limit.py | Delays, batch pauses, flood cooldown |
send_log.py | Send log (idempotency) |
contacts.py | Entity resolution (username/phone), ImportContactsRequest |
output.py | JSON-line output for composition |
| Mode | Delay | Limit/day | Batch pause |
|---|---|---|---|
| Warm (default) | 20-60s | 35 | - |
Cold (--cold) | 30-60s | 5 | 30min every 3 |
Stdout: JSON lines (for pipe/composition):
{"event":"send","status":"ok","key":"p-001","target":"@user","name":"Alice","ts":"..."}
{"event":"summary","sent":5,"failed":1,"skipped":2,"ts":"..."}
Stderr: human-readable progress.
| Problem | Solution |
|---|---|
| FloodWaitError | Automatic 24h cooldown. --reset-cooldown to reset |
| PeerFloodError | 48h cooldown. Wait or --reset-cooldown |
| SessionExpired | telegram-session |
| UserPrivacyRestrictedError | Person has blocked DMs |
| "Not authorized" | Need QR login via tg-auth |
telegram-check -- checking repliestelegram-session -- if session is brokenemail-send-direct -- single emailemail-send-bulk -- mass email sendingwhatsapp-send -- alternative channelAll Telegram tools: $TG_TOOLS_PATH/tools/
tg-auth -- session, QR logintg-contacts -- export/import contacts, lookuptg-groups -- groups, posting, memberstg-scrape -- channel search, scraping