🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

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.

Versionv0.1.0
Downloads1,348
TERMINAL
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-13

    Get date range

    python skills/fs-street/scripts/fetch_blog.py --date-range

    Relative 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-14

    Available 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-13

    Get date range

    python skills/fs-street/scripts/fetch_blog.py --date-range

    Relative 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 |