Logo de Agent Skill Author

Agent Skill Author

Organização
matlab
agent-skill-author

Use this skill when the user wants to author, design, scope, or refine an Agent Skill (a SKILL.md file). Trigger phrases include "build a new skill", "design an agent skill", "scope a SKILL.md", "how should I structure this skill", "write a skill for X", "my skill isn't working well", or any request to improve an existing SKILL.md. Walks the user through an empirical, test-first process — probe the agent for real failures, design only for genuine knowledge gaps, iterate against runnable examples, and verify across models.

Visão geral

Publicado pormatlab
Repositórioagent-skills-playground
Nome da habilidadeagent-skill-author
Estrelas
179
Forks
32
Arquivos incluídos
1
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 matlab no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Agent Skill Author 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/matlab/agent-skills-playground/tree/main/demos/engineering-an-agent-skill/skills/agent-skill-author
  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/matlab/agent-skills-playground.git /tmp/agent-skills-playground
mkdir -p .claude/skills
cp -r /tmp/agent-skills-playground/demos/engineering-an-agent-skill/skills/agent-skill-author .claude/skills/agent-skill-author
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Agent Skill Author 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 Agent Skill Author 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, Agent Skill Author 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á.

Authoring an Agent Skill

You are helping a user author or improve an Agent Skill. Skills are markdown files an agent loads to handle domain-specific work it would otherwise get wrong. A skill is worth writing only when the failure is consistent, subtle, and not fixable with a better prompt.

Follow the five-stage process below. Do not skip stages.

Stage 1: Probe for real failures

Before designing anything, find out what the agent actually gets wrong.

  • Ask the user for 5 to 10 representative prompts that real users would send.
  • For each prompt, run the agent with no skill loaded and collect the generated code or output.
  • Run the output against real data, real APIs, or a real session. Note exactly what fails: missing functions, wrong superclass names, swallowed errors, wrong default arguments, hallucinated APIs.
  • Categorize each failure: prompt-fixable, model-fixable (try another model), or knowledge-gap.

Only knowledge-gap failures justify a skill. If a better prompt fixes it, use a better prompt.

Stage 2: Identify the real knowledge gaps

Group the failures from Stage 1 by root cause. Common categories:

  • Pattern-matched from another language. Agent invents a function because the same idiom exists in Python or Java (the blog's example: an ormdelete() that doesn't exist in MATLAB).
  • Wrong namespace or class path. Agent gets the verb right but the path wrong (database.orm.Mappable vs. database.orm.mixin.Mappable).
  • Missing guard or precondition. Agent omits a check the runtime requires (a nargin == 0 guard for objects an ORM creates empty).
  • Wrong defaults or argument order. Agent picks plausible-but-wrong defaults the documentation doesn't make obvious.
  • Drift between major API versions. Agent uses an older or newer signature than the one the user actually has.

For each category, write down the specific rule the skill needs to teach. One rule per failure.

Stage 3: Design the skill

Apply these structural rules. The agent may not read your whole skill, so structure matters.

  1. Frontmatter description is a trigger spec, not a summary. It should describe when to invoke the skill, with concrete trigger phrases the agent will match on. The agent reads this to decide whether to load you. Avoid : (colon followed by space) inside the description value — strict YAML parsers will read it as a nested mapping and fail to load the skill. Use an em dash or comma instead.
  2. Most critical rules first. Put the rules that fix the most failures at the top of the body. Don't bury the load-bearing rule.
  3. Progressive disclosure. Common cases up front. Edge cases, exceptions, and variant APIs in later sections or in references/.
  4. One topic per section. Use H2 (##) per topic. Consistent section order across your skill family makes it predictable for the agent.
  5. Show, don't tell. Where a rule is about syntax, include a 2-to-5 line code example with the failing pattern and the corrected pattern side by side.
  6. Leave out what the agent gets right. If your probing showed the agent handles addComponent correctly, don't document addComponent. Skills are compensators for failure, not API reference.
  7. Name common pitfalls explicitly. A "Common pitfalls" section near the bottom for known gotchas the user might hit even with the skill loaded.

Suggested section order:

## When this skill applies            (1-2 paragraphs)
## Core rules                          (the load-bearing rules, in priority order)
## API patterns                        (code examples per category)
## Common pitfalls                     (gotchas, including known limitations)
## See also                            (links to references/ and related skills)

Use the template at templates/SKILL-template.md as a starting point.

Stage 4: Iterate against runnable examples

Run the same Stage 1 prompts with the skill loaded and the failures should drop.

  • For each remaining failure, decide: tighten the skill, accept the failure (with a documented pitfall), or escalate (the failure isn't a skill problem).
  • Test across at least two models if the user expects cross-model use. Phrasing that works for one model can be ignored by another.
  • Read every generated output. Don't trust the model to self-report success.

Keep a short test log: prompt, model, pre-skill result, post-skill result. The log is the evidence that the skill works; without it, you're guessing.

Stage 5: Maintain

Skills aren't done. Models change, APIs change, and yesterday's failure becomes today's strength (and vice versa).

  • Revisit the test log when the user's product version changes, when a new model ships, or when users report fresh failures.
  • Remove rules the agent now handles correctly without help. A bloated skill loses attention budget.
  • When a rule needs more depth than fits, move it to references/ and link from the main body.

Anti-patterns

  • API encyclopedia. Writing down everything the API does. Skills are not docs.
  • Theoretical gaps. Writing rules for failures you assumed without ever running the agent.
  • Tone or style guidance only. Telling the agent to "be helpful and accurate" with no domain-specific content.
  • Burying the lede. Twenty paragraphs of background before the rule that prevents the bug.
  • One mega-skill. A single skill covering five unrelated domains. Split it.
  • Hallucinated function names. Trusting your own memory of the API when writing examples; run them.

Decision flow

When the user asks for help, follow this order:

  1. Have they probed the agent for real failures yet? If not, walk them through Stage 1 before discussing design.
  2. Do they have a list of specific failures with root causes? If not, do Stage 2 with them now.
  3. Are they writing a new skill or improving an existing one? If improving, read the current SKILL.md, then identify which rules are load-bearing, which are dead weight, and which are missing.
  4. Walk through Stages 3 and 4 explicitly. Don't draft a full SKILL.md until the user has a concrete rule list.

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 Agent Skill Author faz?

Use this skill when the user wants to author, design, scope, or refine an Agent Skill (a SKILL.md file). Trigger phrases include "build a new skill", "design an agent skill", "scope a SKILL.md", "how should I structure this skill", "write a skill for X", "my skill isn't working well", or any request to improve an existing SKILL.md. Walks the user through an empirical, test-first process — probe the agent for real failures, design only for genuine knowledge gaps, iterate against runnable examples, and verify across models.

Por que usar Agent Skill Author no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Agent Skill Author é 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 Agent Skill Author no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/matlab/agent-skills-playground/tree/main/demos/engineering-an-agent-skill/skills/agent-skill-author. 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 Agent Skill Author?

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 Agent Skill Author?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Agent Skill Author 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 Agent Skill Author é gratuita?

A habilidade é publicada no GitHub por matlab. Consulte os termos de licenciamento no repositório. 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 👇