yao-open-skills-sync
Yao Open Skills Sync
Use this skill to manage the public yao-open-skills collection in the current repo root.
This skill is not for creating arbitrary new skills from scratch. It is for intake, governance, sync tracking, and collection maintenance.
Read First
Before changing the collection, read:
references/operating-rules.mdreferences/registry-schema.md
Only read repo-wide docs under ../../docs/ if you need more human-facing detail after reviewing the references.
Primary Responsibilities
- Evaluate whether a local skill is suitable for public release
- Create a clean public copy under
skills/<slug>/ - Register or update the skill in
registry/skills.json - Add or update a human-facing usage guide under
docs/skills/<slug>.md - Regenerate the README catalog so the collection homepage stays in sync
- Record whether the skill is only local, staged, published, or needs an update
- Push collection changes to GitHub when the user wants the public repo updated
Workflow
1. Inspect the source skill
Given a local path from the user:
- Confirm the path exists
- Inspect
SKILL.md - Identify what should be kept, removed, or rewritten for public release
Watch for:
output/,downloads/,.venv/,node_modules/, caches, logs- generated reports, exported results,
.commandhelpers, and local scan artifacts - private APIs, tokens, cookies, internal references, customer data
- assets or references that may not be redistributable
2. Decide whether it can be public
Use the publishing rules:
- If the skill can be cleaned into a self-contained public version, proceed
- If it mixes public logic with sensitive material, split the public part from the private part
- If it cannot be safely cleaned, stop and explain why it should not be published
3. Import the public copy
When approved:
- Copy the public version into
skills/<slug>/under the repo root - Keep only the files needed for the public skill
- Make the structure self-contained and understandable
- Exclude local output artifacts by default unless the user explicitly wants a safe sample included
4. Register the skill
Upsert the registry entry using:
python3 scripts/register_skill.py \
--slug <slug> \
--title "<title>" \
--summary "<summary>" \
--source-local-path "<absolute-source-path>" \
--collection-path "skills/<slug>" \
--lifecycle active \
--sync-status <local-only|staged|published|needs-update> \
--github-repo yao-open-skills \
--github-url "<url-if-known>" \
--license "<license>" \
--tags "tag1,tag2"
Use --last-synced-at YYYY-MM-DD only when the skill has actually been pushed to GitHub.
5. Update the README catalog
After every registry change, run:
python3 scripts/render_readme_catalog.py
README is a rendered view. Do not maintain the catalog table manually.
5.5 Write the usage guide
For every published skill, add or update:
docs/skills/<slug>.md
The guide should explain:
- what the skill does
- when to use it
- the main workflow
- important inputs and outputs
- any local-only outputs that should not be committed back into the repo
6. Publish to GitHub when requested
If the user wants the collection pushed:
- ensure the public files, registry, and README are already consistent
- commit the current repo changes with a clear message
- push to the configured
yao-open-skillsGitHub repository - only after a successful push, mark relevant skills as
publishedand setlast_synced_at
If the public repo exists but the local collection has new unpublished changes, use needs-update until the push is complete.
7. Report the result
Always report:
- whether the skill was accepted for the public collection
- the final collection path
- the registry status you wrote
- whether GitHub publication is still pending
- what still needs manual confirmation, if anything
Output Expectations
When this skill completes a sync task, the result should leave the collection in a consistent state:
- public files exist under
skills/<slug>/ registry/skills.jsonis up to dateREADME.mdcatalog matches the registry- if a push was requested, the GitHub repo reflects the same state
Decision Rules
- Prefer stable, explanatory slugs in kebab-case
- Do not publish raw private source directories without cleaning them
- Do not mark a skill as
publishedunless it has actually been synced to GitHub - If a published skill's source has changed locally, set
sync_statustoneeds-update
More from yaojingang/yao-open-skills
yao-tutorial-skill
Create standalone beginner tutorial packages from a topic or supplied references, with adaptive research, course-style outline design, chapter visuals, and Markdown/DOCX/PDF/HTML exports. Use for textbook-like tutorials, course guides, teaching documents, or long beginner guides; not for quick answers, link summaries, pure diagrams, or file conversion.
37yao-bayesian-skill
Convert uncertain real-world choices into an auditable Bayesian evidence-to-action report with priors, evidence grading, posterior update, action thresholds, sensitivity checks, multi-turn decision logs, and Markdown plus bilingual HTML output. Do not use for Bayes theorem tutoring, homework, generic brainstorming with no report, or final licensed medical, legal, or financial advice.
16learning-builder
Create personalized learning tutorials from a learner profile and authority-first research. Use when the user wants a guided intake to clarify goals, background, constraints, and desired outcomes, then wants a structured tutorial or study guide assembled from official docs, standards, maintainer docs, regulator guidance, or other primary sources. Also use when the user wants the tutorial exported to Word or PDF, or wants to extend the finished tutorial into a personalized learning webpage. Do not use for one-off factual answers, generic blog writing, broad web research without a tutorial deliverable, or standalone webpage design with no learning packet.
5yao-kelly-skill
Turn uncertain resource-allocation requests into practical action plans using Kelly sizing as a conservative allocation engine. Use when a user needs to decide whether an opportunity is suitable for Kelly, what minimum action package to run, how much resource to cap, when to add or stop, and how to review results. Do not use for pure formula tutoring, guaranteed-return claims, martingale escalation, or final licensed investment, legal, or tax advice.
4skill-doctor
Scan local skill folders to inventory purpose, usage signals, cleanup priority, and safety risks, then generate a visual HTML audit report. Use when Codex needs to audit a skill library, organize or deduplicate skills, recommend backup, archive, or delete actions, or review downloaded third-party skills for prompt injection, token leakage, hardcoded secrets, risky shell execution, and suspicious network-fetch patterns before the user installs or runs them.
4yao-business-skill
Design, diagnose, and study business models from ideas, product websites, or company names. Use when asked to create options for a new idea, audit an existing product's monetization and competitors, or analyze a mature company's model and AI-era upgrade paths. Adjust for market, buyer, and operating environment, then output JSON plus HTML.
4