smaug
Archive your Twitter/X bookmarks to markdown with AI-powered analysis. Supports Claude Code and OpenCode for multi-model flexibility. Like a dragon hoarding treasure, Smaug collects the valuable things you bookmark.
MCP Agents Market is an independent directory. We are not affiliated with alexknowshtml or smaug, and we do not host or distribute it. All links point to the official GitHub repository.
Smaug is a Claude Code plugin that archives Twitter/X bookmarks to markdown with AI-powered analysis and categorization. The plugin automatically fetches bookmarks, expands shortened links, extracts content from GitHub repos and articles, and invokes Claude Code to organize entries into a knowledge library. It supports multi-model AI processing through both Claude Code and OpenCode, with intelligent filing of GitHub repositories to tools folders and articles to dedicated collections. Developers can automate the archival process on a schedule to maintain an organized, searchable record of valuable Twitter content.
Key Features
Use Cases
- 01Building a personal knowledge base from curated Twitter/X bookmarks with AI-generated summaries
- 02Archiving developer resources and GitHub repositories discovered through Twitter into organized tool collections
- 03Creating searchable article libraries from bookmarked Medium, Substack, and blog posts with metadata
- 04Maintaining a timestamped record of valuable tweets with full quote and reply thread context
- 05Processing bookmark backlogs in cost-efficient batches using model-specific optimization
- 06Automating regular bookmark archives on a schedule to prevent information loss
Related Plugins
View moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
smaug — FAQ
What is Smaug and what does it do?+
Smaug is a Claude Code plugin that automatically archives your Twitter/X bookmarks (and optionally likes) to markdown files. It uses AI to analyze, categorize, and file content into an organized knowledge library, with GitHub repos going to tools folders and articles to dedicated collections.
How do I install Smaug for Claude Code?+
Clone the repository, run npm install, then execute 'npx smaug setup' to configure Twitter credentials and directories. The plugin includes Claude Code commands in .claude/commands/ that are automatically available once installed. You'll need the bird CLI for Twitter API access.
What are the prerequisites and API requirements?+
You need Node.js, the bird CLI (Twitter API wrapper), and your Twitter session cookies (auth_token and ct0 from browser developer tools). Claude Code or OpenCode is required for AI-powered processing. No separate Twitter API keys are needed—only browser session cookies.
Which AI clients work with Smaug?+
Smaug works with Claude Code (default) and OpenCode. It supports multiple Claude models (Sonnet, Haiku, Opus) and OpenCode models including GLM-4.7, Kimi-K2.5, and routed access to Claude/GPT through OpenCode.
Is Smaug free to use?+
Smaug itself is open-source and free (MIT license), but AI processing incurs costs through your Claude or OpenCode API usage. Token tracking shows typical costs around $0.50-$1.00 per 20 bookmarks, with cost optimization through Haiku sub-agents for parallel processing.
How do I fetch all my bookmarks instead of just recent ones?+
Use 'npx smaug fetch --all' to enable pagination. This requires building bird CLI from git (not the npm release), as the current npm version only fetches ~50-70 bookmarks. You can limit pagination with '--max-pages' to control processing costs.
How do I install smaug?+
Open the source repository on GitHub and follow its README. smaug is a plugin — MCP Agents Market links you directly to the official repo.
Is smaug free?+
smaug is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.