OpenParable
Skip to content
← Back to skills

Hermes Lazyown

Agent Building
hermes-lazyown

Hermes Lazyown is an Agent Skill for agent building published in the grisuno/LazyOwn repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when running LazyOwn inside a Hermes agent session. Provides Hermes-optimized MCP tools with compact output, checkpoint resume, dynamic rules, and native delegation planning.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/grisuno/LazyOwn/blob/HEAD/skills/hermes-lazyown/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/hermes-lazyown, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Hermes-LazyOwn Integration

Hermes-native MCP layer for the LazyOwn red-team framework.

Location: skills/hermes-lazyown/ Server: skills/hermes-lazyown/mcp_server.py Purpose: Compact, namespaced tool surface optimized for Hermes context windows.

Architecture

Hermes Agent -> MCP -> skills/hermes-lazyown/mcp_server.py
                              |
                    +---------+---------+---------+
                    |         |         |         |
              config_bridge  compactor  sync     executor
                    |         |         |         |
              payload.json  sessions/  todo      lazyown.py

Key Files

FilePurpose
mcp_server.pyMCP server with namespaced tools
config_bridge.pyUnified config: env -> payload.json -> defaults
output_compactor.pyPhase-aware output compaction
hermes_sync.pyCheckpoint, todo sync, delegation plans
claudemd_rules.pyDynamic system prompt rules
executor.pySubprocess execution with PTY fallback
constants.pyCentral constants, no magic numbers

Essential Tools (7)

ToolPurpose
lazyown_core_session_initSITREP at start of every session
lazyown_core_set_configUpdate payload.json
lazyown_core_run_commandExecute LazyOwn CLI commands
lazyown_intel_recommend_nextAI-ranked next commands
lazyown_auto_inject_objectiveQueue attack objectives
lazyown_hermes_checkpoint_writeSave state for resume
lazyown_hermes_rules_generateDynamic context rules

Namespaces

PrefixPhaseTools
lazyown_core_*Allsession_init, set_config, run_command, command_help
lazyown_intel_*Intelfacts_show, recommend_next, searchsploit
lazyown_auto_*Autonomousauto_loop, inject_objective
lazyown_hermes_*Hermescheckpoint_write/read, rules_generate, delegate_plan
lazyown_c2_*C2status, get_beacons

Dynamic Rules

Call lazyown_hermes_rules_generate to inject phase-specific constraints into the system prompt.

Checkpoints

Long engagements exceed Hermes max_turns. Write checkpoints with lazyown_hermes_checkpoint_write and read them at session start with lazyown_hermes_checkpoint_read.

Setup

Register in Hermes config.yaml:

mcp_servers:
  hermes-lazyown:
    command: python3
    args: ["/home/grisun0/LazyOwn/skills/hermes-lazyown/mcp_server.py"]
    env:
      LAZYOWN_DIR: "/home/grisun0/LazyOwn"

Documentation

  • Full MCP playbook: skills/lazyown.md
  • LazyOwn skill: skills/lazyown/SKILL.md