What is decision-router?
decision-router is a Claude Code mod by danielmalka that asks a decision model which Claude model and effort fit your prompt. Does nothing until DECISION_MOD_KEY is set. It is listed under Agents & automation and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | danielmalka |
| Repository | danielmalka/malka-claude-mods |
| Popularity | no public popularity data yet |
| Category | Agents & automation |
| Security | High risk (48/100) |
| Rank | #5,532 of 9,397 Claude Code mods; #450 in Agents & automation |
| License | MIT |
| Last commit | 2026-11-15 |
| Hooks | 6 events |
| Sees | every prompt, subagent spawns |
| Draws on | AbovePrompt |
Is decision-router safe to install?
decision-router scores 48/100 on the MCPMods security check: High risk. Things to review: sends data over the network; writes files or config; reads environment variables; watches every prompt or event. It passed 3 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 |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.after | |
$.clock.now | |
$.config.set | changes config |
$.env.get | reads env vars |
$.http.fetch | network requests |
$.session.model | |
$.session.turns | |
$.state.get | |
$.state.set | |
$.ui.ask | draws interface |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install decision-router?
- 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/danielmalka/malka-claude-mods claude plugin validate ./malka-claude-mods/plugins/decision-router
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add danielmalka/malka-claude-mods && claude plugin install decision-router@malka-claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs decision-router for you:
Install the "decision-router" Claude Code mod from https://github.com/danielmalka/malka-claude-mods/tree/main/plugins/decision-router. Run claude plugin validate on it first and show me what it can access before you enable it.
More from danielmalka/malka-claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- cleanscreen: Hides tool calls and their output, shows Claude's text and a progress band above the prompt. Off by default; /cleanscree (Low risk)
- menu: An optional /mods menu that lists the installed mods (status line, clean screen, mode, permissions, tree-explained) and (Low risk)
- mode: Pick the model and the reasoning effort from one small pane or /mode. Does nothing until you pick something. (Low risk)
- permissions: Shows the permission mode and picks the one new sessions start in (permissions.defaultMode). Does nothing until you pick (Review before installing)
- resume: Detects a previous session that was interrupted mid-turn and offers Resume/Dismiss in a band above the prompt. (Review before installing)
- sentinel: A live band above the prompt showing running subagents and background Bash, at zero token cost. (Low risk)
- statusline: A status line on its own band above the prompt: model, folder and branch, context, 5h/7d limits and cache, wrapping inst (Review before installing)
- tree-explained: A side pane with the files Claude touched in this session as a tree (edits, reads, +N -N) and a scrollable summary of ea (Review before installing)