+
Hermes Agent + Wayfern
Hermes writes its own skills and runs them on its cron. A skill that reads the web stops working when the site blocks bots.
With Wayfern, the skill calls tools: scrape_page for a page, extract_data for fields, or an operation that turns a public page into a JSON call. Hermes records the calls, and Wayfern does the fetching.
$ hermes mcp login wayfern
✓ wayfern: signed in on wayfern.com
❯ Every Monday, list new events on
library.acme.dev. Save it as a skill.
┊ map_site url: library.acme.dev, search: "events"
6 URLs · credits_charged: 2
┊ scrape_page url: library.acme.dev/events
markdown · credits_charged: 1
┊ extract_data urls: […/events/calendar], prompt: "title, date, room"
9 events · credits_charged: 1
1. map_site map library.acme.dev for "events"
2. scrape_page read /events as markdown
3. extract_data extract title, date, room
Setup
Hermes runs on your computer or on a server. It reaches Wayfern over the remote server from either.
Skip this when Hermes is installed.
bash
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setupOr run hermes mcp add wayfern --url https://api.wayfern.com/mcp --auth oauth.
~/.hermes/config.yaml
mcp_servers:
wayfern:
url: "https://api.wayfern.com/mcp"
auth: oauthA browser opens on wayfern.com. Sign in and click Allow. In a running chat, /reload-mcp loads the server.
bash
hermes mcp login wayfern
hermes mcp test wayfernprompt
Every Monday, read the events page of the city library with Wayfern, list the new events, and save the steps as a skill.For a server with no browser. Use a token with the mcp scope.
~/.hermes/config.yaml
mcp_servers:
wayfern:
url: "https://api.wayfern.com/mcp"
headers:
Authorization: "Bearer ${WAYFERN_API_TOKEN}"Hermes copies the skill to ~/.hermes/skills. It takes effect in new sessions. The skill needs WAYFERN_API_TOKEN in the environment.
bash
hermes skills install https://wayfern.com/skills/wayfern/SKILL.md --name wayfernRoute
Hermes learns from its tool calls. MCP gives it one call per step, each with a known cost, and the OAuth sign-in keeps the token out of the skill file.
hermes mcp login wayfern on a computer with a browser.${WAYFERN_API_TOKEN}. Use it on a server with no browser.hermes skills install with the SKILL.md URL. The skill calls the REST API with curl.Example tasks
01
“Every Monday, read the events page of the city library, list the new events and save the steps as a skill.”
scrape_page at 1 credit a page. Hermes writes the skill to ~/.hermes/skills.
02
“Learn the search page of the used-car site as a Wayfern operation with make and model as parameters. Then call it each morning for a Volvo V60.”
learn_operation costs 3 credits when it finds candidates. create_operation is free. Each call_operation costs 1 credit.
03
“Every 6 hours, search Google for new posts about our product on reddit.com and news.ycombinator.com, and send the links to Telegram.”
search_web with site set bills 2 credits for each provider page.
04
“Crawl the public recipes section of this site, 100 pages at most, and write title, time and ingredients to recipes.jsonl.”
crawl_site bills 1 credit for each page. crawl_status is free.
Tools
The same tools on every route, at the REST API rates. Every result reports credits_charged.
skills.write_approval holds new skill files until you approve them.get_usage reports the balance and is free.Sign in once and the tools appear. Tool calls use the credits of your Wayfern plan, at the same rates as the API.