Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Agent Skills guide

Agent Skills in OpenCode, Amp, goose and Kiro

Where OpenCode, Amp, goose and Kiro look for SKILL.md folders, how each one loads and runs skills, and the install commands, checked against each vendor's docs.

By Beginner · Updated 21 November 202612 min read
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
On this page

OpenCode, Amp, goose and Kiro all read standard SKILL.md folders. OpenCode, Amp and goose look in a project’s .agents/skills/ and .claude/skills/; Kiro uses .kiro/skills/ and ~/.kiro/skills/. Each one shows the model every skill’s name and description, loads the full skill when a request matches, and lets you call a skill directly.

The details differ more than you might expect: which copy wins when two skills share a name, what counts as the skill’s ID, and whether a skill can bring its own MCP server. This guide covers each agent in turn, then how to keep one skill folder working in all four. Everything was checked against the vendors’ own documentation on 21 November 2026, and the npx skills commands were run with version 1.9.0 of the CLI: OpenCode, Amp, goose and Kiro. If skills are new to you, read what Agent Skills are first.

The four agents side by side

Agent Project folders User folders Call a skill yourself
OpenCode .opencode/skills/, .agents/skills/, .claude/skills/ ~/.config/opencode/skills/, ~/.agents/skills/, ~/.claude/skills/ @skill-id in your prompt
Amp .agents/skills/, .claude/skills/ ~/.config/agents/skills/, ~/.agents/skills/, ~/.config/amp/skills/, ~/.claude/skills/ No syntax documented; Amp picks by description
goose .agents/skills/ (also .goose/skills/, .claude/skills/) ~/.agents/skills/ (also ~/.claude/skills/) /skills skill-name in the CLI, or ask by name
Kiro .kiro/skills/ ~/.kiro/skills/ (IDE and CLI only) /skill-name

Three of the four read the cross-agent .agents/skills/ folder, so a skill committed there works in OpenCode, Amp, goose, Codex, Cursor and Copilot without a second copy. Kiro is the exception: its documentation lists only .kiro/skills/ locations, the same way Claude Code lists only .claude/skills/.

OpenCode

OpenCode searches its project folders from the current directory up to the project root, at every level, and the user folders in the table. It accepts two layouts in each source: a flat Markdown file at the root of the skills folder (skills/review.md), or a folder with a file named exactly SKILL.md (skills/git-release/SKILL.md), which can sit inside grouping folders up to six levels deep. A folder that holds a SKILL.md counts as one skill, so OpenCode does not look inside it for more. It skips hidden folders and node_modules.

The ID comes from the path, not the name

This is the OpenCode detail most likely to confuse you. The skill’s ID is taken from the file path, and the frontmatter name is only a display label. .opencode/skills/release/SKILL.md has the ID release, even if its frontmatter says name: Git Release. IDs are case-sensitive. For skills you also use elsewhere, keep the folder name and name identical and lowercase-hyphenated, as the open spec requires; OpenCode does not enforce that itself.

When two sources define the same ID, the one registered later wins. Registration runs from built-in skills, through .claude/skills/ and .agents/skills/ (global first, then from the farthest parent folder towards the current one), to ~/.config/opencode/skills/, then the project’s .opencode/skills/, and finally any extra sources in your config. So a project .opencode/skills/ copy overrides everything except explicit config entries.

How OpenCode loads a skill

At each step, OpenCode lists the ID, name and description of every permitted skill that has a description. Skills without a description are never offered to the model. The model loads one by calling the skill tool with its exact ID, { "id": "git-release" }, and OpenCode adds the body (without frontmatter) to the conversation, plus the skill’s folder path and up to ten of its supporting file paths. The agent reads those files only when the instructions tell it to. To load a skill yourself, mention it as @git-release.

To keep a skill out of the model’s list while still letting people load it by ID, set either of these in the frontmatter:

---
name: deploy-production
description: Deploys the current branch to production after the release checklist passes. Use when a person explicitly asks to deploy.
disable-model-invocation: true
---

