Skip to content
Back to skills

Domain Detection Routing

ASecurity

Auto-detect task domain from user message and route to correct Hermes profile via delegate_task.

  • 36 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 10, 2026
ai-agentspythongobash

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add theheavenlyd3mon/hermes-profiles --skill domain-detection-routing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Domain Detection Routing?

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

Security grade badge for Domain Detection Routing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/theheavenlyd3mon-domain-detection-routing/badge)](https://www.skillsdirectory.com/skills/theheavenlyd3mon-domain-detection-routing)

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: domain-detection-routing
description: Auto-detect task domain from user message and route to correct Hermes profile via delegate_task.
---
# Domain Detection for Multi-Profile Routing

## Body
Senna uses a keyword-based domain detection script to route tasks to the correct specialized profile. The script is at `~/.hermes/profiles/senna/scripts/domain-detect.py`.

### Usage
```bash
python3 ~/.hermes/profiles/senna/scripts/domain-detect.py "<user_message>"
```

### Output
JSON: `{profile, domain, confidence, matched_keywords, reason}`

### Domain → Profile Mapping
| Domain | Profile | Environment |
|--------|---------|-------------|
| ue5 | ue5 | Windows PC (your GPU, UE 5.7) |
| book-writing | book-writer | Windows PC (Darwin 36B) |
| trading | finance | macOS current session |
| code | code | macOS current session |
| research | research | macOS current session |
| hermes-ops | senna | macOS current session (default) |

### Delegation Pattern
When domain ≠ hermes-ops and confidence > 0.5:
```python
delegate_task(
    goal="<task_description>",
    context="<workspace_paths, relevant_context. Use the {profile} profile.>",
    role="leaf"
)
```

## Pitfalls
- Low confidence (<0.5) means ambiguous input — ask the user instead of guessing
- UE5 and book-writer profiles run on Windows PC only — tasks routed there wait for the PC
- finance and code profiles run on this macOS session

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.

Comments

Loading comments…

Newsletter

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