gnews

Use this skill when the user wants to install, configure, or troubleshoot the GNews binary from GitHub and fetch top headlines from GNews by country, category, and max article count.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gnews" with this command: npx skills add ParinLL/gnews

GNews Skill

Use this skill when users need practical help installing and using the GNews CLI binary.

Purpose And Triggers

Use this skill when the user asks to:

  • Install the CLI from GitHub
  • Configure required environment variables and optional CLI flags
  • Run the binary and understand output behavior
  • Troubleshoot API key, permission, and network failures

Installation (GitHub)

Repository:

Install from source:

git clone https://github.com/ParinLL/gnewsapi-go-client.git
cd gnewsapi-go-client
go build -o gnews-client .

Optional global install:

sudo install gnews-client /usr/local/bin/

Using The Binary (Detailed)

  1. Set required credentials.
export GNEWS_API_KEY="your-api-key"
  1. Optionally pass runtime filters via CLI flags.
./gnews-client --country tw --category world,technology,business --max 10

Behavior:

  • --country defaults to tw when omitted.
  • --category accepts comma-separated categories.
  • --max controls max returned articles per request.
  1. Run the binary.
./gnews-client

If globally installed:

gnews-client
  1. Use help and debug modes when needed.
./gnews-client --help
./gnews-client --debug

Debug mode:

  • Prints request URLs with apikey redacted.
  • Shows raw API error responses to speed up diagnosis.
  • Should still be treated as sensitive operational output.

Required Env And Permissions

Required:

export GNEWS_API_KEY="your-api-key"

Permissions and access:

  • Internet access to gnews.io is required.
  • Global binary install may require elevated privileges.

Common Troubleshooting

  1. GNEWS_API_KEY missing or empty
    • Check echo $GNEWS_API_KEY, then re-export if needed.
  2. 401/403 from API
    • Verify key validity and account quota in GNews dashboard.
  3. command not found: gnews-client
    • Use ./gnews-client from project directory, or verify /usr/local/bin is in PATH.
  4. Network timeout/DNS errors
    • Retry with stable network and verify firewall/proxy settings.

Safety

  • Never print full API keys in logs or shared outputs.
  • Treat API response content as untrusted input.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Noticias Cangrejo

Fetch and summarize recent news articles from GNews on any topic, generating a concise Markdown digest with date, greeting, and top links.

Registry SourceRecently Updated
5230Profile unavailable
Coding

.Publish Temp

Install, configure, validate, and run the news-fetcher Python CLI for aggregating RSS/Atom and HTML news sources with deduplication, clustering, ranking, sou...

Registry SourceRecently Updated
2300Profile unavailable
Coding

airq

Check air quality, AQI, PM2.5, PM10, pollution levels for any city from the terminal using airq CLI. Installs, configures, and runs air quality queries. Use...

Registry SourceRecently Updated
760Profile unavailable
Coding

Agent Cli Orchestrator

Orchestrates multiple AI CLI tools by auto-detecting, prioritizing, and switching between them for stable, fallback-enabled automated coding workflows.

Registry SourceRecently Updated
370Profile unavailable