# Make Skill and Publish

> Turn a plain-language idea into a validated, installable Agent Skill - no spec reading required. Includes a pre-publish scan for secrets and PII.

Make Skill and Publish is a free AI agent skill on Agensi by meursault, in Prompt & Skill Engineering. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [meursault](https://www.agensi.io/creators/meursault)
- Category: [Prompt & Skill Engineering](https://www.agensi.io/skills/prompt-skill-engineering)
- Uses: 6
- Version: 1.0
- Last updated: 2026-10-11
- Security: scan passed (2026-10-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/make-skill-and-publish
- Tags: prompt-engineering, ai-agents, automation, github, python, skill-authoring, skill-md

## About this skill

### What it does
Takes whatever you already have - a sentence, a document, a screenshot, an existing workflow - and drives it all the way to a finished Agent Skill: scoped, scaffolded, written, self-tested, scanned, committed and published to GitHub as something anyone can install.

### Why you need this
Writing a SKILL.md is easy. Getting it right is where people lose hours:

- name has to match the folder, be lowercase-hyphen, and stay under 64 characters
- description is the routing surface - it decides whether your skill ever fires - and has to be written as "Use when ..."
- The body must stay lean; long procedures belong in references/, each linked with the condition for reading it
- The pre-publish pass is the part nobody does well: secrets, tokens, private keys, PII, machine-specific absolute paths, __pycache__, .DS_Store, stray test debris

This skill encodes all of that as a fixed workflow, so the standard gets applied every time instead of being remembered every time.

### Built for people with ideas, not just people who know the spec
The people who need this most are not the ones who already know the format. They are the ones with the ideas.

If you can describe in plain language what you want your agent to do, but you get stuck on the mechanics - folder layout, frontmatter rules, how to phrase a description so it actually fires, what to test, what to clean up before publishing - that is exactly the part this skill takes over.

You bring the idea. The skill handles the spec.

And that is the point. The barrier is almost never the idea; it is the process wrapped around it. When finishing a skill stops costing a week of reading specification documents, people actually finish them. The first one lands, and the rest come faster. Take the busywork out of publishing, and ideas stop piling up in notes and start shipping.

### How it works
Nine steps, with exactly one hard gate:

1. Turn the request into a skill spec - and say what is missing instead of padding it
2. Scaffold the skill folder
3. Write SKILL.md and its resources
4. Test against a realistic request, and mark a test "not executed" rather than implying it passed
5. Write the repo README
6. Run the pre-publish scan and report the raw output
7. STOP - the human authorizes
8. Publish to GitHub
9. Verify and report

### Safety by design
- Never handles credentials. It will not ask for, echo or store passwords, tokens or 2FA codes. Authentication stays with you.
- One explicit gate. git add, commit, creating a remote and any upload all wait until you have seen the scan output and said go.
- Never fabricates. Descriptions, README and examples must describe what the skill actually does.
- Portable output. Relative paths only - no machine-specific absolute paths, usernames or local test debris in the published tree.

### What is inside
- SKILL.md - the workflow, hard rules and gotchas
- references/stage-prompts.md - ready-to-use prompt templates per stage, including a one-shot version
- references/publish-github.md - installing and authenticating gh, creating the repo, publishing a release, troubleshooting
- scripts/new_skill.py - self-contained scaffolder, standard library only
- scripts/validate_skill.py - spec validator
- scripts/scan_publish_ready.py - the pre-publish scan, usable as a CI gate
- assets/trigger-eval-queries.json - a worked trigger-test set: 20 labelled queries with observed outcomes

## Known limitations

User must handle GitHub authentication and 2FA manually. Requires pre-installed GitHub CLI for publishing. Skips interactive credential prompts.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Make Skill and Publish skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill differ from just asking an LLM to write a skill for me?

The skill acts as a specialized compiler and publisher that converts your prompt chains or scripts into the specific directory structures and validated metadata required for portable Agent Skills.

### What security measures are in place to prevent private data from being published to GitHub?

Before publishing, the skill runs a local safety scan to detect and block the export of PII, absolute file paths, and hardcoded API keys that often leak during manual commits.

### Can I use this to update existing skills, or is it only for new projects?

Yes, the skill automates the creation of GitHub releases and manages versioning, allowing you to iterate on your skill and push updates to your existing repositories seamlessly.

### What are the technical prerequisites for using the "make skill and publish" tool?

It requires the Python standard library for scaffolding and the GitHub CLI (`gh`) for authentication and remote repository operations.

### How does the skill ensure my final product is compatible with other AI agent platforms?

The skill validates your project against standard Agent Skill specifications, ensuring folder naming, character limits, and link integrity meet the requirements for cross-platform agent compatibility.

### I am new to this. Do I need to learn the SKILL.md format first?

No. Describe what you want your agent to do in plain language and the skill turns that into a properly structured, validated skill. Folder layout, frontmatter rules, how the description has to be phrased, what to test, and what to clean up before publishing are all handled for you. You bring the idea; the spec is the machine's job.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
