SkillsMar 29, 2026·2 min read

Agent Skills Standard — Cross-Platform AI Skills

The shared Agent Skills format used by Claude Code, OpenAI Codex, and Gemini CLI. Write skills once, use across all major AI coding tools.

Agent ready

Ready-to-run agent install

This asset can be installed after the agent chooses its runtime, checks the plan, and runs the matching command.

Native · 98/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Agent Skills Standard — Cross-Platform AI Skills
Direct install command
npx -y tokrepo@latest install 1a1292f5-c88b-4eb5-b7dd-a3bf7bb29ee8 --target codex

Run after dry-run confirms the install plan.

TL;DR
A simple spec for packaging reusable agent instructions as SKILL.md folders.
§01

What it is

This TokRepo workflow is a practical guide to the Agent Skills standard: packaging reusable agent behavior as a folder that contains a SKILL.md file (YAML frontmatter + Markdown instructions) and any supporting resources.

Why this matters: once you can package a workflow as a “skill”, you can reuse it across tasks, share it with a team, and keep it versioned in git like any other artifact. It’s the difference between “a good prompt I once used” and “a repeatable capability.”

The upstream Anthropic anthropics/skills repository calls out SKILL.md explicitly and points readers to agentskills.io for standard information. TokRepo editorial note: different tools may implement skills differently, so treat the standard as a contract (format + intent) and treat each tool’s docs as the runtime behavior.

This page focuses on the durable parts:

  • how to structure a skill so it’s reusable,
  • how to write instructions that are testable,
  • and how to maintain skills as shared team artifacts.

Repository signal (verified, for the reference implementation): 133,619 GitHub stars (Anthropic’s skills repository), license unknown, last updated 2026-05-14T00:36:32Z (fetched 2026-05-14T00:38:29.999279+00:00).

§02

How it saves time or tokens

Skills save time in three concrete ways:

  1. Less re-explaining: you stop restating rules and steps in every conversation.
  2. Fewer mistakes: the skill can encode “never-do” constraints and checklists.
  3. Better collaboration: a skill can be reviewed, versioned, and improved like code.

In practice, skills become a lightweight “operational memory” for teams:

  • onboarding checklists,
  • incident response routines,
  • PR review rules,
  • release playbooks,
  • security “never do X” guardrails,
  • and even documentation standards.

TokRepo editorial heuristic: a skill is worth writing when you’ve done the same workflow three times and regretted re-explaining it each time.

§03

How to use

  1. Create a folder for the skill in your tool’s expected directory (this workflow shows example conventions such as .claude/skills/...).
  2. Add a SKILL.md file with YAML frontmatter (name, description) and clear instructions.
  3. Add examples and constraints:
  • when the skill should activate (scope),
  • what it should never do (guardrails),
  • what the verification step is (tests, build, or a checklist).
  1. Iterate like software:
  • run one real task,
  • refine the instructions,
  • keep the skill in source control.

How to write “good” skill instructions

Skills fail when they read like motivational posters. Prefer instructions that are concrete:

  • “If tests fail, stop and explain why; do not attempt refactors.”
  • “Never commit secrets; if a secret is required, ask the user to set an env var.”
  • “Touch at most 3 files unless explicitly asked.”
  • “Output the exact command used for verification.”

When you add constraints like these, two things happen: the agent’s behavior becomes more predictable, and reviewers spend less time cleaning up unintended scope.

Testing a skill (so it doesn’t rot)

Skills are instructions, but you can still test them operationally:

  1. Pick one representative task (a “golden” task) and keep it stable over time.
  2. Run the skill on that task after changes and check:
  • Does it follow the constraints?
  • Does it produce the expected output format?
  • Does it stop and ask when it should?
  1. Record the expected verification command (tests/build) and require it as part of the run.

TokRepo editorial note: you don’t need a full test harness to get value. Even one repeatable “smoke test” keeps skills aligned with reality.

Skill design patterns that scale

