Stratcore Skills Sync
Use this microskill when the user asks to check, validate, install, copy, or sync skills from the Stratcore personal collection.
The persistent implementation is the source-of-truth script:
/Users/admin/Documents/Obsidian-Stratcore/MySKILLS/sync_skills.py
Execution
Run an audit first:
python3 /Users/admin/Documents/Obsidian-Stratcore/MySKILLS/sync_skills.py
Copy healthy skills only when the user explicitly requests installation or syncing:
python3 /Users/admin/Documents/Obsidian-Stratcore/MySKILLS/sync_skills.py --apply
Commit the current MySKILLS repository changes explicitly:
python3 /Users/admin/Documents/Obsidian-Stratcore/MySKILLS/sync_skills.py \
--commit --commit-message "chore(skills): sync personal skills"
Commit and push to the configured origin remote explicitly:
python3 /Users/admin/Documents/Obsidian-Stratcore/MySKILLS/sync_skills.py \
--commit --push --commit-message "chore(skills): sync personal skills"
Use --remote NAME and --branch BRANCH when the repository does not use
origin and the checked-out branch name. --push requires --commit.
The default destinations are:
/Users/admin/.codex/skills/Users/admin/.claude/skills
Operating rules
- Inspect the source collection before copying.
- Report duplicate skill names, duplicate
SKILL.mdcontent, and duplicate package representations. - Treat a directory as healthy only when it contains a readable
SKILL.mdwith valid required frontmatter and no broken symlinks. - Skip unhealthy directories and
.skillpackage archives. Prefer the unpacked directory representation. - Treat any existing destination entry as occupied. Never merge, replace, delete, or overwrite it.
- Verify copied directory content using the script's post-copy hash check.
- Report errors, skipped entries, and copies explicitly.
- Before committing, refuse to stage paths whose names look like credentials or secrets. Resolve those files manually before retrying.
- Stage all changes in the
MySKILLSrepository only when--commitis present. Push only when--pushis also present.
Use --json when a machine-readable report is required. Use repeated
--destination PATH arguments only when the user explicitly supplies
alternative destination roots.
The script is audit-only unless --apply, --commit, or --push is present.
Do not add any mutating flag implicitly. A normal sync-and-publish run is:
python3 /Users/admin/Documents/Obsidian-Stratcore/MySKILLS/sync_skills.py \
--apply --commit --push