# Imlazy Router

> Classify the task into Quick/Standard/Heavy/Vault/Learn tier and route to the right workflow. Adaptively consults heuristics.log to refine borderline classifications.

- **Type:** Skill
- **Install:** `agentstack add skill-hnikoloski-imlazy-imlazy-router`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hnikoloski](https://agentstack.voostack.com/s/hnikoloski)
- **Installs:** 0
- **Category:** [Productivity](https://agentstack.voostack.com/c/productivity)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [hnikoloski](https://github.com/hnikoloski)
- **Source:** https://github.com/hnikoloski/imlazy/tree/main/skills/imlazy-router
- **Website:** https://hnikoloski.github.io/imlazy/

## Install

```sh
agentstack add skill-hnikoloski-imlazy-imlazy-router
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# imlazy-router

## Output contract

Output `tier=` and the name of the next skill to invoke.

If genuinely ambiguous between two adjacent tiers, ask ONE clarifying multiple-choice question and stop. Never multi-turn.

If the message has no actionable verb (e.g., the user said "i am lazy" with no ask), output `tier=none` and respond conversationally without loading any skills.

## Classification heuristics

| Signal | Tier |
|--------|------|
| Single-line content fix (typo, spelling, value, version bump) | quick |
| Single-file edit ≤30 lines, no new dependency added | quick |
| Factual question, code explanation, lookup | quick |
| Run a command (test, build, format, lint) without modifying code | quick |
| Single rename or import cleanup, no behavior change | quick |
| 1-3 file feature or bugfix with clear requirements | standard |
| Refactor of a single function or component | standard |
| Schema or config migration involving 2-3 files | standard |
| Single-concern enhancement (caching, validation, error handling, tracing) | standard |
| "create vault", "save knowledge", "vault init", "vault search" | vault |
| New subsystem (auth, billing, replay, notifications, collaboration) | heavy |
| User explicitly says "design", "plan", "architecture", or "let's build" | heavy |
| Multi-component feature with unclear integration points | heavy |
| Cross-cutting migration (e.g., REST to GraphQL across the whole API) | heavy |
| Router misclassification feedback from Skill(imlazy-learn) | learn |

## Disambiguation

When the signal is between Quick and Standard: ask "Will this need a new test, or is it a content/config edit only?"

When the signal is between Standard and Heavy: ask "Are the requirements clear, or do we need to design this together first?"

Wait for ONE answer. Default to the lighter tier if the answer is still ambiguous.

## Adaptive lookup

Before classifying, read up to the last 20 lines of `~/.claude/imlazy/heuristics.log` if it exists.

If a recent misclassification (≤30 days) matches this task's signal pattern, shift the borderline classification toward the tier that turned out correct in similar past cases.

If the file does not exist or is empty, classify purely from the heuristics table above.

## Routing

| Tier | Next action |
|------|-------------|
| quick | None — proceed inline; use the Quick-tier completion gate from `imlazy-bootstrap`, no further skills loaded |
| std | Invoke `Skill(imlazy-planning)` in light mode → then `Skill(imlazy-tdd)` → then `Skill(imlazy-code-review)` |
| heavy | Invoke `Skill(imlazy-brainstorm)` first → on spec approval, invoke `Skill(imlazy-planning)` in full mode |
| vault | Invoke `Skill(imlazy-vault)` with task description |
| learn | Invoke `Skill(imlazy-learn)` to log misclassification |

## Escalation rule

If verification fails after Quick-tier work, escalate to Standard: invoke `Skill(imlazy-tdd)` and `Skill(imlazy-planning)` (light mode) and log the misclassification via `Skill(imlazy-learn)` with predicted=quick, actual=standard.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hnikoloski](https://github.com/hnikoloski)
- **Source:** [hnikoloski/imlazy](https://github.com/hnikoloski/imlazy)
- **License:** MIT
- **Homepage:** https://hnikoloski.github.io/imlazy/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hnikoloski-imlazy-imlazy-router
- Seller: https://agentstack.voostack.com/s/hnikoloski
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
