hermes import-agent
Import a Claude Code (~/.claude) or Codex CLI (~/.codex) setup.
Import a Claude Code (~/.claude) or OpenAI Codex CLI (~/.codex) setup into Hermes. Maps CLAUDE.md/AGENTS.md instructions to memory entries, Bash(...) permission allow/deny rules to command_allowlist/approvals.deny, MCP servers to mcp_servers in config.yaml, and skill directories into ~/.hermes/skills/. Always previews before applying; API keys and credentials are never imported.
Every successful import registers its source in ~/.hermes/import-sync.json; hermes import-agent --sync then re-imports any registered source whose files changed (a cron-friendly way to keep an imported Claude Code / Codex setup current). See the import guide for the full mapping tables.
From the official Hermes Agent CLI reference.
hermes import-agent