Add helper scripts for use, sync, and freshness#4
Open
thegalexc wants to merge 1 commit into
Open
Conversation
juliuschun
added a commit
to juliuschun/the-library
that referenced
this pull request
May 1, 2026
…tion)
Reverts the 2026-05-01 absorption of skill-architect into library.
Lifecycle (create/validate/audit/distill/refine) belongs to skill-architect;
catalog + customer-VM distribution belongs to library. Different
responsibilities → separate skills, per fleet pattern.
- SKILL.md: slim back to distribution + catalog only (operator-host publish)
- library.yaml: restore skill-architect entry (tag=business),
narrow library tag back to tower-ops only
- cookbook/{create,validate,audit,distill,refine}.md: moved to skill-architect/
- reference/skill-*.md: moved to skill-architect/{spec,templates,validation,testing-guide,classification}.md
Decision doc reversal recorded in
workspace/decisions/2026-05-01-skill-lifecycle-mandatory-entry-point.md (disler#4).
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds small helper scripts for the three most mechanical library operations:
bin/use.pybin/sync.pybin/freshness.pyIt also updates the skill docs, cookbooks, and
justfileso the documented workflow matches the actual behavior.The goal is to keep the agent as the orchestration layer while moving repetitive file-copy, clone, and compare logic into simple reusable scripts.
Why
The current library concept is strong, but some operations are very procedural:
library.yamlEncoding those steps entirely in prose makes behavior harder to keep consistent across runs and across agent harnesses.
These helpers make the core operations:
What’s included
New scripts
bin/use.py--global--target--project-rootfor resolving relativedefault_dirsbin/sync.py--dry-run--project-rootbin/freshness.py--json--project-rootSafer project-local path handling
Relative
default_dirsare now resolved against a target project root, not implicitly against whatever directory the script was launched from.That prevents a subtle footgun where running a command from the library repo itself could accidentally install or inspect project-local entries there.
Docs and command surface updates
/library freshnessto the documented command setcookbook/freshness.mduse,sync, and related cookbooksjust freshnessshortcutBehavior notes
typingimports rather than newer-only annotation syntaxValidation
Manually validated with a temp project:
up-to-dateoutdatedup-to-dateAlso ran:
python3 -m py_compile bin/use.py bin/sync.py bin/freshness.pygit diff --checkScope
This PR intentionally avoids any private catalog entries, private skills, or repo-specific customizations. It is limited to generic helper-script functionality and the docs needed to support it.