# example-skill

Adopt this skill: https://proskills.md/skills/other/moatazhamada-ai-omni-skills-examples-example-skill

Page: https://proskills.md/skills/other/moatazhamada-ai-omni-skills-examples-example-skill
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: examples/example-skill/SKILL.md
size: 223
upstream: https://github.com/moatazhamada/ai-omni-skills/blob/main/examples/example-skill/SKILL.md

```text
---
name: example-skill
description: 'Use when you need a minimal example skill to copy or test the toolkit.'
---

# example-skill

This is a tiny example skill. Replace the frontmatter and body with your own instructions.
```

## File: README.md
upstream: https://github.com/moatazhamada/ai-omni-skills/blob/main/README.md

````text
# Omni Skills

[![npm version](https://img.shields.io/npm/v/ai-omni-skills.svg)](https://www.npmjs.com/package/ai-omni-skills)
[![npm downloads](https://img.shields.io/npm/dm/ai-omni-skills.svg)](https://www.npmjs.com/package/ai-omni-skills)
[![license](https://img.shields.io/npm/l/ai-omni-skills.svg)](LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/moatazhamada/ai-omni-skills.svg?style=social)](https://github.com/moatazhamada/ai-omni-skills)
[![M8ven Verified](https://m8ven.ai/badge/mcp/moatazhamada-ai-omni-skills-1i76ju?variant=verified)](https://m8ven.ai/mcp/moatazhamada-ai-omni-skills-1i76ju?s=readme)

![Omni Skills Banner](banner.png)

> **I try every AI tool. My skills scattered everywhere. This unifies them.**

> **🎉 v1.6.0 is out — patched dependency advisories (0 known vulnerabilities), explicit MCP tool annotations, a lighter front-matter parser, and a fixed MCP server lifetime. [Read the changelog →](CHANGELOG.md)**

A CLI + MCP server that takes the skills you've collected across all your AI
coding tools and unifies them into a single canonical store. Then it syncs them
into every tool you use — Claude, Codex, Kimi, Gemini, Cursor, Zed, Cline,
Z.AI, and anything else that follows.

If you find this useful, please consider
[starring the repo](https://github.com/moatazhamada/ai-omni-skills) — it helps
us reach the criteria for inclusion in `homebrew/core` so users can run
`brew install omni-skills` without the `brew tap` step.

---

## The Problem This Solves

Every new AI coding tool wants its own instruction file, skill directory, and
configuration. The result is fragmentation:

| Mess | What I Found |
|------|--------------|
| **Duplicate AGENTS.md files** | 70 copies of the same template across 16 projects |
| **Orphaned skills** | 15 skills hidden in a tool's skills directory, invisible to other tools |
| **Marketplace dumps** | 203 generic skills cloned into a project |
| **Stale templates** | Old project-only rules in every repo |
| **Private skills leaking** | Project-specific skills mixed with generic skills |
| **Iron laws drifting** | A 98KB instruction file manually copy-pasted between repos |
| **New tool = manual setup** | Every new AI tool meant copying config files one by one |

Omni Skills is a single-purpose tool: find all your skills, put them in one
place, and wire them into every AI tool you use.

```bash
# One canonical store. Every tool sees it.
omni-skills sync all   # Claude, Codex, Kimi, Gemini, Cursor, Cline, Zed, etc.
```

---

## Install

Choose one of the following. Native binaries do not require Node.js.

```bash
# macOS / Linux
brew tap moatazhamada/tap
brew install omni-skills

# Windows
winget install omni-skills

# npm
npm install -g ai-omni-skills
```

See [docs/install.md](docs/install.md) for details on why `brew tap` is needed
and how each distribution channel works.

---

## Quick Start

You need your own **private** repository for your skills. This toolkit does not
include skills — it connects the skills you already have to every AI tool you
use.

```bash
# 1. Run the auto-scan setup
omni-skills setup
# Auto-detects your installed AI tools, finds your skill directories,
# suggests cleanup, and generates ~/.config/skills/config.json

# 2. Sync to every AI tool
omni-skills sync all

# 3. Verify health
omni-skills doctor

# 4. Run the verification suite
node verify.js
```

Override defaults without questions:

```bash
omni-skills setup --public=~/my-skills-public --private=~/my-skills-private
omni-skills setup --toolkit=/path/to/this/repo
```

---

## What It Does

| Tier | What | Mechanism |
|------|------|-----------|
| **A** | `SKILL.md` skills + shared instructions + MCP server | Symlinks + local MCP server exposing `list_skills` / `read_skill` |
| **B** | Hooks | Canonical hooks transpiled into each tool's native hook format |
| **C** | Other assets | Symlinks from your config repo to per-tool paths |

When you run `omni-skills sync`, each `SKILL.md` is compiled on the fly into the
format each target tool expects. You can also add `executionBoundary` guidance
in the YAML frontmatter for file writing, network access, or shell confirmation
expectations. The target tool's sandbox, approvals, and managed policies remain
the enforcement layer.

For Codex, sync also moves obsolete Omni-managed output from the former
`~/.codex/skills` directory to recoverable trash while preserving unmanaged
content.

See [docs/architecture.md](docs/architecture.md) for the full compiler pipeline,
execution boundaries, and MCP server details.

---

## Supported AI Tools

| Tool | Type | Config | Skills Dir | MCP |
|------|------|--------|------------|-----|
| **Claude Code** | CLI | `~/.claude/CLAUDE.md` | ✓ | ✓ |
| **OpenAI Codex** | CLI | `~/.codex/AGENTS.md` | `~/.agents/skills` | ✓ |
| **Kimi** | CLI | `~/.kimi/AGENTS.md` | ✓ | ✓ |
| **Gemini CLI** | CLI | `~/.gemini/GEMINI.md` | — | ✓ |
| **Cursor** | Editor | `~/.cursor/rules/` | — | ✓ |
| **Kilocode** | VS Code | `~/.kilocode/rules/` | ✓ | ✓ |
| **OpenCode** | CLI | `~/.config/opencode/` | — | ✓ |
| **Aider** | CLI | `~/.aider.conf.yml` | — | — |
| **Continue.dev** | VS Code | `~/.continue/config.yaml` | — | ✓ |
| **Cline** | VS Code | `~/.cline/rules.md` | ✓ | ✓ |
| **Roo Code** | VS Code | `~/.roo/rules.md` | ✓ | ✓ |
| **Windsurf** | Editor | `~/.windsurf/rules.md` | — | ✓ |
| **Zed** | Editor | `~/.config/zed/settings.json` | — | ✓ |
| **Tabby** | Self-hosted | `~/.tabby/config.toml` | — | — |
| **PearAI** | Editor | `~/.pearai/config.json` | — | — |
| **Void** | Editor | `~/.void/config.json` | — | — |
| **JetBrains Junie** | IDE | `.junie/guidelines.md` | — | — |
| **JetBrains AI Assistant** | IDE | `.aiassistant/rules/` | — | — |
| **Claude Desktop** | Desktop | `~/Library/…/Claude/…` | — | ✓ |
| **Devin** | Desktop | — | — | — |
| **Factory Droid** | CLI | — | — | — |
| **Z.AI (GLM 5.2)** | Model API | — | — | —¹ |

¹ Z.AI works *through* existing tools. Point Claude Code, Cline, or Zed at the
GLM Coding Plan endpoint. For VS Code Copilot, install the `glm-copilot`
extension.

---

## CLI Commands

Core commands are the ones you run every day. Secondary commands are grouped
under `manage` to keep the main surface small.

### Core commands

| Command | Does |
|---------|------|
| `omni-skills sync [tool\|all] [--dry-run] [--no-backup]` | Wire instructions, skills dirs, MCP config, hooks, assets. |
| `omni-skills setup` | Auto-scan, detect tools, generate config. |
| `omni-skills doctor` | Health check symlinks, config, indexes, skill counts. |
| `omni-skills restore [index] [--prune[=N]] [--empty-trash]` | List or restore trashed files, prune old trash. |
| `omni-skills update [--check]` | Check for updates. |
| `omni-skills help` | Show help. |

### Secondary commands (`omni-skills manage <subcommand>`)

| Subcommand | Does |
|------------|------|
| `manage mcp` | Run the MCP server over stdio. |
| `manage index` | Regenerate `INDEX.md` and managed `SHARED.md`. |
| `manage workflow [list\|run <name>]` | List or run chainable skill workflows. |
| `manage check [--move] [--dry-run]` | Find orphaned skills and dangling symlinks. |
| `manage classify [path] [--depth=N] [--dry-run]` | Scan and sort instruction files public/private. |
| `manage discover` | Scan system for AI tools, instruction files, skill dirs. |
| `manage report [--enhance]` | Usage statistics and improvement tips. |
| `manage init [--dry-run]` | Interactive setup: scan, classify, route, wire. |
| `manage security [scan]` | SkillSpector vulnerability scanning. |
| `manage create [name]` | Create a new skill with a wizard. |
| `manage create from <file>` | Convert an existing file into a skill. |
| `manage uninstall` | Remove omni-skills wiring. |

Legacy top-level commands (e.g., `omni-skills check`) still work for backward
compatibility, but new scripts should prefer `omni-skills manage check`.

See [docs/usage.md](docs/usage.md) for detailed usage, real stats, health
checks, ve
````
