Files
OpenResearch/src
Daniel Kim f633b80f9c Native modular agent skills: per-session worktree install + orx skill modules (v0.1.62) (#87)
* Native modular agent skills: per-session worktree install + orx skill modules (v0.1.62)

- Factor the 66KB SKILL.md into 10 embedded modules under agent-skills/
- Write the Local set as native SKILL.md skills into each orx up session
  worktree (harness-specific dir), fresh every turn beside the playbook
- Slim the playbook: compute/k8s/report detail moves to skills, generated
  skills index added; cardinal rules and command surface stay inline
- orx skill <name> serves bundled modules (API fallback unchanged);
  no-arg prints the slim root + module index
- orx install-skills --full writes the Full set globally (cloud box);
  Codex shim migrates to ~/.agents/skills (native, model-discoverable),
  legacy prompt kept

* agent-skills: store modules as literal SKILL.md files, installed verbatim

Each module is now a complete, GitHub-readable skill at
agent-skills/<name>/SKILL.md (frontmatter included); local-mode body
variants live as SKILL.local.md siblings. The render() step is gone —
files are embedded and installed byte-for-byte, and the frontmatter
drift test now validates the files against the code's name/description.

* Revert incidental ui/dist rebuild (no UI source changes in this branch)

* Drop leftover rebuilt dist assets — ui/dist now matches origin/main exactly

* agent-skills: trigger-rich descriptions with explicit liberal 'Use when' cues

Descriptions are the model's trigger surface; err toward false-positive
loads. Bound raised 150 -> 400 chars (Codex ambient budget is ~8k across
the set).

* Playbook: dedupe against skills + extract to literal SYSTEM_PROMPT.md

The system prompt is now a GitHub-readable template at repo root; playbook_md
strips the leading doc comment and substitutes {tokens} (project facts,
compute default, skills index). Content duplicated by the installed skills is
trimmed to pointers: the five per-backend exp-run table rows collapse to one,
the loop keeps only its skeleton, and the sizing/analysis sections fold into
one-liners. The prompt now explicitly tells the agent to load the relevant
skill before acting in its area (long-horizon staleness guard). Placeholder
test extended to all ten tokens + comment-stripping.

* orx-compute skill: add missing slurm + openresearch backend sections

The playbook trim removed the slurm/openresearch table rows, but orx-compute's
body (extracted from the old SKILL.md) never had sections for them — the
detail existed only in the playbook. Content moved from the pre-PR playbook
rows in the same per-backend section style. Also restore the shell-tool
time-limit rationale on the wait loop step in SYSTEM_PROMPT.md.
2026-07-17 17:47:24 -07:00
..
2026-06-07 00:35:02 -07:00
2026-06-07 00:35:02 -07:00
2026-06-21 22:16:38 -07:00