never-publish-skill
Installation
SKILL.md
Never-Publish a Skill
How the public mirror works (30 seconds)
~/.agentsis the private repo<owner>/private-skills. A GitHub Action (.github/workflows/public-mirror.yml) publishes a sanitized mirror to the public repodavidondrej/skills.- It runs on every push to
main, every 6 hours (cron), and on manual dispatch. Fully autonomous — no human gates. - Pipeline: deterministic excludes/rewrites → AI editor pass → AI reviewer pass → deny-regex scan → publish. Unsure files get omitted (fail-closed).
tools/public_mirror/mirror.pydrops any skill listed inneverPublishSkills(in~/.agents/public-mirror-policy.json) before all other steps. This is the only hard, deterministic guarantee a skill never goes public. The AI passes are for sanitizing skills that DO publish.excludePathsin the same policy handles non-skill paths (tools/**,AGENTS.md, etc.) — not what you want for skills. Skills go inneverPublishSkillsby name.
Add a skill to the never-publish list
All edits happen in ~/.agents/public-mirror-policy.json:
- Add the skill's folder name to the
neverPublishSkillsarray:
"neverPublishSkills": ["youtube-polls", "copywriting", "synology-nas", "composio-cli", "todoist", "<new-skill>"],