Repository navigation
2026 11 23 five skills
History. Drafted 2026-11-23 for #195, on top of #198 (#196: selenium-flow serves its plugin through quick-mcp's
mcp.add_plugin, so every skill inplugin/skills/is served atskill://selenium-flow/<skill>/…). Dr K's week plan (clusterdocs/superpowers/plans/2026-11-20-mcp-material-delivery.md, "Remaining work", row B1): parity is the bar, and the skill texts are this row's deliberate change. The baseline retrieval run (8 tasks, sonnet, today's skill) is in the PR description. Calls made here (the controller's):
guidance.pointer(page)keeps its signature: reference file names are unique across the five skills, so the page names its skill. A test holds the uniqueness.- The issue's new PLG-16 ("agents only when the skills they need are served") is not built here. quick-mcp serves every agent and resolves only the skills that are served (PLUG-33), and a behaviour quick-mcp owns is reported, not absorbed (#196's rule). Reported to the quick-mcp session.
For agentic workers: REQUIRED SUB-SKILL: Use skill://superpowers/subagent-driven-development/SKILL.md to implement this plan task by task. Steps use checkbox (
- [ ]) syntax for tracking.
Goal: plugin/skills/ holds five skills: driving-a-browser (the entry point), building-flows,
signing-in, using-the-admin-ui, deploying-the-server. Every address in the server, the
prompts, the explorer and the docs names the skill that holds the page. Nothing else a client sees
changes.
Architecture: issue #195 is the spec for the cut. Read it whole first:
gh issue view 195 -R kubed-io/selenium-flow, and its review comment (linked from "What changes in code").
Tech Stack: Python 3.11+, kubed-mcp 0.1.1, pytest, ruff. Skills follow the Agent Skills spec and superpowers writing-skills (skill://superpowers/writing-skills/SKILL.md): read it before writing a description.
Environment:
-
Worktree:
/projects/kubed-io/.worktrees/selenium-flow-195, branchfeat/five-skills, off #198's heada6cb6ec. Absolute paths andgit -C; nevercdinto the main checkout. -
venv:
/tmp/claude-1000/-projects-cluster/057d23b0-2a9a-4ac7-83f7-3dfb2cecb5dd/scratchpad/venv196(kubed-mcp 0.1.1 from PyPI is fine now).pip install --no-deps -e <worktree>into it, then run$V/bin/python -m pytestfrom the worktree's root. Symlink the main checkout'sui/node_modulesiftest_js_behaviourneeds it. -
The spec (wiki, the
docs/submodule, branchfeat/five-skills):docs/superpowers/specs/, mostlyplugin.md; the admin facts are inadmin-ui.md,auth-and-roles.md,live-view-and-control.md,secrets-and-scope.md,config.md.
-
Move, don't rewrite. A section that moves keeps its words and its heading (hints name
sections by slug:
test_every_section_a_hint_names_is_a_heading_on_its_page). New text is only what the issue marks new, the shortSKILL.mds, and the cross-links a move needs. - New text is true of this server: every claim in ADMIN_UI, ADMIN_SIGN_IN, WORKSPACE_CONFIG, LIVE_VIEW, AGENT_AS_ADMIN and the CONFIGURATION additions cites a spec row you read (keep a list for the report; no row ids in the skill text itself). Where the spec and the code disagree, the code wins and you report it.
- Nothing duplicated: a fact lives in one reference; others link to it by exact URI.
-
No other behaviour changes. Tool schemas, results, resources other than
skill://, prompts' arguments and the agents' names stay as they are.tests/golden/*.jsonchange only in skill addresses. - A gap in quick-mcp is reported with its call site, never patched here.
-
Commits: signed, exact paths staged, never
-a. The maintainer is "Dr K" in anything written.
- Every
skill://selenium-flow/...address inkubed/,plugin/, the docs and the tests reads (a test resolves each against the served plugin), and none is the oldselenium-flow/skill. - Each
SKILL.mdis within its budget (10 to 40 lines; the entry point about 60), its description says only when, and its table links exact URIs. - The admin skill's rules (issue, "The rules the skill states") are all there and nothing it says is possible is impossible (SEC-16, UI-52, no admin on stdio).
- Hints and refusals name the skill that now holds their page, with the same section slugs.
- Moved sections are byte-identical apart from links.
Files: plugin/skills/<five>/SKILL.md and references/, per the issue's table; delete
plugin/skills/selenium-flow/.
- Step 1:
git mveach reference to its new skill first (one commit's worth), so history follows the moves. Then split the sections the issue moves (TROUBLESHOOTING's "Signed in before, signed out now"; WORKSPACES' "When a person takes control" into CONTROL.md, "Managing a workspace" into the admin skill; SKILL.md's "Sub-sessions" into WORKSPACES; FLOWS' line about moving a flow to global). - Step 2: Write the new references (FILES, RESOURCES, CONTROL, ADMIN_UI, ADMIN_SIGN_IN, WORKSPACE_CONFIG, LIVE_VIEW, AGENT_AS_ADMIN, CONFIGURATION's three sections) from the spec.
- Step 3: Write the five
SKILL.mds. The entry point keeps the Rules, the tool table and the "Everything to read" pointer (now to RESOURCES.md). - Step 4: Commit:
Skills: one skill becomes five, by reader and moment (#195).
Files: core/guidance.py (PAGES becomes page → skill; ENTRY is driving-a-browser),
flows/report.py, flows/api.py, core/session_caps.py, workspace/workspaces.py,
mcp/instructions.py, mcp/mirror.py, mcp/show.py, mcp/skill.py (SKILL_NAME/skill_path
give way to the skills folder), main.py's log, plugin/agents/explorer.md (skills:, body, the
new "never open the admin UI" rule), plugin/commands/*.md, README, AGENTS, CONTRIBUTING, CHANGELOG.
- Step 1: Failing tests:
- the plugin serves exactly the five skills, each valid under
Skill.from_directory; - the authoring checks in
test_skill.pyrun over every skill (parametrized), with the budgets above; - every
skill://selenium-flow/address inkubed/,plugin/, README/AGENTS/CONTRIBUTING and the golden files reads through aClient; - no reference file name appears in two skills;
- each hint names its skill (FLOWS →
building-flows, TROUBLESHOOTING and WORKSPACES →driving-a-browser).
- the plugin serves exactly the five skills, each valid under
- Step 2: Implement; regenerate the golden files and check their diff is addresses only.
- Step 3: Full suite and ruff. Report any failure that is not the known flakes
(
test_auth ...[not-yet-valid], the 3.14test_monitortiming). - Step 4: Commit:
Addresses: every hint and pointer names the skill holding its page (#195).
-
plugin.md: the five skills, their readers, the folder rows; PLG-62's section now lives inusing-the-admin-ui; PLG-16 unchanged (see History). Other spec files that quote a skill address. - Commit on the wiki branch
feat/five-skills.
- The retrieval run again, the same 8 tasks against the five skills; no task worse than baseline.
- One reviewer subagent on the diff against the Review Focus; then the peer's review.
- Ask Dr K before opening the PR (after #198 merges, one PR open at a time). Then the image, the
newTag toggle in kubed-io/selenium,
kubectl up, and in the pod: five skills listed, every hint address reads, a--plugin-dirinstall listsselenium-flow:<skill>.
The action pages are generated from the server's tool schemas, so they describe the version that shipped.
selenium-flow · MIT
Start here
Guides
Lifecycle
Going places
Doing things
Getting things out
Site data
Console and network