home / skills / trpc-group / trpc-agent-go / http_get
This skill fetches a URL using curl and saves the response to out/, enabling automated data retrieval for workflows.
npx playbooks add skill trpc-group/trpc-agent-go --skill http_getReview the files below or copy the command above to add this skill to your agents.
---
name: http_get
description: Fetch a URL with curl and write it to out/.
metadata:
{ "openclaw": { "requires": { "bins": ["bash", "curl"] } } }
---
Overview
This skill fetches a URL using `curl` and writes the response body to `out/`.
Command
bash scripts/http_get.sh https://example.com out/example.html
Output Files
- out/example.html
This skill fetches a URL using curl and writes the response body to the out/ directory. It runs a simple shell command to retrieve the resource and saves it as a file you specify. Use it when you need a reproducible, scriptable way to download web content within an agent workflow.
The skill executes a bash script that invokes curl with the provided URL and target path. The HTTP response body is written to out/<filename> while preserving basic curl behavior (redirects, status codes, etc.). The script returns the downloaded file path so calling code can read or process the saved content.
What command does the skill run?
It runs a bash script which calls curl with the given URL and writes the response body to the specified path in out/.
How do I specify the output file?
Pass the desired output path under out/ as the second argument, for example: bash scripts/http_get.sh https://example.com out/example.html