OmniscioGuidesCommands to skills
Move your Claude Code commands into a plugin’s skills
A command is a single Markdown file the user runs by name. A skill is that same Markdown plus a directory around it, which is what lets a skill carry scripts, references and templates that load only when needed. That is the whole migration: same content, same frontmatter, one folder per command.
This is the migration example from the five copyable plugin examples. If you have no commands yet, the team conventions plugin builds the same layout from scratch, and the skills guide covers the frontmatter in full.
Checked against Anthropic’s Claude Code skills and plugin documentation on November 25, 2026. By the Omniscio team. Updated .
Before and after
These are the same two commands, first as command files and then as skills inside a plugin. The content does not change; the location and the surrounding directory do. A plain .claude/skills/deploy/SKILL.md is the same move without the plugin, and it is where a command that needs one script should live today; the plugin adds the prefix and the distribution.
.claude/
└── commands/
├── deploy.md
└── db/
└── migrate.mdops-plugin/
├── .claude-plugin/
│ └── plugin.json
└── skills/
├── deploy/
│ ├── SKILL.md
│ └── scripts/rollback.sh
└── db-migrate/
└── SKILL.mdThe subdirectory is the one thing that changes shape. A command file in a subdirectory takes a colon, so .claude/commands/db/migrate.md runs as /db:migrate. A plugin skill is one directory holding SKILL.md, so the flat skills/db-migrate/SKILL.md is the equivalent, and the plugin prefix makes the name you type /ops-plugin:db-migrate.
The full directory
The manifest: .claude-plugin/plugin.json
{
"name": "ops-plugin",
"description": "Deployment and database commands for this repository",
"version": "2.0.0",
"author": { "name": "Platform Team" }
}A command, moved into a skill: skills/deploy/SKILL.md
The old file was .claude/commands/deploy.md. Its frontmatter moves across unchanged: a command file accepts the same fields except name and paths, which a skill may now also set.
---
description: Deploy the current branch to staging and report the URL
argument-hint: "[environment]"
allowed-tools: Bash(git status:*), Bash(npm run deploy:*)
---
Deploy to $ARGUMENTS, or staging when no argument is given.
1. Run `git status --short` and stop if the tree is dirty.
2. Run `npm run deploy -- --env "$ARGUMENTS"`.
3. Report the deployed URL and the commit that went out.
If the deploy fails, run `bash ${CLAUDE_SKILL_DIR}/scripts/rollback.sh` and report
what it printed.The payoff is on that last line: scripts/rollback.sh sits beside the SKILL.md, and ${CLAUDE_SKILL_DIR} resolves to that folder wherever the plugin is installed. A command file has no directory of its own, so it cannot carry a script with it.
The second command: skills/db-migrate/SKILL.md
--- description: Run the pending database migrations against the staging database disable-model-invocation: true --- Run the migration runner against staging, then print the applied migration names. Never run this against production. If the argument names production, stop and ask.
disable-model-invocation: true keeps Claude from starting the skill on its own, so it runs only when someone types it. It works the same way in a command file, which is why the migration is usually the moment to add it rather than the reason to convert.
What changes, field by field
| Piece | A command file | A plugin skill |
|---|---|---|
| Location | .claude/commands/<name>.md | skills/<name>/SKILL.md inside the plugin |
| Frontmatter | Everything except name and paths | Every field, including name and paths |
| Supporting files | None: it is one file | Any files beside SKILL.md, reached with ${CLAUDE_SKILL_DIR} |
| Name you type | /deploy | /ops-plugin:deploy |
| Who can start it | Claude or you, unless disable-model-invocation is set | The same, with the same field |
Commands are the older format and skills supersede them for new work. The documentation keeps commands/ for files moved over from .claude/commands/, which is why a plugin can hold both while you migrate.
Install and enable it
claude plugin marketplace add your-org/your-marketplace claude plugin install ops-plugin@your-marketplace --scope project
The install id is the plugin name, an @, and the marketplace name. --scope project writes .claude/settings.json so the whole repository gets it; the default scope is user.
In a session, /plugin install ops-plugin@your-marketplace opens the plugin’s details and asks which scope before installing. Enable and disable it later on the Installed tab or with claude plugin enable and claude plugin disable.
To try it without a marketplace at all, claude --plugin-dir ./ops-plugin loads it for that one session — the fastest way to check the names before you publish anything.
Confirm it loaded
Run claude plugin validate ./ops-plugin. It checks the manifest and the frontmatter of every skill, agent and command file, and ends on a Validation passed line, or Validation passed with warnings when it found warnings. A missing frontmatter block or an unknown field is a warning by default, and --strict makes warnings fail too; a YAML block that does not parse is already an error.
In a session, type / and look for /ops-plugin:deploy and /ops-plugin:db-migrate. /plugin on the Installed tab lists the same skills, and claude plugin details ops-plugin prints a component inventory. If you edited the files during the session, /reload-plugins applies the changes and prints one summary line with counts.
Then check that the old name is gone from the menu once you delete the originals: a leftover /deploy next to /ops-plugin:deploy is the sign that .claude/commands/deploy.md is still there. A project skill in .claude/skills/ outranks a same-named command file; a plugin skill is namespaced, though one that sets name also answers to that bare name unless another command or skill already uses it.
The failure: you run both versions
The migration is complete when the originals are deleted, and that step is the one people skip. While both exist they do not collide, because the plugin’s skills carry the plugin prefix: /deploy and /ops-plugin:deploy both work, and Claude sees both. Two names in the menu is the symptom.
Hooks are the exception and the one that bites. A hook has no prefix, so a hook still in .claude/settings.json and now also in hooks/hooks.json runs twice each time its event fires. Move the hooks object out of the settings file once the plugin carries it.
The other failure is a skill that never appears at all: skills/ was created inside .claude-plugin/. Only the manifest belongs there. Move the directory to the plugin root and run /reload-plugins.
A third is the name itself. A subdirectory command becomes a colon-separated name, so .claude/commands/db/migrate.md is /db:migrate (and commands/db/migrate.md inside a plugin is /ops-plugin:db:migrate), while its skill equivalent is the single directory skills/db-migrate/SKILL.md. Name the directory after the whole command, not its last segment: db plus migrate becomes db-migrate.
Common questions
Do Claude Code commands still work?
Yes. Custom commands were merged into skills, and a file in .claude/commands/ keeps working — Claude can even invoke it without you typing the command. Convert it when it needs supporting files, or when you want the whole team to get it from a plugin.
Does a command file keep its name when it becomes a skill?
Yes, through the directory: .claude/skills/deploy/SKILL.md runs as /deploy. Inside a plugin it gains the prefix and runs as /my-plugin:deploy.
What breaks if I leave the old command files in place?
Nothing breaks while both exist, because the plugin’s copies are prefixed and run alongside the old names. Two things do: a hook kept in both places runs twice, and the old command stays in your menu until you delete the file.
How do I make a migrated skill stop being invoked automatically?
Add disable-model-invocation: true to its frontmatter. The field works in a command file too.
Every session, one window
Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness — Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.