# Skills

> Keep your team's skills in Architure, from skills.sh or written by your team, link them to the packages that use them, and install them in each repository with one command.

Source: https://docs.architure.dev/docs/skills

A skill is a folder with a `SKILL.md`: instructions an agent loads when a task matches the skill's description, with optional supporting files (references, scripts, templates). **Skills** in the app holds your team's skills in one place, from [skills.sh](https://skills.sh) or written by your team. Each skill is linked to the [packages](/docs/repositories) that use it, so an agent working in `apps/web` gets the skills of `apps/web`, and each repository installs its skills with one command.

The `architure` skill, which teaches agents to work with Architure itself, is described on the [Skill](/docs/skill) page.

## The skills list

**Skills** has three tabs: **Skills** (the live ones), **Archived** and **Trash**. Each row shows the skill's name, its source (**skills.sh** or **Custom**), its audit, its installs on skills.sh and when it was last updated. Click a row to open the skill's page; its menu holds the actions described below.

The page's two buttons add skills: **Add from skills.sh** and **New skill**.

## Add from skills.sh

**Add from skills.sh** opens the leaderboard of skills.sh, the open directory of agent skills: the most installed skills of all time, 100 at a time (**Load more** for the next hundred), refreshed once a day. Type in **Search skills.sh** and choose **Search** to find others. A skill your organization already has is marked **Added**.

Open a skill to read it before adding it. Its page shows:

- its `SKILL.md` and how many files it has;
- **Installs**: how often it was installed through skills.sh;
- **Repository**: where it comes from, with **View on skills.sh** (check the skill's licence there before sharing it);
- **Security audits**: what skills.sh's audit partners (Socket, Snyk, Gen Agent Trust Hub and others) found, each **Pass**, **Warn** or **Fail**, or **Not audited**;
- **Install without Architure**: the `skills` command that installs it straight from GitHub.

**Add skill** keeps a pinned copy in your organization. A skill whose audit failed asks first: **This skill failed an audit** names the partners and what they found, and **Add anyway** stays disabled until you tick **I read the failed audit and add it anyway**. When your organization already has the skill, the page says so and offers **Open your copy**.

A skill from skills.sh is a snapshot: it changes only when you refresh it. To change it yourself, duplicate it as custom.

### The basket

To add several skills at once, put them in the basket: the `+` button on each row of the leaderboard, or **Add to basket** on a skill's page. The basket holds 25 skills at most and stays in this browser while you browse.

The bar at the bottom of the page shows how many skills it holds; open it to see them and remove one, or choose **Clear**. **Install all** adds a pinned copy of each skill:

- When some skills failed an audit, a dialog lists them with what each partner found; **Install all anyway** stays disabled until you tick **I read the failed audits and add these skills anyway**.
- A skill that cannot be added (its name is taken, its files break the rules below, skills.sh did not answer) stays in the basket with the reason, and the others are added.

## Custom skills

**New skill** opens the editor on a `SKILL.md` template:

```markdown
---
name: my-skill
description: What this skill does and when an agent should use it.
---

# My skill

Steps and rules for the agent.
```

The frontmatter's `name` and `description` are required. The `name` uses lowercase letters, digits and hyphens (at most 64 characters) and is unique among your organization's skills; the `description` (at most 1,024 characters) is what agents read to decide when to load the skill, so say what it does and when to use it.

To add a supporting file, type its path from the skill's root in **New file path** (`references/api.md`, `scripts/check.sh`) and press Enter or **Add the file**; remove a file with the button beside it. Files are text only: at most 50 files, 256 KB each and 1 MB in all, at relative paths. **Create skill** saves it and opens its page.

## A skill's page

A skill's page shows its files in the editor, and beside them:

- **Source**: skills.sh (with **Installs on skills.sh** and **Security audits**) or custom;
- **Packages**: the packages that use it, or **Available to all packages**;
- **Tech stack item**: the technology it goes with, if any;
- **Updated**, and **Refreshed from skills.sh** for a copy from skills.sh.

A custom skill is edited in place: **Save**, or Cmd+S (Ctrl+S on Windows and Linux). A copy from skills.sh is read-only.

The menu, on the page or on the skill's row in the list, holds:

- **Packages…**: turn on **Available to all packages** (the default: every package of every repository uses it, including those imported later), or turn it off and tick the packages that use it. A skill linked to no package and not available to all packages reaches no agent and no repository.
- **Tech stack item…**: link the skill to one item of your [tech stack](/docs/tech-stack), or **None**. Agents reading the tech stack learn which skill goes with a technology.
- **Refresh** (skills.sh copies): fetches the skill's latest version from skills.sh and shows which files it changes and its audit, then **Save the new version**. When skills.sh changed the skill again in the meantime, nothing is saved: refresh again.
- **Duplicate as custom**: a custom copy you can edit, under a new name (`<name>-custom` by default); its `SKILL.md` takes the new name, and its page opens.
- **Archive**: hides the skill from agents and install links until you **Restore** it from **Archived**.
- **Move to trash**: the same, from **Trash**. In **Trash**, **Delete forever** deletes its files; repositories keep the copy they installed.

A skill restored from the archive or the trash keeps its name, unless another skill took it meanwhile: rename that one first.

## Roles

Owners, admins and members add, write, link, refresh, duplicate, archive, trash and delete skills. Viewers read them. Only owners and admins make and revoke install links.

After the trial, while the organization has no active plan, skills are read-only: agents still read them and install links still serve them. See [Billing and trial](/docs/billing).

## Install link

Each imported repository has one **Skills install link**, on the repository's page under [Repositories](/docs/repositories), for owners and admins. Its command installs into the repository every live skill one of its packages uses (linked to one of them, or available to all packages), with the [skills command line](https://skills.sh):

```bash
npx skills add https://app.architure.dev/k/<token>
```

Run it at the repository's root. Run it again to pick up the skills that changed in Architure, then commit the result as you would any other change.

- **Create install link** (or **New link** when the repository has one) makes a link and shows its command once, in **Install the skills in this repository**: copy it then. A new link revokes the previous one at once: update the scripts that used it.
- The card shows the link's start, when it was made and when it was last used.
- **Revoke** stops the link: the repository can no longer install or update its skills until you make a new link. Skills already installed stay.
- Removing a repository revokes its links too.

Anyone with the link can read those skills, without signing in: keep it in the repository's scripts or a secret, not in a public file.

The link serves the [Agent Skills discovery index](https://schemas.agentskills.io/discovery/0.2.0/schema.json) at `/k/<token>/.well-known/agent-skills/index.json`, which the `skills` command reads. Each skill is listed with its name, description and a SHA-256 digest, and served as its `SKILL.md` alone when it has no other file, or as `skill.zip`, its folder with `SKILL.md` at the root. A skill keeps its digest until its files change, so the command reinstalls only what changed. Responses are never cached; an unknown or revoked link answers `404`, and a link that makes more than about 120 requests a minute answers `429` until the minute passes.

## What agents read

Agents connected through the [MCP server](/docs/connect-your-agent) read the same skills, whatever the install links:

- `list_skills` lists them with their name, description, source and audit: with the agent's `repository` and `path`, the skills of the package that holds that folder (the same set its repository's install link serves for that package); without, every live skill of the organization.
- `get_skill` returns one skill's files by name, for the agent to follow or to write under `.agents/skills/<name>/`.
- `list_tech_stack` names, for each technology, the skills linked to it.

Archived skills and skills in the trash reach no agent. Agents never add or change skills. See [MCP tools](/docs/mcp-tools).
