Install
openclaw skills install gnewsUse 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.
openclaw skills install gnewsUse this skill when users need practical help installing and using the GNews CLI binary.
Use this skill when the user asks to:
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/
export GNEWS_API_KEY="your-api-key"
./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../gnews-client
If globally installed:
gnews-client
./gnews-client --help
./gnews-client --debug
Debug mode:
apikey redacted.Required:
export GNEWS_API_KEY="your-api-key"
Permissions and access:
gnews.io is required.GNEWS_API_KEY missing or empty
echo $GNEWS_API_KEY, then re-export if needed.401/403 from API
command not found: gnews-client
./gnews-client from project directory, or verify /usr/local/bin is in PATH.