Repository navigation
2026 11 27 skill links design
History. Drafted 2026-11-27 for #232, part of epic #234, to be built by PR #236 from its plan. The parent approved #232's notes after three rounds. No draft spec was on the branch, so this file is written from those notes and checked against the code. "Found at plan time" lists what that check changed. Its requirements are the new PLG-76 and edits to PLG-9, -10, -11, -14, -41, -45, -47, -53, -54, -58, -62, -71 and -73 in plugin.md, and PROT-29 in protocol.md.
PR #236 built it. The plan's check that
<name>is absent from theextensionandlocalinstructions could not hold, since the fixed text already says?workspace=<name>andsession://<name>/; the test asserts instead that the patternskill://selenium-flow/<name>/SKILL.mdis absent. "Found at plan time" 8 is settled: kubed-mcp's prefix rewrite reaches the pattern and the worked example, so underSf-Resource-PrefixorX-MCP-Resource-Prefixboth carry the prefix (PROT-29). The goldens moved on exactly the fields "Found at plan time" 4 names. Theextensionandlocalgoldens record an emptyprompts/get, so their prompt text did not move. PLG-58 as shipped says the pointer sends a reader to no other skill, rather than that it names none, since its worked example namesFLOWS.mdinbuilding-flowsto show the pattern.PR #242 tightened the rule tests: a quoted row is whole phrases of a cell, a section an italic rather than part of a bold, a heading a whole
##line, and a file the explorer or a prompt names is named with its skill. PLG-76 says so, and PLG-14 writes the address asskill://selenium-flow/<name>.
The skills in plugin/skills/ name their own files and each other's with absolute addresses such as
skill://selenium-flow/signing-in/references/SECRETS.md. Not one link is relative. Three things
break on that:
-
SEP-2640 (Final) says a skill's internal references are relative paths, resolved against the
skill's root (the folder that holds
SKILL.md). A client may read only what the skill's own entry lists, so a link into another skill's files is a read outside that skill's approval. -
agentgateway 1.8's multiplex rewrite serves each target under
skill://{target}/…, so an absoluteskill://selenium-flow/…written into a file points at nothing. -
A local install (the plugin copied into Claude Code) has no
skill://scheme at all.
The explorer agent and the two prompts hard-code seven more such addresses, and they reach a model in the same three delivery modes.
From the parent, #234 (2026-11-27):
-
No kubed-mcp bump. The pin stays
>=0.4.4,<0.5. The instructions paragraph for a client that declares the Skills extension (Resolved.extensions, DLV-11) waits for the family's kubed-mcp 0.5 sub-issue, after quick-mcp#83. So do the PROT-30 and PROT-31 edits. -
A cross-skill reference names the other skill alone, plus the row or section to look for. It
never gives a
skill://selenium-flow/<other>/SKILL.mdaddress. Under Viamcp, the instructions give the address pattern once, inSKILL_POINTER. Fenced code is exempt: it quotes text as the server sends it. -
The same rule covers
plugin/agents/explorer.md,plugin/commands/build_flow.mdandplugin/commands/repair_flow.md. Only their links change. Filling in their placeholders is #192's. -
signing-injoins the explorer'sskills:. Once the body names a skill alone,agents/get's_metaskills are where a subagent finds its address. Those stay unprefixed (GW-8), and a prefix a client sends is stripped (GW-4). The rule: every skill an agent's body names is in itsskills:. -
The prefix check is a test. A request that names a gateway prefix under Via
mcpgets the new sentence with the prefix written into its pattern.
-
Inside a skill, every file names the skill's other files by their path from the skill's root, in backticks:
references/SECRETS.md, fromSKILL.mdand fromreferences/INTERACTION.mdalike. No file uses a bare name (SECRETS.md) or a path from its own folder. -
Across skills, a skill names another skill by name only, in one of three forms. A test reads each one:
-
the `signing-in` skill; -
the `signing-in` skill, row "Staying signed in across browsers", where the quoted words are in a first-column cell of that skill'sSKILL.mdtable; -
the `deploying-the-server` skill, *Secrets on the server*, where the italic section is in that skill'sSKILL.md.
A fact one skill needs from another is restated briefly where it is needed, or moved.
-
-
The explorer and the prompts name a skill the same way. They may also name a file in it, as
`FLOWS.md` in the `building-flows` skill, optionally after an italic section (*When a flow fails* in `FLOWS.md` in the `building-flows` skill). -
No
skill://appears in a skill's, an agent's or a prompt's file outside a fenced code block. A fence quotes text as the server sends it, such as the failed run's hint inFLOWS.md, whosereadis absolute becauseguidance.pointermakes it so. -
Every skill an agent's body names is in its
skills:, soagents/getresolves its address (PLG-40).
Under Via mcp, SKILL_POINTER gains a sentence that gives the pattern and one worked example. With
guidance.root("<name>") and guidance.pointer("FLOWS.md"), it reads:
Every skill this server has reads at skill://selenium-flow//SKILL.md, and a path a skill names is from that folder: references/FLOWS.md in building-flows is skill://selenium-flow/building-flows/references/FLOWS.md.
A model that reads through read_resource, or any client that does not resolve SEP-2640 paths,
resolves a relative link from this. Under a gateway prefix, both addresses carry the prefix, as all
served text does (PLG-74, DLV-11). SKILL_HELD (extension) and SKILL_INSTALLED (local) are
unchanged and name no address.
Same skill, 17 links, plus the bare names on 25 lines. Each becomes references/<FILE>.md.
Across skills, 31 links. "Row" quotes the target SKILL.md's first column; "section" is an
italic heading named in it.
| # | In | Was into | Becomes |
|---|---|---|---|
| 1 |
building-flows/SKILL.md (password) |
signing-in SECRETS.md
|
signing-in, row "A password, token or key to type" |
| 2 |
building-flows/SKILL.md (shared library) |
using-the-admin-ui SKILL.md
|
using-the-admin-ui |
| 3 |
building-flows/SKILL.md (tools) |
driving-a-browser SKILL.md
|
driving-a-browser |
| 4 |
FLOWS.md Building one (outline) |
driving READING_PAGES.md
|
the restatement stays; driving-a-browser, row "Reading a page, choosing a selector" |
| 5 |
FLOWS.md Parameters (password) |
signing-in SECRETS.md
|
signing-in, row "A password, token or key to type" |
| 6 |
FLOWS.md (save_site_data) |
signing-in SITE_DATA.md
|
signing-in, row "Staying signed in across browsers" |
| 7 |
FLOWS.md Whose flows you see (global) |
admin ADMIN_UI.md Flows
|
using-the-admin-ui, row "a flow moved into or out of the shared library" |
| 8 | deploying-the-server/SKILL.md |
using-the-admin-ui SKILL.md
|
using-the-admin-ui |
| 9 |
CONFIGURATION.md (naming rules) |
driving WORKSPACES.md
|
driving-a-browser, row "Naming or sharing a workspace" |
| 10 |
CONFIGURATION.md The admin token as a secret
|
admin AGENT_AS_ADMIN.md
|
using-the-admin-ui, row "Being asked to do the admin work yourself" |
| 11 |
driving-a-browser/SKILL.md (invalid config row) |
admin WORKSPACE_CONFIG.md Managing a workspace
|
using-the-admin-ui, row "an invalid config" |
| 12–15 |
driving-a-browser/SKILL.md (last four rows) |
each skill's SKILL.md
|
that skill's name |
| 16 |
CONTROL.md (opening) |
admin LIVE_VIEW.md
|
using-the-admin-ui, row "A person watching or taking over a browser in Live" |
| 17 |
INTERACTION.md (password) |
signing-in SECRETS.md
|
signing-in, row "A password, token or key to type" |
| 18 |
TROUBLESHOOTING.md (invalid config) |
admin WORKSPACE_CONFIG.md Managing a workspace
|
the what-to-do stays; using-the-admin-ui, row "an invalid config" |
| 19 |
WORKSPACES.md (config row) |
admin WORKSPACE_CONFIG.md
|
using-the-admin-ui, row "A workspace's config" |
| 20 |
WORKSPACES.md (reopen restores) |
signing-in SITE_DATA.md
|
signing-in, row "Staying signed in across browsers" |
| 21 |
signing-in/SKILL.md (a flow) |
building FLOWS.md
|
building-flows, row "Writing a flow" |
| 22 |
signing-in/SKILL.md (a person signs in) |
driving CONTROL.md
|
driving-a-browser, row "A call refused because a person holds the browser" |
| 23 |
signing-in/SKILL.md (adding a secret) |
deploying CONFIGURATION.md
|
deploying-the-server, Secrets on the server
|
| 24 |
signing-in/SKILL.md (tools) |
driving SKILL.md
|
driving-a-browser |
| 25 |
SECRETS.md (allowed_urls) |
deploying CONFIGURATION.md Secrets on the server
|
deploying-the-server, Secrets on the server
|
| 26 |
using-the-admin-ui/SKILL.md (secrets, settings) |
deploying SKILL.md
|
deploying-the-server |
| 27 |
using-the-admin-ui/SKILL.md (refused call) |
driving CONTROL.md
|
driving-a-browser, row "A call refused because a person holds the browser" |
| 28 |
using-the-admin-ui/SKILL.md (tools) |
driving SKILL.md
|
driving-a-browser |
| 29 |
ADMIN_SIGN_IN.md (issuer) |
deploying CONFIGURATION.md OIDC
|
deploying-the-server, OIDC
|
| 30 |
AGENT_AS_ADMIN.md (covers both) |
deploying SKILL.md
|
deploying-the-server |
| 31 |
AGENT_AS_ADMIN.md (token as secret) |
deploying CONFIGURATION.md The admin token as a secret
|
deploying-the-server, The admin token as a secret
|
RESOURCES.md. Its table is | URI | Is |, and its last row,
skill://selenium-flow/<skill>/SKILL.md, is a template with no scheme-free form. The row goes. A
sentence under the table says the five skills (named) are resources too, each a SKILL.md with its
references beside it, at the address the server's instructions give. PLG-11 already lets the table
leave out skill://.
The explorer and the prompts, 7 addresses.
| File | Was | Becomes |
|---|---|---|
explorer.md |
driving-a-browser/SKILL.md |
the driving-a-browser skill |
explorer.md |
building-flows/references/FLOWS.md |
FLOWS.md in the building-flows skill |
explorer.md |
signing-in/references/SECRETS.md |
SECRETS.md in the signing-in skill |
build_flow.md |
building-flows/SKILL.md |
the building-flows skill |
build_flow.md |
signing-in/references/SECRETS.md |
SECRETS.md in the signing-in skill |
repair_flow.md |
building-flows/references/FLOWS.md |
When a flow fails in FLOWS.md in the building-flows skill |
repair_flow.md |
driving-a-browser/references/TROUBLESHOOTING.md |
TROUBLESHOOTING.md in the driving-a-browser skill |
The explorer's frontmatter becomes skills: [driving-a-browser, building-flows, signing-in].
signing-in/SKILL.md is 25 lines, so preloading it costs little.
- The server's own text: the hints (
guidance.ENTRY,guidance.pointer),workspace://current'sguidance(PLG-60), and the addresses in README, AGENTS and CONTRIBUTING. So do the hint tests intests/test_guidance.pyandtests/test_prompts.py. -
FLOWS.md's fenced hint example, which quotes an absolutereadbecause the server sends one. - The kubed-mcp pin, PROT-30 and PROT-31.
-
There are 48 links in the skills, not 37.
skill://appears on 50 lines underplugin/skills/. Two are the fenced hint inFLOWS.mdand the template row inRESOURCES.md. The other 48 are links: 17 within a skill and 31 across, of which 11 already point at aSKILL.md. The census counted 47 distinct pairs, becausesigning-in/SKILL.mdlinksSITE_DATA.mdtwice. -
Bare file names in prose, on 25 lines, such as "(TROUBLESHOOTING.md)" in
INTERACTION.mdor "Read AGENT_AS_ADMIN.md" inusing-the-admin-ui/SKILL.md. None is backticked or an address. But under SEP-2640 a client resolves each one against the skill's root, where no such file exists. PLG-76 as approved already covers them ("never a path relative to the file's own folder"). So they are rewritten toreferences/<FILE>.md, and a test holds every file name in a skill to that form. They are inINTERACTION.md,READING_PAGES.md,TROUBLESHOOTING.md,WORKSPACES.md,SECRETS.md,SITE_DATA.md,using-the-admin-ui/SKILL.md,ADMIN_UI.md,AGENT_AS_ADMIN.md,LIVE_VIEW.mdandWORKSPACE_CONFIG.md. -
A fixed form makes a cross-reference checkable. A row or section that a reference names in
another skill could be renamed, leaving the reference pointing at nothing. §1's three forms let
a test check each quoted row and section against the target
SKILL.md. For the explorer and the prompts, it also checks that a named file is in that skill'sreferences/. -
The goldens move for more than the notes say. All eight
tests/golden/plugin-*.jsonmove. Each records three things whole:agents/get's instructions (the explorer's body), its_metaskills and frontmatter, andprompts/get's rendered text (both prompts). The fourmcpgoldens also recordinitialize.instructions. Skill file texts, sizes and digests are stood in from disk (stood_in,_measured), so the skill rewrites move none of them. Still one golden-only commit. -
PLG-54 names "the URIs
SKILL.mdnames". That is no longer true, so PLG-54 joins the edit list. -
PLG-59 is unchanged, as the parent asked us to check. It says the pointer's wording follows
resources and Via, which still holds. The new sentence is under
mcponly. - PLG-58 says the pointer names "no other skill". The pattern names none, but the wording gains the pattern.
-
kubed-mcp's prefix rewrite can't be read from this checkout. Whether it reaches the
<name>pattern as it reaches a full address is for the test to show (plan, Review Focus 1). -
The worked example in §2 is
guidance.pointer("FLOWS.md"). It is an address the server computes, sotest_every_address_named_anywhere_readsalready reads it. -
tests/test_explorer.pyparses the agent with its own skills map (parse_agent(text, SKILLS)), so that map gainssigning-inalong with the frontmatter.
One changelog line, at the top of [Unreleased]:
- Skills link their own pages by relative path and name other skills by name, so they read behind a
gateway that rewrites
skill://addresses and in a local install; the explorer also loadssigning-in(#232).
| Id | Becomes |
|---|---|
| PLG-9 | "a table of when to read which reference by its exact skill:// URI, and a line naming a sibling skill" becomes "a table of when to read which reference by its path from the skill's root (references/FLOWS.md), and a line naming a sibling skill by name (PLG-76)" |
| PLG-10 | The last sentence: every references/*.md file is linked from its own SKILL.md, every path a skill names resolves against its root, and every skill it names is one of the five |
| PLG-11 | The last bullet becomes two. (1) Every skill://selenium-flow/… address reads: those the server computes (the entry point, every page a pointer can name), those named in README.md, AGENTS.md, CONTRIBUTING.md, the golden files and the plugin's fenced examples, and every path a skill names, resolved against its root. (2) PLG-76 holds: no skill:// outside fenced code; every file name in a skill is SKILL.md or one of its references/; every row or section a cross-reference quotes is in that skill's SKILL.md; every file named in another skill is there; every skill an agent's body names is in its skills:
|
| PLG-14 | "A SKILL.md names its files as skill:// URIs, and that form is kept: the server serves …" becomes "A skill names its own files by their path from its root (PLG-76), which the client resolves against skill://selenium-flow/<skill>. The server serves …", and the rest stays |
| PLG-41 | "A shipped agent names each skill by its full skill:// URI, which a client reads as any resource" becomes "A shipped agent names each skill by its name and lists it in its skills:, so _meta carries the address (PLG-40, PLG-76)" |
| PLG-45 |
skills: [driving-a-browser, building-flows, signing-in], which agents/get resolves to the three skill://selenium-flow/<name>/SKILL.md addresses (PLG-40) |
| PLG-47 | The body tells the explorer to read the driving-a-browser skill before any browser call, FLOWS.md in the building-flows skill before its first save_flow, and SECRETS.md in the signing-in skill only when the hand-off names a sign-in, each named so (PLG-76). The rest stays |
| PLG-53 | Every tool name the explorer's text quotes and the server lists is in its tools; every URI its body names is a listed resource or template; every skill it names is shipped and in its skills:. A test holds all three |
| PLG-54 | "its other files by the URIs SKILL.md names" becomes "its other files by the paths SKILL.md names, resolved against the skill's root (PLG-76)". The rest stays |
| PLG-58 | Under mcp the pointer names the entry point by its URI, and gives skill://selenium-flow/<name>/SKILL.md as where every skill reads, and says that a skill's paths are from that folder. Under extension and local it names the entry point by name (PROT-29). It names no other skill |
| PLG-62 | Its last sentence: driving-a-browser routes that refusal to the using-the-admin-ui skill's "an invalid config" row, from its table and from references/TROUBLESHOOTING.md
|
| PLG-71 | Its last sentence: moving a flow into or out of the shared library is its ADMIN_UI.md, and FLOWS.md sends a reader there through the using-the-admin-ui skill's row for it |
| PLG-73 |
build_flow names the building-flows skill, and SECRETS.md in the signing-in skill at its secret step. repair_flow names When a flow fails in FLOWS.md in the building-flows skill, and TROUBLESHOOTING.md in the driving-a-browser skill for an error that is not about a locator (PLG-76) |
| PLG-76 (new, after PLG-11) | §1 as statements: the in-skill form, the three cross-skill forms, the explorer's and the prompts' form, no skill:// outside fenced code, and every skill an agent's body names in its skills:. Why: where a skill lives is the client's to know (PLG-58), and for an agent _meta carries it (PLG-40). A test holds it (PLG-11) |
| PROT-29 | The mcp bullet adds: "and gives skill://selenium-flow/<name>/SKILL.md as where each of the server's skills reads, with a path a skill names read from that folder, with FLOWS.md in building-flows as the example". Under a gateway prefix both carry it (PLG-74) |
- The extension-aware pointer (
Resolved.extensions), and PROT-30 and PROT-31, which come with kubed-mcp 0.5. - The prompts' placeholders, #192's.
- The server's own hint text and the addresses in README, AGENTS and CONTRIBUTING.
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