Ch. 4 — Notes · § 012026·04·25 · — words
Ch. 4

Moving 7000+ Files to Hermes Agent Over a Weekend

§ 01
COLOPHON
Source Serif 4 · JetBrains Mono · Forge Codex
TOOLS
Next 15 · MDX · framer-motion

A complete account of migrating 19 skills and 128 sessions from OpenClaw to Hermes Agent — the pitfalls, the decisions, and the open-source migration skill that came out of it.

TL;DR: Last weekend I migrated my entire OpenClaw environment to Hermes Agent — 7,011 files, 520MB of data, 19 global skills, 128 session records. This post covers the process, the pitfalls, and how I turned the whole thing into an open-source skill.


Hey, I'm GeekJourney.

Last weekend I moved my entire OpenClaw work environment to Hermes Agent.

The numbers alone don't fully convey it: 7,011 files, 520MB of data, 19 global skills, 128 session records. It took a full day to complete.

Today I want to talk about how the migration went, what went wrong, and how I turned the process into a reusable open-source skill.

§Why Move at All

OpenClaw got the job done. But a few problems kept compounding.

First: skill management. I had accumulated 19 global skills scattered across different directories with no unified registration mechanism. Every time I wanted to reuse a skill, I had to dig through folders and copy configs manually. Having too many skills with no index is worse than having fewer.

Second: session persistence. 128 session records scattered around with no index, no search. Finding a debugging session from last week meant relying on memory alone.

Hermes Agent's architecture addresses both of these. Skills have a unified loading path, sessions have structured storage and retrieval, and memory is built in.

It wasn't that OpenClaw was bad — my requirements had outgrown it.

§Six Phases of Migration

I spent half a day developing a six-phase SOP.

Phase 1: Inventory. List every skill directory, session record, and config file under OpenClaw. Just doing this revealed 3 deprecated skills I deleted on the spot.

Phase 2: Backup. Archive the entire OpenClaw directory and store it on a separate drive. Backup before migration isn't a suggestion — it's a rule.

Phase 3: Skill mapping. Reviewing all 19 skills one by one: which ones can move to Hermes directly? Which need config format updates? Which can be retired? This was the most time-consuming phase. Hermes uses SKILL.md format; OpenClaw skill descriptors have a different structure. Some skills required rewriting their metadata by hand.

Phase 4: Session migration. 128 sessions don't just copy over. Hermes uses a structured session format that required conversion. I wrote a small script to batch process them — took two passes to get clean output.

Phase 5: Config migration. Cron jobs, environment variables, API key configs. Scattered, but each one matters. Miss a single cron job and your scheduled tasks go silent.

Phase 6: Verification. Check everything: do skills load correctly? Can sessions be searched? Are cron jobs running?

§Pitfalls

The biggest pitfall: hardcoded paths. OpenClaw and Hermes use different skill loading paths. Several of my skills had absolute paths hardcoded. After migration, those paths changed, and skills failed to load. Took nearly an hour to trace back to the path references.

Second pitfall: character encoding. Some session records contained special characters that triggered encoding errors during bulk conversion. Fixed by adding an explicit UTF-8 declaration to the migration script.

Third pitfall: me. Halfway through migration I thought "good enough" and skipped the verification phase. The next day I discovered a key skill hadn't loaded successfully and it delayed real work. Verification is not optional. That lesson is burned in now.

§Turning the Pain into a Tool

After finishing the migration, I packaged the entire process into an open-source skill: openclaw-to-hermes-migration.

The skill does one thing: converts the six-phase SOP into executable steps, with migration scripts and checklists included.

If you're considering migrating from OpenClaw to Hermes, it's worth a look. No need to do everything at once — work through it phase by phase.

§After the Migration

The biggest feeling after finishing: I no longer have to rely on memory to find things.

Before, locating a skill meant trying to remember which directory it lived in. Now Hermes auto-loads skills and calls them on demand. Session search is direct. No more folder archaeology.

I also set up two scheduled tasks: one that pulls an AI Builder digest at 10 AM, and one that pushes the BuilderPulse daily summary at 10:30 AM. Automation only works when the foundation is stable — migration is what makes the foundation stable.

§Advice for Anyone Considering the Move

If you're on OpenClaw or another Agent framework and considering Hermes, three points:

  1. ·

    Inventory before you touch anything. Don't rush into moving. Know what you have first. My inventory turned up 3 deprecated skills — immediate reduction in migration work.

  2. ·

    Script it, don't hand-carry it. Moving 7,011 files manually isn't realistic. Thirty minutes writing a migration script saves hours of manual work.

  3. ·

    Keep the old environment until you've verified the new one. I nearly deleted my OpenClaw directory before verification was done. Keep the old environment for at least a week before cleaning up.

Migration isn't about switching tools. It's about organizing your digital assets. Tools will change; the assets are yours.

SIGNED北京 · 2026·04·25 · git dev