/yui-dev:yui-wake-characterfrom yui-dev
Sends a signal to a specific YUI character preset via HTTP POST, useful for backend agents, schedulers, webhooks, or shell scripts that need to wake a non-default character or debug signal routing.
Ships in yui-dev. 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.
YUI shows one character per preset. The desktop can hold several pet windows at once,
each bound to a preset. All of them share one loopback ingress on one port. The URL path
chooses the character: POST /signals wakes the character of the main window, and
POST /presets/<id>/signals wakes the character bound to preset <id>. The request body
is the same signal envelope in both cases; read docs/reference/signals-ingress.md in the
YUI repository for its fields and the delivery rules. Outside a checkout:
https://raw.githubusercontent.com/yw0nam/YUI/main/docs/reference/signals-ingress.md
The ingress listens only while the user has turned on External signals in YUI's Proactive tab, on the port shown there (default 8770), and a change of that switch or port takes effect after YUI restarts.
Ask the user to copy it from YUI: Settings → preset list (the ⋯ button beside the preset
name) → the copy button on the character's row. The URL has the form
http://127.0.0.1:<port>/presets/<id>/signals. The default character's URL is
http://127.0.0.1:<port>/signals. Store the URL in the producer's configuration
(for example YUI_SIGNALS_URL); never derive <id> from the preset's name, because the
id is an opaque key and the name can change.
Done when: the producer holds one complete URL that starts with http://127.0.0.1:.
POST a JSON body with a signals array and an envelope object to the URL, with
Content-Type: application/json:
curl -s -o /dev/null -w '%{http_code}\n' -X POST -H 'Content-Type: application/json' \
-d '{"signals":[{"kind":"workflow","status":"complete"}],
"envelope":{"source":"my-producer","event_type":"workflow_done",
"delivery":"urgent","event_id":"run-1","occurred_at":1787449000000}}' \
"$YUI_SIGNALS_URL"
Pick delivery by how soon the character should speak: urgent speaks now if the user is
present and the character is idle, and otherwise waits for their return or the end of the
current turn; batched waits for the next five-minute batch. The character decides what
to say; the signal carries facts, not a script. The producer guide covers the delivery
classes, the label, and the event id:
https://github.com/yw0nam/YUI/blob/main/docs/guide/signals-producer.md
Done when: the response code is read.
| Code | Meaning | What to do |
|---|---|---|
| 200 | Accepted for the character | Nothing. The character speaks under the delivery rules. |
| 404 | No preset has this id, or the path after the id is not a known route | Ask the user for the URL again (step 1). |
| 503 | The preset exists but its window is closed | Ask the user to turn the character on (settings, Together → Characters, "On the desktop"), then send again. |
| 400 | The body is not a valid envelope, one signal item is over 16 KiB, the body is over 64 KiB, or a bare path without /presets/<id>/ is unknown | Fix the body against the envelope table and the limits in signals-ingress.md. |
| 405 | Wrong method | Use POST. |
| 421 or 403 | The Host is missing or names another host, the Origin names another host, or the request did not come from this machine | Send from the same machine as YUI, or through an SSH tunnel to 127.0.0.1. |
| connection refused | The ingress is off or YUI is not running | Ask the user to turn on External signals and restart YUI. |
Done when: the code is 200, or the user has been told the one action that the table names.
/presets/<id>/ wakes the main window's
character; that is correct only when the user wants the default character.urgent signal with event_id set to a fresh value and read the code
with the table above.docs/reference/signals-ingress.md
(https://raw.githubusercontent.com/yw0nam/YUI/main/docs/reference/signals-ingress.md)./presets/<id>/avatar/state, /presets/<id>/avatar/perch-targets,
/presets/<id>/avatar/command follow the same prefix rule and move that character's body./presets/<id>/relations follows the same prefix rule and reads or replaces that character's
relation toward the user and the other characters.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub yw0nam/yui --plugin yui-dev2 skills in this plugin
Other plugins' skills for the same job