publish-agent-skill

Package, publish, and verify agent skills across Claude marketplace, APM, and npx CLI channels.

416|6|Updated Apr 24, 2026
Ready to run
npx skills add https://github.com/mizchi/skills --skill publish-agent-skill-mizchi
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: publish-agent-skill
Source: https://github.com/mizchi/skills/tree/main/publish-agent-skill
Command: npx skills add https://github.com/mizchi/skills --skill publish-agent-skill-mizchi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Distributing agent skills across multiple platforms is error-prone. This Skill eliminates guesswork by providing systematic verification workflows for each distribution channel, ensuring your skill's metadata, resources, and behavior work correctly before and after publication. ## Core Features & Use Cases - Multi-Channel Publishing: Prepare skills for Claude marketplace plugins, APM package manager, and npx skills CLI from a single source. - Verification Scripts: Byte-for-byte validation that installed resources match your source, with separate checks for metadata, delivery, and runtime behavior. - Channel-Specific Guides: Step-by-step reference documentation for marketplace validation, APM lockfiles, skills CLI restore, and update propagation. - Use Case: You maintain a TypeScript linting skill. After updating SKILL.md, use this Skill to validate the marketplace plugin, confirm APM installation delivers correct files, test npx CLI discovery, and verify a consumer's update receives the new version. ## Quick Start Run the verify-installed-skill script against your source and installed skill directories to confirm byte-for-byte resource delivery.

Frequently Asked Questions about publish-agent-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify an installed skill matches my source?▼

Use the verify-installed-skill.mjs script with your source skill directory and the actual installed directory path. It performs byte-for-byte comparison of SKILL.md and runtime resources (scripts/, references/, assets/, agents/), reporting any mismatches without requiring agent execution.

What is the difference between Claude marketplace, APM, and skills CLI distribution?▼

Claude marketplace packages skills as plugins with a plugin.json manifest; APM treats skills as dependencies in a lockfile-based package manager; skills CLI discovers skills by GitHub repository and installs them to agent-specific directories. Each has different metadata layout, installation paths, and update mechanisms.

Do I need separate plugin.json files for each distribution channel?▼

Claude marketplace requires plugin.json in a .claude-plugin/ directory. APM and skills CLI work directly with portable SKILL.md without additional manifests. For a flat repository, use marketplace-flat.json at the repository root instead of per-skill plugin.json.

How do I ensure consumers receive skill updates?▼

Claude marketplace requires bumping the plugin version; APM consumers use apm update with the dependency declaration; skills CLI consumers use npx skills update with project or global scope. Each channel has different version semantics and cache behavior—test updates in isolation per channel.

What should I validate before publishing a new skill release?▼

Check frontmatter against the Agent Skills specification, ensure all referenced resources (scripts/, references/, assets/) are included and readable, run helper tests, exercise a realistic task, verify installation by each intended channel, and confirm fresh agent discovery of the skill name.

Why did my marketplace plugin installation fail validation?▼

Common causes: missing plugin.json, nonexistent source paths in the manifest, incorrect relative paths from marketplace root, or mismatched plugin name versus marketplace entry. Use claude plugin validate --strict to check manifests, then verify source directories exist at the declared paths.