Deliver each role's text as skills #5

Merged
mikluko merged 1 commit from role-skills into main 2026-11-11 13:07:37 +00:00
Owner

Each role's text moves into skills, so the startup prompt in an agent's tab is a few lines: load these skills, plus the rendered names they refer to.

  • Role skills operator and worker; the city and contact fragments become shared skills, materialized as <binding>.city and <binding>.contact. The template fragments are gone.
  • Every value the templates rendered (RigName, BindingName, BindingPrefix for operator, worker and the shared skill names) stays in the prompt template.

The Worker's pack default is session = "acp", and gc 6bd609f materializes no skills for an acp agent. The root city patches the Worker onto rex, so it gets them; a city that keeps the acp default would not.

Checked: gc lint .; a scratch copy of gascity-root importing this branch passes gc config show --validate, gc prime --strict renders both prompts, and gc skill list --agent shows each agent its skills.

Each role's text moves into skills, so the startup prompt in an agent's tab is a few lines: load these skills, plus the rendered names they refer to. - Role skills `operator` and `worker`; the `city` and `contact` fragments become shared skills, materialized as `<binding>.city` and `<binding>.contact`. The template fragments are gone. - Every value the templates rendered (`RigName`, `BindingName`, `BindingPrefix` for `operator`, `worker` and the shared skill names) stays in the prompt template. The Worker's pack default is `session = "acp"`, and gc 6bd609f materializes no skills for an acp agent. The root city patches the Worker onto rex, so it gets them; a city that keeps the acp default would not. Checked: `gc lint .`; a scratch copy of gascity-root importing this branch passes `gc config show --validate`, `gc prime --strict` renders both prompts, and `gc skill list --agent` shows each agent its skills.
Deliver each role's text as skills
All checks were successful
test / scripts (pull_request) Successful in 3s
test / changelog (pull_request) Successful in 5s
test / lint (pull_request) Successful in 3m17s
e7e113a82f
The startup prompt shows as the first message in an agent's tab; it now
only names the skills to load and the binding-qualified names they need.
Shared skills materialize as <binding>.<name>, so the prompt renders them
from BindingPrefix.

Assisted-By: Claude <noreply@anthropic.com>
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/gascitypacks!5
No description provided.