adding-tweets
БесплатноБез исполняемых скриптовНе проверенAdd tweets to the Second Brain. Use when the user provides a Twitter/X URL and pasted tweet content, asking to "add a tweet", "save this tweet", or "capture…
Об этом скилле
Adding Tweets to Second Brain
Add tweets with author linking, tags, and personal annotations.
Expected Input
User provides:
- Tweet URL -
x.com/*/status/*ortwitter.com/*/status/* - Pasted tweet content - Copy-pasted from Twitter/X
Example user input:
add this tweet https://x.com/naval/status/1234567890
my favorite way to use Claude Code is spec based
start with a minimal spec and ask Claude to interview you
Workflow
Phase 1: Parse URL → Extract tweet ID and author handle
Phase 2: Parse Content → Extract text, date, author name from paste
Phase 3: Author Resolution → Check/create author profile
Phase 4: Generate Tweet File → Write to content/tweets/
Phase 5: Suggest Editing → Tags, annotations, wiki-links
Phase 6: Quality Check → Run vp check && pnpm typecheck
Phase 1: Parse URL
Extract from URL using regex:
tweetId: The numeric ID from/status/{id}authorHandle: The username fromx.com/{username}/status/
Pattern: (?:x\.com|twitter\.com)/([^/]+)/status/(\d+)
Example: https://x.com/naval/status/1789234567890
→ authorHandle: "naval"
→ tweetId: "1789234567890"
Phase 2: Parse Content
From the pasted text:
- tweetText: The main tweet content (clean up any extra whitespace)
- tweetedAt: If date is visible in paste, use it. Otherwise use today's date.
- authorName: If visible (e.g., "Naval Ravikant"), use it. Otherwise use handle.
If critical info is missing, use the AskUserQuestion tool to gather it:
question: "I need some missing tweet info. What is the tweet text?"
header: "Tweet Info"
multiSelect: false
options:
- label: "I'll provide it"
description: "Let me paste the tweet content"
For optional fields like date, ask separately if needed.
Phase 3: Author Resolution
Check if author exists:
ls content/authors/{authorHandle}.mdIf not exists, create minimal profile:
--- name: "{Display Name or Handle}" slug: { authorHandle } socials: twitter: "https://x.com/{authorHandle}" ---For full author enhancement, suggest running
/enhance-author {authorHandle}
Phase 4: Generate Tweet File
Slug format: tweet-{tweetId}
File path: content/tweets/tweet-{tweetId}.md
Frontmatter template:
---
type: tweet
title: "{First 50 chars of tweet}..."
tweetId: "{tweetId}"
tweetUrl: "{originalUrl}"
tweetText: "{full tweet text}"
author: { authorHandle }
tweetedAt: { YYYY-MM-DD }
tags:
- { suggested tags }
---
{ User's personal annotations go here }
Phase 5: User Editing
After saving, inform user:
- File location
- Suggest adding tags (use
.claude/skills/adding-notes/scripts/list-existing-tags.shfor suggestions) - Suggest adding personal annotations in the body
- Suggest wiki-links to related notes
Tag Suggestions
Based on tweet content, suggest from existing tags:
.claude/skills/adding-notes/scripts/list-existing-tags.sh
Common tweet themes → tags:
- Wisdom, advice →
mindset,philosophy - Business, startups →
startup,business - Technology →
tech,programming - Productivity →
productivity,habit - AI, Claude →
claude-code,ai-agents,prompt-engineering
Validation
Before saving, verify:
- Tweet ID is unique (no duplicate file exists)
- Author profile exists or was created
tweetedAtis valid date formattweetTextis not empty
Phase 6: Quality Check
Run linter and type check to catch any issues:
vp check && pnpm typecheck
If errors are found, fix them before completing the task.
Установить adding-tweets в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBashGlobGrepTaskTaskOutputWebSearchAskUserQuestionFAQ
Что делает скилл adding-tweets?
Add tweets to the Second Brain. Use when the user provides a Twitter/X URL and pasted tweet content, asking to "add a tweet", "save this tweet", or "capture this tweet".
Как установить скилл adding-tweets?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл adding-tweets запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic