What is legion-mod?
legion-mod is a Claude Code mod by dnh33 that legion's order of agents inside Claude Code: thirteen named agents, threads, approvals and a shared Library, in your terminal. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | dnh33 |
| Repository | dnh33/legion-mod |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | Review before installing (60/100) |
| Rank | #3,084 of 5,272 Claude Code mods; #234 in Agents & automation |
| Last commit | 2026-10-08 |
| Hooks | 12 events |
| Sees | every prompt, every tool call, mcp__legion-mod__agents calls |
| Draws on | Pane, AbovePrompt, CommandOutput |
Is legion-mod safe to install?
legion-mod scores 60/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables; watches every prompt or event. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.agent.register | |
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.prompt.fill | writes the prompt box |
$.session.id | |
$.session.messages | reads the transcript |
$.session.version | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.tool.register | drives Claude |
$.ui.blit | draws interface |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install legion-mod?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/dnh33/legion-mod claude plugin validate ./legion-mod/plugins/legion-mod
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add dnh33/legion-mod && claude plugin install legion-mod@legion
Or ask Claude to set it up
Paste this into Claude Code and it installs legion-mod for you:
Install the "legion-mod" Claude Code mod from https://github.com/dnh33/legion-mod/tree/main/plugins/legion-mod. Run claude plugin validate on it first and show me what it can access before you enable it.
More from dnh33/legion-mod
This repository has 2 Claude Code mods on MCPMods.
- legion-mod-runner: Companion to Legion Mod: starts, resumes and stops Legion's agents for it. Install both; it does nothing on its own. (Low risk)