Logo di Smart Task Router

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.

Panoramica

Autoreceliktech24-cell
Repositorysmart-task-router
Nome della skillsmart-task-router
Stelle
30
Fork
7
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da celiktech24-cell su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Smart Task Router in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/celiktech24-cell/smart-task-router/tree/main/skills/smart-task-router
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Smart Task Router in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Smart Task Router non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Smart Task Router non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Smart Task Router su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Smart Task Router è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Smart Task Router in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/celiktech24-cell/smart-task-router/tree/main/skills/smart-task-router. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Smart Task Router?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Smart Task Router?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Smart Task Router: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Smart Task Router è gratuita?

Sì. È pubblicata su GitHub da celiktech24-cell con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