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.
Instalación lista para agent
Este activo puede instalarse después de elegir el runtime, revisar el plan y ejecutar el comando correspondiente.
npx -y tokrepo@latest install 1a1292f5-c88b-4eb5-b7dd-a3bf7bb29ee8 --target codexEjecutar después de confirmar el plan con dry-run.
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).
How it saves time or tokens
Skills save time in three concrete ways:
- Less re-explaining: you stop restating rules and steps in every conversation.
- Fewer mistakes: the skill can encode “never-do” constraints and checklists.
- 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.
How to use
- Create a folder for the skill in your tool’s expected directory (this workflow shows example conventions such as
.claude/skills/...). - Add a
SKILL.mdfile with YAML frontmatter (name, description) and clear instructions. - 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).
- 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:
- Pick one representative task (a “golden” task) and keep it stable over time.
- 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?
- 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
descriptionthat 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.
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.
Related on TokRepo
- Prompt library — templates you can evolve into full skills.
- GitHub MCP — a common tool integration for repo-aware agents.
- AI tools for automation — more patterns for repeatable workflows.
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.
Preguntas frecuentes
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.
At minimum, YAML frontmatter fields like `name` and `description`, followed by clear Markdown instructions the agent should follow when the skill is active.
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.
Keep skills in git, review changes like code, and validate updates on one real task before rolling out broadly.
The Anthropic skills repository points to agentskills.io for standard information, and links to supporting docs and articles about skills usage.
Referencias (3)
- anthropics/skills (GitHub README)— Anthropic’s skills repository describes skills as folders containing a SKILL.md …
- Agent Skills standard— The Agent Skills standard information is published at agentskills.io.
- GitHub REST API: anthropics/skills— Repository metadata used here (stars=133619, license=unknown, updated_at=2026-05…
Relacionados en TokRepo
Fuente y agradecimientos
Standard: agentskills.io Anthropic: anthropics/skills OpenAI: openai/codex Google: google-gemini/gemini-cli
Discusión
Activos relacionados
Kivy — Open-Source Python Framework for Cross-Platform Apps with a Single Codebase
Kivy lets you write touch-friendly cross-platform apps entirely in Python. One codebase runs on iOS, Android, Windows, macOS, Linux, and Raspberry Pi — the Python way to build mobile and kiosk UIs.
SDL — Simple DirectMedia Layer for Cross-Platform Multimedia
SDL (Simple DirectMedia Layer) is a cross-platform C library for accessing graphics hardware, audio, input devices, and networking. It provides the low-level foundation used by thousands of games, emulators, and multimedia applications on Windows, macOS, Linux, iOS, and Android.
CMake — Cross-Platform Build System Generator
An industry-standard tool that generates native build scripts for any platform from a single set of configuration files.
bottom — Beautiful Cross-Platform System Monitor in Rust
bottom (btm) is a customizable, cross-platform graphical system monitor for the terminal. It displays CPU, memory, network, disk, temperature, and process information with interactive charts — a modern alternative to top, htop, and btop.