The model never sees a hidden skill’s description, so the “Use when” wording is there for the people browsing the folder. OpenCode also has its own key, metadata: { opencode/autoinvoke: false }, which wins if both are set. disable-model-invocation is the more portable choice, because Claude Code and Cursor read it too.

Extra sources and permissions

Add more skill folders, or an HTTP catalogue that serves an index.json, with a skills array in opencode.json or opencode.jsonc. Relative paths resolve from the working directory, not from the config file, and the skills arrays from every config file OpenCode finds are combined rather than replaced:

{
  "$schema": "https://opencode.ai/config.json",
  "skills": ["./team-skills", "~/shared/opencode-skills"]
}

An HTTP catalogue’s base URL must serve an index.json whose entries each give a name, a version and a list of files, and every entry needs a SKILL.md or <name>.md among them. OpenCode caches what it downloads, so raise version whenever the files change or readers keep the old copy.

Permissions control which skills each agent may load. Rules run in order and the last match wins; ask still shows the skill to the model but asks you before it loads, and deny hides it completely:

{
  "permissions": [
    { "action": "skill", "resource": "*", "effect": "allow" },
    { "action": "skill", "resource": "internal-*", "effect": "deny" },
    { "action": "skill", "resource": "experimental-*", "effect": "ask" }
  ]
}

Put the same rules under agents.<id>.permissions to limit them to one OpenCode agent. An ask rule is a reasonable default for skills you installed from someone else and have not finished reading.

Installing skills in OpenCode

Copy a skill folder into .opencode/skills/ or .agents/skills/, or use the cross-agent CLI pinned to the commit you reviewed:

# project install into .agents/skills/
npx skills add owner/repo@<commit-sha> --skill skill-name -a opencode

# user-wide install into ~/.config/opencode/skills/
npx skills add owner/repo@<commit-sha> --skill skill-name -a opencode -g

If a skill does not appear, OpenCode’s own checklist is short: confirm the file is a root-level .md or a nested file named exactly SKILL.md, check the path-derived ID rather than the name, make sure there is a description, check opencode/autoinvoke and the agent’s skill permissions, and look for a later source that defines the same ID.

Amp

Amp collects skills from more places than any other agent here, and when two share a frontmatter name, the first one found wins. The order is:

  1. ~/.config/agents/skills/
  2. ~/.agents/skills/
  3. ~/.config/amp/skills/
  4. .agents/skills/ in the project and its parent folders
  5. .claude/skills/ in those same folders
  6. ~/.claude/skills/
  7. ~/.claude/plugins/cache/
  8. Folders listed in the amp.skills.path setting
  9. Your personal skills repository
  10. Your workspace’s skills repository
  11. Amp’s official skills

That is the opposite of OpenCode: in Amp, your user-level copy beats the project’s, and any local copy beats one in a hosted repository. Amp searches local skill folders up to five levels deep. Two settings switch off whole groups of locations: amp.skills.disableClaudeCodeSkills skips the Claude-compatible folders, and amp.skills.disableGlobalAgentsSkills skips ~/.config/agents/skills/ and ~/.agents/skills/. Skills bundled in a plugin get a qualified name, <plugin-name>:<skill-name>, so they never clash with the rest.

Installing and reloading

Amp has no slash command for skills. It picks one by its name and description, and its documentation describes no other way to call a skill. It does ship a built-in building-skills skill that creates or installs skills, so you can ask in a thread (“Install the skills from github.com/example/engineering-skills”). From the shell:

amp skill add <github-repo, git URL or local path>
amp skill add <source> --global   # installs to ~/.config/agents/skills/ on this machine only
amp skills list --json            # what Amp can see, and where each skill came from

A running thread does not notice skills installed from another shell. Ask Amp to reload, which runs its reload_skills tool, or run “skills: list” from the Ctrl+O command palette in the CLI.

Personal and workspace skill repositories

