Skip to content
Back to skills

Hermes Profile Fleet

ASecurity

Build and verify a fleet of Hermes profiles that work Kanban cards by role.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythongoshellbashsqlgitdatabaseci/cdsecurity

Works with

  • terminal
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add Rafaelrr5/agent-cortex --skill hermes-profile-fleet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hermes Profile Fleet?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hermes Profile Fleet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rafaelrr5-hermes-profile-fleet/badge)](https://www.skillsdirectory.com/skills/rafaelrr5-hermes-profile-fleet)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hermes-profile-fleet
description: "Build and verify a fleet of Hermes profiles that work Kanban cards by role."
version: 1.0.0
author: Rafael Rocha Ribeiro (github.com/Rafaelrr5)
license: MIT
platforms: [linux, macos, windows]
metadata:
  agent:
    tags: [hermes, profiles, kanban, assignees, routing, hooks, orchestration]
    related_skills: [agent-tool-hooks, delegated-agent-supervision, parallel-agent-fanout, hermes-provider-credentials]
---

# Hermes specialist profile fleets

A Hermes profile is an isolated home: its own config, `.env`, `SOUL.md`, skills,
memory and sessions. The Kanban dispatcher runs each card as
`hermes -p <assignee>`, so a set of role profiles becomes a team the board can
route work to.

## When to Use

- creating, reorganizing or auditing named profiles that act as Kanban assignees
- giving roles their own model, toolsets, SOUL or hooks
- deciding where a card should run, or why a card sits in `ready` and never starts

Profile, Kanban and hook schemas change between releases. Check
`hermes <command> --help` on the installed version before relying on a flag.

## Outcome

A finished fleet has a small roster with non-overlapping roles, descriptions the
decomposer can route against, a SOUL per role, only the tools each role needs,
the credentials each role uses provisioned in its own home, hooks consented in
every profile that runs them, an orchestrator and a fallback assignee, and a
read-back of all of it.

## 1. Discover before designing

Inspect `hermes profile list`, `hermes hooks list`, `hermes config get kanban`,
`hermes kanban assignees`, the board (especially running cards), and the user's
recurring task classes. A card assigned to a profile that does not exist stays
in `ready` forever: the dispatcher skips it and logs `skipped_nonspawnable`.

## 2. Design a class-level roster

Six to eight roles cover most needs:

- **planner**: specifications, task graphs, dependencies, routing; no implementation
- **builder**: scoped implementation and tests
- **reviewer**: independent, read-only-by-default quality and security gate
- **researcher**: primary-source discovery and cited synthesis
- **maker**: documents, slides, diagrams, images, audio, video
- **ops**: deployment, infrastructure, DNS, CI/CD
- **domain specialist**: only for a recurring area with its own tools, evidence rules or external systems

Avoid one profile per repository, technology or one-off task; a flat zoo of
profiles is hard to route and harder to maintain.

Descriptions are routing input. `hermes kanban decompose` sends the auxiliary
model every profile's name and description (an undescribed profile is flagged)
and asks it for a task graph, so write one or two sentences with actions,
artifacts and boundaries. Read them back with `hermes profile describe <name>`.

## 3. Model routing: assignee = profile = model

Upstream rejected automatic complexity routing: the old smart model routing was
removed, and a request for a task-difficulty router was closed as not planned.
The native route is the assignee. Each profile carries its own `model.provider`,
`model.default` and `fallback_providers`, so choosing the assignee chooses the
model; say the model's strength in the description so the decomposer can pick
it. For a one-off exception use `hermes kanban set-model <task> <model>
--provider <p>` (takes effect on the next dispatch; `none` clears it) instead
of creating a profile. A provider or quota failure is handled by the profile's
fallback list and is not a reason to escalate to a stronger model.

## 4. Create profiles with the CLI

Never hand-create profile directories.

```bash
hermes profile create builder --clone \
  --description "Implements scoped software changes, runs the tests, reports exact diffs."
```

- `--clone` copies `config.yaml`, `.env`, `SOUL.md` and skills from the active
  profile, with fresh sessions. Messaging channels (bot tokens, allowlists) are
  stripped unless you add `--clone-channels`, because two gateways on one bot
  fight over it.
- For a least-privilege worker, `--clone` is the wrong default: it copies every
  key in `.env`. `--no-credentials` copies no keys, logins or model (run
  `hermes -p <name> setup` afterwards). Logins in the default profile stay
  readable for providers the new profile has not signed in to; `--isolated-auth`
  copies them once instead of sharing.
- A profile isolates configuration and state, not the filesystem or network.
  Under the same OS user, a worker can read anything that user can.

**Provision what each role uses in its own home.** Token files a skill or MCP
server writes under its home (OAuth token files, `mcp-tokens/`, a local search
index) are not shared by cloning. A worker that needs them blocks with "not
authenticated" and burns a full run. Before the first dispatch, provision each
one through its own login or setup under `hermes -p <name>`, and run the
skill's own check under that profile.

## 5. Specialize the SOUL, not just the name

A profile name enforces nothing. Each worker SOUL states its single role and
what it must not do, how it gets project history and loads skills, the evidence
required before completion, credential boundaries, read-back after external
writes, and the exact handoff for block, review or completion.

- planner: scoped cards with acceptance criteria, true parent links, parallel
  independent lanes; stops after routing.
- builder: respects repository rules, fences file scope, verifies delegated
  claims with git and tests, no commit or push unless the card says so.
- reviewer: inspects the real diff, reproduces failures, reports by severity,
  requests changes instead of fixing silently.
- researcher: primary and current sources, evidence separated from inference,
  no external writes.
- maker: renders and looks at the output; for volume work, one sample first.
- ops: identifies the owning account, plans rollback, reads back every change.

## 6. Narrow the toolsets

Set `toolsets` per profile with `hermes -p <name> config set toolsets '[...]'`.
`hermes-cli` is the full bundle (terminal, files, web, browser, computer use,
Kanban tools and more), so a worker left on it gets everything. Narrower sets
exist (`terminal`, `file`, `web`, `browser`, `skills`, `code_execution`,
`delegation`, `vision`, `image_gen`, `kanban`, ...); list them with
`hermes tools` on your version. A reviewer might get `[terminal, file, skills]`,
a researcher `[web, file, skills]`. Dispatcher-spawned workers always receive
the Kanban lifecycle tools (complete, block, comment) even when their toolsets
omit `kanban`.

## 7. Wire Kanban routing

```bash
hermes config set kanban.orchestrator_profile planner
hermes config set kanban.default_assignee planner
```

`orchestrator_profile` owns the root task after decomposition; it does not
change the decomposer's model call (that is `auxiliary.kanban_decomposer`), so
the planner's SOUL is not used while decomposing. When decomposition picks an
unknown assignee it is rewritten to `default_assignee`.

The board lives in the root Hermes home and is shared by every profile, so run
one dispatcher: two on the same `kanban.db` race for claims.
`kanban.dispatch_in_gateway` defaults to true, so every profile whose gateway
runs also dispatches; set it to false on worker profiles that run a gateway. Do not reassign running work because a new roster
exists; let old cards finish under their original owner.

`kanban.review_dispatch` (default true) spawns the assignee with the bundled
`sdlc-review` skill for cards in review. Smoke-test a review start on each
reviewing profile; an implementation smoke test does not exercise that path.

## 8. Hooks across the fleet

Useful class-level hooks: a secret guard on `pre_tool_call` (fail closed, keeps
credential values out of memory, skills and prompts), a verification gate on
`post_tool_call` + `pre_verify`, and telemetry on `subagent_stop`,
`kanban_task_completed` and `kanban_task_blocked`. See `agent-tool-hooks`.

Hook consent is per home. The allowlist is `shell-hooks-allowlist.json` in each
profile's home, so approving in the default profile does not arm a worker. For
each profile, approve at a CLI prompt, run with `--accept-hooks`, or set
`hooks_auto_accept`. `hermes hooks test` fires hooks but does not prove consent;
`hermes hooks doctor` checks the allowlist and is the acceptance test.

Keep hook scripts in one place and reference them by absolute path from every
profile. Use an append-only JSONL log for parallel tool completions; a shared
read-modify-write state file races. For `hermes hooks test --payload-file`,
pass the tool arguments under `args`; the runtime script receives them as
`tool_input`.

## 9. Safe sequence for a fleet-wide change

1. Inspect running cards on every board.
2. Apply changes with `hermes -p <name> config set` per profile.
3. Approve hook consent per profile.
4. Run `hermes config check` and `hermes hooks doctor` per profile.
5. Verify `hermes kanban assignees` and `hermes kanban dispatch --dry-run`.

Config changes do not reach a worker already running; it keeps the old model
until it is re-run.

## Pitfalls

- **Mutating the board from a delegated child.** Kanban refuses writes from a
  `delegate_task` child ("delegate_task child contexts cannot mutate Kanban
  tasks or boards"). Report it and hand the planned cards to a normal operator
  session. Never unset the marker or write SQLite to get around it.
- **Human gate that is not durable.** Create the gate card, then
  `hermes kanban block <id> "<decision needed>" --kind needs_input` (reason
  before `--kind`) and read the card back. An initial blocked status alone can be
  promoted by the dispatcher.
- **`--goal` on a routing card.** The goal judge checks the card's title and
  body; a planner card named after an artifact can keep failing a result that
  says "decomposed into N cards". Put `--goal` on the cards that produce the
  artifact.
- **`done` is not shipped.** A planner closes implement and review loops but
  does not reliably add merge, deploy or smoke cards unless the root card asks. Say merge and
  deploy in the root card when that is the goal.
- **Budget-exhausted card.** It may still hold finished work: read `show`,
  `runs` and the worker log before respawning. To raise the ceiling, change the
  assignee profile's `agent.max_turns`, not the default profile's, and not
  `delegation.max_iterations` (that caps delegated children).
- **Credentials in board text.** Never put a key in a comment, unblock reason,
  body or summary; board history is durable. Write variable names and paths.
- **Windows hook interpreter.** A venv `pythonw.exe` launcher can re-exec a
  console interpreter and flash windows; point hooks at the base interpreter
  named in `pyvenv.cfg`, and read and write file descriptors 0 and 1 directly
  because `sys.stdin`/`sys.stdout` can be `None` under `pythonw`.

Operating a blocked board and reading the board database directly:
`references/operating-a-board.md`.

## Verification

Do not report the fleet complete until all hold:

- [ ] `hermes profile list` shows every intended profile; each description reads back
- [ ] each SOUL is written and read back
- [ ] worker gateways are off or have `kanban.dispatch_in_gateway: false`
- [ ] `orchestrator_profile` and `default_assignee` read back
- [ ] `hermes hooks doctor` is healthy in the default and every worker profile
- [ ] the secret guard blocks a simulated credential and allows a variable name
- [ ] every profile that needs a token or index passes its own check under `-p <name>`
- [ ] `hermes kanban assignees` sees the roster; `dispatch --dry-run` shows no surprises
- [ ] one representative profile completes a no-tool smoke run, and each reviewing profile starts a review

Files in this skill

  • SKILL.md11.5 KB
  • references/operating-a-board.md4.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.