/chronoai-service-manual-bundle:aevatar-service-publisherfrom chronoai-service-manual-bundle
Publishes Aevatar members, teams, or workflows as invocable services via NyxID, covering registration, verification, lifecycle management, and REST API invocation.
Ships in chronoai-service-manual-bundle. 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.
You turn a member / team / workflow into an invocable service and verify whether it is
registered with NyxID as a brokered connector. Build the artifact first
(aevatar-team-builder). Then pick the path that matches what you have.
# Drive aevatar THROUGH the NyxID broker: it injects your scope_id claim AND auto-refreshes your
# token. A raw curl to the aevatar backend with ~/.nyxid/access_token resolves NO scope
# (scopeResolved:false) and the stored token expires — it is not a usable path.
# Prerequisite once: the `aevatar` service must be connected — `nyxid service add aevatar`.
aev() { nyxid proxy request aevatar "$@"; } # aev "<path>" [-m POST|PUT|DELETE] [-d '<json>'] [--stream]
scopeId=$(aev "api/studio/context" | jq -r .scopeId)
jqis only for convenience — any JSON reader works (replace| jq -r .scopeIdwith| python3 -c 'import sys,json;print(json.load(sys.stdin)["scopeId"])'). All calls go through the NyxID broker (nyxid proxy request aevatar), which injects your scope_id claim and auto-refreshes the token, so you never touch the aevatar backend or a stored token directly. On the streaming:streaminvoke, the SSEdata:frames interleave lifecycle frames (stepStarted/stepFinished/runFinished/stateSnapshot/usage, keyed by a top-level field) with raw observation frames (custom.name: aevatar.raw.observed) that carry the step output text — there is no flattypefield, so parse for those keys, notobj.type.
Registration to NyxID is automatic but host-gated. When a service deployment becomes active, the platform reconciles it to NyxID — only if the host has external exposure enabled and the service is in scope of that policy. You can drive publish + activation and read the result, but you cannot turn host exposure on from the client. So always verify (below) and report honestly: if no NyxID slug appears, the service is still usable in-scope, it just is not a NyxID-brokered connector.
A bound member already has a published service — binding it was the publish. The
published-service endpoint only returns ids; the real detail (endpoints, readiness,
NyxID exposure) lives in the scope services list:
# minimal: publishedServiceId + key
aev "api/scopes/$scopeId/members/$memberId/published-service" | jq .
# full: identity, endpoints, serving revision, invokeReady, externalExposure
aev "api/scopes/$scopeId/services" \
| jq '.[] | select(.serviceId=="member-'"$memberId"'")
| {serviceId, defaultServingRevisionId, invokeReady, invokeReadinessStatus,
endpoints: [.endpoints[] | {endpointId, requestTypeUrl}], externalExposure}'
A workflow member exposes endpoint chat (type.googleapis.com/aevatar.ai.ChatRequestEvent)
and reports invokeReady:true once serving. Then jump to Verify and Invoke.
The fastest way to expose a single workflow/script/gagent as a service for your scope:
aev "api/scopes/$scopeId/binding" -m PUT -d "{
\"implementationKind\": \"workflow\",
\"displayName\": \"My Service\",
\"serviceId\": \"my-service\",
\"workflow\": { \"workflowId\": \"my-workflow\", \"workflowYamls\": [ $(jq -Rs . < workflow.yaml) ] }
}"
UpsertScopeBindingHttpRequest: implementationKind (required, workflow|script|gagent)
plus the matching typed block (workflow / script / gAgent), displayName?,
serviceId?, appId?, revisionId?. List your scope services and read exposure:
aev "api/scopes/$scopeId/services" | jq '.[] | {serviceId, displayName, externalExposure}'
For a standalone, independently versioned service with staged rollout. Identity is the
4-tuple tenantId / appId / namespace / serviceId (reuse it on every call).
# 1. Create the service shell + its endpoint contract(s)
aev "api/services" -m POST -d '{
"tenantId":"<t>","appId":"<a>","namespace":"<ns>","serviceId":"my-service",
"displayName":"My Service",
"endpoints":[{"endpointId":"invoke","displayName":"Invoke","kind":"unary",
"requestTypeUrl":"<type.googleapis.com/...>","responseTypeUrl":"<...>","description":"..."}]
}'
# 2. Add an implementation revision (one of static / scripting / workflow)
aev "api/services/my-service/revisions" -m POST -d '{
"tenantId":"<t>","appId":"<a>","namespace":"<ns>","revisionId":"r1",
"implementationKind":"workflow",
"workflow":{"workflowName":"my-workflow","workflowYaml":"<yaml>","definitionActorId":null,"inlineWorkflowYamls":null}
}'
# 3. Prepare → publish → deploy
aev "api/services/my-service/revisions/r1:prepare" -m POST
aev "api/services/my-service/revisions/r1:publish" -m POST
aev "api/services/my-service:deploy" -m POST -d '{ ... serving target ... }'
Optional staged rollout: POST …/rollouts then :advance / :pause / :resume /
:rollback; inspect GET …/serving and GET …/traffic. Bindings (connector + secret)
and access policies: POST …/bindings, POST …/policies. The service self-describes at
GET /api/services/{serviceId}/openapi.json.
# Account-level service + its NyxID exposure block
aev "api/services/my-service" | jq '{serviceId, externalExposure}'
# Its own OpenAPI (proves it is serving)
aev "api/services/my-service/openapi.json" | jq '.info, (.paths|keys)'
The externalExposure block is the NyxID-registration truth:
nyxidSlug — the brokered connector slug (empty ⇒ not registered).status — registration status; lastError — why it failed, if it did.desiredSpecHash vs registeredSpecHash — equal ⇒ NyxID is up to date with the current
contract; unequal ⇒ a re-registration is pending/needed.The endpoint contract tells you the path, readiness, and a ready-to-run curl example:
aev "api/scopes/$scopeId/members/$memberId/endpoints/chat/contract" \
| jq '{invokePath, canInvoke:.invocationReadiness.canInvoke, curlExample}'
The reliable smoke test is the streaming path (…/invoke/{endpointId}:stream, SSE),
which accepts the {"prompt":"…"} shorthand and returns workflow-run frames ending in a
runFinished event with the result:
aev "api/scopes/$scopeId/members/$memberId/invoke/chat:stream" -m POST --stream \
-d '{"prompt":"smoke test"}'
# look for: data: {... "runFinished": { "result": { "output": "..." } } }
The non-streaming …/invoke/{endpointId} expects the full typed envelope (it rejects a
bare {prompt} with 400 "payloadTypeUrl is required") — prefer :stream for a quick check.
Teams and account-level services invoke the same way:
POST /api/scopes/{scopeId}/teams/{teamId}/invoke/{endpointId}[:stream],
POST /api/scopes/{scopeId}/services/{serviceId}/invoke/{endpointId}[:stream].
Watch runs: GET /api/scopes/{scopeId}/services/{serviceId}/runs and …/runs/{runId}
(and :resume / :stop / :signal). For a visual timeline use the observatory:
GET /api/workflow/observatory/runs.
aevatar-scheduler — it needs the service identity
(tenantId/appId/namespace/serviceId), an endpointId, and the payload type you found
in the contract above.aevatar-platform-map.If you cannot complete a step server-side after a real attempt, hand the original request back to your caller rather than fabricating — see the fallback skill in this family.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
aevatar, nyxid, service-publishing, service-invocation, api-proxy
12 skills in this plugin
/aevatar-feasibility-advisorDecide — honestly — whether a thing the user wants to build on Aevatar is possible, what its prerequisites are, or why it cannot be done, BEFORE anyone starts building. Use this first whenever a user describes a goal rather than a concrete artifact — "can aevatar do X", "I want a bot that…", "build me something that posts to Twitter / reads my GitHub / replies on Telegram", "is it possible to…", "automate … every day". It teaches the one hard premise (every third-party capability is brokered by NyxID), the two distinct surfaces (outbound connector vs inbound channel), how to check what is actually connectable, the prerequisite for each capability class, what is host-gated (and so not self-serve), and what is genuinely impossible without new NyxID/Aevatar platform work — so you can negotiate scope and give the user a straight answer plus next steps instead of over-promising. It scopes; it does not build (hand off to workflow-authoring / team-builder / service-publisher / scheduler)./aevatar-platform-mapEntry point, panorama, and router for the entire Aevatar skill family — load this FIRST whenever someone wants to build, run, publish, schedule, or operate anything on Aevatar ("create an agent team", "make a workflow / member", "publish or bind a service", "register it with NyxID", "set up a recurring / cron run", "invoke my service"), wants to know whether something is even possible ("can Aevatar do X?", "能不能用 aevatar 实现"), or just wants to know what Aevatar can do. It teaches the object model (scope → team → member[workflow|script|gagent] → service → schedule), how to authenticate as a NyxID-bearer REST client, how to resolve your scope, and the two caller modes (client REST vs in-session server-side tools). It does not do the work itself — it routes you to the right companion skill (feasibility-advisor, workflow-authoring, team-builder, service-publisher, scheduler, plus diagnostics probes and the safety-net fallback), held together by the shared `aevatar` tag./aevatar-schedulerCreate and manage cron schedules that fire an Aevatar service on a recurring basis, authenticated as the scope owner via NyxID — over the REST API. Use when a user wants to "schedule", "run on a cron", "set up a recurring run", "run every day/hour/Monday", "automate this service on a timer", "preview a cron", "pause/resume/disable a schedule", or "run it now". It builds the schedule against a published service (identity + endpoint + payload + serving revision), uses scope-owner NyxID auth (which requires the owner's NyxID broker binding), and covers preview, enable/disable, run-now, update, and delete. Publish the service first with the service-publisher skill./aevatar-team-builderBuild an Aevatar agent team and its members over the REST API. Use when a user wants to "create a team", "add a member", "make a workflow member / script member / gagent member", "set the team's entry point", or "assemble agents into a team". It creates the team, creates members whose implementation is a workflow (most common), a script, or a hosted gagent, binds each member's concrete implementation (the workflow YAML is attached here), waits for the async binding to succeed, and sets the team entry member. Author the workflow YAML first with the workflow-authoring skill; publish the result as a service with the service-publisher skill./aevatar-triageUse AFTER something goes wrong while using Aevatar — a user hits an error, failure, or confusing behavior and you must find whether it lives in Aevatar, NyxID, or Ornn, then act. Triggers - "aevatar is erroring", "why did my workflow fail", "my scheduled run did not fire", "my bot does not reply", "connector 401/403", "skill won't pull/upload", "is this an aevatar, nyxid, or ornn bug", "file an issue", "am I using this right". It attributes the failure by tracing the request path, pulls that layer's real public source for a code-grounded root cause citing file and line, then branches - draft and, only on explicit user confirmation, file a precise GitHub issue when behavior violates the layer's published contract, or explain the correct usage from the code when it is a usage mistake. The after-it-breaks counterpart to aevatar-feasibility-advisor; never auto-files, de-dups first, never claims a root cause without a code citation. Works locally (git + gh) and server-side (nyxid_proxy + api-github)./aevatar-workflow-authoringAuthor, validate, and persist an executable aevatar workflow from a natural-language request — use it when the user wants to create, build, set up, or automate a multi-step task as a runnable aevatar workflow (make a workflow that…, automate…, build a pipeline…, set up a recurring…). It generates workflow YAML, dispatch-validates it, then saves it as a reusable workflow that can be re-run and watched in the observatory. Not for running an existing workflow — search for that and start it instead.npx claudepluginhub chronoaiproject/nyx-skills --plugin chronoai-service-manual-bundleOther plugins' skills for the same job