skill-publisher

Publish agent skills to GitHub with README generation and npx skills install verification.

38|4|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/joeseesun/qiaomu-skill-publisher --skill skill-publisher-joeseesun
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-publisher
Source: https://github.com/joeseesun/qiaomu-skill-publisher
Command: npx skills add https://github.com/joeseesun/qiaomu-skill-publisher --skill skill-publisher-joeseesun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) components.

What problem does it solve? Publishing a local agent skill to GitHub involves many failure points: invalid SKILL.md YAML frontmatter, README files that read like internal notes, confusion between skill names and repository names, and no verification that the published skill can actually be discovered and installed via npx skills add. ## Core Features & Use Cases - Strict SKILL.md Validation: Parses YAML frontmatter with PyYAML to catch quote and colon errors before publishing, with fix suggestions using block scalars. - README Quality Gate: Generates a product-style README when missing and blocks publishing if placeholder content like TODO or your-org/your-repo remains. - End-to-End Publishing with Verification: Creates or updates the GitHub repository via gh CLI, pushes commits, runs npx skills add --list discovery checks, and performs a real install in a temporary directory to confirm SKILL.md lands on disk. - Use Case: You finished a local skill in ~/.agents/skills/my-skill and want to share it. Run the publish script to validate, push to GitHub, verify installability, and sync it to the standard ~/.agents/skills directory in one pass. ## Quick Start Publish my local skill to GitHub and verify it can be installed with npx skills add.

Frequently Asked Questions about skill-publisher

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

FAQPage Schema
How do I publish an agent skill to GitHub?▼

Run the publish script with your skill directory: python3 publish_skill.py <skill_dir>. It validates SKILL.md, ensures LICENSE and README exist, creates or updates the GitHub repo via gh CLI, pushes commits, and verifies installation with npx skills add.

How to verify a skill is installable with npx skills add?▼

The script runs npx skills add <user>/<repo> --list to confirm discovery, then performs a real install in a temporary directory and checks that .agents/skills/<name>/SKILL.md exists on disk before reporting success.

Why does npx skills report No valid skills found?▼

This happens when SKILL.md frontmatter fails strict YAML parsing, usually because the description contains unescaped quotes or colons. Fix it by using a block scalar: description: | followed by indented text.

Can the GitHub repo name differ from the skill name?▼

Yes. The script prefers the current git origin repository name to avoid pushing to the wrong repo, and you can explicitly set a different repository name with the --repo-name flag while keeping the skill name from SKILL.md.

What prerequisites are needed to publish a skill?▼

You need the GitHub CLI installed and authenticated (gh auth status), Python 3.9 or later, Node.js with npx, and a skill directory containing a valid SKILL.md with name and description in its YAML frontmatter.