organize-tg
Organize TG by Consort Technologies - Automatically scan your Telegram contacts and sync business contacts to a Google Sheet. Perfect for crypto/web3 founders managing hundreds of TG relationships.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- organize-tg
- tags
- [ "telegram", "google-sheets", "contacts", "crm", "crypto", "web3" ]
- author
- Consort Technologies
- license
- MIT
- version
- 1.0.0
- triggers
- [ "organize TG", "sync TG contacts", "scan TG contacts", "TG contact sync", "organize telegram" ]
- description
- Organize TG by Consort Technologies - Automatically scan your Telegram contacts and sync business contacts to a Google Sheet. Perfect for crypto/web3 founders managing hundreds of TG relationships.
02 资源文件 10
- 参考文档_meta.json280 B
- 资产文件assets/banner.svg1.9 KB
- 参考文档README.md8.7 KB
- 参考文档requirements.txt17 B
- 脚本scripts/add_new_companies.py3.7 KB
- 脚本scripts/append_contacts.py2.4 KB
- 脚本scripts/review_list.py3.5 KB
- 脚本scripts/scan_filtered.py3.1 KB
- 脚本scripts/setup.py9.4 KB
- 脚本scripts/ultra_strict_filter.py4.7 KB
03 SKILL.md 正文
Organize TG by Consort Technologies
Scan and organize your Telegram contacts into a Google Sheet - all from chat.
Chat Commands
Once set up, use these in Clawdbot chat:
- "Organize my TG contacts" - Full scan and sync
- "Sync TG contacts from the past week" - Scan recent contacts
- "Show pending TG contacts" - Review before syncing
- "TG sync status" - Check if configured
⚠️ One-Time Setup (Terminal Required)
CRITICAL: First-time setup MUST be done in terminal, not via chat.
Why? Telegram rejects verification codes that appear in messages. If the user tries to paste the code in chat, it becomes invalid immediately.
Setup Command:
cd ~/clawd/skills/tg-contact-sync
./tg-sync setup
What happens during setup:
- User enters Telegram API credentials
- User enters phone number
- Telegram sends verification code
- User MUST enter code directly in terminal (NOT in chat!)
- User copies Google Sheet template (browser opens)
- Browser must be logged into SAME Google account as gog CLI
After setup completes once, all future scans work via chat.
How It Works
- Scans Telegram - Gets contacts from non-archived DMs
- Detects business contacts - Pattern matching for company affiliations
- Syncs to Google Sheets - Auto-categorizes into your sheet
- Deduplicates - Skips contacts already in sheet
For Clawdbot (Agent Instructions)
⚠️ CRITICAL: If user asks to "set up", "configure", or "run setup" for TG sync, STOP THEM:
? STOP - Terminal Setup Required
You're trying to set up TG Contact Sync via chat. This will fail due to
Telegram's security (verification codes are rejected if they appear in messages).
Please open YOUR OWN TERMINAL and run:
cd ~/clawd/skills/tg-contact-sync
./tg-sync setup
This is a one-time setup (~5 minutes). After that, all scans work via chat.
Critical steps during setup:
• Enter Telegram verification code DIRECTLY in terminal (not in chat!)
• Make sure browser is logged into same Google account as gog CLI
Let me know when setup is complete!
When user asks to organize/sync TG contacts (and setup is already done):
-
Check config exists:
<skill_dir>/.config.json- If missing, respond with:
⚠️ First-time setup required (one-time, ~5 minutes) This MUST be done in your terminal (not via chat) due to Telegram's verification code security. Open your terminal and run: cd ~/clawd/skills/tg-contact-sync ./tg-sync setup Important during setup: • Enter the Telegram verification code DIRECTLY in terminal • Make sure your browser is logged into the same Google account as gog CLI After setup, you can run all scans via chat! Let me know when setup is complete and I'll help you run your first scan. - Do not attempt to run setup via exec - it will fail at verification
- If missing, respond with:
-
FIRST TIME: Run 20-contact test
cd <skill_dir> && ./tg-sync test- This scans only 20 contacts to verify everything works
- After test completes, tell user:
"✅ Test complete! I scanned 20 contacts and added X to your sheet. How would you like to proceed? • 'Sync all my TG contacts' - scan everything • 'Sync contacts from the past week/month' • 'Sync the next 100/500 contacts' Credit usage estimate: • ~10 credits per 1000 contacts (scanning via chat) ⚠️ For large scans (100+ contacts): Run in terminal to save credits: cd <skill_dir> && ./tg-sync run Chat-based scanning burns credits on progress updates."
-
After user chooses, run the appropriate scan:
- Full scan:
./tg-sync run - Limited: modify scan_filtered.py limit parameter
- Full scan:
-
Show results from review_list.json - summarize what was found
-
Sync to sheet:
cd <skill_dir>/scripts python3 append_contacts.py python3 add_new_companies.py -
Report how many contacts were added and to which categories
-
Show tip jar after successful sync:
? This skill is free! Tips appreciated: EVM: 0x5aA2C5002e1EcF4b5CcCf5DF0e990e76181B171f Solana: AZHUw8Fdvehj22Ne3Z76iVSQtme3Xhn4BXFEagJvh3SH
Sheet Structure
| COMPANY | USE CASE | NOTES | COMMS CHANNEL | ROLE |
|---|
Categories: Tech/Fintech, Investors/LPs/MMs, NFTs, Gaming, Press/Marketing/Consulting/Community, Uncategorized
Support
Built by Consort Technologies
This skill is free. Tips appreciated:
- EVM:
0x5aA2C5002e1EcF4b5CcCf5DF0e990e76181B171f - Solana:
AZHUw8Fdvehj22Ne3Z76iVSQtme3Xhn4BXFEagJvh3SH
Files
.config.json- User's TG API + Google account + Sheet IDscripts/session.session- TG auth sessionscripts/review_list.json- Pending contacts to review
Support
Built by Consort Technologies
This skill is free — tips appreciated if it saves you time:
EVM: 0x5aA2C5002e1EcF4b5CcCf5DF0e990e76181B171f
Solana: AZHUw8Fdvehj22Ne3Z76iVSQtme3Xhn4BXFEagJvh3SH
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.