Logo de Skill Router

Skill Router

Comunidade
dotslashsimran
skill-router

Decide which installed skill, or which chain of two or three skills, fits a task before starting it, and run them in the right order with each one's output feeding the next. Works with any set of skills, because it reads every installed skill's description at run time. Use when a task is big or vague, could fit several skills, or needs more than one ("which skill should I use", "what's the best way to do this", "plan the steps", "use whatever skills make sense"), or when it's unclear whether any skill applies.

Visão geral

Publicado pordotslashsimran
Repositóriosimcraft
Nome da habilidadeskill-router
Estrelas
362
Forks
25
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 1 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por dotslashsimran no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Skill Router no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/dotslashsimran/simcraft/tree/main/skills/planning/skill-router
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dotslashsimran/simcraft.git /tmp/simcraft
mkdir -p .claude/skills
cp -r /tmp/simcraft/skills/planning/skill-router .claude/skills/skill-router
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Skill Router em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Skill Router automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Skill Router não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Skill router

Pick the right tool before working. One skill done well beats three loosely chained, so prefer one skill, use two when the task truly has two stages, and use three only for a full pipeline.

1. See what's installed

python3 ~/simcraft/skills/planning/skill-router/scripts/catalog.py            # every skill, with its description
python3 ~/simcraft/skills/planning/skill-router/scripts/catalog.py --grep video

Always run it rather than relying on memory. Skills get added and removed, and the description is the contract.

2. Pin down the task

Write one line each for:

  • Goal: what the user wants to be true at the end.
  • Input: what exists now (a file, a URL, a repo, a vague idea).
  • Deliverable: the exact artifact (a video, a report, a fixed bug, a doc).

If any of these is unclear and the answer would change the skill choice, ask one question. Otherwise decide.

3. Match

For each candidate skill, check three things against its description:

  1. Trigger fit. Does the task match what it says it's for, not just share a keyword?
  2. Input fit. Does it accept what the user has?
  3. Output fit. Does it produce the deliverable, or something the next skill needs?

Keep only skills that pass all three for their part of the work. When two skills overlap, choose the more specific one (a skill made for the exact format beats a general one). If nothing fits, say so and do the task directly. A forced match is worse than none.

4. Decide: one, two or three

  • One skill when it goes from the input to the deliverable on its own.
  • A chain when the work has distinct stages and each stage has its own best skill. Typical shapes:
    • understand → make: analyse something first, then build from what was learned.
    • make → check: build, then audit or review it with a separate skill.
    • raw → clean → finish: e.g. trim footage, clean the audio, then add graphics.
  • Write the chain as a handoff: what each skill produces, and which file or fact the next one takes as input. If a step has no clear handoff, the chain is wrong.
  • Never run two skills that do the same job, and never add a skill just because it is related.

5. Show the plan, then run

Show the user a short plan before starting anything heavy:

Task: <one line>
Plan: <skill A> (<what it gives>) → <skill B> (<what it does with it>)
Why not <closest alternative>: <one line>

Then load each skill with the Skill tool in order, follow its instructions fully, and check each handoff before moving on. If a stage's output is weak, fix it there rather than letting the next skill build on it.

Examples of good chains

These use skills from this repo. The method is the same for any skill set.

TaskPlan
"Remake this viral clip in my style"reverse-engineer-video (shot list, camera moves, beat map) → perspective-illusion or code-loop (build it)
"Turn this paper into a video"paper-to-runnable (working code + internals animation) → vox-explainer (explainer over a voiceover)
"Audit this SDK and show it"dx-audit (friction log, teardown) → scripted-screencast (recorded journey)
"Clean up my talking-head take"rough-cut → clean-audio
"Is this new endpoint safe and well designed?"api-design-review → security-threat-model
"It got slower last week"benchmark-honestly (a trustworthy oracle) → bisect-anything (find the commit)
"I just joined this repo, fix the flaky CI"codebase-map → flaky-test-killer
"Make a branded explainer for a sponsor"brand-kit → vox-explainer

Mistakes to avoid

  • Picking by keyword ("video" in the request) instead of by deliverable.
  • Chaining when one skill already covers both stages.
  • Skipping a stage's own checks to get to the next skill faster.
  • Forgetting a skill's safety rules when it runs inside a chain. Each skill's rules still apply in full.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Skill Router faz?

Decide which installed skill, or which chain of two or three skills, fits a task before starting it, and run them in the right order with each one's output feeding the next. Works with any set of skills, because it reads every installed skill's description at run time. Use when a task is big or vague, could fit several skills, or needs more than one ("which skill should I use", "what's the best way to do this", "plan the steps", "use whatever skills make sense"), or when it's unclear whether any skill applies.

Por que usar Skill Router no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Skill Router é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Skill Router no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/dotslashsimran/simcraft/tree/main/skills/planning/skill-router. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Skill Router?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Skill Router?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Skill Router com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Skill Router é gratuita?

Sim. A habilidade é publicada no GitHub por dotslashsimran sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