Smart Task Router logo

Smart Task Router

Community
celiktech24-cell
smart-task-router

Use when the user asks to build, fix or run any task, from a small edit to a large multi-file project. Plans with a strong model, picks the cheapest model and effort per subtask, verifies every step, escalates only on failure, and keeps state so work can resume.

Overview

Publisherceliktech24-cell
Repositorysmart-task-router
Skill namesmart-task-router
Stars
30
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by celiktech24-cell on GitHub. Read the source before you install it.

Installation

Install the Smart Task Router AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/celiktech24-cell/smart-task-router/tree/main/skills/smart-task-router
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/celiktech24-cell/smart-task-router.git /tmp/smart-task-router
mkdir -p .claude/skills
cp -r /tmp/smart-task-router/skills/smart-task-router .claude/skills/smart-task-router
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Smart Task Router in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Smart Task Router on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Smart Task Router is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Smart Task Router

Principle: strong model thinks, cheap models type, real checks decide. Opus plans and reviews. Sonnet or Haiku build small, well-specified pieces. Every piece is proven by a check before it counts.

0. Pick the mode

  • Answer: a question or explanation. Reply directly, with no agents.
  • Small task: one concern, about 3 files or fewer, clear result. Use the Quick path.
  • Project: a feature across modules, a new app or service, a migration, an integration, or anything vague or large. Use the Project path.
  • "Continue" / "resume": read .router/PROGRESS.md and pick up at the first unfinished task.

Model tiers (used by both paths)

TierAgentModel / effortTypical work
E Easyrouter-easyhaiku, lowBoilerplate, renames, formatting, data conversion, tests written from a given spec, copying an existing pattern, docs
N Normalrouter-normalsonnet, mediumStandard features inside defined interfaces, UI components, scripts, endpoints that follow existing patterns
H Hardrouter-hardopus, highPlanning, core logic, interfaces and contracts, schemas, unclear bugs, security, production data, final review
X Last resortnone (model override)fable, highOnly after H fails twice, or when the user asks

Raise the tier for: a vague spec, no way to check the result, irreversible actions, many unknown files, or an earlier failure. Lower the tier for: clear examples, existing tests, a repeated pattern, or a reversible change.

Spawning: if the plugin's agents are installed, use them by name (they may appear namespaced, e.g. smart-task-router:router-easy), because they also set effort. Otherwise spawn a general agent with the tier's model as an override. If no agent tool exists at all, see "Without an agent tool" below.


Quick path (small tasks)

  1. Write a spec: goal, files, exact output, constraints, done-check.
  2. Delegate it to the tier's agent (or do it yourself if spawning would cost more than the edit).
  3. Run the done-check yourself.
  4. On failure, re-run one tier up and add the error to the spec. Escalate at most twice.
  5. Report in one line: E -> failed -> N -> passed.

Project path (big tasks)

All state lives in .router/ in the project root. It lets cheap agents work without the whole conversation, and it lets work resume in a new session. Suggest adding .router/ to .gitignore unless the user wants to keep it.

Phase 1: Recon (cheap, read-only)

Spawn router-scout (haiku) to write .router/CONTEXT.md, at most about 150 lines:

  • Stack, frameworks and versions, plus exact run, build, test and lint commands.
  • Folder map of relevant areas, entry points and config files.
  • Conventions: naming, error handling, state management, styling, and an example file to copy patterns from.
  • Files likely to be touched, and external services (APIs, DB, deploy target).

The codebase is explored once. Every later agent reads CONTEXT.md instead of re-exploring.

Phase 2: Plan (Tier H)

Write .router/PLAN.md with:

  1. Goal, non-goals and acceptance criteria: testable statements of "done".
  2. Decisions: architecture choices and their reasons.
  3. Contracts first: function signatures, API request and response shapes, DB schema, shared types, env vars. Contracts let cheap agents build pieces in parallel without guessing.
  4. Task list. Each task has:
    • id, title, tier, depends_on
    • files: exact paths to create or edit (one concern, about 3 files or fewer per task)
    • spec: what to build, which contract it implements, and which pattern to copy
    • done_check: a command or concrete observation

Order the tasks as contracts and scaffolding, then core logic, then features, then UI, then tests and docs. If the user is present, show the plan summary and get approval before building. Changing a plan is cheap. Rebuilding is expensive.

Phase 3: Build (task by task)

For each ready task (all of its dependencies done):

  1. Spawn the task's tier agent. Its prompt contains only:
    • the path to CONTEXT.md ("read this first")
    • the relevant contracts copied from PLAN.md
    • the task spec, the file list and the done-check
    • the rule: "Edit only the listed files. If something outside them must change, stop and report it."
  2. Tasks with no file overlap can run in parallel (use worktree isolation if available).
  3. Run the done-check yourself. Never trust the agent's report alone.
  4. Pass: mark it done in .router/PROGRESS.md (task id, tier used, files changed, one-line note). Commit if git is used, one commit per task as a checkpoint.
  5. Fail: escalate one tier and include the error output plus what was tried.
  6. Failed twice at Tier H means the plan is wrong for this part. Return to Phase 2, re-plan that part (split it, fix the contract) and continue. Never brute-force.

Agent reports must be short: pass or fail, files changed, any deviation from the spec, and open issues. No full file dumps.

Phase 4: Integrate and review (Tier H)

  1. Run the full build, tests and lint, then start the app and exercise the main flow.
  2. router-reviewer (read-only) checks the diff, not the whole repo, against the acceptance criteria, the contracts, security and conventions.
  3. Turn each finding into a new task in PLAN.md and route it through Phase 3 at the right tier.
  4. Repeat until the acceptance criteria pass.

Phase 5: Report

Report in a short summary: what was built, how it was verified, the tier mix (e.g. 12 tasks: 5 E, 5 N, 2 H, 1 escalation), and anything left for the user (keys to add, deploy steps, decisions).


Token rules

  • Pass paths, not file contents. Agents read only the files listed for them.
  • Do not re-explore what CONTEXT.md already covers. Update CONTEXT.md when you learn something new.
  • One concern per task. Big vague tasks cost more and fail more.
  • When the conversation grows long, rely on the .router/ files, not on recalling earlier messages.
  • If escalations exceed about 30% of tasks, stop and fix the plan or specs. The specs are too thin.
  • Do not route trivial edits through agents, because spawning one costs more than doing it.

Safety

  • Ask the user before irreversible actions: deploys, migrations on production databases, changes to live business data, deleting files, or sending messages.
  • Secrets go in env vars and are never written into code or .router/ files.

Without an agent tool (plain chat)

Follow the same phases yourself in order: recon notes, plan with contracts, build task by task, check each one, then review. Tell the user in one line which model and effort would suit the build phase next time.

Frequently asked questions

What does the Smart Task Router AI skill do?

Use when the user asks to build, fix or run any task, from a small edit to a large multi-file project. Plans with a strong model, picks the cheapest model and effort per subtask, verifies every step, escalates only on failure, and keeps state so work can resume.

Why use Smart Task Router on TypingMind?

Because you install it once and use it with any model. Smart Task Router is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Smart Task Router in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/celiktech24-cell/smart-task-router/tree/main/skills/smart-task-router. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Smart Task Router?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Smart Task Router?

As many as you like. As long as a model supports skills, you can use Smart Task Router with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Smart Task Router AI skill free?

Yes. It is published on GitHub by celiktech24-cell under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