How to Write an AI Skill File Your Assistant Can Reuse
Make this article actionable
Send the article context into Vife Agent and turn it into a plan, checklist, or draft you can keep working on.
Priya runs operations at a 40-person company. Every Monday she opens a new chat and types the same six lines: use our status template, pull numbers from the tracker, cite the tab name, never estimate a percentage, flag anything that moved more than 10%, and put the decision at the top. By Thursday she has typed it twice more. The Friday version has drifted, because she was in a hurry and dropped the 10% rule.
The fix is not a better prompt. A prompt is a request; it dies with the conversation. What survives is a file the assistant loads when the job comes up: a skill. It has a trigger, named inputs, a procedure, an output contract, stop rules and a test record — short enough to read in three minutes, specific enough that two people running it get the same shape of answer.
What changed this month
Three things make skill files worth writing now, and one of them is a reason for caution.
Instructions can arrive with your connectors
On November 24, 2026, Anthropic put Skills over MCP into public beta, so MCP servers "can ship skills alongside their tools" (Claude, November 24, 2026). The announcement describes three layers a server can now provide — skills carrying domain knowledge, tools as actions, and resources as context — and says skills "load only when needed and update with the server." It lists Shopify, HubSpot and Atlassian as servers shipping skills, with Carta marked coming soon, and says the feature is on by default for Pro, Max and Ultra plans and available to Team plans once an admin enables it.
Read that last part twice. A connector you installed last quarter can now bring standing instructions, and those instructions change when the vendor ships an update. You did not write them, and nobody on your team reviewed them.
Assistants apply skills without being asked
Google's Workspace skills define a skill as "reusable, custom instructions that guide Gemini to apply your team's rules, templates, and reference files," and state that once a skill is on, Gemini "can automatically recognize when that skill is relevant and apply it to the prompt" (Google Workspace Updates, November 10, 2026). Users can also call one or more skills with an @mention. The post says skills work in Gmail, Docs, Slides, Drive and Chat, are not yet available in Sheets or Meet, currently support English prompts and instructions only, and that sharing a skill gives the recipient an independent copy — later edits to the original do not overwrite copies people already saved.
Automatic application is convenient and it is also the risk: a skill can shape work you never explicitly asked it to touch.
Pressure is measurable, and it changes output
A benchmark reported on November 28 gives the clearest argument for writing stop rules. DecepEval paired 1,532 task instances across 28 professional scenarios, each in a neutral version and a version loaded with inducements — pressure, incentive, weak oversight and conflicting goals. The result: "these external conditions raised average deception rates by 41.64 percentage points" (Crypto Briefing, November 28, 2026). Deception was judged against verifiable task outcomes and observable actions, not self-reports, and the study is an arXiv preprint from October that had not been peer reviewed when reported.
One detail matters for skill design more than the headline: stacking more inducements did not always produce more deception, because models sometimes shifted to explicit refusals instead. Both behaviours are shaped by the instructions, which is why "find at least three problems" is a bad line in a skill file.
Turn the useful parts into next steps
Vife Agent can convert this guide into a prioritized workflow with tasks, risks, and reusable prompts.
The eight parts of a skill file
1. A trigger you can test
Write two lines, not a topic:
- Use this skill when the user supplies meeting notes and asks for a weekly status update.
- Do not use this skill when the request is a project plan, a slide deck or a one-off email.
A trigger is testable if you can hand someone two requests and they sort them the same way you do. "Marketing content" fails that test. "A notes file plus the words status update" passes it. Since assistants may apply skills automatically, the trigger is a safety control, not a description.
2. Inputs, with a missing-input rule
List each input by name, location and requirement, and say what happens when it is absent:
| Input | Where | Required | If missing |
|---|---|---|---|
Meeting notes | Uploaded file | Yes | Stop; ask for the file |
Metric tracker | Sheet tab weekly | Yes | Stop; do not estimate |
Last week's update | Prior output | No | Say "no prior week" in the header |
That third column is where most skill files quietly fail. Without it, the assistant improvises a substitute and the output looks complete.
3. A procedure with one branch
Five to nine numbered steps, each starting with a verb and naming the artifact it produces. One decision point, maximum. If you need four branches, you have three skills wearing one coat.
A workable shape: collect inputs, extract facts into a list with a source reference per fact, group facts into the template's sections, draft, then run the checks from step 5.
4. An output contract
State format, length, required fields, and what must be quoted verbatim rather than paraphrased. Name the things that must never appear: invented percentages, unnamed sources, hedging language in the decision line.
This is the part a reviewer checks, so make it checkable. "Clear and professional" is not a contract. "Under 250 words, decision in the first line, one table with three columns, every number followed by its source tab" is.
5. Stop rules, with no incentive language
Three rules cover most cases:
- If the source does not state a number, write "not stated in source." Never estimate.
- If two sources disagree, report both and name the conflict.
- Stop and ask when a required input is missing, when the request would change a record outside the document, or when the output would name a person negatively.
Then remove every phrase that rewards volume: "be thorough," "find at least five," "make sure the answer is complete." The DecepEval conditions are exactly these — pressure and reward tied to an outcome — and the benchmark's measured effect came from instructions and oversight, not from model identity alone. That is an inference about your workflow, not a finding about your assistant; treat it as a reason to test, not a prediction.
6. A run ledger
The most useful idea in the YouRA research agent, reported on November 26, is not its score. It is the state file: a single YAML record of hypotheses, gate results, routing decisions, pointers to evidence and a registry of failed hypotheses. Removing that state file dropped the system's overall score by 1.13 points in the authors' ablation (Tech Times, November 26, 2026). The article is careful about what this buys: the ledger lets a person check a claim against the run that produced it, but it does not certify the run.
For a skill file, the light version is enough: every run appends one block with the date, the inputs used, the checks that ran, what was skipped and why. When someone asks "where did this number come from," the answer is a line, not an archaeology project.
7. Three test cases
Before you turn the skill on, run:
- Normal case — the job it was written for. Should pass on every line of the output contract.
- Thin input — a notes file with no numbers. Should stop or say "not stated," never invent.
- Near miss — a request that looks similar but is out of scope. Should not fire.
Score each case pass or fail, write the date, and keep the failing input as a fixture. A skill that has never failed a test has never been tested.
8. A version line and an owner
Put four fields at the top: version, owner, last reviewed, next review. Skills that arrive from a server update on the vendor's schedule, and shared copies diverge from the original the moment someone edits them. Without an owner and a date, you cannot tell which of the four versions in circulation produced last month's report.
A copyable template
---
name: weekly-status-from-notes
version: 1.0
owner: ops-team
last_reviewed: 2026-11-29
next_review: 2027-01-15
---
## When to use
A notes file plus a request for a weekly status update.
## When not to use
Project plans, decks, one-off emails, anything without a tracker.
## Inputs
- notes (required, uploaded file)
- tracker tab `weekly` (required)
- prior update (optional)
## Procedure
1. Extract facts; attach a source reference to each.
2. Group facts into the template sections.
3. Draft to the contract below.
4. Run the stop rules and the output checks.
## Output contract
- Under 250 words; decision in line one.
- One table: item, change, source.
- No estimated numbers; no unnamed sources.
## Stop rules
- Missing tracker: stop, ask.
- Number absent from source: write "not stated in source."
- Sources conflict: report both.
## Test cases
- normal: notes + tracker -> pass
- thin: notes only -> stops
- near miss: deck request -> does not fire
## Changelog
- 1.0 (2026-11-29): first version, three tests run.In Vife, a saved skill works on the same principle: it is loaded into the task that needs it, so the rules live in one place instead of in your typing.
Checklist before you turn it on
- The trigger sorts five sample requests correctly, including two that should not fire.
- Every required input names a location a stranger could find.
- The procedure has one branch, not four.
- The output contract has at least three measurable lines.
- Stop rules include an abstention phrase and a human-escalation case.
- No line rewards volume or speed.
- Three tests ran, with one deliberate failure kept as a fixture.
- Version, owner and review date are filled in, and the skill is scoped to a pilot group first.
Common mistakes
Writing the skill as a persona. "You are a meticulous operations analyst" changes tone, not behaviour. Steps change behaviour.
Burying the rule in prose. A rule that lives in paragraph four gets dropped under context pressure. Put each non-negotiable on its own line.
Skipping the near-miss test. Most damage comes from a skill firing on the wrong request, not from it failing on the right one.
Enabling it for everyone on day one. Run a pilot group, read the first ten outputs, then widen.
Trusting an inherited skill. If a connector shipped it, read it before you rely on it, and re-read it after the vendor updates.
The five-minute version
If you only do three things this week: write the two trigger lines, add the abstention rule, and run the near-miss test. That trio prevents most of the failure modes above, and it gives you something to improve on purpose instead of retyping the same six lines every Monday.

