xiaohongshu
xiaohongshu
hn-filter
Filter and analyze Hacker News top stories based on user interests. Use when the user wants to browse, filter, or get personalized Hacker News content, find interesting tech articles, or get a curated digest of HN posts.
Full skill instructions
Filter top 100 Hacker News posts based on user interests with AI-powered semantic matching.
Use this skill when the user:
Ask the user what topics they're interested in and what they want to exclude:
What topics interest you today? (Press Enter to use saved defaults)
Examples:
- Interested in: AI, systems programming, developer tools, startups
- Exclude: crypto, blockchain, politics
If user presses Enter or says "use defaults", load from config file.
Config file location: ~/.claude/hacknews-interest.json
Expected format:
{
"interests": ["AI", "machine learning", "systems programming", "developer tools", "open source"],
"blacklist": ["crypto", "blockchain", "NFT", "web3", "politics"]
}
If config doesn't exist, create it with user's input. If user provides interests interactively, optionally ask if they want to save as new defaults.
Use the Hacker News API:
# Fetch top story IDs
curl -s "https://hacker-news.firebaseio.com/v0/topstories.json" | jq '.[0:100]'
# Fetch individual story details
curl -s "https://hacker-news.firebaseio.com/v0/item/{id}.json"
For each story, extract:
id: Story IDtitle: Story titleurl: Link to article (may be missing for Ask HN, Show HN)score: Upvotesdescendants: Comment countby: Author usernameFor each story with a URL:
~/.cache/hn-filter/articles/{story_id}.txtcurl or web fetch to get the article contentCache structure:
~/.cache/hn-filter/
├── articles/
│ ├── 12345.txt
│ ├── 12346.txt
│ └── ...
└── comments/
├── 12345.json
└── ...
For each story:
# Story item includes 'kids' array of comment IDs
curl -s "https://hacker-news.firebaseio.com/v0/item/{comment_id}.json"
For each story, analyze:
Filtering Logic:
Semantic matching means:
For each matching story, output:
## [Story Title](URL)
Score: X | Comments: Y
**Why this matched:** [1-line AI explanation of why this matches user interests]
**Key discussion points:**
- [Balanced point 1 - present both perspectives if debated]
- [Balanced point 2]
- [Balanced point 3]
---
Discussion point guidelines:
# Hacker News Digest - Filtered for: AI, systems programming
Excluding: crypto, blockchain
Found 12 matching stories from top 100
---
## [Anthropic releases Claude 3.5 with improved reasoning](https://example.com/article)
Score: 542 | Comments: 231
**Why this matched:** Directly relevant to AI/ML interests - covers new LLM capabilities and benchmarks.
**Key discussion points:**
- Performance comparison shows 2x improvement on coding tasks vs previous version
- Debate on benchmark validity: some argue real-world performance differs from synthetic tests
- Several commenters report success using it for complex refactoring tasks
- Discussion of API pricing changes and impact on indie developers
---
## [Building a Modern Text Editor in Rust](https://example.com/rust-editor)
Score: 312 | Comments: 89
**Why this matched:** Combines systems programming (Rust) with developer tools (text editor).
**Key discussion points:**
- Author shares performance metrics: <5ms latency for 100k line files
- Debate on using GPU rendering: proponents cite smoothness, critics cite battery drain
- Several suggestions for async architecture patterns for plugin systems
---
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience