Repository navigation
Description
Problem or use case
Provide an explicit hosted-assisted mode in the existing urlcode-authoring skill so an agent uses the revision-matched authoring kit from urlcode.ai before broad package/docs discovery or writing YAML.
In the reviewed test6 captures, none of six URLCode attempts called the hosted service; one invoked a local urlcode-authoring skill but still made no hosted call. All six initially queried the unscoped npm package. This establishes a workflow/discovery gap, not evidence that hosted assistance improves performance. The current checkout's .claude/skills/urlcode-authoring/SKILL.md leads with local get_context / CLI context and describes URLCode AI as optional; it does not define a task-plan-first hosted-assisted path. Do not infer that the current skill bytes match the historical capture.
Proposed behavior and alternatives
Extend the existing skill rather than creating a competing copy of runtime guidance:
- Keep local-only authoring supported. Explicit invocation of hosted-assisted mode should call urlcode_task_plan before implementation, using the task requirements and respecting the installed runtime version. Report a version mismatch rather than silently upgrading or mixing references.
- Prefer a registered hosted MCP connection. Document setup separately: a skill supplies workflow instructions, not automatic MCP registration. Distinguish the hosted server from local project-aware MCP tools and avoid overwriting existing client configuration.
- When MCP is unavailable and network/tool access permits, document a bounded HTTP fallback to https://api.urlcode.ai/mcp with tested protocol requests, response parsing, error handling and timeouts. Clearly report when hosted guidance was unavailable; do not claim it was used.
- Follow the returned scoped package installation guidance and focused recipes/schema, prefer declarative features, and retrieve only missing material.
- Use hosted YAML validation as advisory feedback, then run project-local validation and behavioral fixtures. Preserve independent acceptance tests; generated fixtures and schema validation alone do not establish task correctness.
- Keep hosted access explicit and send only the material needed for guidance; never upload credentials or entire private projects. Preserve self-hosted/local-only operation and existing project capabilities.
- Maintain public setup/workflow documentation in this repository and reuse runtime-owned skill exports; coordinate any service-specific work with urlcode-ai.
Acceptance evidence
- A connected-agent smoke test records an actual hosted urlcode_task_plan call before YAML authoring, follows its version-matched guidance, and runs local validation/tests.
- A separate test exercises HTTP fallback without registered MCP; unavailable service/network and runtime mismatch produce clear bounded outcomes.
- Local-only mode remains functional and does not require the hosted service.
- Assisted benchmark captures record skill provenance, MCP configuration and actual calls, and remain separately labeled from the unaided baseline. Measure improvements rather than assuming them.
Related work
- Hosted authoring kit: https://github.com/jimhoyd-com/urlcode-ai/issues/85
- Hosted-to-local authoring contract: https://github.com/jimhoyd-com/urlcode-ai/issues/77
- Assisted benchmark integration and test6 evidence: https://github.com/jimhoyd-com/urlcode-benchmarks/issues/52
- Historical hosted setup cleanup: [Bug]: hosted AI setup still requires retired tokens and advertises removed LLM tools #756
This request concerns the client skill's activation and execution workflow, not a new runtime extension or hosted generation service.
Activity
jimhoyd commentedon Sep 27, 2026
Follow-up local simulation evidence (2026-09-27), relevant to the delivery mechanism for this workflow. This does not test the hosted service or establish a benefit from urlcode.ai.
Used Claude Sonnet 5 / medium with preinstalled URLCode 0.6.4 and a four-minute ceiling. The task was a three-requirement subset of the static-site benchmark: a home response, a permanent redirect, and a plain-text asset response. Six fresh model contexts compared an initialized empty site plus explicit workspace/project locations against the same setup with runtime-generated
respond,redirect, andstaticcapability JSON supplied before the first turn. The packet also included short declarative-first/verification guidance. Order: starter/packet, packet/starter, starter/packet.Independent HTTP checks passed on all six outputs. The packet trial that wrote request fixtures also passed independent npm test (3 cases). CLI-reported median cost was $0.1805 vs $0.1750; costs are not independently reconciled billing. The packet's early speed advantage did not persist in the medians.
Earlier single-run probes loaded the full shipped authoring skill and a shorter contract-first skill. The full skill did not induce context/schema retrieval; the short one did, but created a nested site with no workspace-root start script. Those probes are exploratory and should not be pooled with the six-run comparison.
Direction suggested by this evidence: the assisted workflow should establish a deterministic site/project location and deliver a small revision-matched contract packet before authoring, with explicit path roots and an independently executed completion check. A skill can invoke this workflow, but skill availability or prose instructions alone are not evidence the workflow happened. Preserve a local-only route using the existing runtime capabilities. This supports testing the delivery of an authoring kit, not claiming a speed win or requiring a hosted dependency.
Limits: tiny single task/model, only three runs per new condition, shared host/cache without enforced filesystem/process isolation, manually selected handlers, and preparation outside measured model time. The task permits different response implementations; one control used respond for the asset path. Most runs used curl rather than persisted fixtures. Raw transcripts/generated apps remain local and are not attached. No benchmark or runtime repository code was modified. Larger-task generalization and automated handler selection remain unverified.
jimhoyd commentedon Sep 27, 2026
Decision (owner, 2026-09-27): deferred. The local bootstrap in #807 comes first, and the hosted-assisted skill mode waits for the hosted authoring kit (jimhoyd-com/urlcode-ai#85). The issue stays open.
Generated by Claude Code
jimhoyd commentedon Sep 27, 2026
Decision (owner, 2026-09-27): the blockers have cleared (jimhoyd-com/urlcode-ai#85 closed, and #807 merged in #813), so this is being implemented now in this repository. It adds an opt-in hosted-assisted mode to the urlcode-authoring skill. Local-only stays the default. Tests run against a local mock only; there are no calls to the live service.
Generated by Claude Code
Fixture cookie jar, init --adopt, hosted-assisted skill mode, headles…
Audit covers extension asset mounts via a per-mount declaration, so u…