If you plan to build more than a handful of skills, these patterns avoid chaos:

  • One capability per skill (code review rules, release notes generation, incident triage).
  • One “base” skill that encodes global safety and review constraints.
  • Small, explicit triggers so skills activate when they should, not everywhere.

The goal is predictable activation and easy maintenance, not maximum cleverness.

A “minimum viable skill” checklist

If you want a quick standard for your team, require these elements in every new skill:

  • A one-sentence description that states when to use it (not marketing).
  • A short “Inputs” section (what files/commands it expects).
  • A short “Outputs” section (what artifact it should produce).
  • One verification step (a command or checklist).
  • One safety rule (what it must never do without confirmation).

This keeps skills composable and reduces the chance that a new skill becomes an unreviewable blob of instructions.

TokRepo editorial note: if you want skills to be discoverable, add a stable naming convention (prefix by domain, keep names lowercase, avoid inside jokes). The biggest practical failure mode isn’t “bad instructions” — it’s “nobody can find or trust the right skill when they need it” today.

Skill maintenance (treat it like code)

If the skill will be shared across a team:

  • add a short changelog section in the README for the skill set,
  • enforce review for skill edits,
  • and test the skill on at least one real task per release.

The skill is now part of your dev workflow surface area; treat it with the same discipline you’d apply to a lint rule or CI configuration.

Security and safety guardrails (worth encoding once)

If you only encode one “policy” into your skills, make it this: don’t leak secrets and don’t do destructive actions without confirmation.

Concrete rules that tend to prevent real incidents:

  • Never print environment secrets; if a secret is required, ask for it to be set as an env var.
  • Don’t run destructive commands by default (delete, drop, purge); require explicit confirmation.
  • When editing configs, change the smallest surface area first and keep backups/diffs.
  • Prefer read-only operations unless the user explicitly requests a write.

Even if your tool already has approval prompts, encoding this in skills keeps behavior consistent across teams and environments.

Distribution patterns that actually work

Skills spread when they are easy to install:

  • Copy a folder into the expected skills directory.
  • Or maintain a shared repository of skills and install/clone it as a dependency.

TokRepo editorial note: whichever distribution model you choose, keep the same rule: skills are versioned artifacts. Pin versions for important workflows and write down why a skill exists.

§04

Example

The core format is intentionally simple. A minimal SKILL.md looks like:

---
name: my-skill-name
description: A clear description of what this skill does and when to use it
---

# My Skill Name

[Instructions the agent should follow when this skill is active]

TokRepo editorial note: this minimal format is useful as a skeleton, but real skills usually need at least one of:

  • a “verification” section (tests/build),
  • a list of forbidden actions,
  • or a few examples that show the expected output format.
§05

Related on TokRepo

§06

Common pitfalls

  • Writing vague skills. If the instruction can’t be checked, it won’t help. Add concrete constraints and verification steps.
  • Overloading one skill. Prefer small, focused skills; split by domain (tests, docs, deploy).
  • Forgetting provenance. If a skill embeds external commands or templates, link to the source and keep it updated.
  • Assuming the standard implies behavior. The file format is only half the story; tool runtimes differ.
  • Not versioning skills. Treat them like code: review and release changes deliberately.
  • Never pruning skills. Remove skills that are outdated; stale instructions are worse than none.

Frequently Asked Questions

What is the Agent Skills standard?+

It’s a convention for packaging reusable agent behaviors as a folder that includes a `SKILL.md` file with frontmatter plus instructions, enabling sharing and reuse across tasks and teams.

What goes into a SKILL.md file?+

At minimum, YAML frontmatter fields like `name` and `description`, followed by clear Markdown instructions the agent should follow when the skill is active.

Is a skill the same as a prompt?+

A prompt can be a starting point, but a skill is more like a packaged capability: it can include instructions, examples, constraints, and supporting resources under a stable folder structure.

How should teams maintain skills?+

Keep skills in git, review changes like code, and validate updates on one real task before rolling out broadly.

Where can I read more about the standard?+

The Anthropic skills repository points to agentskills.io for standard information, and links to supporting docs and articles about skills usage.

Citations (3)
🙏

Source & Thanks

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets