Fs Street
by @hjw21century
Fetches articles from Farnam Street RSS. Use when asking about decision-making, mental models, learning, or wisdom from Farnam Street blog.
clawhub install fs-streetπ About This Skill
name: fs-street description: Fetches articles from Farnam Street RSS. Use when asking about decision-making, mental models, learning, or wisdom from Farnam Street blog.
Farnam Street
Fetches articles from Farnam Street blog, covering topics like mental models, decision-making, leadership, and learning.
Quick Start
# Basic queries
ζ¨ε€©ηζη«
δ»ε€©ηFSζη«
2024-06-13ηζη« Search
ζεͺδΊε―η¨ηζ₯ζ
Query Types
| Type | Examples | Description |
|------|----------|-------------|
| Relative date | ζ¨ε€©ηζη« δ»ε€©ηζη« ε倩 | Yesterday, today, day before |
| Absolute date | 2024-06-13ηζη« | YYYY-MM-DD format |
| Date range | ζεͺδΊζ₯ζ ε―η¨ηζ₯ζ | Show available dates |
| Topic search | ε
³δΊε³ηηζη« ζ维樑ε | Search by keyword |
Workflow
- [ ] Step 1: Parse date from user request
[ ] Step 2: Fetch RSS data
[ ] Check content availability
[ ] Format and display results
Step 1: Parse Date
| User Input | Target Date | Calculation |
|------------|-------------|-------------|
| ζ¨ε€© | Yesterday | today - 1 day |
| ε倩 | Day before | today - 2 days |
| δ»ε€© | Today | Current date |
| 2024-06-13 | 2024-06-13 | Direct parse |
Format: Always use YYYY-MM-DD
Step 2: Fetch RSS
python skills/fs-street/scripts/fetch_blog.py --date YYYY-MM-DD
Available commands:
# Get specific date
python skills/fs-street/scripts/fetch_blog.py --date 2024-06-13Get date range
python skills/fs-street/scripts/fetch_blog.py --date-rangeRelative dates
python skills/fs-street/scripts/fetch_blog.py --relative yesterday
Requirements: pip install feedparser requests
Step 3: Check Content
When NOT Found
Sorry, no article available for 2024-06-14Available date range: 2023-04-19 ~ 2024-06-13
Suggestions:
View 2024-06-13 article
View 2024-06-12 article
Members Only Content
Some articles are marked [FS Members] - these are premium content and may only show a teaser.
Step 4: Format Results
Example Output:
# Farnam Street Β· 2024εΉ΄6ζ13ζ₯> Experts vs. Imitators: How to tell the difference between real expertise and imitation
Content
If you want the highest quality information, you have to speak to the best people. The problem is many people claim to be experts, who really aren't.
Key Insights:
Imitators can't answer questions at a deeper level
Experts can tell you all the ways they've failed
Imitators don't know the limits of their expertise
Source: Farnam Street
URL: https://fs.blog/experts-vs-imitators/
Configuration
| Variable | Description | Default |
|----------|-------------|---------|
| RSS_URL | RSS feed URL | https://fs.blog/feed/ |
No API keys required.
Troubleshooting
| Issue | Solution | |-------|----------| | RSS fetch fails | Check network connectivity | | Invalid date | Use YYYY-MM-DD format | | No content | Check available date range | | Members only | Some articles are premium content |
CLI Reference
# Get specific date
python skills/fs-street/scripts/fetch_blog.py --date 2024-06-13Get date range
python skills/fs-street/scripts/fetch_blog.py --date-rangeRelative dates
python skills/fs-street/scripts/fetch_blog.py --relative yesterday
π‘ Examples
# Basic queries
ζ¨ε€©ηζη«
δ»ε€©ηFSζη«
2024-06-13ηζη« Search
ζεͺδΊε―η¨ηζ₯ζ
βοΈ Configuration
| Variable | Description | Default |
|----------|-------------|---------|
| RSS_URL | RSS feed URL | https://fs.blog/feed/ |
No API keys required.
π Tips & Best Practices
| Issue | Solution | |-------|----------| | RSS fetch fails | Check network connectivity | | Invalid date | Use YYYY-MM-DD format | | No content | Check available date range | | Members only | Some articles are premium content |