/myco:myco-server-debuggingfrom myco
Diagnoses Myco server issues by distinguishing terminal refusals (caller's fault, named code) from retryable failures (server's fault, 503). Guides log analysis and code interpretation for deployment debugging.
Ships in myco. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
What SKILL.md sets; muted values are Claude Code's defaults
Use when a deployment refuses a call, when sessions or events are not landing, when a scheduled job appears not to run, when a member cannot authenticate, or when someone reports that "the server is broken" without saying what it did. Also when reading server logs and needing to know what a code means.
Three short reads, in order
npx claudepluginhub goondocks-co/myco --plugin mycoThe server splits failures in two, and answers them differently on purpose:
| Terminal refusal | Server-side failure | |
|---|---|---|
| Status | 200, in the route's own refusal shape | 503, with a retry-after |
| Carries | a reason and a named code | the code unavailable |
| Means | the caller's request is wrong | the server or its storage is |
| Retry | never — nothing the caller sends differs next time | yes, and the client will |
Establish which one you are looking at before anything else. Debugging a terminal refusal as though it were an outage wastes the afternoon, and the reverse ships a bug.
The vocabulary of refusal codes is a fixed list. A caller's own text never becomes one, so a code you read in a log is always one the server chose.
Every telemetry event is a single JSON line on standard output. There is no second sink, no per-target emitter, and no structured pipeline — which makes the logs greppable and means the same line appears on both front doors.
wrangler tail is the operator's live view.Every event has a kind. Refusals carry reason. Start by grepping for the kind, not for prose.
Events may carry classifiers, server-issued identifiers, the ids a member named its project and sessions by, or digests of caller identity. They never carry a request body, a path, or an address — a gate scans every emit call to keep that true. So if you are hoping the log will show you the payload, it will not, and that is deliberate.
Grouped by what they tell you to do:
The caller is missing something the transport requires. A request with no project named, a credential with no machine identity, an unsupported protocol number. These are the three a client that is not a properly installed member hits first, and they fire before the body is read.
The caller is asking for something outside its surface. A run credential on a route that does not serve runs. A grant on a tool that is not on its allowlist. A bound principal naming a project other than its own. All terminal: the surface is not going to change on a retry.
The invitation or credential is spent. Unknown, used, expired, revoked, or one that names no project. Each is distinct on purpose, because the fix differs: a fresh invite, versus an administrator binding a project first.
Two writers disagree about a row. A conflict on an event id or a projection, or a transcript row whose stored content differs from what arrived. These are not errors in the usual sense — the stored version wins and the pass continues, and the event exists so a silent divergence becomes a visible one. If you are chasing "my write did not take", this is the family to grep.
Something was deleted and stayed deleted. A tombstoned session refuses re-ingest. That is the contract, not a bug: a person deleted it and live capture must not repopulate it.
The deployment has exactly one scheduler — the wake tick — and it is idempotent. Work through it in this order:
Follow the refusal, not the symptom. The pipeline refuses in a fixed order, and each stage names itself: source identity, credential shape, authentication, protocol window, route kind, machine identity, project header, body, then project resolution. The first refusal in that order is the one to fix; anything later is invisible until it clears.
One asymmetry worth knowing: project resolution runs last, immediately before the handler, because it is the first step that can write. A deployment at its project ceiling answers a retryable failure rather than a terminal refusal — nothing the caller sends differs next time, so telling it the request was wrong would be a lie that costs the member its spooled event permanently.
The health route is public and takes no credential. It is the right probe for "is the deployment reachable from here", and it is what a client checks before serving its first request.
If health answers and everything else refuses, the problem is credentials or headers, not reachability. That single split saves more time than any other check here.
9 skills in this plugin
/mycoMyco is this project's memory — the sessions that happened, the durable observations (spores) drawn from them, and the plans. It holds why the code is the way it is, which the code itself cannot show. Use it before a design decision, when debugging something non-obvious, when a structure looks arbitrary, when picking up work someone else started, and after learning something worth keeping./myco-handoffCarry a session's working intention to another session or another agent. PREPARE compresses why we are here, what we are doing, the gotchas, the dead ends and the decisions already closed into a digest of at most 1500 tokens, saved on a Myco plan. RECEIVE takes that plan id, rehydrates the context, marks the referenced plans in progress, loads the suggested skills and resumes the work./myco-okfCreate or maintain an OKF-conformant project wiki — a portable, git-committed markdown knowledge base that lives in the repository rather than in Myco. Turns what Myco holds, the spores and sessions and plans, into human-readable documentation that ships with the code. Any agent can run the procedure; it needs nothing beyond the ordinary Myco tools./myco-outcome-tasksAuthor and debug the tasks Myco's own agent runs. A task is one prompt with declared expected evidence, dispatched to a runner: no phases, no turn budget, no orchestrator. It declares the gate that admits it, the tools its run may call, its schedule if it has one, and how the server decides afterwards that it actually did the work. Getting those four declarations consistent is the whole job./myco-rulesKeep AGENTS.md minimal, durable and canonical across every agent that reads it. Adds, trims and audits project rules without letting the rules file decay into a dump of whatever was true last week./myco-server-provisioningProvision, update, roll back and destroy the Cloudflare Deployment — the Worker front door — with `myco server <verb> --target cloudflare`. One verb, from artifacts the binary carries: no source checkout on the machine that deploys, and no container runtime anywhere.Other plugins' skills for the same job