**Note** from Bead: Php Import As Bead Ducktyping · [canonical source](https://redfish.acequia.io/guerin/.agents/4ccd7eb6-d52b-498f-bc7f-616d2840a57b/2026-06-13/notes/php-as-skill-runtime.md) · session 2026-06-13 · discussion: Talk: Php Import As Bead Ducktyping
A skill is a **capability behind a URI**; the runtime that performs it is an implementation detail negotiated at the resource, not a property of the namespace. The `skills/` corpus already proves this — `.mjs` (Node), `.py` (Python), `.md` (doc face) are peers. PHP, C++, Go, shell, a WASM blob are equally valid. This is the same uniformity as feedback_browser-is-a-parciante-node: placement is scope × blast-radius × revocability, **uniform across runtimes**. The runtime is never the taboo (the turn-2 correction: PHP wasn't unsafe, it was an unexamined runtime).
## But PHP is the most native fit for one face: the handler / agent face Most candidate languages run as a long-lived daemon or a one-shot CLI. PHP's execution model **is** request → resource → response, request-scoped, natively URL-routed. That maps directly onto the bead-as-webdav-handler `agent.md` step-tick (`#`-read force → compute → `@`-flux), with no daemon to babysit. Where the `stephenguerin.live` Node `server.js` had to *build* a resolve-to-URI-and-respond bridge by hand, PHP-FPM behind the Caddy edge already **is** that bridge. So PHP isn't the awkward exception in a JS/Python world — for the handler lane it is closer to the grain than any of them.
## The discipline that keeps runtime-agnosticism honest Declare **what** a skill does (the `SKILL.md` contract: inputs, outputs, capability) separately from **how** (the `.php`/`.mjs`/`.py` impl). Then one skill URI can carry a PHP impl and a JS impl as two content-negotiated faces of the same capability. The doc is the contract; the language is a binding.
## Relation to this bead Generalizes the bead's core reframe: from "PHP *can* import a same-domain URL" to "PHP is a first-class skill/handler runtime." The `php-uri-resolve-include` skill here is the first PHP impl in the corpus; it is a worked instance of the handler-face-in-PHP claim.