Repository navigation
[feat] agent: ship the science explainer as a built-in skill - #457
Merged
allendyu merged 1 commit intoNov 23, 2026
Merged
Conversation
## summary - Add `science-explainer` to the bundled agent skills, so the explainer workflow ships with every OpenDirector install instead of depending on a skill an agent dropped into one workspace profile. - Keep the skill body unchanged: the staged / oneshot generation modes, the eight stages from script to the four-file deliverable, and the v2.1 rule that voice is produced before shots so shot length derives from the measured narration. - Both install paths pick it up: source checkouts read `packages/agent/skills`, and the build copies that tree into `_bundled/skills`, which is where a packaged install reads from. - The promoted copy replaces the workspace skill, so the assistant lists one `science-explainer` entry tagged `builtin`. ## validation - `opendirector.agent.skills.skills()` against this tree returns `science-explainer` with source `builtin`, next to the existing `character-replacement`. - `pytest tests/test_installation.py -q` → 5 passed. - `pytest tests/test_native_runtime.py -q` → 28 passed, 7 skipped. - `pre-commit run` passes on the staged file (end-of-files, line endings, trailing whitespace).
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
Ship
science-explaineras a built-in agent skill instead of a skill that only exists in one workspace profile.packages/agent/skills/, the source tree that both install paths read:builtin_skills()topackages/agent/skills;opendirector/_bundled/skills, which is what a packaged install reads.science-explainerentry taggedbuiltinrather than two same-named entries from different roots.Linked issue
No issue applies: the change promotes an existing workspace skill into the bundled set. If you want this tracked as a request instead, tell me and I will open one before merge.
Fixes #NorRefs #Nis included, or no issue appliesLabels
type:feat,area:harnessTest plan
opendirector.agent.skills.skills(), against this tree with a temporary project directory. It returnsscience-explainerwith sourcebuiltin, next to the existing built-incharacter-replacement; the two workspace skills (ai-film-pipeline,anatomy) still reportworkspace.pytest tests/test_installation.py -q→ 5 passed (covers thebuiltin_skills()path assertions for both source and bundled layouts).pytest tests/test_native_runtime.py -q→ 28 passed, 7 skipped.pre-commit run→ end-of-files, mixed line endings and trailing whitespace pass on the staged file.SKILL.mdis 10,160 bytes, under the loader's 65,536-byte limit.Evidence that it works
Provider verification
Bilingual UI
character-replacementskill.