Beyond local folders, Amp keeps a personal skills repository for each user and a workspace repository that admins manage, both stored as Git repositories that Amp hosts. Each skill must be a top-level folder whose name matches its name. Hosted repositories are capped at 200 skills each, 200 files per skill, 10 MiB per file and 25 MiB per skill or repository. Past 200 skills, only the first 200 folders in alphabetical order load, even though the push succeeds. Hosted skill files must be text. The caps do not apply to local folders. amp skills repositories, amp clone user-skills and amp clone workspace-skills let you see and edit those repositories locally.

MCP servers inside a skill

This is the Amp feature that has no equivalent in the other three. A skill can declare the MCP servers it needs, either in an mcp.json file next to SKILL.md or in an mcpServers field in its frontmatter (if both exist, the frontmatter wins). Amp connects when it discovers the skill, but keeps the server’s tools hidden until the skill loads, so they cost nothing in the meantime. From Amp’s documentation:

{
  "chrome-devtools": {
    "command": "npx",
    "args": ["-y", "chrome-devtools-mcp@latest"],
    "includeTools": ["navigate_*", "take_screenshot", "click", "fill*"]
  }
}

includeTools is optional but worth setting, so the skill exposes only the tools it uses. A remote server takes a url (and optional headers) in place of command. If your own configuration or a CLI flag already defines a server with the same name, that one wins and its tools stay visible. Local servers start in the thread’s working directory, and Amp sets AMP_SKILL_DIR to the skill’s folder so you can point at a bundled script with ${AMP_SKILL_DIR}/server.mjs.

If the skill will also be used in other agents, prefer mcp.json. Other agents ignore an extra file, but an mcpServers key is outside the open spec, and claude.ai and the Claude API refuse uploads with frontmatter keys they do not know.

goose

goose reads skills through its built-in Skills platform extension, which is on by default. Its documentation recommends the cross-agent folders: ~/.agents/skills/ for skills you want everywhere and .agents/skills/ for one project. Skills from installed plugins come from ~/.agents/plugins/<plugin-name>/, and Open Plugins skills are namespaced as my-plugin:review. For backward compatibility goose also finds skills in .goose/skills/, .claude/skills/, ~/.claude/skills/ and platform-specific config folders.

At the start of a session goose adds each skill’s name and description to its instructions and loads the full skill when your request matches it or when you ask for it by name (“Use the code-review skill to review this PR”). In the CLI you can list and load skills directly:

goose skills list
/skills code-review edge-case-finder

goose ships one built-in skill, web-search, which searches through DuckDuckGo without an API key, or through Tavily or SearXNG. When a skill has supporting files, goose sees them and reads them with the Developer extension’s file tools, so keep that extension on if your skills bundle scripts or templates.

Installing skills in goose

The simplest install is a copy into the folder goose recommends:

mkdir -p ~/.agents/skills
cp -R path/to/skill-name ~/.agents/skills/

npx skills add ... -a goose works too, but it targets .goose/skills/ in a project and ~/.config/goose/skills/ globally. goose still reads the project folder for compatibility. Its documentation mentions platform-specific config folders without listing them, so after a global install run goose skills list to confirm the skill is there, or copy it to ~/.agents/skills/ instead.

goose has two other ways to reuse instructions: .goosehints for preferences that apply all the time, and recipes for sharing a packaged configuration. Use a skill for a procedure that only matters for some tasks.

Kiro

Kiro supports skills in the IDE, the CLI, Kiro on the web and mobile. Workspace skills in .kiro/skills/ work everywhere; global skills in ~/.kiro/skills/ work in the IDE and CLI but not on the web or mobile. When a workspace skill and a global skill share a name, the workspace one wins.

Kiro loads each skill’s name and description at startup and the full instructions when a request matches. You can also type / to pick a skill as a slash command, and anything after the name is passed along, as in /explain-file src/api/client.ts. Substituting $ARGUMENTS or ${N} into the skill body currently works only in the CLI. Reference files load only when the instructions tell Kiro to read them. In Kiro IDE 1.4.178 and later, a skill of 30,000 characters or more loads in full when there is room in the context, rather than as a shortened preview.

