Siftly is a self-hosted application that imports Twitter/X bookmarks and organizes them into a searchable, categorized visual knowledge base using AI. It is for people who want to browse, search, visualize, and export their bookmarks while keeping the application data on their own machine. Its catalogue entry provides an instruction for using the project.
Borrowing it
Nothing to install: this file belongs to viperrcrypto/Siftly. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/viperrcrypto/Siftly/main/CLAUDE.mdgit clone --depth 1 https://github.com/viperrcrypto/SiftlyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/viperrcrypto/siftly/claude-md)<a href="https://agentmods.dev/instructions/viperrcrypto/siftly/claude-md"><img src="https://agentmods.dev/badge/instructions/viperrcrypto/siftly/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/viperrcrypto/siftly/claude-md"><img src="https://agentmods.dev/badge/instructions/viperrcrypto/siftly/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01079 | $0.01079 |
| Opus 5.5 | $0.00432 | $0.00432 |
| Sonnet 5.5 | $0.00216 | $0.00216 |
| Haiku 4.5 | $0.00108 | $0.00108 |
Grade A, and why
Siftly CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Siftly
Self-hosted Twitter/X bookmark manager with AI-powered categorization, search, and visualization.
Quick Setup
./start.sh # installs deps, sets up DB, opens browser
Or manually:
npm install
npx prisma generate && npx prisma db push
npx next dev
App runs at http://localhost:3000
AI Authentication — No API Key Needed
If the user is signed into Claude Code CLI, Siftly uses their Claude subscription automatically. No API key configuration required.
How it works:
lib/claude-cli-auth.tsreads the OAuth token from the macOS keychain (Claude Code-credentials)- Uses
authToken+anthropic-beta: oauth-2025-04-20header in the Anthropic SDK - Falls back to: DB-saved API key →
ANTHROPIC_API_KEYenv var → local proxy
To verify it's working, hit: GET /api/settings/cli-status
Key Commands
npx next dev # Start dev server (port 3000)
npx tsc --noEmit # Type check
npx prisma studio # Database GUI
npx prisma db push # Apply schema changes to DB
npm run build # Production build
Project Structure
app/
api/
categorize/ # 4-stage AI pipeline (start/stop/status via SSE)
import/ # Bookmark JSON import + dedup
search/ai/ # FTS5 + Claude semantic search
settings/
cli-status/ # GET — returns Claude CLI auth status
test/ # POST — validates API key or CLI auth
analyze/images/ # Vision analysis progress + trigger
bookmarks/ # CRUD + filtering
categories/ # Category management
mindmap/ # Graph data
stats/ # Dashboard counts
import/ # 3-step import UI
mindmap/ # Interactive force graph
settings/ # API keys, model selection
ai-search/ # Natural language search UI
bookmarks/ # Browse + filter UI
categorize/ # Pipeline monitor
lib/
claude-cli-auth.ts # Claude CLI OAuth session (macOS keychain)
categorizer.ts # AI categorization + default categories
vision-analyzer.ts # Image vision + semantic tagging
fts.ts # SQLite FTS5 full-text search
rawjson-extractor.ts # Entity extraction from tweet JSON
parser.ts # Multi-format bookmark JSON parser
exporter.ts # CSV / JSON / ZIP export
prisma/schema.prisma # SQLite schema (Bookmark, Category, MediaItem, Setting, ImportJob)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 117 lines · 1,079 tokens per session scan A a41301491e87
Siftly CLAUDE.md is an instructions file published in the GitHub repository viperrcrypto/Siftly (3,087 stars, last pushed 7mo ago), licensed MIT. It adds 1,079 tokens to every session, about $0.0043 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Siftly CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Siftly CLAUDE.mdviperrcrypto/Siftly | Instructions file | 3.1k | 7mo ago | MIT | A | 1,079 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |