Agent Skillsopen-gitagent/opengap › manage-skills

manage-skills

GitHub

管理 Agent 技能的生命周期,包括搜索、安装(本地/全局)、创建自定义 SKILL.md 以及验证和检查技能配置。

examples/gitagent-helper/skills/manage-skills/SKILL.md open-gitagent/opengap

Trigger Scenarios

用户需要查找或浏览可用技能 用户希望安装新技能到代理中 用户想要创建新的自定义技能

Install

npx skills add open-gitagent/opengap --skill manage-skills -g -y
More Options

Non-standard path

npx skills add https://github.com/open-gitagent/opengap/tree/main/examples/gitagent-helper/skills/manage-skills -g -y

Use without installing

npx skills use open-gitagent/opengap@manage-skills

指定 Agent (Claude Code)

npx skills add open-gitagent/opengap --skill manage-skills -a claude-code -g -y

安装 repo 全部 skill

npx skills add open-gitagent/opengap --all -g -y

预览 repo 内 skill

npx skills add open-gitagent/opengap --list

SKILL.md

Frontmatter
{
    "name": "manage-skills",
    "license": "MIT",
    "metadata": {
        "author": "gitagent",
        "version": "1.0.0",
        "category": "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."
}

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:

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

Search Skills

# 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

# 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

# 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

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:
---
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.]
  1. Reference it in agent.yaml:
skills:
  - my-skill
  1. Validate:
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

Version History

  • d7a8e2e Current 2026-07-25 08:12

Same Skill Collection

examples/full/skills/document-review/SKILL.md
examples/full/skills/regulatory-analysis/SKILL.md
examples/gitagent-helper/skills/create-agent/SKILL.md
examples/gitagent-helper/skills/export-agent/SKILL.md
examples/gitagent-helper/skills/get-started/SKILL.md
examples/gitagent-helper/skills/run-agent/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/compute-ladder/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/narco-check/SKILL.md
examples/jason-my-claw-is-the-law-deebee-4567b4/skills/packet-factory/SKILL.md
examples/llm-wiki/skills/wiki-ingest/SKILL.md
examples/llm-wiki/skills/wiki-lint/SKILL.md
examples/llm-wiki/skills/wiki-query/SKILL.md
examples/lyzr-agent/skills/research/SKILL.md
examples/nvidia-deep-researcher/skills/knowledge-retrieval/SKILL.md
examples/nvidia-deep-researcher/skills/paper-search/SKILL.md
examples/nvidia-deep-researcher/skills/web-search/SKILL.md
examples/standard/skills/code-review/SKILL.md

Metadata

Files
0
Version
d7a8e2e
Hash
0d81b5bd
Indexed
2026-07-25 08:12

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-23 03:49
浙ICP备14020137号-1 $mapa de visitantes$