Logo van Agent Skill Author

Agent Skill Author

Organisatie
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.

Overzicht

Uitgevermatlab
Repositoryagent-skills-playground
Skillnaamagent-skill-author
Sterren
179
Forks
32
Meegeleverde bestanden
1
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 1 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door matlab op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Agent Skill Author in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/matlab/agent-skills-playground/tree/main/demos/engineering-an-agent-skill/skills/agent-skill-author
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Agent Skill Author in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Agent Skill Author automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Agent Skill Author niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill 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.

Waarom Agent Skill Author gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Agent Skill Author bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Agent Skill Author in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/matlab/agent-skills-playground/tree/main/demos/engineering-an-agent-skill/skills/agent-skill-author. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Agent Skill Author gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Agent Skill Author gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Agent Skill Author ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Agent Skill Author gratis?

Deze skill is door matlab op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