skill-open-sourcer
Skill5 starsChanged 5 months agoMITView on GitHub
Package and publish one local agent Skill, or audit and release a Registry-driven public Skill portfolio, as polished installable GitHub packages. Use when the user gives a SKILL.md, Skill directory, or multi-Skill repository and asks to open-source, publish, release, share, validate, detect drift, synchronize mirrors, manage versions, make installable with npx skills, prepare release documentation, or generate launch copy. The workflow includes safety, self-containment, declared capabilities, project-native README design, isolated installation, release planning, and publishing.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- zjp1997720/zhijian-skillstheir own version, first seen Jul 17, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- zjp1997720/zhijian-skills★ 778same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 11 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Default posture: move fast, but stop on release risk.
- Distinctive: line 18
Run the repository-owned validator in either mode:
- Distinctive: line 28
Run the environment check before packaging or publishing:
- Very specific: line 37
Read the skill entrypoint and inspect directly referenced scripts/, references/, assets/, and agents/ files.
- Distinctive: line 38
Run the safety scanner:
- Distinctive: line 45
If the environment and safety scans are clear, create a fresh release repository outside the source skill directory.
- Very specific: line 58
Read references/release-package.md before writing the release repo.
- Distinctive: line 92
Keep the original skill behavior intact.
- Very specific: line 93
Use a flat root layout only for a self-contained SKILL.md with no supporting payload.
- Very specific: line 94
Prefer a lean SKILL.md; move detailed public guidance into references/ only when an agent will genuinely need it.
- Distinctive: line 95
Do not add a README inside the skill folder.
- Very specific: line 99
Put release-specific visuals under assets/readme/.
- Distinctive: line 100
Keep install commands, requirements, links, and long explanations in Markdown.
- Distinctive: line 101
Use MIT as the default license only when the source skill has no conflicting license and ownership is clear.
- Very specific: line 105
Run scripts/check_release_env.py.
- Very specific: line 106
If required commands are missing, stop and report the exact blockers.
- Very specific: line 108
Run scripts/audit_release_readme.py <release-repo> --strict.
- Very specific: line 115
Create or update the GitHub repository using the available GitHub surface (gh, GitHub MCP/app, or existing remote).
- Very specific: line 117
Verify listing. In a Portfolio repository use its lockfile and --no-install.
- Very specific: line 123
Run an isolated real install with copy mode, then verify the expected support files exist under the temporary agent skill directory.
- Distinctive: line 125
If listing and the isolated install work, provide the install command:
- Distinctive: line 135
After a successful release, draft concise social copy that explains:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Open Sourcer
Turn one local Skill into a clean public release package, or govern a complete public Skill portfolio from one canonical repository.
Default posture: move fast, but stop on release risk. If the safety scan finds secrets, private paths, client data, unpublished proprietary material, or ambiguous ownership, report the blockers and do not publish until the user resolves them.
Select the mode
- A
SKILL.mdpath or directory containingSKILL.mduses Single-Skill mode and follows the existing workflow below. - A repository root containing
registry/skills.jsonuses Portfolio mode. Read Portfolio mode and Registry contract before auditing or releasing. - A directory matching neither contract is an input error. Do not guess which nested directory is authoritative.
Run the repository-owned validator in either mode:
python3 <skill-open-sourcer-dir>/scripts/portfolio.py validate-skill /path/to/skill
python3 <skill-open-sourcer-dir>/scripts/portfolio.py audit --repo /path/to/portfolio --strictQuick Start
- Resolve the input to a real skill directory. Accept a
SKILL.mdfile, a folder containingSKILL.md, or a symlink under.codex/skills,.agents/skills,.claude/skills, or another local skill root. - Run the environment check before packaging or publishing:
SKILL_OPEN_SOURCER_DIR="${CODEX_HOME:-$HOME/.codex}/skills/skill-open-sourcer"
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/check_release_env.py"Required local commands are python3, git, node, and npx. gh is the default local GitHub publishing surface, but GitHub MCP/app or an existing authenticated remote can replace it. If no GitHub publishing surface is available, build and validate the repo locally, then stop with the missing setup.
- Read the skill entrypoint and inspect directly referenced
scripts/,references/,assets/, andagents/files. Do not copy unrelated local folders. - Run the safety scanner:
SKILL_OPEN_SOURCER_DIR="${CODEX_HOME:-$HOME/.codex}/skills/skill-open-sourcer"
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/scan_skill_release.py" /path/to/skill-or-SKILL.md- If the environment and safety scans are clear, create a fresh release repository outside the source skill directory.
- Choose the package layout from the install payload. A truly self-contained, single-file Skill may keep
SKILL.mdat the repo root. If the Skill needsagents/,references/,scripts/, or agent-facingassets/, place the complete payload underskills/<skill-name>/. Currentnpx skillsroot-level remote installs intentionally copy onlySKILL.md; a flat package with support files installs incompletely. Preserve applicable source license and third-party notice files. Multi-skill collections also useskills/<skill-name>/; addskills.sh.jsononly when curated grouping metadata is useful. - Extract the release story, choose the README presentation tier, and build the public release files described in
references/release-package.md. Readreferences/readme-design.mdbefore writing either README or anyassets/readme/visual. - Audit the README package before publishing:
SKILL_OPEN_SOURCER_DIR="${CODEX_HOME:-$HOME/.codex}/skills/skill-open-sourcer"
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/audit_release_readme.py" /path/to/release-repo --strict- Validate the packaged skill,
npx skillslisting, and one isolated real installation before publishing. Inspect the installed file tree; listing success alone does not prove support files were copied. - Publish to GitHub when low-risk checks pass, then produce launch copy.
Read references/release-package.md before writing the release repo.
Output Contract
For a successful release, return:
- GitHub repo URL.
- Install command using
npx skills. - Verification results for skill validation and
npx skills add <owner>/<repo> --list. - README audit result, presentation tier used, and any visual assets deliberately included or omitted.
- Short risk summary: what was scanned, what was removed or sanitized, and any residual assumptions.
- GitHub Description and Topics recommendations when creating a new public repo.
- Launch copy: at least one X/Twitter post, plus optional Chinese version when the user works in Chinese.
If blocked, return:
- Blocker list with file paths and reasons.
- Suggested sanitization steps.
- The safest next action, usually "clean these files, then rerun the release".
Safety Rules
Hard stop when any of these appear in the source package:
- API keys, tokens, private keys, cookies, credentials,
.envfiles, or auth config. - Absolute personal paths such as
/Users/...,/home/..., local vault paths, or machine-only cache paths that would confuse public users. - Customer names, private company data, internal docs, private URLs, unpublished prompts, or paid/proprietary assets without a clear license.
- Symlinks that escape the package, large binaries, databases, logs, browser profiles,
.DS_Store, or generated artifacts outside ignored cache directories. Exclude__pycache__and dependency caches from every release package; their local presence alone is not a release blocker. - Unclear license or ownership for bundled code/assets.
Low-risk auto publish is allowed only when the scanner and manual review find no blockers. If the target GitHub repo already exists with unrelated content, stop and ask before overwriting or force pushing.
Packaging Rules
- Keep the original skill behavior intact. Refactor only enough to remove private assumptions and make public installation reliable.
- Use a flat root layout only for a self-contained
SKILL.mdwith no supporting payload. Useskills/<skill-name>/whenever installation must includeagents/,references/,scripts/, or agent-facingassets/, including single-skill repositories. - Prefer a lean
SKILL.md; move detailed public guidance intoreferences/only when an agent will genuinely need it. - Do not add a README inside the skill folder. Put human-facing documentation at the release repo root.
- Preserve
agents/openai.yamlwhen present. If absent, create it withdisplay_name,short_description, and adefault_promptthat explicitly mentions$<skill-name>. - Include
scripts/only for deterministic helper logic the skill actually uses. - Include
assets/only when licensing and size are safe for public release. - Put release-specific visuals under
assets/readme/. Use real outputs or project-native diagrams; skip visuals when they add no explanatory value. - Keep install commands, requirements, links, and long explanations in Markdown. Visuals support the story and must not become the only carrier of essential information.
- Use MIT as the default license only when the source skill has no conflicting license and ownership is clear.
Publication Flow
- Run
scripts/check_release_env.py. Add--repo-dir <release-repo>when updating an existing local repo. Add--check-npx-skillswhen package/network access is uncertain. - If required commands are missing, stop and report the exact blockers. If only
ghis missing, continue only when GitHub MCP/app is available or the release repo already has an authenticatedoriginremote. - Build the release repo locally, including the README package and any licensed proof assets.
- Run
scripts/audit_release_readme.py <release-repo> --strict. Fix hard failures and review every warning; visual taste still requires local rendering and inspection. - Validate with the repository-owned validator:
python3 "$SKILL_OPEN_SOURCER_DIR/scripts/portfolio.py" validate-skill /path/to/packaged/skill- Create or update the GitHub repository using the available GitHub surface (
gh, GitHub MCP/app, or existing remote). Avoid force push. - Push the branch or
main. - Verify listing. In a Portfolio repository use its lockfile and
--no-install; for a standalone release environment without a pinned dependency, record the resolved CLI version in the release evidence:
npx --no-install skills add <owner>/<repo> --list- Run an isolated real install with copy mode, then verify the expected support files exist under the temporary agent skill directory. Use the exact target agent intended by the release. Never treat
--listas sufficient package validation. - If listing and the isolated install work, provide the install command:
npx skills add <owner>/<repo> -g -a codex --skill <skill-name> --copy -yAdjust the agent flag and install wording when the target platform is not Codex.
Launch Copy
After a successful release, draft concise social copy that explains:
- The problem the skill solves.
- What a user gives it.
- What it publishes or automates.
- The install command or repo link.
- One concrete example request.
For Chinese users, include a natural Chinese launch post. Keep it human-facing; do not over-explain scripts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

