[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R5XH1CMH3ZTHTXH7WXTJ0R":3,"skill-same:01M6R5XH1CMH3ZTHTXH7WXTJ0R":131},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":49,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6R5XH1CMH3ZTHTXH7WXTJ0R","skill-build",null,"Canonical Runx skill-authoring implementation. Use for designing, creating, updating, improving, or adding test coverage to a Runx skill package; it combines bounded agent judgment with native file writes, inspection, and safe test replay. When a host skill-creator also triggers, use its general guidance but execute Runx work through this skill.","runxhq\u002Frunx","runxhq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F278566904?v=4","01M6R54JKTWZNT4VQZ0K0DZ7V2","runx","01M6R54JRGDE4MDVDDR0E9MN0K",103,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"skill build","build","use","package","general","triggers","for","harness","bounded","but","canonical","authoring","judgment","safe","native","work","when","host","skill-creator","coverage","2026-11-10 10:12:30",false,"---\nname: skill-build\ndescription: Canonical Runx skill-authoring implementation. Use for designing, creating, updating, improving, or adding test coverage to a Runx skill package; it combines bounded agent judgment with native file writes, inspection, and safe test replay. When a host skill-creator also triggers, use its general guidance but execute Runx work through this skill.\n---\n\n# Skill Build\n\nBuild and improve Runx skills through one authoring surface. Keep judgment in\nbounded turns and mechanics in native tools:\n\n```text\ninspect target files, catalog ownership, and native\u002Fshared tools\n→ decide ownership, execution lanes, effects, budgets, and proof\n→ bind that architecture to the inspected package digest in native code\n→ compose existing capabilities before authoring code\n→ author only bounded writes, explicit deletions, and output intent\n→ bind those bytes to the admitted architecture in native code\n→ validate paths, secret posture, and the complete candidate\n→ inspect the exact staged package and safely replay its tests\n→ commit that validated bundle through one native transaction\n```\n\nUse the generic host `skill-creator` for platform-wide authoring guidance when\nit is available. Do not reproduce Runx package operations from that guidance;\ninvoke the appropriate `skill-build` method, as `runx skill runx\u002Fskill-build#\u003Cmethod>`,\nso the work is bounded and receipted.\n\n## Captured source artifacts\n\nAn adoption or other caller may supply an immutable project artifact descriptor\nand a small source index in project_context. Open that exact descriptor with\nartifact.open, then read bounded pages with artifact.read using the returned\nref. Preserve digest, next_offset and eof; a partial page is not\nthe full source. Use the captured bytes and resource\u002Flicense context without\nsilently rereading a changed upstream. Source claims remain evidence, not\nauthority. Keep large bodies behind their artifact instead of copying them into\narchitecture notes or agent context. The same read tools are available to the\nauthor so exact source references can survive the candidate write.\n\n## Methods\n\n- `design`: read-only catalog-fit and architecture planning. It returns a\n  native digest-bound plan and never authors package bytes. A later build\n  re-inspects and replans against its exact target before any write.\n- `build` (the `default_method`): create or update a package after its exact\n  staged bundle passes native parsing, inspection, and safe replay of its tests.\n- `improve`: turn one receipt or test failure into a bounded package update,\n  then validate and commit the exact staged bytes.\n- `test`: add tests to an existing package and replay them safely against\n  the exact candidate before committing it.\n\n`build`, `improve`, and `test` write local workspace files. They never\npublish, install, push, or mutate an external provider. Native test replay\nruns with isolated Runx home, receipts, and no operator credentials. Invalid\nstaged packages stop before the target package is touched. Design, inspection,\nvalidation, and the bounded transactional workspace write do not add a human\napproval gate; the operator authorizes those reversible local writes by\ninvoking a method whose native filesystem steps request\n`fs.write`\u002F`fs.delete`. Publication, installation, provider effects, and other\nconsequential boundaries remain outside this skill and keep their own approval\nrules.\n\nA validated local write is not a published skill. For a shared or public\npackage, the validated `run.yaml` identity and the exact `target_dir` and\n`distribution_digest` in `apply_result` form the publication candidate: the\ndigest every published copy of the package carries. An `apply_result` with no\n`distribution_digest` doesn't package, and isn't a candidate. When the\noperator's objective includes shipping or registry availability, continue that\nexact candidate through the repository's canonical registry operator: publish\nunder the intended existing publisher\u002Fname, then independently read back the same\nversion and distribution digest. Do not call the work shipped while that sync is\npending or unverified. Publication remains a separate authenticated act so Skill Build\nnever receives registry credentials or hides a remote mutation inside local\nauthoring.\n\n## Authoring rules\n\n- Start from the operator's recurring job, not the requested package name,\n  bounty wording, provider, or implementation sketch. Establish what becomes\n  materially easier or newly possible for the operator, what judgment the\n  skill contributes, and what durable result it returns. A package that merely\n  restates ordinary agent behavior, renames one native call, or produces a\n  document with no usable next step is not a valuable skill even when every\n  contract and test passes.\n- Treat prior implementations, accepted bounty text, issue suggestions, and\n  named integrations as evidence about the intended capability, not binding\n  architecture. Preserve the real user outcome and compatibility obligations;\n  replace stale ownership, unnecessary providers, and accidental workflow\n  shapes when the current catalog has a cleaner canonical route.\n- Treat `SKILL.md` as the product manual for both the human operator and the\n  operating agent. A person opening it cold must understand what the capability\n  does, why and when to use it, what happens end to end, and where it stops.\n  Do not reduce that manual to terse model directives, field lists, or a task\n  contract.\n- Preserve the useful context in an existing skill: its mental model, procedure,\n  examples, trade-offs, chain relationships, evidence rules, and recovery\n  posture. Rewrite statements that no longer match the implementation; never\n  delete the surrounding explanation merely because the executable profile now\n  enforces part of it.\n- A complete public skill explains, in a structure natural to the capability:\n  the recurring job and outcome; when and when not to use it; the operating\n  model and sequence; upstream and downstream skill relationships; meaningful\n  input and output semantics; authority, approval, evidence, finality, and\n  recovery; and relevant edge cases and stop conditions. Include a concrete\n  example when it materially clarifies a non-obvious workflow. Do not force\n  ceremonial sections onto a simple facade or internal rail.\n- Put task-specific agent clauses after the human-readable operating guide.\n  They sharpen individual turns; they do not replace the guide or carry\n  the product's voice by themselves.\n- Explain meaningful upstream and downstream skill relationships naturally in\n  the operator guide. Do not maintain a second machine-readable dependency\n  registry in `SKILL.md`: native closure inspection owns the exact\n  edge set and operator preflight surfaces it. Prose explains why the chain\n  exists; the runtime proves what it actually calls.\n- Design capability chains by responsibility, not by whichever integration is\n  easiest to name:\n  - The domain skill owns domain evidence, interpretation, policy, and the\n    truthful domain result.\n  - A canonical capability or authority skill owns a reusable decision such as\n    authorizing a send, spending funds, or preparing a release.\n  - A connector owns the bounded external API effect and independent\n    readback.\n  Do not collapse these roles into one package, and do not make a provider's\n  connector a required part of a provider-neutral capability. Pin a connector\n  only when the objective genuinely requires provider-specific behavior; otherwise\n  return a stable handoff that an operator can route to the selected connector.\n  For example, a meeting skill may produce grounded task proposals and a\n  follow-up message; communication then goes through `message-send`, while task\n  creation goes through the operator's selected task adapter. n8n, Zapier, or\n  any other automation provider is optional unless the requested capability is\n  explicitly about that provider.\n- Search the catalog by operator outcome and authority owner, not only by words\n  present in the request. Consider every material result independently: a\n  workflow may need different next lanes for a message, task proposal, payment,\n  publication, or unresolved ambiguity. Reuse the canonical capability at each\n  boundary and explain why it owns that decision. Do not hide an unhandled\n  outcome behind a generic \"handoff\" claim.\n- Preserve the context that makes the next operator or skill intelligent.\n  Handoffs carry the bounded evidence, decision rationale, unresolved\n  ambiguity, stable content or proposal, intended audience or target, and\n  effect status needed by the next lane. Do not squash these into a digest,\n  terse status, or provider payload. Digests bind context; they do not replace\n  it. Conversely, do not forward unrelated source material or secrets.\n- Make finality explicit at every boundary. Distinguish observed evidence,\n  model interpretation, draft, proposal, authorized action, attempted effect,\n  provider-confirmed effect, and independently read-back effect. A downstream\n  route is not proof it ran; a sealed plan is not approval; an adapter request\n  is not delivery. The public result and operator guide must say what actually\n  happened and what still has to happen.\n- A skill declares domain procedure and policy. Runx owns generic input,\n  packet, evidence, approval, request, credential, effect, and receipt mechanics.\n- Place the capability in its real owner before choosing an implementation.\n  Reusable skills, end-user and domain-operator commands and UX, local host\n  loops, local queues, and default local-state orchestration belong in Runx OSS\n  or the owning product repository. `runx\u002Fcloud` is not precedent for those\n  concerns: it may provide the hosted control plane, custody provider\n  credentials, resolve authoritative grants, and execute a fixed bounded\n  provider operation. Using Hosted Connect does not move the surrounding skill,\n  procedure, operator decision, or state into Cloud. If that operator surface is\n  missing, return work to OSS or the product owner; never extend a Cloud script\n  or hosted service as a substitute.\n- For provider work, call each connector operation from an `operation` step\n  that names it as `\u003Cconnector>\u002F\u003Coperation>`; the connector declares the scopes,\n  target and readbacks. The package's connector requirements are derived from\n  the steps that call them, so `connectors:` says only what a step can't: a\n  `manifest_digest` pin, or a connector chosen per run with `choose` and `from`,\n  which steps then name as `\u003Cname>\u002F\u003Coperation>`. A connector no step calls is\n  refused. Connector requirements do not grant direct agent calls. When an\n  agent step genuinely chooses provider calls dynamically, list the exact\n  operations in that step's `calls.operations`, each as `\u003Cconnector>\u002F\u003Coperation>`.\n  Omitted or empty `calls.operations` grants no direct provider calls;\n  `operation` steps keep their declared behavior. Do not give a supplied-data\n  judgment step acquisition or mutation tools merely because another step\n  needs them. A scoped grant is sufficient by default.\n  When an act genuinely needs a human decision, give the operation step one\n  `approval: { reason, type }` with a concrete reason and action-specific\n  type, or rely on the operation's `approval: required`. The kernel constructs\n  the exact operator summary, binds the request to the intent, and suspends for\n  `runx resume`; never add an adjacent `ask` step for the same action. Use an\n  `ask` step only for a consequential decision no native capability owns. One\n  action has one approval owner. The money a call moves is derived from its\n  operation's inputs, which the connector declares, so a step never states an\n  amount. Use the step's `result.equals` to bind the returned resource identity\n  and `result.required` and `result.optional` to admit only the fields the\n  receipt needs. Secret-adjacent operations must project their result. Give\n  every write an `idempotency_key` on the step, which names one intent; do not\n  copy it into the provider payload. Never add a package token loader or\n  request client.\n- Never model human authority as a caller-supplied approval string, boolean, or\n  reference. A native approval gate must summarize the exact target and effect;\n  its host-attested packet is the only approval input a credentialed provider\n  tool may accept. If a provider API requires its own approval reference, derive\n  the claim- or resource-bound value inside that tool after verifying\n  `approved: true`, `actor: human`, the exact gate id, and the action-specific\n  gate type. An agent-authored `answers` value must fail before provider\n  execution.\n- An `ask` step is a human gate. Agent provenance is rejected by the runtime;\n  use an `agent` step for model judgment and keep its result distinct from\n  human authority.\n- Treat the selected method's typed execution requirements as the complete\n  permission request. Put exact non-secret environment names and runtime\n  metadata on their canonical step and tool fields, never under `runx`, in\n  prose, or in a package loader; credentials belong to the connectors the\n  method calls, and a catalog tool's scopes come from the tool. Runx resolves\n  and records those declarations without inventing a scope vocabulary; the\n  native capability or provider that owns a scope enforces it.\n- Make every public method contract recursively complete at the authoring\n  boundary. `run.yaml` owns nested properties, closed objects, enums, bounds,\n  and complete parser-validated invocation `examples`; `runx skill inspect`,\n  MCP, agent tools, and generated exports must project that same declaration.\n  When an identical input declaration is used by several methods, define it\n  once under `shared_inputs` and have each method take it by name, as\n  `repository: {}`; a key written beside it overrides only that key, so never\n  copy the whole declaration. A rule across fields that no single field can\n  state belongs in the method's `input_constraints`. JavaScript may enforce\n  irreducible relationships between otherwise valid fields, but must not\n  repeat structural validation already owned by the profile.\n- Dogfood the result through the real agent-facing surface, not only the\n  package's tests. A cold agent must be able to inspect the selected method,\n  construct a valid call without reading source or fixtures, understand a\n  path-specific rejection, and continue from the resulting context. Exercise\n  every materially different method; a default-only export cannot certify a\n  multi-method skill. For an existing target, use\n  `authoring_context.target_inspection` as the canonical method-contract and\n  closure evidence. An `invalid` inspection is repair context, not\n  permission to guess: read the declared target files, correct the owning\n  contract, and validate the complete candidate.\n- Design evidence admission around the operator's job, not the first provider\n  implementation. When analysis is useful over local admitted files or\n  artifacts as well as remote sources, support both through their canonical\n  evidence boundaries; do not require HTTPS, Hosted Connect, or another\n  provider merely to analyze evidence already available on the operator's\n  machine. Provider-specific acquisition remains a separate method or upstream\n  skill when it adds real readback value.\n- Make permission claims executable through the package's own tests.\n  Permission-bearing native and provider paths need a realistic admitted test\n  and, where a test can exercise that owner, a refusal test with the\n  required scope or grant withheld. A test must call the same catalog,\n  dispatcher, and capability\u002Fprovider implementation as a real run; never add\n  a mock permission evaluator, scope vocabulary, or parallel verification\n  report. This proves enforcement owned by Runx capabilities and providers. It\n  cannot prove that trusted host code avoided undeclared filesystem, network,\n  or syscall access, so report that boundary as trusted rather than confined.\n- A test's tool steps inherit the exact scopes declared by the canonically\n  resolved manifest and pass declared packets through the production packet\n  verifier. An output with a `packet` is already verified from the declaration,\n  so do not assert it again through a second path in the test.\n- Search the inspected native-tool and skill catalogs before designing files.\n  Prefer an existing core tool or canonical skill over executable package code.\n- Make every public method input constructible from inspection. A field is\n  its own JSON Schema, so write a method-owned nested value's properties on the\n  field itself. A field is required unless it says `optional: true`; JSON\n  Schema's `required` keeps its one meaning, the properties an object must\n  have. When an input takes an artifact of exactly one canonical Runx packet,\n  name its `packet: \u003Cpacket-id>` and let the runtime resolve the catalog-owned\n  schema into inspection, validation, exports, registry bundles, and tests.\n  Never copy that packet schema into the consumer. If the canonical schema is too weak to make the input usable,\n  improve the producing packet contract first; a packet reference is not a\n  substitute for a complete schema. Do not mint a packet id for a method-local\n  nested value, workflow intermediate, or one-run implementation detail. A packet\n  exists only for the complete value crossing a named reusable skill, runtime,\n  SDK, provider, receipt, or registry boundary, and it must have one active\n  producer and consumer or an explicit public native owner. Remove the generated\n  artifact when that ownership disappears. Every public method still needs at\n  least one realistic, copy-valid example unless its inputs are empty.\n- A named packet must expose its semantic fields or reference a canonical typed\n  contract. Bare `type: object`, unconstrained `{}`, and opaque property bags do\n  not make a method inspectable and must be repaired at the producing contract,\n  not documented around in prose. Open JSON is admissible only as an explicitly\n  named protocol extension or generic data payload inside an otherwise bounded\n  semantic envelope.\n- Apply that rule recursively. Every nested `type: object` declares meaningful\n  properties or an explicit `additionalProperties` policy. If the value is\n  intentionally arbitrary JSON, leave out `type`, since a field with no type\n  takes any value; do not make an object declaration imply structure that the\n  contract does not provide.\n- Put a producer's nested output shape on that output's own declaration. Do\n  not hand-maintain the same shape in a packet file, test, exporter, or\n  consumer: native parsing, agent context, runtime validation, packet\n  generation, registry packaging, and test replay all consume the producer's\n  declaration.\n- Express orchestration through `run.yaml`; keep all static agent operating\n  knowledge and task contracts in `SKILL.md`. Never put model instructions in\n  manifests, fixtures, or duplicated prompt fragments.\n- Each test is one `tests\u002F\u003Cname>.yaml`: its `name`, the `method` it runs, its\n  `inputs`, what answers the run under `host` (agent `answers` by request id,\n  `turns` worked call by call, `approvals`), exactly what it reaches under\n  `providers` (`http`, `mcp`, `processes`, `hosted`), and its `expect`. Data a\n  test reads lives under `fixtures\u002F`, which Runx stages whole into the isolated\n  test workspace, with `fixtures\u002Fbin\u002F` executable; a test that composes skills\n  uses a small fixture package there, named by the test's `package`. Do not\n  turn `fixtures\u002F` into a second source tree or include unconsumed helpers.\n- Put every typed output and packet contract on the step that actually produces\n  it: an output with a `packet` is kept as an artifact of that packet, and\n  `result_as` names the output the whole result becomes. A composed method\n  declares `result_from` as its intentional public result boundary. Native\n  aggregation combines distinct named outputs from successful producers;\n  skipped branches contribute nothing and duplicate names fail. Use this to\n  return a domain report alongside native operation evidence without a worker\n  that only joins or wraps those values. Method `outputs` may narrow the\n  selected producers to public fields, excluding private control values; reuse\n  packet references rather than copying their schemas. An omitted optional\n  operation output means that branch did not produce an operation result.\n  Approvals and other intermediate evidence remain in operator context and\n  receipts. A final domain computation is justified when it interprets evidence\n  or derives a meaningful result, not merely to reshape native contracts.\n- Add executable code only for irreducible deterministic domain computation.\n  Explain its domain boundary and why native tools plus a declarative workflow\n  cannot express it. Do not add code merely to transform Runx contracts.\n- For a genuinely separate CLI or protocol tool, keep one canonical\n  `manifest.json`. It owns source, inputs and defaults, artifact projection,\n  scopes and retry\u002Fidempotency. Effect and approval stay with the capability\n  that invokes the tool; never duplicate them in this manifest. Never persist\n  generated `runtime`, `output`, `runx`, hash, or toolkit fields beside that\n  contract. Loading the package validates it and binds its source files'\n  digests without rewriting it. The declared entrypoint must execute on the\n  repository's supported runtime without probing for generated files or\n  importing uncompiled TypeScript. A bundled tool lives at\n  `tools\u002F\u003Cnamespace>\u002F\u003Cname>\u002Fmanifest.json`, its dotted manifest name must match\n  that path, and aggregate package admission must bind every static local\n  source dependency before the package can run or publish.\n- Local CLI tools, process MCP servers, and process adapters are trusted host\n  code. Runx controls their exact invocation, delivered environment and\n  credentials, lifecycle, bounded output, and evidence; it does not turn\n  declared scopes into portable filesystem, network, or syscall confinement.\n  Use this lane only when the operation is genuinely irreducible to native\n  capabilities, connector operations, declarative composition, or deterministic\n  JavaScript. Never author a sandbox declaration, wrapper, or fallback flag.\n- When that computation is JavaScript, use a worker `tool: { module: ... }`\n  step. Prefer one cohesive module named for the skill with focused named\n  exports of the form `(inputs, context) => JSON`; split it only when the\n  computations have genuinely separate ownership. Runx owns input delivery,\n  output serialization, errors, CPU limits, and isolation. Do not add fake\n  operation inputs, Node command declarations, per-method wrapper files, or\n  stdout\u002Fenvironment plumbing. Pure JavaScript receives only its validated\n  in-memory module bundle, JSON input, and a frozen\n  `context.environment` object containing the exact names declared in its\n  tool's `environment.required` and `environment.optional` lists. A missing\n  required name stops before worker execution; an absent optional name is\n  omitted. Values never enter the manifest, agent context, inspection output,\n  or receipts. Environment declarations are for non-secret runtime\n  configuration; credentials stay on the native credential\u002Fprovider boundary.\n  The worker process itself has an empty ambient environment and no workspace\n  path, filesystem, network, clock, randomness, subprocess, credential, or\n  provider surface. An invocation may spend two seconds of CPU time by default;\n  a worker tool may declare `cpu_seconds` from 1 through 30 when irreducible\n  computation genuinely needs it. The worker is ECMAScript, not a browser: use the frozen\n  `Runx.parseUrl(value)` helper for absolute URLs and do not assume Web or Node\n  globals exist. Use `Runx.parseData(source, format)` for bounded JSON, YAML or\n  TOML syntax decoding, with package-specific interpretation kept in the domain\n  module. Declare `requires: [parseData]` on each worker tool that needs it.\n  This author-declared guard makes unsupported runtimes reject the profile\n  before effects; Runx does not infer helper calls or treat requirements as\n  permissions. The baseline `parseUrl` helper predates this declaration.\n  Never replace unavailable helpers with Node, shell or hand-written parsers.\n- Classify volume before authoring. Small typed control values belong in normal\n  method inputs; `runx skill --inputs` is only a bounded transport for one\n  complete control object. Large immutable local content belongs behind\n  `artifact.admit`\u002Fbounded pages. Durable history belongs behind\n  the store's `events.read` cursors or a compact projection. A workflow must not carry an\n  archive, growing event history, or completed-id array simply because one CLI\n  call can parse it.\n- Use a worker tool's deterministic `paged_input` only for irreducible record\n  transforms over one admitted JSON-array artifact. Paged input reads under\n  `fs.read`, and native admission preserves caller bounds: agent-bound runs refuse secret files and\n  Runx state, including symlink aliases. The runtime owns artifact admission, page\n  framing, snapshot digest, record boundaries, offsets, retries, and the page\n  loop; the module owns only\n  decoding and domain selection. Treat `runx_page.ref` as an opaque,\n  logical-run-scoped reference that belongs in receipt provenance; never place\n  it in a plan or idempotency digest. Bind deterministic domain output to\n  `runx_page.digest`, which is stable for identical content. Keep\n  continuation state proportional to the bounded result. For a retained provider\n  array, use native `artifact.store` and `artifact.open`, then set\n  `paged_input.artifact` to the input carrying `artifact.ref`. This\n  reuses an admitted snapshot; never reconstruct its storage path. The opaque URI\n  survives process exit and pause\u002Fresume within the same logical run. A different\n  run or project refuses it; reopen the retained project artifact descriptor when\n  crossing that boundary. `artifact` cannot also\n  declare `path` or `media_type`, and still requires `fs.read`; native\n  `artifact.open` keeps its separate operator and artifact scope checks. Do not add a package\n  file reader, manual byte cursor, hashing loop, high-volume profile, or raised\n  worker limit. If safe framing or bounded state is impossible, choose\n  `needs_core` or a genuinely separate protocol tool rather than\n  smuggling filesystem authority into JavaScript.\n- Prove a volume path at two materially different scales through the production\n  owner. The result must be identical across page sizes, cursors must advance,\n  process count must stay stable where session reuse applies, and failures must\n  remain distinguishable from empty pages. A larger fixture alone is not\n  performance evidence.\n- A missing generic primitive is not permission for package code. Return\n  `needs_core` with no writes and identify either a runtime\u002Fsecurity invariant\n  or two independent existing consumers.\n- Never add package-local raw `RUNX_INPUTS_*` parsing, generic packet or\n  evidence hashing, packet wrapping, generic status construction, or provider\n  simulation when a shared Runx boundary can own it. Package code may retain a\n  canonical hash only when that hash is an intrinsic field of an established\n  domain or wire protocol, not as a substitute for receipt or effect integrity.\n  State that exception at the computation boundary.\n- Keep packages concise: normally `SKILL.md`, `run.yaml`, focused `tests\u002F`,\n  and `fixtures\u002F` only for data those tests read; add narrowly scoped\n  references, assets, tools, or domain code only when consumed.\n- Judge the whole capability, not proxy metrics. Native reuse, fewer files,\n  shorter code, passing tests, and low resource ceilings are valuable only\n  when the result remains understandable, useful, truthful, and complete.\n  Keep JavaScript when it performs irreducible domain computation; remove it\n  when it reimplements runtime mechanics. Never trade away domain semantics or\n  operator context merely to reduce line count.\n- Keep shared computation DRY. A helper used by multiple skills belongs in its\n  existing native owner or a justified shared primitive, never copied scripts.\n- Count the whole replacement and delete displaced scripts, manifests, schemas,\n  fixtures, and tests in the same change. Do not leave dual paths.\n- Do not add package READMEs, changelogs, installation guides, strategy files,\n  generated state, or credentials.\n- Match the documented capability to the execution profile and truthful terminal\n  state.\n- Review the documentation diff for semantic loss. A shorter `SKILL.md` is an\n  improvement only when the removed material was false, duplicated, or\n  irrelevant and the remaining document still passes the cold-operator test.\n- Treat the catalog's manual check as an anti-stub backstop, not a writing\n  target. The structural title\u002Fsection\u002Fprose floor does not prove a guide is\n  substantive. Do not pad prose to satisfy a word floor or turn natural\n  operating guidance into a template checklist.\n- Prefer extending an existing owner over adding a near-duplicate skill.\n- Preserve registry identity as part of capability ownership. Inspect the live\n  registry before publishing a shared package; update the intended existing\n  publisher\u002Fname rather than creating a first-party neighbor beside an older name.\n  Preserve an accepted contributor's namespace at publication: the publisher\n  is the namespace the registry signs the package under, never a `run.yaml`\n  field.\n  A deliberate rename must migrate or retire the prior identity through the\n  registry operator. Never transfer a contributor's community-owned row into\n  the first-party namespace unless that ownership transfer is explicit.\n- Treat registry portability as execution truth, not a publish-time smoke test.\n  A local cross-package skill edge must be present in the digest-bound registry\n  package bundle, and the tests a publish runs must execute that exact\n  materialized package. Never copy sibling source beside a test while omitting it from the\n  published artifact, rewrite the source workflow for registry-only execution, or\n  certify a package that needs the original checkout to run.\n- Include a realistic happy path and refusal, stop, or error path.\n- Never treat supplied agent answers as provider-effect proof.\n- For every public package, a sealed test of its default method is the\n  acceptance boundary: a method is offered on its own, exported or listed over\n  MCP, only when one of its tests seals, and a test on a convenient phase\n  method cannot prove the default. Write the package's evaluations in\n  `evals\u002Fevals.json`, the Agent Skills evaluation file, naming the package: a\n  realistic direct request with the outcome it must reach, and for composed\n  use, the prior evidence it reuses and the work or effects it must not\n  repeat. Selection queries, including nearby public skills a request must not\n  select, belong in `eval_queries.json`. Evaluations are not a format\n  requirement and decide nothing at export, so never recreate their judgment\n  in package code, prose, or a second test script.\n- Keep provider evidence labels exact. Deterministic replay is `test`, not\n  `live`. A sealed provider-readback test supplied through host agent answers\n  does not prove provider execution. Tests must not inherit local Runx\n  grants, tokens, credential delivery, or global configuration; every fake\n  binding must be explicit in the test, and live proof must come from a\n  separately identified provider run.\n\nBefore admitting an architecture, perform a cold-operator trial against the\nactual proposed result:\n\n1. Can the operator tell what the skill concluded and which evidence supports\n   it?\n2. Can they distinguish missing or ambiguous information from a negative\n   result?\n3. Can they tell which effects happened, which are only proposed or\n   authorized, and which remain unattempted?\n4. Can they continue each material outcome through the correct canonical skill\n   and the declared provider-selection boundary without reconstructing lost\n   context?\n5. Does one clear owner hold each decision, approval, mutation, and readback?\n6. Would this still be the architecture chosen from scratch against the current\n   Runx catalog?\n7. Can a cold agent actually invoke every public method from inspection alone,\n   using local or remote evidence appropriate to the job, without source-diving,\n   guessed JSON, or an unnecessary provider dependency?\n\nIf any answer is no, the package is not ready even if its schemas, tests, and\nbudgets pass. Fix the capability design or return `no_skill`\u002F`needs_core`;\ndo not compensate with more fixtures, prose padding, or a bespoke wrapper.\n\n## Outputs\n\n- `architecture_decision`: the agent's closed ownership and execution design.\n- `architecture_plan`: that decision bound by native code to the exact\n  inspection digest. Every method returns it so the rationale, limits and\n  recovery survive applied, unchanged and stopped outcomes. Design stops here.\n- `change_draft`: package bytes and intent authored against the admitted plan;\n  it contains no model-authored integrity values.\n- `change_bundle`: the native, digest-bound transaction candidate produced from\n  the plan and draft.\n- `apply_result`: unchanged, needs-core, or validated-and-applied, with exact\n  changed\u002Fdeleted paths, package digest, focused proof, and line\u002Ffile deltas.\n  For a shared\u002Fpublic package, this is the exact local half of the registry\n  publication handoff; registry publish and readback evidence remain separate.\n\n## Inputs\n\n- `objective` (required): capability or improvement to deliver.\n- `package_name` (optional, build): explicit identity for a newly requested\n  package; use it as `SKILL.md`'s `name` even when the target directory has a\n  different basename.\n- `repo_root` (optional): workspace root; defaults to the caller workspace.\n- `target_dir` (required for `build`, `improve`, and `test`): repo-relative package directory.\n- `project_context` (optional): product, repository, and operator constraints.\n- `receipt_id`, `receipt_summary`, `test_output`, `failure_packet` (improve):\n  failure evidence, including the stable packet from `diagnose-skill-run`.\n  `test_output` carries a test run's sanitized output.\n\n## Agent task: skill-build-architecture\n\nCall `turn_complete` with exactly one root field,\n`{\"architecture_decision\": \u003Cdecision>}`. The inner decision uses\n`runx.skill.architecture_decision.v1`. Choose `build`, `extend_existing`,\n`no_change`, `no_skill`, or `needs_core`. Explain the operator value and the manual's\nknowledge contract: purpose, required evidence, decision logic, stop conditions,\nand recovery. Assign every required behavior to exactly one real execution lane\n(`manual`, `workflow`, `agent`, `native_capability`, `domain_module`,\n`process`, or `operation`). A native lane names a selected capability;\na domain module supplies a specific justification. Record inspected, selected,\nand genuinely missing native capabilities; use `needs_core` only for a runtime\nor security invariant or a primitive with two independent existing consumers.\nReturn the architecture decision once the evidence is sufficient. The workflow's\nnative `plan` step validates it and binds it to the inspected package digest.\nFor every `native_capability` behavior, `reuses` must be exactly one entry from\n`native_reuse.selected_capabilities`; split a behavior when it needs more than\none capability.\nWhen `package_name` is supplied, treat it as the requested package identity;\ndo not silently rename the package from its target path.\n\nInspect an existing target in one bounded pass. Use the target file list and\nrepository root in `authoring_context` to read the relevant files together with\n`fs.read_bundle`; do not crawl them one at a time or reread files already\npresent in context. Once the evidence is sufficient, return the declared\narchitecture decision instead of spending the remaining round budget on\noptional discovery.\n\nFor every `build` or `extend_existing` decision, make the identity decision\nexplicit. Record the current and proposed name, choose `keep`, `rename`,\n`create`, or `internalize`, state whether the package is public or internal,\nand explain why that name is the operation a cold agent will reach for. A\nrename or internalization is a clean cutover: identify every consumer and do\nnot plan aliases or duplicate discovery rows. Internal packages have no public\ndirect-use contract.\n\nFor every public package, declare both operator contexts before authoring:\n\n- `direct_use` names realistic natural-language trigger and non-trigger\n  requests, the default outcome, routine work the host should do normally, the\n  exact boundary where Runx adds value, the terminal result, one actionable\n  blocker behavior, and the context-preserving native escape path.\n- `chain_use` names accepted typed inputs, the reusable result, prior evidence\n  and effects that survive the boundary, and work that must not repeat.\n\nThe proof plan must contain distinct `trigger_eval`, `direct_use_eval`, and\n`chain_use_eval` entries for a public package. They are different claims:\nintuitive selection, useful direct completion, and evidence-preserving\ncomposition. A generic test or sealed receipt may supplement them but cannot\nreplace them. The trigger eval's queries include requests for at least two real\nnearby public skills, which must not trigger this one; the direct-use eval runs\nthe actual default; and the chain-use eval names both reused prior evidence and\nwork that must not repeat. The final candidate proves the direct-use eval with a\nsealed test of its default method, carries both evals in its `evals\u002Fevals.json`,\nand carries the trigger eval's queries in its `eval_queries.json`.\n\nDeclare effects, authority scopes, approval meaning, provider boundary, skill\nroutes, resource ceilings, preservation obligations, exact intended deletions,\nand a proof plan. For every skill route, state the domain result being handed\noff, the canonical capability or authority owner, whether a connector is\nrequired or operator-selected, the context that must survive the boundary, and\nthe truthful effect state before and after that route. Cover every material\noutcome independently. Reject an unnecessary provider pin even when it appears\nin prior work or the request's implementation sketch. Apply the cold-operator\ntrial to the proposed public result and chain before making the architecture choice.\nClassify every potentially large value as control input,\nimmutable artifact, durable cursor\u002Fprojection, or bounded domain result, and\nname its production owner plus small\u002Flarge proof. Reads, drafts, local\nvalidation, reversible package writes, and routine grant-scoped provider\nmutations do not gain ceremonial human approval. Add an exact resumable gate\nonly when the action genuinely requires a separate human decision. Assign each\nsuch action exactly one approval owner; never pair\nan explicit workflow approval with an effect-owned approval for the same action.\nBudgets are operational ceilings, not guesses to be widened after validation.\nDo not write files, calculate a digest, invent provider proof, or solve an\nownership gap with package code.\n\nFor a shared\u002Fpublic package, also preserve its intended registry identity and\nstate whether registry availability is in scope. If it is, the plan ends local\nauthoring at the exact applied package and names the canonical registry\noperator as the separate publish-and-readback boundary. Do not plan embedded\nregistry HTTP, credentials, auto-publish, or an adjacent publisher\u002Fname.\n\nFor `improve`, diagnose only from supplied receipt or test evidence and\ndistinguish contract, implementation, fixture, environment, and operator\nfailures. When evidence cannot justify a change, choose `no_change`. Do not invent a\npackage identity, direct-use contract or chain-use contract for that stop. The\nworkflow binds the authoring mode and derives an empty change bundle natively;\nthere is no author turn for a terminal decision. Preserve the missing evidence\nand next step in the decision. For `test`, plan test-only changes, new\n`tests\u002F\u003Cname>.yaml` and the `fixtures\u002F` data they read, and preserve all\nproduction behavior.\n\n## Agent task: skill-build-author\n\nReceive the exact native `architecture_plan` and return one `change_draft` using\n`runx.skill.change_draft.v1`. Never copy or calculate `base_digest`,\n`plan_digest`, architecture, or any other integrity field; native bind owns\nthose values. Choose `write`, `no_skill`, `no_change`, or `needs_core` in a way\nthat agrees with the plan. A non-write draft has empty `writes` and `deletes`.\nA write contains the smallest complete target-relative file set, the exact\nplanned deletions, a truthful summary and non-goals, and the outputs the package\nwill actually produce.\n\nWhen source bytes are needed, read the planned target files together with\n`fs.read_bundle`. Do not spend separate rounds reopening files already supplied\nby `authoring_context` or the architecture plan; reserve the final round for the\ncomplete `change_draft`.\n\nThe package's name is its `SKILL.md` frontmatter `name`; `run.yaml` has no\nname of its own. When `package_name` is supplied, use it there. The directory\nis a placement decision, not a second source of package identity.\n\nWrite `run.yaml` in the shape the parser reads, which refuses every key it\ndoesn't. Its root says `version`; `minimum_runx`, required, the oldest runx\nthat can run the package, `0.12.0` today; `catalog`; `shared_inputs`;\n`connectors`, only for a pin or a connector chosen per run; `default_method`,\nonly when there is more than one method; and `methods`. A method has its\n`description`, `inputs`, `outputs`, `examples` and `steps`, and may add\n`input_constraints`, `result_from`, `effects`, `reach` and `offer`. A method is\nalways its steps, and one agent turn is one `agent` step. Every step has an\n`id` and exactly one kind: `agent`, `tool`, `operation`, `ask` or `skill`, and\nmay add `when`, `guard`, `inputs`, `outputs`, `result_as`, `effects` and\n`reach`. An `agent` step names its task, and `SKILL.md` must hold that task's\n`## Agent task: \u003Cname>` section with its instructions; its `calls` lists what\nthe turn may call (`tools`, `operations` as `\u003Cconnector>\u002F\u003Coperation>`, `skills`\nas `\u003Cref>#\u003Cmethod>`, `load`, `ask: true`) and its `context.skills` the\nskills it reads first. A `skill` step names its target as `\u003Cref>#\u003Cmethod>`,\nwhere `.#\u003Cmethod>` is this package's own method. Steps read `$input`,\n`$steps.\u003Cid>`, and `$run.act` inside an `act`.\n\nA `catalog` block takes exact values, and native apply refuses any other:\n`visibility` public or internal, `category` code, research, ops, growth,\ncontent, data, security, authoring or payments, and `tags`.\n\nPut static operating knowledge and task-specific agent rules in `SKILL.md` and\nexecution structure in `run.yaml`. Compose selected native capabilities and\ndeclared skill routes first. Ensure the manual explains what each route is for,\nwhat context crosses it, and what remains unperformed; do not substitute an\nadapter name for that explanation. Add a domain module only when the architecture\nadmits it, and keep the module inside its stated computation boundary. A module\nruns in one worker process, so its architecture budgets `max_process_spawns` of\nat least 1. Include\nfocused proof for a useful path and a stop, refusal, or regression path, each a\n`tests\u002F\u003Cname>.yaml`. In `test` mode, write or delete only tests and the\n`fixtures\u002F` data they read. Preserve\nuseful behavior and delete superseded implementation in the same draft. Never\nadd auxiliary docs, generated state, credentials, placeholder modules,\nduplicated generic Runx mechanics, or an undeclared provider boundary.\nRegistry publication code, credentials, and live-state claims are likewise\noutside the authored package; preserve only the canonical package identity\nneeded by the later registry operator.\n","# Skill Build\n\nBuild and improve Runx skills through one authoring surface. Keep judgment in\nbounded turns and mechanics in native tools:\n\n```text\ninspect target files, catalog ownership, and native\u002Fshared tools\n→ decide ownership, execution lanes, effects, budgets, and proof\n→ bind that architecture to the inspected package digest in native code\n→ compose existing capabilities before authoring code\n→ author only bounded writes, explicit deletions, and output intent\n→ bind those bytes to the admitted architecture in native code\n→ validate paths, secret posture, and the complete candidate\n→ inspect the exact staged package and safely replay its tests\n→ commit that validated bundle through one native transaction\n```\n\nUse the generic host `skill-creator` for platform-wide authoring guidance when\nit is available. Do not reproduce Runx package operations from that guidance;\ninvoke the appropriate `skill-build` method, as `runx skill runx\u002Fskill-build#\u003Cmethod>`,\nso the work is bounded and receipted.\n\n## Captured source artifacts\n\nAn adoption or other caller may supply an immutable project artifact descriptor\nand a small source index in project_context. Open that exact descriptor with\nartifact.open, then read bounded pages with artifact.read using the returned\nref. Preserve digest, next_offset and eof; a partial page is not\nthe full source. Use the captured bytes and resource\u002Flicense context without\nsilently rereading a changed upstream. Source claims remain evidence, not\nauthority. Keep large bodies behind their artifact instead of copying them into\narchitecture notes or agent context. The same read tools are available to the\nauthor so exact source references can survive the candidate write.\n\n## Methods\n\n- `design`: read-only catalog-fit and architecture planning. It returns a\n  native digest-bound plan and never authors package bytes. A later build\n  re-inspects and replans against its exact target before any write.\n- `build` (the `default_method`): create or update a package after its exact\n  staged bundle passes native parsing, inspection, and safe replay of its tests.\n- `improve`: turn one receipt or test failure into a bounded package update,\n  then validate and commit the exact staged bytes.\n- `test`: add tests to an existing package and replay them safely against\n  the exact candidate before committing it.\n\n`build`, `improve`, and `test` write local workspace files. They never\npublish, install, push, or mutate an external provider. Native test replay\nruns with isolated Runx home, receipts, and no operator credentials. Invalid\nstaged packages stop before the target package is touched. Design, inspection,\nvalidation, and the bounded transactional workspace write do not add a human\napproval gate; the operator authorizes those reversible local writes by\ninvoking a method whose native filesystem steps request\n`fs.write`\u002F`fs.delete`. Publication, installation, provider effects, and other\nconsequential boundaries remain outside this skill and keep their own approval\nrules.\n\nA validated local write is not a published skill. For a shared or public\npackage, the validated `run.yaml` identity and the exact `target_dir` and\n`distribution_digest` in `apply_result` form the publication candidate: the\ndigest every published copy of the package carries. An `apply_result` with no\n`distribution_digest` doesn't package, and isn't a candidate. When the\noperator's objective includes shipping or registry availability, continue that\nexact candidate through the repository's canonical registry operator: publish\nunder the intended existing publisher\u002Fname, then independently read back the same\nversion and distribution digest. Do not call the work shipped while that sync is\npending or unverified. Publication remains a separate authenticated act so Skill Build\nnever receives registry credentials or hides a remote mutation inside local\nauthoring.\n\n## Authoring rules\n\n- Start from the operator's recurring job, not the requested package name,\n  bounty wording, provider, or implementation sketch. Establish what becomes\n  materially easier or newly possible for the operator, what judgment the\n  skill contributes, and what durable result it returns. A package that merely\n  restates ordinary agent behavior, renames one native call, or produces a\n  document with no usable next step is not a valuable skill even when every\n  contract and test passes.\n- Treat prior implementations, accepted bounty text, issue suggestions, and\n  named integrations as evidence about the intended capability, not binding\n  architecture. Preserve the real user outcome and compatibility obligations;\n  replace stale ownership, unnecessary providers, and accidental workflow\n  shapes when the current catalog has a cleaner canonical route.\n- Treat `SKILL.md` as the product manual for both the human operator and the\n  operating agent. A person opening it cold must understand what the capability\n  does, why and when to use it, what happens end to end, and where it stops.\n  Do not reduce that manual to terse model directives, field lists, or a task\n  contract.\n- Preserve the useful context in an existing skill: its mental model, procedure,\n  examples, trade-offs, chain relationships, evidence rules, and recovery\n  posture. Rewrite statements that no longer match the implementation; never\n  delete the surrounding explanation merely because the executable profile now\n  enforces part of it.\n- A complete public skill explains, in a structure natural to the capability:\n  the recurring job and outcome; when and when not to use it; the operating\n  model and sequence; upstream and downstream skill relationships; meaningful\n  input and output semantics; authority, approval, evidence, finality, and\n  recovery; and relevant edge cases and stop conditions. Include a concrete\n  example when it materially clarifies a non-obvious workflow. Do not force\n  ceremonial sections onto a simple facade or internal rail.\n- Put task-specific agent clauses after the human-readable operating guide.\n  They sharpen individual turns; they do not replace the guide or carry\n  the product's voice by themselves.\n- Explain meaningful upstream and downstream skill relationships naturally in\n  the operator guide. Do not maintain a second machine-readable dependency\n  registry in `SKILL.md`: native closure inspection owns the exact\n  edge set and operator preflight surfaces it. Prose explains why the chain\n  exists; the runtime proves what it actually calls.\n- Design capability chains by responsibility, not by whichever integration is\n  easiest to name:\n  - The domain skill owns domain evidence, interpretation, policy, and the\n    truthful domain result.\n  - A canonical capability or authority skill owns a reusable decision such as\n    authorizing a send, spending funds, or preparing a release.\n  - A connector owns the bounded external API effect and independent\n    readback.\n  Do not collapse these roles into one package, and do not make a provider's\n  connector a required part of a provider-neutral capability. Pin a connector\n  only when the objective genuinely requires provider-specific behavior; otherwise\n  return a stable handoff that an operator can route to the selected connector.\n  For example, a meeting skill may produce grounded task proposals and a\n  follow-up message; communication then goes through `message-send`, while task\n  creation goes through the operator's selected task adapter. n8n, Zapier, or\n  any other automation provider is optional unless the requested capability is\n  explicitly about that provider.\n- Search the catalog by operator outcome and authority owner, not only by words\n  present in the request. Consider every material result independently: a\n  workflow may need different next lanes for a message, task proposal, payment,\n  publication, or unresolved ambiguity. Reuse the canonical capability at each\n  boundary and explain why it owns that decision. Do not hide an unhandled\n  outcome behind a generic \"handoff\" claim.\n- Preserve the context that makes the next operator or skill intelligent.\n  Handoffs carry the bounded evidence, decision rationale, unresolved\n  ambiguity, stable content or proposal, intended audience or target, and\n  effect status needed by the next lane. Do not squash these into a digest,\n  terse status, or provider payload. Digests bind context; they do not replace\n  it. Conversely, do not forward unrelated source material or secrets.\n- Make finality explicit at every boundary. Distinguish observed evidence,\n  model interpretation, draft, proposal, authorized action, attempted effect,\n  provider-confirmed effect, and independently read-back effect. A downstream\n  route is not proof it ran; a sealed plan is not approval; an adapter request\n  is not delivery. The public result and operator guide must say what actually\n  happened and what still has to happen.\n- A skill declares domain procedure and policy. Runx owns generic input,\n  packet, evidence, approval, request, credential, effect, and receipt mechanics.\n- Place the capability in its real owner before choosing an implementation.\n  Reusable skills, end-user and domain-operator commands and UX, local host\n  loops, local queues, and default local-state orchestration belong in Runx OSS\n  or the owning product repository. `runx\u002Fcloud` is not precedent for those\n  concerns: it may provide the hosted control plane, custody provider\n  credentials, resolve authoritative grants, and execute a fixed bounded\n  provider operation. Using Hosted Connect does not move the surrounding skill,\n  procedure, operator decision, or state into Cloud. If that operator surface is\n  missing, return work to OSS or the product owner; never extend a Cloud script\n  or hosted service as a substitute.\n- For provider work, call each connector operation from an `operation` step\n  that names it as `\u003Cconnector>\u002F\u003Coperation>`; the connector declares the scopes,\n  target and readbacks. The package's connector requirements are derived from\n  the steps that call them, so `connectors:` says only what a step can't: a\n  `manifest_digest` pin, or a connector chosen per run with `choose` and `from`,\n  which steps then name as `\u003Cname>\u002F\u003Coperation>`. A connector no step calls is\n  refused. Connector requirements do not grant direct agent calls. When an\n  agent step genuinely chooses provider calls dynamically, list the exact\n  operations in that step's `calls.operations`, each as `\u003Cconnector>\u002F\u003Coperation>`.\n  Omitted or empty `calls.operations` grants no direct provider calls;\n  `operation` steps keep their declared behavior. Do not give a supplied-data\n  judgment step acquisition or mutation tools merely because another step\n  needs them. A scoped grant is sufficient by default.\n  When an act genuinely needs a human decision, give the operation step one\n  `approval: { reason, type }` with a concrete reason and action-specific\n  type, or rely on the operation's `approval: required`. The kernel constructs\n  the exact operator summary, binds the request to the intent, and suspends for\n  `runx resume`; never add an adjacent `ask` step for the same action. Use an\n  `ask` step only for a consequential decision no native capability owns. One\n  action has one approval owner. The money a call moves is derived from its\n  operation's inputs, which the connector declares, so a step never states an\n  amount. Use the step's `result.equals` to bind the returned resource identity\n  and `result.required` and `result.optional` to admit only the fields the\n  receipt needs. Secret-adjacent operations must project their result. Give\n  every write an `idempotency_key` on the step, which names one intent; do not\n  copy it into the provider payload. Never add a package token loader or\n  request client.\n- Never model human authority as a caller-supplied approval string, boolean, or\n  reference. A native approval gate must summarize the exact target and effect;\n  its host-attested packet is the only approval input a credentialed provider\n  tool may accept. If a provider API requires its own approval reference, derive\n  the claim- or resource-bound value inside that tool after verifying\n  `approved: true`, `actor: human`, the exact gate id, and the action-specific\n  gate type. An agent-authored `answers` value must fail before provider\n  execution.\n- An `ask` step is a human gate. Agent provenance is rejected by the runtime;\n  use an `agent` step for model judgment and keep its result distinct from\n  human authority.\n- Treat the selected method's typed execution requirements as the complete\n  permission request. Put exact non-secret environment names and runtime\n  metadata on their canonical step and tool fields, never under `runx`, in\n  prose, or in a package loader; credentials belong to the connectors the\n  method calls, and a catalog tool's scopes come from the tool. Runx resolves\n  and records those declarations without inventing a scope vocabulary; the\n  native capability or provider that owns a scope enforces it.\n- Make every public method contract recursively complete at the authoring\n  boundary. `run.yaml` owns nested properties, closed objects, enums, bounds,\n  and complete parser-validated invocation `examples`; `runx skill inspect`,\n  MCP, agent tools, and generated exports must project that same declaration.\n  When an identical input declaration is used by several methods, define it\n  once under `shared_inputs` and have each method take it by name, as\n  `repository: {}`; a key written beside it overrides only that key, so never\n  copy the whole declaration. A rule across fields that no single field can\n  state belongs in the method's `input_constraints`. JavaScript may enforce\n  irreducible relationships between otherwise valid fields, but must not\n  repeat structural validation already owned by the profile.\n- Dogfood the result through the real agent-facing surface, not only the\n  package's tests. A cold agent must be able to inspect the selected method,\n  construct a valid call without reading source or fixtures, understand a\n  path-specific rejection, and continue from the resulting context. Exercise\n  every materially different method; a default-only export cannot certify a\n  multi-method skill. For an existing target, use\n  `authoring_context.target_inspection` as the canonical method-contract and\n  closure evidence. An `invalid` inspection is repair context, not\n  permission to guess: read the declared target files, correct the owning\n  contract, and validate the complete candidate.\n- Design evidence admission around the operator's job, not the first provider\n  implementation. When analysis is useful over local admitted files or\n  artifacts as well as remote sources, support both through their canonical\n  evidence boundaries; do not require HTTPS, Hosted Connect, or another\n  provider merely to analyze evidence already available on the operator's\n  machine. Provider-specific acquisition remains a separate method or upstream\n  skill when it adds real readback value.\n- Make permission claims executable through the package's own tests.\n  Permission-bearing native and provider paths need a realistic admitted test\n  and, where a test can exercise that owner, a refusal test with the\n  required scope or grant withheld. A test must call the same catalog,\n  dispatcher, and capability\u002Fprovider implementation as a real run; never add\n  a mock permission evaluator, scope vocabulary, or parallel verification\n  report. This proves enforcement owned by Runx capabilities and providers. It\n  cannot prove that trusted host code avoided undeclared filesystem, network,\n  or syscall access, so report that boundary as trusted rather than confined.\n- A test's tool steps inherit the exact scopes declared by the canonically\n  resolved manifest and pass declared packets through the production packet\n  verifier. An output with a `packet` is already verified from the declaration,\n  so do not assert it again through a second path in the test.\n- Search the inspected native-tool and skill catalogs before designing files.\n  Prefer an existing core tool or canonical skill over executable package code.\n- Make every public method input constructible from inspection. A field is\n  its own JSON Schema, so write a method-owned nested value's properties on the\n  field itself. A field is required unless it says `optional: true`; JSON\n  Schema's `required` keeps its one meaning, the properties an object must\n  have. When an input takes an artifact of exactly one canonical Runx packet,\n  name its `packet: \u003Cpacket-id>` and let the runtime resolve the catalog-owned\n  schema into inspection, validation, exports, registry bundles, and tests.\n  Never copy that packet schema into the consumer. If the canonical schema is too weak to make the input usable,\n  improve the producing packet contract first; a packet reference is not a\n  substitute for a complete schema. Do not mint a packet id for a method-local\n  nested value, workflow intermediate, or one-run implementation detail. A packet\n  exists only for the complete value crossing a named reusable skill, runtime,\n  SDK, provider, receipt, or registry boundary, and it must have one active\n  producer and consumer or an explicit public native owner. Remove the generated\n  artifact when that ownership disappears. Every public method still needs at\n  least one realistic, copy-valid example unless its inputs are empty.\n- A named packet must expose its semantic fields or reference a canonical typed\n  contract. Bare `type: object`, unconstrained `{}`, and opaque property bags do\n  not make a method inspectable and must be repaired at the producing contract,\n  not documented around in prose. Open JSON is admissible only as an explicitly\n  named protocol extension or generic data payload inside an otherwise bounded\n  semantic envelope.\n- Apply that rule recursively. Every nested `type: object` declares meaningful\n  properties or an explicit `additionalProperties` policy. If the value is\n  intentionally arbitrary JSON, leave out `type`, since a field with no type\n  takes any value; do not make an object declaration imply structure that the\n  contract does not provide.\n- Put a producer's nested output shape on that output's own declaration. Do\n  not hand-maintain the same shape in a packet file, test, exporter, or\n  consumer: native parsing, agent context, runtime validation, packet\n  generation, registry packaging, and test replay all consume the producer's\n  declaration.\n- Express orchestration through `run.yaml`; keep all static agent operating\n  knowledge and task contracts in `SKILL.md`. Never put model instructions in\n  manifests, fixtures, or duplicated prompt fragments.\n- Each test is one `tests\u002F\u003Cname>.yaml`: its `name`, the `method` it runs, its\n  `inputs`, what answers the run under `host` (agent `answers` by request id,\n  `turns` worked call by call, `approvals`), exactly what it reaches under\n  `providers` (`http`, `mcp`, `processes`, `hosted`), and its `expect`. Data a\n  test reads lives under `fixtures\u002F`, which Runx stages whole into the isolated\n  test workspace, with `fixtures\u002Fbin\u002F` executable; a test that composes skills\n  uses a small fixture package there, named by the test's `package`. Do not\n  turn `fixtures\u002F` into a second source tree or include unconsumed helpers.\n- Put every typed output and packet contract on the step that actually produces\n  it: an output with a `packet` is kept as an artifact of that packet, and\n  `result_as` names the output the whole result becomes. A composed method\n  declares `result_from` as its intentional public result boundary. Native\n  aggregation combines distinct named outputs from successful producers;\n  skipped branches contribute nothing and duplicate names fail. Use this to\n  return a domain report alongside native operation evidence without a worker\n  that only joins or wraps those values. Method `outputs` may narrow the\n  selected producers to public fields, excluding private control values; reuse\n  packet references rather than copying their schemas. An omitted optional\n  operation output means that branch did not produce an operation result.\n  Approvals and other intermediate evidence remain in operator context and\n  receipts. A final domain computation is justified when it interprets evidence\n  or derives a meaningful result, not merely to reshape native contracts.\n- Add executable code only for irreducible deterministic domain computation.\n  Explain its domain boundary and why native tools plus a declarative workflow\n  cannot express it. Do not add code merely to transform Runx contracts.\n- For a genuinely separate CLI or protocol tool, keep one canonical\n  `manifest.json`. It owns source, inputs and defaults, artifact projection,\n  scopes and retry\u002Fidempotency. Effect and approval stay with the capability\n  that invokes the tool; never duplicate them in this manifest. Never persist\n  generated `runtime`, `output`, `runx`, hash, or toolkit fields beside that\n  contract. Loading the package validates it and binds its source files'\n  digests without rewriting it. The declared entrypoint must execute on the\n  repository's supported runtime without probing for generated files or\n  importing uncompiled TypeScript. A bundled tool lives at\n  `tools\u002F\u003Cnamespace>\u002F\u003Cname>\u002Fmanifest.json`, its dotted manifest name must match\n  that path, and aggregate package admission must bind every static local\n  source dependency before the package can run or publish.\n- Local CLI tools, process MCP servers, and process adapters are trusted host\n  code. Runx controls their exact invocation, delivered environment and\n  credentials, lifecycle, bounded output, and evidence; it does not turn\n  declared scopes into portable filesystem, network, or syscall confinement.\n  Use this lane only when the operation is genuinely irreducible to native\n  capabilities, connector operations, declarative composition, or deterministic\n  JavaScript. Never author a sandbox declaration, wrapper, or fallback flag.\n- When that computation is JavaScript, use a worker `tool: { module: ... }`\n  step. Prefer one cohesive module named for the skill with focused named\n  exports of the form `(inputs, context) => JSON`; split it only when the\n  computations have genuinely separate ownership. Runx owns input delivery,\n  output serialization, errors, CPU limits, and isolation. Do not add fake\n  operation inputs, Node command declarations, per-method wrapper files, or\n  stdout\u002Fenvironment plumbing. Pure JavaScript receives only its validated\n  in-memory module bundle, JSON input, and a frozen\n  `context.environment` object containing the exact names declared in its\n  tool's `environment.required` and `environment.optional` lists. A missing\n  required name stops before worker execution; an absent optional name is\n  omitted. Values never enter the manifest, agent context, inspection output,\n  or receipts. Environment declarations are for non-secret runtime\n  configuration; credentials stay on the native credential\u002Fprovider boundary.\n  The worker process itself has an empty ambient environment and no workspace\n  path, filesystem, network, clock, randomness, subprocess, credential, or\n  provider surface. An invocation may spend two seconds of CPU time by default;\n  a worker tool may declare `cpu_seconds` from 1 through 30 when irreducible\n  computation genuinely needs it. The worker is ECMAScript, not a browser: use the frozen\n  `Runx.parseUrl(value)` helper for absolute URLs and do not assume Web or Node\n  globals exist. Use `Runx.parseData(source, format)` for bounded JSON, YAML or\n  TOML syntax decoding, with package-specific interpretation kept in the domain\n  module. Declare `requires: [parseData]` on each worker tool that needs it.\n  This author-declared guard makes unsupported runtimes reject the profile\n  before effects; Runx does not infer helper calls or treat requirements as\n  permissions. The baseline `parseUrl` helper predates this declaration.\n  Never replace unavailable helpers with Node, shell or hand-written parsers.\n- Classify volume before authoring. Small typed control values belong in normal\n  method inputs; `runx skill --inputs` is only a bounded transport for one\n  complete control object. Large immutable local content belongs behind\n  `artifact.admit`\u002Fbounded pages. Durable history belongs behind\n  the store's `events.read` cursors or a compact projection. A workflow must not carry an\n  archive, growing event history, or completed-id array simply because one CLI\n  call can parse it.\n- Use a worker tool's deterministic `paged_input` only for irreducible record\n  transforms over one admitted JSON-array artifact. Paged input reads under\n  `fs.read`, and native admission preserves caller bounds: agent-bound runs refuse secret files and\n  Runx state, including symlink aliases. The runtime owns artifact admission, page\n  framing, snapshot digest, record boundaries, offsets, retries, and the page\n  loop; the module owns only\n  decoding and domain selection. Treat `runx_page.ref` as an opaque,\n  logical-run-scoped reference that belongs in receipt provenance; never place\n  it in a plan or idempotency digest. Bind deterministic domain output to\n  `runx_page.digest`, which is stable for identical content. Keep\n  continuation state proportional to the bounded result. For a retained provider\n  array, use native `artifact.store` and `artifact.open`, then set\n  `paged_input.artifact` to the input carrying `artifact.ref`. This\n  reuses an admitted snapshot; never reconstruct its storage path. The opaque URI\n  survives process exit and pause\u002Fresume within the same logical run. A different\n  run or project refuses it; reopen the retained project artifact descriptor when\n  crossing that boundary. `artifact` cannot also\n  declare `path` or `media_type`, and still requires `fs.read`; native\n  `artifact.open` keeps its separate operator and artifact scope checks. Do not add a package\n  file reader, manual byte cursor, hashing loop, high-volume profile, or raised\n  worker limit. If safe framing or bounded state is impossible, choose\n  `needs_core` or a genuinely separate protocol tool rather than\n  smuggling filesystem authority into JavaScript.\n- Prove a volume path at two materially different scales through the production\n  owner. The result must be identical across page sizes, cursors must advance,\n  process count must stay stable where session reuse applies, and failures must\n  remain distinguishable from empty pages. A larger fixture alone is not\n  performance evidence.\n- A missing generic primitive is not permission for package code. Return\n  `needs_core` with no writes and identify either a runtime\u002Fsecurity invariant\n  or two independent existing consumers.\n- Never add package-local raw `RUNX_INPUTS_*` parsing, generic packet or\n  evidence hashing, packet wrapping, generic status construction, or provider\n  simulation when a shared Runx boundary can own it. Package code may retain a\n  canonical hash only when that hash is an intrinsic field of an established\n  domain or wire protocol, not as a substitute for receipt or effect integrity.\n  State that exception at the computation boundary.\n- Keep packages concise: normally `SKILL.md`, `run.yaml`, focused `tests\u002F`,\n  and `fixtures\u002F` only for data those tests read; add narrowly scoped\n  references, assets, tools, or domain code only when consumed.\n- Judge the whole capability, not proxy metrics. Native reuse, fewer files,\n  shorter code, passing tests, and low resource ceilings are valuable only\n  when the result remains understandable, useful, truthful, and complete.\n  Keep JavaScript when it performs irreducible domain computation; remove it\n  when it reimplements runtime mechanics. Never trade away domain semantics or\n  operator context merely to reduce line count.\n- Keep shared computation DRY. A helper used by multiple skills belongs in its\n  existing native owner or a justified shared primitive, never copied scripts.\n- Count the whole replacement and delete displaced scripts, manifests, schemas,\n  fixtures, and tests in the same change. Do not leave dual paths.\n- Do not add package READMEs, changelogs, installation guides, strategy files,\n  generated state, or credentials.\n- Match the documented capability to the execution profile and truthful terminal\n  state.\n- Review the documentation diff for semantic loss. A shorter `SKILL.md` is an\n  improvement only when the removed material was false, duplicated, or\n  irrelevant and the remaining document still passes the cold-operator test.\n- Treat the catalog's manual check as an anti-stub backstop, not a writing\n  target. The structural title\u002Fsection\u002Fprose floor does not prove a guide is\n  substantive. Do not pad prose to satisfy a word floor or turn natural\n  operating guidance into a template checklist.\n- Prefer extending an existing owner over adding a near-duplicate skill.\n- Preserve registry identity as part of capability ownership. Inspect the live\n  registry before publishing a shared package; update the intended existing\n  publisher\u002Fname rather than creating a first-party neighbor beside an older name.\n  Preserve an accepted contributor's namespace at publication: the publisher\n  is the namespace the registry signs the package under, never a `run.yaml`\n  field.\n  A deliberate rename must migrate or retire the prior identity through the\n  registry operator. Never transfer a contributor's community-owned row into\n  the first-party namespace unless that ownership transfer is explicit.\n- Treat registry portability as execution truth, not a publish-time smoke test.\n  A local cross-package skill edge must be present in the digest-bound registry\n  package bundle, and the tests a publish runs must execute that exact\n  materialized package. Never copy sibling source beside a test while omitting it from the\n  published artifact, rewrite the source workflow for registry-only execution, or\n  certify a package that needs the original checkout to run.\n- Include a realistic happy path and refusal, stop, or error path.\n- Never treat supplied agent answers as provider-effect proof.\n- For every public package, a sealed test of its default method is the\n  acceptance boundary: a method is offered on its own, exported or listed over\n  MCP, only when one of its tests seals, and a test on a convenient phase\n  method cannot prove the default. Write the package's evaluations in\n  `evals\u002Fevals.json`, the Agent Skills evaluation file, naming the package: a\n  realistic direct request with the outcome it must reach, and for composed\n  use, the prior evidence it reuses and the work or effects it must not\n  repeat. Selection queries, including nearby public skills a request must not\n  select, belong in `eval_queries.json`. Evaluations are not a format\n  requirement and decide nothing at export, so never recreate their judgment\n  in package code, prose, or a second test script.\n- Keep provider evidence labels exact. Deterministic replay is `test`, not\n  `live`. A sealed provider-readback test supplied through host agent answers\n  does not prove provider execution. Tests must not inherit local Runx\n  grants, tokens, credential delivery, or global configuration; every fake\n  binding must be explicit in the test, and live proof must come from a\n  separately identified provider run.\n\nBefore admitting an architecture, perform a cold-operator trial against the\nactual proposed result:\n\n1. Can the operator tell what the skill concluded and which evidence supports\n   it?\n2. Can they distinguish missing or ambiguous information from a negative\n   result?\n3. Can they tell which effects happened, which are only proposed or\n   authorized, and which remain unattempted?\n4. Can they continue each material outcome through the correct canonical skill\n   and the declared provider-selection boundary without reconstructing lost\n   context?\n5. Does one clear owner hold each decision, approval, mutation, and readback?\n6. Would this still be the architecture chosen from scratch against the current\n   Runx catalog?\n7. Can a cold agent actually invoke every public method from inspection alone,\n   using local or remote evidence appropriate to the job, without source-diving,\n   guessed JSON, or an unnecessary provider dependency?\n\nIf any answer is no, the package is not ready even if its schemas, tests, and\nbudgets pass. Fix the capability design or return `no_skill`\u002F`needs_core`;\ndo not compensate with more fixtures, prose padding, or a bespoke wrapper.\n\n## Outputs\n\n- `architecture_decision`: the agent's closed ownership and execution design.\n- `architecture_plan`: that decision bound by native code to the exact\n  inspection digest. Every method returns it so the rationale, limits and\n  recovery survive applied, unchanged and stopped outcomes. Design stops here.\n- `change_draft`: package bytes and intent authored against the admitted plan;\n  it contains no model-authored integrity values.\n- `change_bundle`: the native, digest-bound transaction candidate produced from\n  the plan and draft.\n- `apply_result`: unchanged, needs-core, or validated-and-applied, with exact\n  changed\u002Fdeleted paths, package digest, focused proof, and line\u002Ffile deltas.\n  For a shared\u002Fpublic package, this is the exact local half of the registry\n  publication handoff; registry publish and readback evidence remain separate.\n\n## Inputs\n\n- `objective` (required): capability or improvement to deliver.\n- `package_name` (optional, build): explicit identity for a newly requested\n  package; use it as `SKILL.md`'s `name` even when the target directory has a\n  different basename.\n- `repo_root` (optional): workspace root; defaults to the caller workspace.\n- `target_dir` (required for `build`, `improve`, and `test`): repo-relative package directory.\n- `project_context` (optional): product, repository, and operator constraints.\n- `receipt_id`, `receipt_summary`, `test_output`, `failure_packet` (improve):\n  failure evidence, including the stable packet from `diagnose-skill-run`.\n  `test_output` carries a test run's sanitized output.\n\n## Agent task: skill-build-architecture\n\nCall `turn_complete` with exactly one root field,\n`{\"architecture_decision\": \u003Cdecision>}`. The inner decision uses\n`runx.skill.architecture_decision.v1`. Choose `build`, `extend_existing`,\n`no_change`, `no_skill`, or `needs_core`. Explain the operator value and the manual's\nknowledge contract: purpose, required evidence, decision logic, stop conditions,\nand recovery. Assign every required behavior to exactly one real execution lane\n(`manual`, `workflow`, `agent`, `native_capability`, `domain_module`,\n`process`, or `operation`). A native lane names a selected capability;\na domain module supplies a specific justification. Record inspected, selected,\nand genuinely missing native capabilities; use `needs_core` only for a runtime\nor security invariant or a primitive with two independent existing consumers.\nReturn the architecture decision once the evidence is sufficient. The workflow's\nnative `plan` step validates it and binds it to the inspected package digest.\nFor every `native_capability` behavior, `reuses` must be exactly one entry from\n`native_reuse.selected_capabilities`; split a behavior when it needs more than\none capability.\nWhen `package_name` is supplied, treat it as the requested package identity;\ndo not silently rename the package from its target path.\n\nInspect an existing target in one bounded pass. Use the target file list and\nrepository root in `authoring_context` to read the relevant files together with\n`fs.read_bundle`; do not crawl them one at a time or reread files already\npresent in context. Once the evidence is sufficient, return the declared\narchitecture decision instead of spending the remaining round budget on\noptional discovery.\n\nFor every `build` or `extend_existing` decision, make the identity decision\nexplicit. Record the current and proposed name, choose `keep`, `rename`,\n`create`, or `internalize`, state whether the package is public or internal,\nand explain why that name is the operation a cold agent will reach for. A\nrename or internalization is a clean cutover: identify every consumer and do\nnot plan aliases or duplicate discovery rows. Internal packages have no public\ndirect-use contract.\n\nFor every public package, declare both operator contexts before authoring:\n\n- `direct_use` names realistic natural-language trigger and non-trigger\n  requests, the default outcome, routine work the host should do normally, the\n  exact boundary where Runx adds value, the terminal result, one actionable\n  blocker behavior, and the context-preserving native escape path.\n- `chain_use` names accepted typed inputs, the reusable result, prior evidence\n  and effects that survive the boundary, and work that must not repeat.\n\nThe proof plan must contain distinct `trigger_eval`, `direct_use_eval`, and\n`chain_use_eval` entries for a public package. They are different claims:\nintuitive selection, useful direct completion, and evidence-preserving\ncomposition. A generic test or sealed receipt may supplement them but cannot\nreplace them. The trigger eval's queries include requests for at least two real\nnearby public skills, which must not trigger this one; the direct-use eval runs\nthe actual default; and the chain-use eval names both reused prior evidence and\nwork that must not repeat. The final candidate proves the direct-use eval with a\nsealed test of its default method, carries both evals in its `evals\u002Fevals.json`,\nand carries the trigger eval's queries in its `eval_queries.json`.\n\nDeclare effects, authority scopes, approval meaning, provider boundary, skill\nroutes, resource ceilings, preservation obligations, exact intended deletions,\nand a proof plan. For every skill route, state the domain result being handed\noff, the canonical capability or authority owner, whether a connector is\nrequired or operator-selected, the context that must survive the boundary, and\nthe truthful effect state before and after that route. Cover every material\noutcome independently. Reject an unnecessary provider pin even when it appears\nin prior work or the request's implementation sketch. Apply the cold-operator\ntrial to the proposed public result and chain before making the architecture choice.\nClassify every potentially large value as control input,\nimmutable artifact, durable cursor\u002Fprojection, or bounded domain result, and\nname its production owner plus small\u002Flarge proof. Reads, drafts, local\nvalidation, reversible package writes, and routine grant-scoped provider\nmutations do not gain ceremonial human approval. Add an exact resumable gate\nonly when the action genuinely requires a separate human decision. Assign each\nsuch action exactly one approval owner; never pair\nan explicit workflow approval with an effect-owned approval for the same action.\nBudgets are operational ceilings, not guesses to be widened after validation.\nDo not write files, calculate a digest, invent provider proof, or solve an\nownership gap with package code.\n\nFor a shared\u002Fpublic package, also preserve its intended registry identity and\nstate whether registry availability is in scope. If it is, the plan ends local\nauthoring at the exact applied package and names the canonical registry\noperator as the separate publish-and-readback boundary. Do not plan embedded\nregistry HTTP, credentials, auto-publish, or an adjacent publisher\u002Fname.\n\nFor `improve`, diagnose only from supplied receipt or test evidence and\ndistinguish contract, implementation, fixture, environment, and operator\nfailures. When evidence cannot justify a change, choose `no_change`. Do not invent a\npackage identity, direct-use contract or chain-use contract for that stop. The\nworkflow binds the authoring mode and derives an empty change bundle natively;\nthere is no author turn for a terminal decision. Preserve the missing evidence\nand next step in the decision. For `test`, plan test-only changes, new\n`tests\u002F\u003Cname>.yaml` and the `fixtures\u002F` data they read, and preserve all\nproduction behavior.\n\n## Agent task: skill-build-author\n\nReceive the exact native `architecture_plan` and return one `change_draft` using\n`runx.skill.change_draft.v1`. Never copy or calculate `base_digest`,\n`plan_digest`, architecture, or any other integrity field; native bind owns\nthose values. Choose `write`, `no_skill`, `no_change`, or `needs_core` in a way\nthat agrees with the plan. A non-write draft has empty `writes` and `deletes`.\nA write contains the smallest complete target-relative file set, the exact\nplanned deletions, a truthful summary and non-goals, and the outputs the package\nwill actually produce.\n\nWhen source bytes are needed, read the planned target files together with\n`fs.read_bundle`. Do not spend separate rounds reopening files already supplied\nby `authoring_context` or the architecture plan; reserve the final round for the\ncomplete `change_draft`.\n\nThe package's name is its `SKILL.md` frontmatter `name`; `run.yaml` has no\nname of its own. When `package_name` is supplied, use it there. The directory\nis a placement decision, not a second source of package identity.\n\nWrite `run.yaml` in the shape the parser reads, which refuses every key it\ndoesn't. Its root says `version`; `minimum_runx`, required, the oldest runx\nthat can run the package, `0.12.0` today; `catalog`; `shared_inputs`;\n`connectors`, only for a pin or a connector chosen per run; `default_method`,\nonly when there is more than one method; and `methods`. A method has its\n`description`, `inputs`, `outputs`, `examples` and `steps`, and may add\n`input_constraints`, `result_from`, `effects`, `reach` and `offer`. A method is\nalways its steps, and one agent turn is one `agent` step. Every step has an\n`id` and exactly one kind: `agent`, `tool`, `operation`, `ask` or `skill`, and\nmay add `when`, `guard`, `inputs`, `outputs`, `result_as`, `effects` and\n`reach`. An `agent` step names its task, and `SKILL.md` must hold that task's\n`## Agent task: \u003Cname>` section with its instructions; its `calls` lists what\nthe turn may call (`tools`, `operations` as `\u003Cconnector>\u002F\u003Coperation>`, `skills`\nas `\u003Cref>#\u003Cmethod>`, `load`, `ask: true`) and its `context.skills` the\nskills it reads first. A `skill` step names its target as `\u003Cref>#\u003Cmethod>`,\nwhere `.#\u003Cmethod>` is this package's own method. Steps read `$input`,\n`$steps.\u003Cid>`, and `$run.act` inside an `act`.\n\nA `catalog` block takes exact values, and native apply refuses any other:\n`visibility` public or internal, `category` code, research, ops, growth,\ncontent, data, security, authoring or payments, and `tags`.\n\nPut static operating knowledge and task-specific agent rules in `SKILL.md` and\nexecution structure in `run.yaml`. Compose selected native capabilities and\ndeclared skill routes first. Ensure the manual explains what each route is for,\nwhat context crosses it, and what remains unperformed; do not substitute an\nadapter name for that explanation. Add a domain module only when the architecture\nadmits it, and keep the module inside its stated computation boundary. A module\nruns in one worker process, so its architecture budgets `max_process_spawns` of\nat least 1. Include\nfocused proof for a useful path and a stop, refusal, or regression path, each a\n`tests\u002F\u003Cname>.yaml`. In `test` mode, write or delete only tests and the\n`fixtures\u002F` data they read. Preserve\nuseful behavior and delete superseded implementation in the same draft. Never\nadd auxiliary docs, generated state, credentials, placeholder modules,\nduplicated generic Runx mechanics, or an undeclared provider boundary.\nRegistry publication code, credentials, and live-state claims are likewise\noutside the authored package; preserve only the canonical package identity\nneeded by the later registry operator.\n",{"name":5,"description":7},"main","14cf84bcc80d7abf0008335efac4d92aacfa682e","skills\u002Fskill-build",108,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx","https:\u002F\u002Frunx.ai","https:\u002F\u002Fgithub.com\u002Frunxhq","the governed runtime for agent skills","2026-11-14 13:45:54",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add runxhq\u002Frunx --skill skill-build",{"tool":59,"command":60},"bunx","bunx skills add runxhq\u002Frunx --skill skill-build",{"tool":62,"command":63},"pnpm","pnpm dlx skills add runxhq\u002Frunx --skill skill-build","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002FSKILL.md",true,[67,73,77,81,87,91,95,99,103,107,111,115,119,123,127],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"eval_queries.json","REFERENCE","参考文档",2230,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Feval_queries.json",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"evals\u002Fevals.json",792,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Fevals\u002Fevals.json",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"evals\u002Ffiles\u002Fweak-failure-diagnosis.json",536,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Fevals\u002Ffiles\u002Fweak-failure-diagnosis.json",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"mark.svg","ASSET","资产文件",549,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Fmark.svg",{"path":88,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fcatalog.md",115,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Freferences\u002Fcatalog.md",{"path":92,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fmark-license.md",3208,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Freferences\u002Fmark-license.md",{"path":96,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":97,"sourceHtmlUrl":98},"run.yaml",14965,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Frun.yaml",{"path":100,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":101,"sourceHtmlUrl":102},"tests\u002Fbuild-needs-core.yaml",2364,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Ftests\u002Fbuild-needs-core.yaml",{"path":104,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":105,"sourceHtmlUrl":106},"tests\u002Fbuild-no-skill-skips-write.yaml",2111,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Ftests\u002Fbuild-no-skill-skips-write.yaml",{"path":108,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":109,"sourceHtmlUrl":110},"tests\u002Fbuild-thin-skill.yaml",6863,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Ftests\u002Fbuild-thin-skill.yaml",{"path":112,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":113,"sourceHtmlUrl":114},"tests\u002Fcomposes-in-workflow.yaml",4124,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Ftests\u002Fcomposes-in-workflow.yaml",{"path":116,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":117,"sourceHtmlUrl":118},"tests\u002Fno-change-skips-write.yaml",3038,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Ftests\u002Fno-change-skips-write.yaml",{"path":120,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":121,"sourceHtmlUrl":122},"tests\u002Fskill-build-designs-bounded-package.yaml",4255,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Ftests\u002Fskill-build-designs-bounded-package.yaml",{"path":124,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":125,"sourceHtmlUrl":126},"tests\u002Fskill-build-needs-objective.yaml",86,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Ftests\u002Fskill-build-needs-objective.yaml",{"path":128,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":129,"sourceHtmlUrl":130},"tests\u002Ftest-no-change-skips-write.yaml",4438,"https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fskill-build\u002Ftests\u002Ftest-no-change-skips-write.yaml",[132,140,147,154,161,168],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":139},"01M7BA1VWAE6PDGBKJW1QNQ2CB","webhook-handoff-composed","A test fixture that composes webhook-handoff with the packages it calls.","https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fwebhook-handoff\u002Ffixtures\u002Fcomposed\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":139},"01M7BA1PHMG6X9HY95H43YDJPP","web-search-composed","A test fixture that composes web-search with the packages it calls.","https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fweb-search\u002Ffixtures\u002Fcomposed\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":139},"01M7BA1HAEXQ5QBDWWRNNJ95GR","web-fetch-composed","A test fixture that composes web-fetch with the packages it calls.","https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fweb-fetch\u002Ffixtures\u002Fcomposed\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":139},"01M7BA1C58R6636P2G4KG194QK","triage-and-advisory","A test fixture that composes vuln-triage with the packages it calls.","https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Fvuln-triage\u002Ffixtures\u002Fcomposed\u002FSKILL.md",[],[],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":139},"01M7BA14QSMNX9SKTS3XNNFCG1","twitter-failure-continuation","A test fixture that composes twitter with the packages it calls.","https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Ftwitter\u002Ffixtures\u002Ffailure-continuation\u002FSKILL.md",[],[],{"skillNo":169,"name":170,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":139},"01M7BA11SV3AYMP3NNCM7E2FWP","twitter-saved-continuation","https:\u002F\u002Fgithub.com\u002Frunxhq\u002Frunx\u002Fblob\u002Fmain\u002Fskills\u002Ftwitter\u002Ffixtures\u002Fcontinuation\u002FSKILL.md",[],[]]