Kiro’s documentation lists these frontmatter fields, all from the open spec: name (required, must match the folder, lowercase letters, numbers and hyphens, up to 64 characters), description (required, up to 1,024 characters), and optional license, compatibility and metadata. allowed-tools is not among them, and the compatibility table in the Vercel Labs skills CLI’s agent docs marks Kiro CLI as one of two agents that do not support it, so do not rely on it to pre-approve commands there.

Custom agents need their skills listed

The default Kiro agent loads workspace and global skills automatically. Custom agents load none until you add them to the agent’s resources with skill:// URIs, which accept paths, globs and ~:

{
  "name": "my-agent",
  "resources": [
    "skill://.kiro/skills/*/SKILL.md",
    "skill://~/.kiro/skills/*/SKILL.md"
  ]
}

If a custom agent ignores a skill the default agent uses, this is almost always why.

Installing skills in Kiro

In the IDE, open Agent Steering & Skills in the Kiro panel, choose + and then Import a skill, either from a public GitHub or GitLab URL or from a local folder. The URL must point to the skill’s folder or its SKILL.md, not the repository root, and a URL without a branch reads from main. GitLab URLs need IDE 1.4.236 or later, and a self-hosted GitLab must first be added to the kiroAgent.powers.trustedGitLabHosts setting. Imported skills are copied into your skills folder. From a terminal:

npx skills add owner/repo@<commit-sha> --skill skill-name -a kiro-cli

A URL import reads whatever the branch holds at that moment, so when you want a fixed version, prefer the pinned CLI command. Kiro also has steering files, which shape every request and support always, auto, file-match and manual modes, and powers, which bundle MCP tools with guidance. Use steering for project standards, powers for integrations that need tools, and skills for portable procedures you want to share with other agents.

One skill folder for all four agents

Keep the skill to the fields in the open spec (name, description, and optionally license, compatibility, metadata), make the folder name match name, and install it to two places in the repository:

# .agents/skills/ covers OpenCode, Amp and goose (and Codex, Cursor, Copilot)
# .kiro/skills/ covers Kiro
npx skills add owner/repo@<commit-sha> --skill skill-name -a opencode -a kiro-cli

Add -a claude-code if anyone on the team uses Claude Code, which needs its own .claude/skills/ copy. When we ran this with skills 1.9.0, it wrote the skill to .agents/skills/ and .kiro/skills/ and recorded the commit and a content hash in skills-lock.json, so teammates restore exactly the version you reviewed with npx skills experimental_install. Adding -a goose also writes a .goose/skills/ copy, which goose does not need when .agents/skills/ is already there. The port a skill across agents workflow walks through the same idea for Claude Code, Codex and Cursor.

Finding skills for these agents

Any skill in our Agent Skills directory that uses only spec fields should work in all four agents once it is in the right folder; each skill page lists its client-specific fields, if it has any. The best OpenCode skills page lists the ones we have checked against OpenCode. For the folders every other agent uses, see how to install Agent Skills, and to write a skill of your own, start with how to create a Claude skill: the result works here unchanged.

Check your understanding

Agent Skills in OpenCode, Amp, goose and Kiro quiz

Skills folders per agent, OpenCode IDs and precedence, Amp search order and skill MCP servers, goose invocation, Kiro custom agents, one folder for all four.

9 questions · pass mark 70%

Question 1 of 90 answered
  1. Your team commits a skill to the repository's .agents/skills/ folder. Which of the four agents will not find it there?
  • OpenCode

    Open-source terminal coding agent that works with many model providers.

    Tool

  • Amp

    Coding agent with a CLI, editor integrations and cloud sandboxes for long tasks.

    Tool

  • goose

    Open-source local agent, now an Agentic AI Foundation project.

    Tool

  • Kiro

    AWS's agentic IDE that writes requirements, a design and tasks before it codes.

    Tool

  • How to install Agent Skills in Claude, Codex, Cursor, Copilot and more

    Where each agent looks for SKILL.md folders, and the exact commands to install Agent Skills in Claude Code, Claude apps and API, Codex, Cursor and Copilot.

    Skill guideBeginner

Back to top