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

Daily News

by @jaceymarvin99

Use when users need daily news summaries, current events, or want to stay informed about world news in Chinese.

Versionv0.1.0
Installs3
βš™οΈ Configuration

  • --encoding, -e : Optional. Specifies the output response format. Valid options are text, json, markdown, image, and image-proxy. The API defaults to json if not specified.
  • --date, -d : Optional. Fetch historical news for a specific date. If omitted, fetches today's news. Note: If this is the only argument provided, you can omit the --date flag entirely.
  • Return Values

    The script securely calls the 60s API and outputs the response to stdout. Depending on the encoding parameter, the response could be a JSON string, plain text, markdown, or image URLs.

    Usage Examples

    # Get today's news using default API encoding (json)
    ./scripts/news.sh

    Get today's news in plain text format

    ./scripts/news.sh --encoding text

    Get news for a specific date using flags

    ./scripts/news.sh --date 2024-03-01

    Get news for a specific date (simplified usage without flags)

    ./scripts/news.sh 2024-03-01

    Get news for a specific date in markdown format

    ./scripts/news.sh -e markdown -d 2024-03-01

    πŸ“‹ Tips & Best Practices

    Issue: No data returned

  • Solution: Try requesting previous dates (yesterday or the day before)
  • The service tries latest 3 days automatically
  • Issue: Image not loading

  • Solution: Use encoding=image-proxy instead of encoding=image
  • The proxy endpoint directly returns image binary data
  • Issue: Old date requested

  • Solution: Data is only available for recent dates
  • Check the response status code
  • View on ClawHub
    TERMINAL
    clawhub install daliy-news

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’