skills / Tooling & Setup
install-skill
Install, update, or finish agent skills with private-by-default provenance rules, public/private repositories, and automatic sharing of completed approved changes across machines. Use after authoring a skill or when the user asks to install or update one.
Install and finish a skill
Use ~/skills/bin/skillctl.py. Agent discovery combines ~/skills (public) and
~/private-skills (private). Private skills are never stored inside the public
checkout. A public source URL does not make an authored or modified private
package public.
Choose ownership before writing
- A skill installed directly from a verified public upstream repository may
be public by default. Preserve its source pin, license, and attribution. Use
install-github; it verifies visibility through GitHub rather than guessing from a URL. Review the upstream instructions before installing them. - Authored here, pasted, sent by a friend, downloaded without clear public
provenance, or otherwise unclear: private by default. “Found online” alone
is not proof of a public upstream. Use
install. - A private upstream repository stays the source of truth.
install-githubrecords a pin in the private repo and installs its package into an external cache; it does not republish the company's files in either personal repo. - Existing public skills retain their classification. For personal or sensitive
edits to one, use
customizebefore editing. It creates a private override while retaining the public version for the website. - Credentials, SSH keys, tokens and
.envfiles stay outside both Git repos. Non-secret private configuration can be shared in the private repo.
Install or customize
# Authored, pasted, friend-shared, or uncertain source: private.
python3 ~/skills/bin/skillctl.py install /path/to/reviewed/my-skill
# GitHub source: checked public -> public; private -> original upstream cache.
python3 ~/skills/bin/skillctl.py install-github owner/repo --path skills/my-skill --ref <reviewed-ref>
# Personal changes to an existing public skill: private override.
python3 ~/skills/bin/skillctl.py customize my-skill
Folder and frontmatter names must match. Inspect the whole package, including scripts and referenced files. Keep original attribution and license files. Do not install credentials or overwrite real directories in discovery paths. An ambiguous name collision requires deciding the intended owner; never delete an unknown install just to silence a warning.
Complete and share automatically
When the user-approved skill work is complete, inspect the diff, validate its behavior at the appropriate scale, then run this without asking again for a routine commit/push:
python3 ~/skills/bin/skillctl.py finish my-skill -m "Update my-skill: describe the change"
# A private configuration sidecar uses the same completion boundary.
python3 ~/skills/bin/skillctl.py finish my-skill --overlay -m "Update private my-skill configuration"
The user has authorized automatic sharing of completed, approved changes.
Drafts, unresolved directions, unfinished experiments and unreviewed upstream
updates are not complete. Do not run finish for those, and never replace it
with git add . or an indiscriminate auto-commit hook.
finish validates the package, checks the destination's visibility, commits
only the named package and its metadata, and pushes. For public skills it also
updates the approved publication hashes, existing provenance digest, and public
inventory, then validates the website. It refuses unrelated edits, staged work,
non-main branches, unexpected commits and divergence. Leave those states intact
and explain what needs reconciliation; do not stash, reset, force-push or merge
unrelated work merely to get synchronization running.
If the commit succeeds but the push fails, session startup can retry that exact recorded commit. It never treats arbitrary unpushed commits as approved.
Publish only on explicit request
Private remains private until the user explicitly requests publication. A request to install, sync, improve, or use a skill is not publication approval.
# Only after explicit approval to publish this particular skill.
python3 ~/skills/bin/skillctl.py publish my-skill --approved
# Inspect the prepared public copy and metadata, then finish each copy.
python3 ~/skills/bin/skillctl.py finish my-skill --public -m "Publish my-skill: purpose"
python3 ~/skills/bin/skillctl.py finish my-skill -m "Record public copy of my-skill"
The private copy remains available as the working override. Never publish company-owned private upstream packages through this flow.
Synchronization and discovery
# Network sync: clean repositories fast-forward independently, then repair links.
~/skills/bin/session-start.sh
# Offline link repair only.
~/skills/bin/sync.sh all
Claude and Cursor use session-start hooks. Codex/T3 uses its global AGENTS.md startup instruction; this is agent-driven, not a native Codex lifecycle hook. Private upstream cache misses require access to the original repository on that machine. Sync is not an upstream auto-updater: it reproduces reviewed pins.
The public website and inventory read site/publication.json, never the user's
runtime skill directories. Do not add a private skill's name, description,
source, or configuration to that public manifest. Existing external public
inventory metadata is intentionally frozen until explicitly reviewed.
A fresh agent session may be needed to reload its available-skills catalog. Report the destination, sync result, and any paused state accurately.