---
name: Manage Skills
slug: manage-skills
category: AI Engineering
description: Manage Skills searches the SkillsMP registry, installs skills locally or globally, creates custom skills with SKILL.md frontmatter, and manages the skill lifecycle. Use it when you need to find, install, create, or inspect agent skills.
github: "https://github.com/open-gitagent/opengap/tree/main/examples/gitagent-helper/skills/manage-skills"
language: TypeScript
stars: 2916
forks: 346
install: "npx degit https://github.com/open-gitagent/opengap/tree/main/examples/gitagent-helper/skills/manage-skills ~/.claude/skills/manage-skills"
installs_to: ~/.claude/skills/manage-skills
source_path: examples/gitagent-helper/skills/manage-skills/SKILL.md
collection_size: 18
category_size: 2451
collection_url: "https://dirskills.com/collections/open-gitagent/opengap"
added: 2026-08-17T07:10:04.004Z
last_synced: 2026-08-17T07:10:04.004Z
canonical_url: "https://dirskills.com/skills/manage-skills"
---

# Manage Skills

Manage Skills searches the SkillsMP registry, installs skills locally or globally, creates custom skills with SKILL.md frontmatter, and manages the skill lifecycle. Use it when you need to find, install, create, or inspect agent skills.

**Install:**

```bash
npx degit https://github.com/open-gitagent/opengap/tree/main/examples/gitagent-helper/skills/manage-skills ~/.claude/skills/manage-skills
```

## README

# Manage Skills

## When to Use
When a user wants to find skills, install them, create new ones, or understand the skills system.

## Verify Installation

After installing a skill, confirm it's available:

```bash
opengap skills list -d ./my-agent | grep "code-review"
```

## Search Skills

```bash
# Search SkillsMP registry
opengap skills search "code review"

# Search GitHub
opengap skills search "pdf reader" --provider github

# Limit results
opengap skills search "testing" --limit 5
```

## Install Skills

```bash
# Install from SkillsMP to agent-local skills/
opengap skills install code-review -d ./my-agent

# Install globally to ~/.agents/skills/
opengap skills install code-review --global

# Install from GitHub
opengap skills install owner/repo#skills/my-skill --provider github
```

## List Skills

```bash
# Show all discovered skills (local + global)
opengap skills list -d ./my-agent

# Only agent-local skills
opengap skills list -d ./my-agent --local
```

## Inspect a Skill

```bash
opengap skills info code-review -d ./my-agent
```

Shows: name, description, license, allowed tools, metadata, optional directories.

## Create a Skill

1. Create directory: `skills/<name>/`
2. Create `SKILL.md` with frontmatter:

```markdown
---
name: my-skill
description: What this skill does (max 1024 chars)
license: MIT
allowed-tools: Read Edit Grep Glob Bash
metadata:
  author: your-name
  version: "1.0.0"
  category: developer-tools
---

# Instructions

[Detailed instructions for using this skill.
Keep under ~5000 tokens / ~20000 characters.]
```

3. Reference it in `agent.yaml`:
```yaml
skills:
  - my-skill
```

4. Validate:
```bash
opengap validate -d ./my-agent
```

## Skill Discovery Paths

Skills are found in this order (first match wins):

| Priority | Path |
|----------|------|
| 1 | `<agent>/skills/` |
| 2 | `<agent>/.agents/skills/` |
| 3 | `<agent>/.claude/skills/` |
| 4 | `<agent>/.github/skills/` |
| 5 | `~/.agents/skills/` |

## Optional Directories in Skills

- `scripts/` — Executable scripts the skill can reference
- `references/` — Reference documents
- `assets/` — Images, static files
- `agents/` — Skill-specific sub-agents
