skills/process-inbox/SKILL.md
Collect Telegram saved messages + process Notion 'To do' cards + process 'To share' cards. Full GTD + S3 pipeline: Telegram export → classify → S3 analysis → Notion cards → dispatch agents. Plus: draft social content for 'To share' cards → create posting tasks → move to Done.
npx skillsauth add razbakov/skills skills/process-inboxInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
⚠️ Migration in progress (razbakov/ikigai#73): Control Center has moved from Notion to GitHub Issues + Project v2. When this skill references creating/reading/updating Notion cards or pages, translate to GitHub equivalents:
- Create card →
gh issue create --repo <project-repo> --title "<title>" --label agent:<name> --body "<S3 body>"thengh project item-add 5 --owner razbakov --url <issue-url>- Read cards →
gh issue list --repo <repo> --label agent:<name> --state open(or across repos viagh search issues "org:razbakov label:agent:<name> state:open")- Update card status → move on board:
gh project item-editwith the Status field, or close viagh issue close- Board columns: Inbox → To do → In progress → To review → Done
- Do not call any
notion-*MCP tools — the Notion MCP is disabled.
Full GTD + S3 pipeline: collect from Telegram, classify, apply S3 Tension → Driver → Requirement analysis to Action items and clusters, create Notion cards, dispatch agents for "To do" items. Runs on any schedule — on demand, every 5 minutes, hourly, or as part of daily review.
/process-inbox, "process inbox", "run inbox"/daily-review as a child skill/loop 5m /process-inbox~/Projects/ikigai32b9a1fd-a351-8064-9375-dc9a8f839d7acollection://32b9a1fd-a351-809d-bd4d-000b0d57904840473b3d-377c-4ddf-b7c4-9407bfc65f72| Property | Type | Values | |----------|------|--------| | Name | title | — | | Status | status | To do, Need input, In progress, To review, To share, Done | | Project | select | WeDance, ikigai, razbakov.com, sdtv, smm-manager, facts-collector, montuno-club, dancegods, dancegodscompany, brievcase, voice-assistant, tasks-dashboard, call-agent, skill-mix, cv, web100, ai-study-group | | Priority | select | 🔴 High, 🟡 Medium, 🟢 Low | | GTD Type | select | Action, Content Idea, Reference, Someday, Rule | | Source | select | Telegram, Manual, Daily Review, Agent, Bookmark | | Telegram ID | number | message ID | | Due Date | date | any | | Effort | select | S, M, L |
tdl chat export --all --with-content -T time -i $(date -v-2d +%s),$(date +%s) -o /tmp/tdl-saved.json
Load state from inbox/.telegram-reactions.json. Skip any message IDs already in state (they have reactions = already processed).
For each unprocessed message, determine:
Important rules:
S3 Deep Analysis (all Control Center cards):
For every item that will become a Control Center card, apply S3 Tension → Driver → Requirement:
After classification, scan all items for shared tensions:
cd ~/.config/telegram && uvx --python python3 --from telethon python3 react.py --mark-seen "<timestamps>"
For each classified item, create a Notion page:
notion-create-pages(
parent: { data_source_id: "32b9a1fd-a351-809d-bd4d-000b0d579048" },
pages: [{
properties: {
"Name": "<title>",
"Status": "To do",
"Project": "<project>",
"GTD Type": "<gtd_type>",
"Priority": "<priority>",
"Source": "Telegram",
"Telegram ID": <message_id>,
"Effort": "<effort>"
},
content: "<S3 content for Action items, plain source text for others — see below>",
icon: "<emoji>"
}]
)
Multi-task messages: If one message has multiple actions, create separate cards for each. All cards share the same Telegram ID.
S3 content for all Control Center cards: Every card gets S3 analysis as page content:
**Source:** Telegram Saved Message #<id> (<date>)
<message text>
---
## S3 Analysis
### Tension
[1-2 sentences — what dissonance prompted this]
### Driver
| Conditions | Effect | Relevance |
|------------|--------|-----------|
| [observable facts] | [consequences] | [why it matters for mission/OKRs] |
### Requirement
> [who] needs [conditions] so that [outcomes]
### Response Options
- [ ] [concrete action A]
- [ ] [alternative approach B]
- [ ] [defer/skip option]
For clustered items: Add a cluster callout at the top of each card in the cluster:
> **Cluster: [Name]** — related cards: [list sibling item names]
For non-Action items: Use plain content: "**Source:** Telegram Saved Message #<id> (<date>)\n\n<message text>"
For messages with URLs classified as Reference/Action-read/Content Idea:
notion-create-pages(
parent: { data_source_id: "40473b3d-377c-4ddf-b7c4-9407bfc65f72" },
pages: [{
properties: {
"Name": "<title>",
"Status": "To Read",
"Source": "Telegram",
"Type": "<Tool|Article|Thread|Video|Reference|Repo>",
"Summary": "<1-2 sentences>",
"Why It Matters": "<Driver summary — 1 sentence connecting to mission/OKRs>",
"Project": "<project names JSON array>",
"Worth Reading": "<Yes|Skim|Maybe>",
"userDefined:URL": "<url>",
"date:Date Added:start": "<YYYY-MM-DD>",
"date:Date Added:is_datetime": 0
}
}]
)
Save to inbox/YYYY-MM-DD-HH-MM.md:
## Raw — exact messages with --- YYYY-MM-DD HH:MM (ID: XXXXX) --- markers## Processed — GTD summary with section headers (Actions, Content Ideas, References, etc.)- **IDs:** <message_id> for reaction matchingcd ~/.config/telegram && uvx --python python3 --from telethon python3 react.py --file ~/Projects/ikigai/inbox/YYYY-MM-DD-HH-MM.md
notion-search(query: " ", data_source_url: "collection://32b9a1fd-a351-809d-bd4d-000b0d579048", page_size: 25)
Fetch each page, filter for Status == "To do".
Sort by Priority (🔴 first). For each "To do" card:
Skill(name: "inbox", prompt: "/notion-execute-task: Execute Notion card '<title>' (page_id: <id>, url: <url>). Read the card content, do the work described, document results back on the page, and set status to 'To review'. If the task produces markdown files, upload them to Notion and link the URLs in the results. After completing, react to Telegram message <telegram_id> with GTD emoji <emoji>.")
Include Telegram reaction instructions if the card has a Telegram ID.
## Telegram Inbox
- Exported: <N> new messages
- Created: <N> Notion cards
- Reading items: <N> added to Reading Inbox
## Notion Processing
| Card | Project | Priority | GTD Type | Status |
|------|---------|----------|----------|--------|
| <title> | <project> | <priority> | <type> | dispatched / no new items |
Alex manually moves cards from "To review" → "To share" when he decides they have shareable output. This phase picks up those cards, creates posting tasks, and moves the original card to "Done".
notion-search(query: " ", data_source_url: "collection://32b9a1fd-a351-809d-bd4d-000b0d579048", page_size: 25)
Filter for Status == "To share". Fetch each page to read content.
Check existing materials before drafting:
marketing/ folder for existing campaign plansengineering/razbakov.com/content/blog/ for published postsgh pr view)If the card doesn't already have a ## To Share section, append one with:
What: One paragraph — what was built/written/created. Include live URLs.
Why: Why worth sharing — how it positions Alex, which content pillar it supports (AI-Augmented Dev 40%, Building in Public 30%, Fullstack 20%, Life Design 10%).
How: Checklist of sharing actions.
Then draft ready-to-post content directly in the card:
X Thread: 4-7 tweets. Hook tweet (personal/surprising/contrarian) → story → CTA with link + engagement question.
LinkedIn: 150-250 words. Personal story format, end with question.
For each "To share" card, create separate "To do" cards:
notion-create-pages(
parent: { data_source_id: "32b9a1fd-a351-809d-bd4d-000b0d579048" },
pages: [{
properties: {
"Name": "Post \"<card name>\" on X + LinkedIn",
"Status": "To do",
"GTD Type": "Action",
"Priority": "🟡 Medium",
"Project": "razbakov.com",
"Effort": "S",
"Source": "Manual"
},
content: "<instructions with link to drafts in parent card>"
}]
)
If video/GIF recording is needed, create a separate task for that.
After posting tasks are created, move the original "To share" card to "Done":
notion-update-page(page_id: "<id>", command: "update_properties", properties: {"Status": "Done"})
Telegram Saved Messages
→ 👀 (seen/exported)
→ GTD classify → S3 analysis (Action/Cluster only)
→ inbox/YYYY-MM-DD-HH-MM.md (raw + processed + S3)
→ Notion Control Center card (To do, with S3 page content for Actions)
→ Notion Reading Inbox card (with S3 page content for Actions)
→ Agent dispatched via /inbox
→ Agent sets "In progress" → does work → sets "To review"
→ GTD emoji on Telegram (replaces 👀)
→ PR link appended to Telegram message
→ Markdown results uploaded to Notion
"To share" cards (manually set by Alex from "To review")
→ Draft social content (X thread + LinkedIn) on the card
→ Create "Post on X + LinkedIn" task cards (To do, S effort)
→ Move original card to Done
tools
--- name: handoff description: Get an agent past a browser/UI wall it can't (or must not) cross on its own — a login-gated dashboard, a CAPTCHA, a 2FA prompt, an API that keeps rejecting the write, or an irreversible click that policy says a human must make. This skill is an ESCALATION LADDER, not a first move: it tells you to try the automated browser surfaces FIRST (Chrome-in-Claude, computer-use, an autonomous browser sub-agent) and only fall back to the Handoff app — a wrapper browser that h
documentation
Summarize one or more YouTube videos from their links. Use this whenever the user pastes a youtube.com or youtu.be URL (or several) and wants to know what it's about — phrasings like "summarize to telegram", "tldr these videos", "what do these say", "summary of this talk", or just dropping links with no instruction at all. Fetches each video's real transcript via yt-dlp (not the page text, which never contains the transcript), cleans the captions, and writes a per-video summary. Default delivery is Telegram; honor any other surface the user names ("to my notes", "just here in chat", "email it"). Trigger even when the user only pastes bare links — bare YouTube links almost always mean "tell me what's in these".
data-ai
Daily Digest — Chief-of-Staff role consolidates the six top-managers into one Telegram message to the Commander, instead of six. Implements the protocol from agent-proactivity.md.
development
Seed a new or empty Instagram account with a 9-post grid (3×3) so the profile looks established the moment a new visitor lands. Designed for festivals, new businesses, product launches, conferences, communities — any time an empty IG profile would hurt conversion from external traffic (QR scans, flyer drops, cross-promo). Generates assets via /image-from-gemini (per content-publishing rules — never HTML), writes captions with hashtag sets, and outputs a posting order + cadence plan. Trigger generously: phrases like '9 posts for instagram', 'fill my IG', 'starter grid', 'launch grid', 'instagram seed', '9-post grid', 'IG account not to look empty', 'first instagram posts', 'feed bootstrap', '3x3 grid', 'instagram launch content'. Even if the user mentions only one piece (just the images, just the captions, just the order), use this skill — the grid only works as an integrated bundle.