legion-mod

by Daniel Hjermitslev · ★ 0 · updated 10 days ago

PanesBandsStatus lineReskinsGuardsCommandsPromptTools & agentsvalidates

0

Legion's order of agents inside Claude Code: thirteen named agents, threads, approvals and a shared Library, in your terminal.

install legion-mod

Install

/plugin marketplace add dnh33/legion-mod
/plugin install legion-mod@legion

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runsession.endui.pressstate.settool.calltool.checkturn.stepsession.appendturn.completeprompt.submitui.render
API calls
$.agent.list$.agent.register$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.prompt.fill$.session.id$.session.messages$.session.version$.settings.read$.state.get$.state.set$.tool.register$.ui.blit$.ui.invalidate$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast
Draws
PaneAbovePromptCommandOutput
Can see
mcp__legion-mod__agents callsevery tool callevery prompt
Reach
level 2 of 3 other: $.agent.registerother: $.state.getother: $.state.setwrites filesdrives Claudewrites the prompt boxreads filesreads env varsreads settingsreads the transcriptdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/dnh33/legion-mod
Path in repo
plugins/legion-mod
Source commit
70ede63 the exact code the scan read
Author
Daniel Hjermitslev @dnh33
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from dnh33/legion-mod

legion-mod-runner

dnh33/legion-mod

Companion to Legion Mod: starts, resumes and stops Legion's agents for it. Install both; it does nothing on its own.

★ 0Automation