manage-skills

$npx mdskill add open-gitagent/opengap/manage-skills

Searches, installs, creates, and manages skills from the SkillsMP registry.

  • Find and install skills from SkillsMP or GitHub for new capabilities.
  • Depends on the opengap CLI and SkillsMP registry or GitHub repositories.
  • Uses user queries to search registries and determine installation targets.
  • Installs skills locally or globally and lists available skills for the agent.

SKILL.md

.github/skills/manage-skillsView on GitHub ↗
---
name: manage-skills
description: "Searches the SkillsMP registry, installs skills locally or globally, creates custom skills with SKILL.md frontmatter, and manages the skill lifecycle. Use when the user wants to find skills, add new capabilities, install a skill, browse available skills, create a custom skill, or manage the skills system."
license: MIT
metadata:
  author: gitagent
  version: "1.0.0"
  category: skills
---

# 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

More from open-gitagent/opengap

SkillDescription
compute-ladder>
create-agentCreates and configures agent.yaml files, writes SOUL.md personality definitions, and sets up agent directory structures with skills, tools, and knowledge. Use when the user wants to configure an agent, create agent.yaml, write SOUL.md, set up agent directory structure, or customize agent settings.
document-reviewReviews financial documents (prospectuses, ADVs, marketing materials) for FINRA 2210 compliance, required disclosures, and balanced presentation. Use when reviewing financial statements, audit documents, regulatory filings, or when the user mentions compliance checks, financial audits, or document verification.
export-agentConverts agent definitions between frameworks — exports to Claude Code, OpenAI, CrewAI, Lyzr, and GitHub Models formats, and imports from Claude, Cursor, and CrewAI projects. Use when the user wants to convert an agent, migrate to another framework, export to LangChain/AutoGen/CrewAI, or import from existing automation tools.
knowledge-retrievalSemantic search over ingested documents using RAG (LlamaIndex/ChromaDB or Foundational RAG)
narco-check>
packet-factory>
paper-searchAcademic paper search via Google Scholar using Serper API
regulatory-analysisAnalyzes documents and processes against FINRA, SEC, Federal Reserve, and CFPB regulatory frameworks. Identifies compliance gaps, classifies findings by severity, and recommends remediation. Use when performing compliance audits, regulatory reviews, gap analyses, or verifying policy adherence to financial regulations.
run-agentConfigures and runs agents with different adapters including Claude, OpenAI, CrewAI, Lyzr, and GitHub Models. Supports local execution, remote git repos, and one-shot prompts. Use when the user wants to run an agent, switch LLM providers, configure adapter settings, or launch agents from git repositories.