AGENT SKILL

skills-rks-onboard

Run the rks onboarder — guided first-run tour through stories, permissions, cost, and first PR. Resumes from last completed stage if a session exists. Use when the user types /rks-onboard or asks to start onboarding.

License 许可
AGPL-3.0
最近更新
2026-11-13
Stars
★ 1
Forks
1

01 前言 Front Matter

name
skills-rks-onboard
description
Run the rks onboarder — guided first-run tour through stories, permissions, cost, and first PR. Resumes from last completed stage if a session exists. Use when the user types /rks-onboard or asks to start onboarding.
user-invocable
true
disable-model-invocation
false

03 SKILL.md 正文

rks Onboard Skill

Call rks_onboarder with { projectId: "routekit-shell" } (replace with the current project's projectId from CLAUDE.md). The tool returns a display field — print it verbatim to the user. If the tool returns prompts, display them and wait for user input before calling rks_onboarder again with the responses field populated. Continue until the tool returns stage: "next_steps" and state.completedStages includes "next_steps".

If the projectId above is still an unsubstituted template token, resolve it from the projectId declared at the top of CLAUDE.md.

Credential step

The welcome display asks which credential this machine has: an API key, a Claude subscription (claude.ai login), or neither. Relay that question to the user as shown in the display, then call rks_onboarder again with responses.credentialChoice set to api, subscription or neither (map the user's words onto one of the three). The tool resolves the credential server-side and returns the result in display; print it verbatim.

  • When the display for subscription lists writes and asks for consent, pass responses.credentialConsent: "yes" together with credentialChoice: "subscription" only after the user explicitly agrees to those listed writes. Without an explicit yes, do not pass credentialConsent; a no, or no answer, means no consent.
  • The Dispatcher never writes .env or .rks/agents.yaml itself: the rks_onboarder tool performs the consented writes and reports each one from a read-back. If the display gives lines for the user to add by hand, relay them; do not apply them yourself.
  • The opt-in never goes in .rks/project.json, and this skill never edits that file.
  • Do not write ROUTEKIT_LLM_MODEL; model choice is the user's. Relay the caveat if the display shows one.
  • When the tour later reports that it is not dispatching a Governor because a flow is blocked, relay the blocker; do not launch that Governor anyway.

Flags

  • /rks-onboard --skip-tour → call with { projectId, skipTour: true }
  • /rks-onboard --bounce → call with { projectId, stage: "welcome", bounce: true }
  • /rks-onboard --reset → call with { projectId, reset: true }
  • /rks-onboard --stage <stage> → call with { projectId, stage: "<stage>" }

04 同仓库更多 Skills

ux287
ux287/routekit-shell

doctor

Run `routekit doctor` against the invoking shell's child-project ecosystem and surface per-child outcomes. Default mode is detect + auto-fix across all registered children. Pass `--dry-run` to inspect the fix plan without mutating anything. Non-recoverable findings (pinned-but-drifted children) are reported but not repaired.

★ 1
ux287
ux287/routekit-shell

skills-telemetry

Use when the user asks about recent activity, failures, build history, or wants to query telemetry events. Calls MCP telemetry tools directly — no Task subagent needed. $ARGUMENTS can be: summary, failures, or an event type filter string.

★ 1
ux287
ux287/routekit-shell

skills-telemetry-export

Use when the user wants to EXPORT/SHARE a project's telemetry — e.g. for a UAT report or to attach to a GitHub issue. Produces a redacted .json + .md bundle via an MCP tool; no Task subagent or Governor is launched. $ARGUMENTS may be a storyId to scope the export.

★ 1
ux287
ux287/routekit-shell

skills-ship

Use when the user wants to commit and ship uncommitted changes. Accepts an optional commit message as $ARGUMENTS. Launches the Ship Governor via Task subagent. Handles both 2-branch (push → PR → merge) and 3-branch (local merge, no PR) workflows automatically based on project config.

★ 1
ux287
ux287/routekit-shell

skills-rks-welcome

Alias for /rks-onboard — same guided first-run tour through rks stories, permissions, cost, and first PR.

★ 1
ux287
ux287/routekit-shell

skills-research

Use when the user wants to design, research, or document something — OR asks a question about the codebase, backlog, or how anything in this project works. This is the ONLY way to answer questions about rks internals. Do NOT answer from memory or call MCP tools directly — always use this skill. Questions get a direct answer. Everything else produces a report in notes/.

★ 1