agentleFS
ChronoAIProjectChronoAIProject/NyxID/skills/aevatar-platform-map/SKILL.md

aevatar-platform-map

Skill37 starsChanged 4 months agoApache-2.0View on GitHub

Entry point, panorama, and router for the Aevatar skill family. Use before building, running, publishing, scheduling, externally triggering, or operating Aevatar resources; configuring an Agent Profile; assessing managed/private codex_exec feasibility and setup; running the canonical Codex readiness proof; authoring a workflow with codex_exec; diagnosing a Codex failure; or deciding which companion skill owns a request. It teaches resource and identity boundaries, NyxID-brokered auth, client REST versus in-session tools, deployment gates, and exact handoffs without treating member, workflow, service, profile, schedule, or Codex capabilities as one lifecycle.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 7 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Don't build something that can't ship.

    line 63
  2. Distinctive:

    Never convert between identities by route position, prefix, equality, or a familiar-looking string.

    line 133
  3. Very specific:

    All studio resources live under api/scopes/{scopeId}/….

    line 170
  4. Very specific:

    In-session / platform mode: if you are the model running *inside* an aevatar session with the nyxid MCP connected, you instead have …

    line 174
  5. Distinctive:

    Keep these modes separate.

    line 201
  6. Very specific:

    Raw one-off HTTP: call nyxid_proxy with exact service_id + slug + path.

    line 203
  7. Very specific:

    Studio member: call aevatar_invoke_member with {"member_id":"m-alpha","payload":{"prompt":"hello"}}.

    line 207
  8. Very specific:

    If a companion skill is not already loaded, find it with ornn_search_skills for the capability (e.g.

    line 232
  9. Distinctive:

    Search uses the caller-scoped remote skill authority.

    line 234
  10. Very specific:

    If the workflow needs codex_exec, first choose/configure its target with aevatar-codex-exec-node-setup, prove it with …

    line 302
  11. Very specific:

    Lark connection proof is separate from binding: Before side effects, use the same UserService and Base/table contract to read one known …

    line 341
  12. Distinctive:

    Keep feature controls separate from the original artifact: When an original workflow is blocked by an inaccessible or stale external …

    line 358
  13. Distinctive:

    Never fabricate ids: Always use the ids returned by the create/bind responses.

    line 369
  14. Distinctive:

    If after a genuine attempt you cannot complete the request server-side (missing capability, a hard failure, or something that needs the …

    line 376

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Aevatar control plane — the map

You are the router and reference for the Aevatar skill family — you do not execute the work yourself. Your job: orient the agent (object model, auth, caller mode), then hand off to the one companion skill that owns the step the user is on. Read this map first; each spoke is self-contained, so you can also jump straight in once you know the step.

What Aevatar is. A control plane whose client surface is driven over REST at https://aevatar-console-backend-api.aevatar.ai, with separate in-session capabilities exposed as tools. Build/operate resources are owned under a scope (the NyxID subject id); Agent Profile is an independent resource surface:

scope
  ├── teams → members                         authority and ownership
  ├── workflow drafts / definitions           workflowId
  ├── member implementation editor            .../members/{memberId}/workflow
  ├── published callable services             publishedServiceId
  ├── schedules / external triggers           target callable contracts
  └── run / read-model observability           reports committed and materialized facts

Agent Profile
  └── ownerHandle/profileSlug → opaque profileId → draft / published snapshot

These are associations between independently identified resources, not phases of one global lifecycle. "Who is this agent and what may it do?" belongs to Agent Profile; it is not a workflow/member/service operation. Creating a Profile creates no workflow, member, team, service, or schedule.

memberId, workflowId, and publishedServiceId are separate identities. Never pass a workflowId to a member API, a memberId to a workflow-draft API, or either as a publishedServiceId. Resolve every conversion from an explicit backend contract/read model, never from equality, prefixes, or route position. profileId, schedule IDs, Agent Key IDs, UserService IDs, catalog service IDs, and conversation actor IDs are distinct again.

Settle four things before you route (each has a full section below — this is the checklist):

  1. Which surface and which resource owner is this? Build/operate or Agent Profile — and if it's a schedule, which of the three scheduling resources owns it (see Scheduling is three resources). Routing to the wrong owner makes everything downstream wrong.
  2. Is it even feasible? For anything non-trivial, start with aevatar-feasibility-advisor — it says whether the goal is possible and what must be in place first (which NyxID connector to configure, what's host-gated, what's simply not deployed, what's impossible + the alternative). Don't build something that can't ship.
  3. Which caller mode are you in? A plain-REST client holding a NyxID bearer, or the model running in-session with server-side tools? Only aevatar-workflow-authoring needs the server-side tools; everything else is REST either way. See Two caller modes.
  4. Carry the honesty rules into every hand-off — you make real HTTP calls (no magic server-side action), most steps are async (read state back, never trust a bare 2xx), and NyxID registration is host-gated. See Honesty rules.

Then match the user's words to a step in the router below, load that skill, and don't reinvent what a spoke already owns.

The object model (one picture)

scope  (= your NyxID subject id; your private workspace; everything hangs off it)
  ├── team       a group of members with one "entry member" as its front door
  │     └── member   a callable unit; its implementation is ONE of:
  │            • workflow   (a YAML pipeline of roles + steps)   ← most common
  │            • script     (an app script)
  │            • gagent     (a hosted agent actor)
  ├── service    a member/team published so it can be invoked + (host-gated) registered to NyxID
  ├── schedule   fires a service on a cron, authenticated as you (NyxID)
  └── external trigger  Lark Base / webhook / external cron calls the service invoke path

Workflow authoring, member ownership/binding, service publication, and scheduling may be composed for one goal, but no step changes one resource identity into another. Keep every returned ID in its own typed slot and follow the explicit association returned by the backend.

The Agent Profile surface (separate from everything above)

An Agent Profile defines an agent's identity and authority ceiling: display name, purpose, instructions, an ordered set of exact Ornn skill bindings ({skillGuid, literalVersion, expectedName, expectedPublisherId} — never a name, never latest), and the maximum tool policy any turn may hold. It has its own lifecycle — create → get (strong ETag) → mutate draft / skill bindings → validate → publish snapshot → reread — and its own concurrency protocol.

Route all of it to aevatar-agent-profile-management: creating or editing a profile, setting purpose/instructions, binding skills, choosing ALWAYS / ROUTED / DEFAULT_FOR_UNMATCHED_TURN activation, defining tool ceilings, validating, publishing, or explaining a profile ETag / validation / publication / binding behavior. Do not improvise it from the team/member/service routes.

It is deployment-gated — detect before you promise. Profile management ships in the codebase but a given deployment may not expose it. Before any profile work: in-session, require the exact agent_profiles tool in your tool list; as a REST client, require the complete agent-profiles route family in GET /api/openapi.json (a single route, or a 404 on one profile, proves nothing). If absent, say the deployment does not expose Agent Profile management and stop — never substitute a workflow/member/service to look like you succeeded.

Two honesty facts to carry: publication is not runtime binding (a published profile binds only to newly created NyxID direct conversations admitted by a host-owned rollout — existing conversations never hot-upgrade), and workflows, teams, services, schedules, channels, and AgentRuns are not profile consumers.

Scheduling is three resources, not one

"Run it on a schedule" has three different owners. Route by who owns the thing being run, not by whichever API you already know:

Scheduling…OwnerCanonical entryCredential
An already-bound Studio Team member workflowscope → team → memberaevatar_schedule_member_workflow, or /api/scopes/{scopeId}/teams/{teamId}/members/{memberId}/automationsDedicated Agent Key
An independent scheduled Ornn skill agent or one-shot reminderScheduled agent / catalog actorsscheduled_agent_creator, then agent_builderDedicated Agent Key
A typed service invocationGeneric platform schedule actorGeneric /api/schedulesTyped source; may be a NyxID binding exchange

Generic /api/schedules remains supported for typed service invocation only; external raw actor/envelope targets are retired and fail closed. It is not the canonical path for a Team member automation and must not be used as a fallback when the owner is a Team member. aevatar-scheduler owns the member-automation and generic paths; aevatar-automation owns the scheduled skill agent.

Never convert between identities by route position, prefix, equality, or a familiar-looking string. memberId, draft workflowId, publishedServiceId, workflow Definition actor ID, revision ID, UserService ID, catalog service ID, schedule ID, Agent Key ID, and profileId are all distinct.

Team member automations now own their full lifecycle under the nested scope/team/member/automations surface. Generic /api/schedules is not their CRUD fallback. An existing member is best scheduled in-session with aevatar_schedule_member_workflow, which may admit and pin an exact durable revision; raw REST preflight remains read-only. A brand-new scheduled workflow may use aevatar_provision_workflow_schedule only after the user confirms its Team.

Scheduled Chat prompts can inject logical-fire date fields through {{@schedule.*}} JSON string values and an explicit timezone. Scope webhook bindings separately inject {{@run_date}} from received time and their binding timezone. Neither is an ambient workflow clock.

Authenticate (every request)

Drive aevatar through the NyxID broker — it forwards your identity and injects the scope_id claim that aevatar's backend needs. This is the load-bearing detail: sending a raw NyxID token straight to https://aevatar-console-backend-api.aevatar.ai authenticates but resolves no scope (scopeResolved:false, scopeId:null), so every studio resource under /api/scopes/{scopeId}/… is unreachable and workflow/team creation fails silently. Always go through the broker:

  • Prerequisite (once): the aevatar service must be connected in NyxID. Verify with nyxid proxy discover | grep aevatar; if absent, nyxid service add aevatar (no credential — it is an admin-mode system service that resolves the caller via NyxID /me).
  • Every call is nyxid proxy request aevatar "<path>" [-m POST -d '<json>']. NyxID injects the bearer and the scope claim; you never read or send the token yourself. (The broker forwards to base URL https://aevatar-console-backend-api.aevatar.ai; you only ever pass the <path>.)
  • Resolve your scope once — scopeId is your NyxID subject id:
    scopeId=$(nyxid proxy request aevatar "api/studio/context" \
      | python3 -c 'import sys,json;print(json.load(sys.stdin)["scopeId"])')
    (api/auth/me and api/workflow/observatory/me also return scopeId.) If scopeId comes back null / scopeResolved:false, you are not going through the broker — fix the transport, do not proceed: nothing under /api/scopes/{scopeId}/… will work.
  • All studio resources live under api/scopes/{scopeId}/…. Account-level service and schedule management live under api/services and api/schedules. Pass these as the <path> to nyxid proxy request aevatar.

In-session / platform mode: if you are the model running inside an aevatar session with the nyxid MCP connected, you instead have server-side tools (aevatar_start_workflow, use_skill, nyxid_services, …) that already run inside your resolved scope — see Two caller modes. Reserve the raw-token-to-backend call only for environments where neither the nyxid CLI nor those tools exist, and expect to handle scope resolution yourself.

Two caller modes (this matters for the workflow skill)

Most of this family is plain REST you call as a client through the NyxID broker above (nyxid proxy request aevatar "<path>") — that is the default assumption here and in team-builder / service-publisher / scheduler. The one exception is aevatar-workflow-authoring, written for the model running inside an aevatar session with the nyxid MCP connected, where it uses the server-side tools aevatar_start_workflow / ornn_publish_skill / use_skill / nyxid_services. If you are an external client without those tools, that skill also documents a full client REST path: dry-run a workflow with POST /api/scopes/{scopeId}/workflow/draft-run (body {prompt, workflowYamls:[…]}), and publish the workflow skill to ornn by POSTing a zip to …/api/v1/proxy/s/ornn-api/api/v1/skills (with the workflow YAML under assets/). Pick whichever surface your tool list actually supports — do not try to call the server-side tools as HTTP endpoints (they are not).

codex_exec is also an in-session capability tool, not a Studio lifecycle stage and not an HTTP endpoint. Before placing it in workflow YAML, select and verify its exact managed or private target contract through the Codex-specific skills below. Do not invent a REST path for the tool.

Current in-session invocation shapes

Keep these modes separate; they share credentials but not caller-owned fields:

  • Raw one-off HTTP: call nyxid_proxy with exact service_id + slug + path; optional fields are method, body, non-sensitive headers, and response_mode. Example: {"service_id":"us-gh-7","slug":"api-github","path":"/user","method":"GET"}.
  • Current-turn connected-service tools: use only the typed tools actually present, such as nyxid_services, nyxid_approvals, nyxid_require_service, nyxid_catalog, and nyxid_service_inventory. nyxid_catalog is discovery only. For a connect, add, or authorize request, use it only to resolve the exact catalog slug, then always finish through nyxid_require_service; its typed readiness result is the authority for any service.connect handoff. Never finish such a request with catalog prose. Retired dynamic nyxid_service_operation__* and nyxid_service_request tools do not exist; never invent their names.
  • Compiled published operation: the YAML step calls nyxid_proxy and carries an exact copied capability.nyxid_operation selector: user_service_id + endpoint_id. operation_id is not an authored selector field. Its admission proof owns UserService, slug, internal operation identity, method, path template, digest, schemas, and response policy. Runtime arguments may contain only admitted path_params, query, headers, body, and response_mode; never repeat route or proof fields. The in-session list tool is not a REST endpoint; if a client has no supported picker, stop instead of guessing.
  • Compiled authored request: capability.nyxid_request carries a typed HTTP request contract and exact UserService selection from authoritative /api/v1/keys. Binding requires authenticated confirmation/grant for the current request-contract digest and risk. /api/v1/user-services, draft save, and preview success are not execution authority. It is a oneof alternative to nyxid_operation, not a companion block on the same step.
  • Studio member: call aevatar_invoke_member with {"member_id":"m-alpha","payload":{"prompt":"hello"}}; endpoint_id is optional and defaults to chat. Never substitute a draft workflowId or publishedServiceId for member_id.

For managed codex_exec, normal execution is credential-read-only. Explicitly POST /api/managed-codex/credential to provision/reconcile, then read GET /api/managed-codex/credential and proceed only when execution_ready=true and execution_readiness_reason=ready; lifecycle status=active alone is insufficient. Do not retry the canary expecting normal execution to repair credentials. Preserve the deadline chain: chrono 180s < Aevatar managed request 300s < NyxID/ingress at least 315s < NyxID client 330s < workflow canary at least 360s.

Which skill for which task (router)

You want to…Use the skillKey endpoints
Decide if a goal is even possible + what must be in place first (use FIRST, before building)aevatar-feasibility-advisorGET /api/v1/catalog, plus /api/v1/keys when its possible lazy no-auth UserService materialization is acceptable
Triage a failure — is it an aevatar / nyxid / ornn problem? read the code, then file an issue or get authoritative usage guidance (use AFTER something breaks)aevatar-triagereads repos via gh or nyxid_proxy api-github; gh issue
Assess whether Codex fits the task and select managed versus privateaevatar-feasibility-advisorread-only contract decision; no Codex call yet
Configure or repair managed/private codex_execaevatar-codex-exec-node-setupin-session codex_exec; managed UserService readiness or private NyxID SSH route
Run the canonical Codex readiness proofaevatar-codex-exec-workflow-sampleuse_skill + aevatar_start_workflow; exact CODEX_EXEC_READY contract
Author a workflow containing codex_execfirst aevatar-codex-exec-node-setup, then aevatar-workflow-authoringload the exact tool contract before writing workflow YAML
Diagnose a codex_exec failurefirst aevatar-triage; use aevatar-codex-exec-node-setup only after the failing boundary is knowntyped code + sanitized diagnostic evidence
Define who an agent is — purpose, instructions, exact skill bindings, activation mode, tool ceiling; validate/publish a profileaevatar-agent-profile-management/api/scopes/{id}/agent-profiles/* (:validate, :publish), GET /api/agent-profiles/{ownerHandle}/{profileSlug}, or the in-session agent_profiles tool — detect the surface first
Turn an idea into a runnable workflow YAMLaevatar-workflow-authoringserver-side tools aevatar_start_workflow/ornn_publish_skill, or client REST …/workflow/draft-run + ornn zip publish (see Two caller modes)
Create a team, create members (workflow/script/gagent), bind them, set the entry memberaevatar-team-builder/api/scopes/{id}/teams, /members, /members/{id}/binding
Publish a member/team as a service and register it to NyxID; verify itaevatar-service-publisher/api/scopes/{id}/binding, /api/services/*, /members/{id}/published-service
Run a Team member workflow on a schedule (dedicated Agent Key)aevatar-scheduleraevatar_schedule_member_workflow / /api/scopes/{id}/teams/{teamId}/members/{memberId}/automations
Run an independent scheduled skill agent or one-shot reminderaevatar-automationscheduled_agent_creator, then agent_builder
Run a typed service invocation on a cron (generic platform schedule)aevatar-scheduler/api/schedules, :run-now, :enable, :disable
Trigger an existing workflow from an external HTTP sender such as Lark Baseaevatar-feasibility-advisor first, then aevatar-service-publisherNyxID /api/v1/proxy/s/aevatar/api/scopes/{scopeId}/members/{memberId}/invoke/..., or /api/workflow-webhooks/{routeKey} with a scope-owned binding that pins an exact same-scope Definition + revision (PUT /api/scopes/{scopeId}/workflow-webhooks/{routeKey}; host-managed appsettings bindings on older hosts)
Invoke, watch runs, observe(this map + service-publisher's invoke section)/invoke/{endpointId}, /runs/*, /api/workflow/observatory/*

If a companion skill is not already loaded, find it with ornn_search_skills for the capability (e.g. "aevatar team builder", "aevatar service publisher", "aevatar scheduler"), then load it. Search uses the caller-scoped remote skill authority. It must not fall back to a generic platform token, and an authorization/token-resolution failure is an error rather than an empty catalog. None of the companion skills depend on this map at run time; they restate the minimal bootstrap.

The full aevatar skill collection

The family is published as a real, versioned Ornn skillset, aevatar-platform, whose immutable revisions pin each member to an exact literal version — and it is also held together by the shared aevatar tag, so an ornn skill search for aevatar still returns the set. Load whichever member you need with use_skill. This map is the canonical entry point; the rest are pulled on demand. (Note the skillset is a routing collection — it is not the trust closure of a published Agent Profile, which pins its own exact skill GUIDs and is sealed server-side at publish time.)

Scope first — feasibility (category: plain, public)

  • aevatar-feasibility-advisor — use before building: is the goal possible, what are its prerequisites (which NyxID connector to configure and what's host-gated), and which constraints require a different design. Teaches the connector-vs-channel split and the prerequisite matrix.

Define the agent — Agent Profile (category: plain, public)

  • aevatar-agent-profile-management — the profile resource surface: purpose, instructions, exact Ornn skill bindings, activation modes, tool ceilings, strong-ETag mutation, validate, publish. Teaches capability detection first, and that publication is not runtime binding.

Diagnose & report — triage (category: plain)

  • aevatar-triage — use after something breaks: attribute a failure across aevatar / NyxID / Ornn, read the layer's real code for a code-grounded root cause, then file a GitHub issue (confirmation-gated) for a genuine platform defect, or give authoritative, code-grounded usage guidance for a misuse. The after-it-breaks counterpart to aevatar-feasibility-advisor.

Select, configure, and prove Codex (category: tool-based, public)

  • aevatar-codex-exec-node-setup — choose and configure the exact managed_sandbox or private_ssh contract, preserve their different ownership and isolation boundaries, and repair failures only after attribution.
  • aevatar-codex-exec-workflow-sample — run the harmless published managed or private readiness workflow and require exact CODEX_EXEC_READY evidence before real work.

Build & operate — the control-plane family (client REST, category: plain, public)

  • aevatar-platform-map — this map: object model, auth + scope bootstrap, routing.
  • aevatar-team-builder — create teams; create + bind members (workflow/script/gagent); set the entry member.
  • aevatar-service-publisher — publish a member/team/workflow as a service; verify NyxID registration; invoke.
  • aevatar-scheduler — Team member automations (dedicated Agent Key) and generic platform cron schedules.

Author a workflow (category: tool-based, public)

  • aevatar-workflow-authoring — turn a request into a validated, persisted workflow YAML (server-side aevatar_start_workflow / ornn_publish_skill, or the client REST path — draft-run + ornn zip publish — see Two caller modes above). Its output is the workflow a team-builder member binds or a service-publisher scope binding publishes.

Diagnose — capability probes (category: plain; currently private/owner-only)

  • aevatar-capability-probe, aevatar-workflow-engine-probe, aevatar-scripting-probe, aevatar-vision-probe, aevatar-attachment-probe, aevatar-file-extract-probe — small self-tests that check whether a given platform capability is available in the current scope before you depend on it.

Safety net — cross-cutting (category: plain, public)

  • fallback-to-calling-agent — when you genuinely cannot finish a request server-side, hand the original problem back to the calling agent instead of failing opaquely. Generic (no aevatar tag), but part of how this family degrades safely.

One build/operate composition example

This example associates several resources for one common goal; it is not a global product lifecycle, and none of its IDs are aliases. Agent Profile work is not part of this composition.

  1. Scope check (do this first) — confirm the goal is feasible and collect its prerequisites (connectors to configure, host-gated pieces, hard limits) — aevatar-feasibility-advisor. Skip only when the ask is obviously in-scope.
  2. If the workflow needs codex_exec, first choose/configure its target with aevatar-codex-exec-node-setup, prove it with aevatar-codex-exec-workflow-sample, then author the workflow YAML with aevatar-workflow-authoring.
  3. Create team — POST /api/scopes/{scopeId}/teams {displayName}.
  4. Create + bind a workflow member — POST /api/scopes/{scopeId}/members, then PUT /api/scopes/{scopeId}/members/{memberId}/binding (carries the YAML). The bind is async; wait for its binding run to reach succeeded. — aevatar-team-builder.
  5. Set the team entry member — PUT /api/scopes/{scopeId}/teams/{teamId}/entry-member {memberId}.
  6. Publish as a service + register to NyxID, then verify the NyxID slug — aevatar-service-publisher.
  7. Schedule it on a cron, authenticated as the scope owner — aevatar-scheduler; or trigger it from an external HTTP system such as Lark Base by calling NyxID's aevatar proxy with a NyxID API key — aevatar-service-publisher.

Honesty rules (so you never over-promise)

  • Detect the caller surface. External clients use NyxID-brokered REST. In-session agents use only the tools actually present, including workflow authoring and member schedule/provision tools. Do not invent a tool as an HTTP route, and do not claim raw preflight can perform a mutation that only the operator tool owns.
  • NyxID registration is host-gated. Publishing a service only results in a NyxID connector if the platform host has external exposure enabled (and the service is in scope of that policy). You drive publish + verify; you cannot force registration on. If the service's externalExposure block stays empty, say so: the service is still usable in-scope, just not exposed as a NyxID-brokered connector. (Details in aevatar-service-publisher.)
  • External HTTP trigger is different from externalExposure. Lark Base / external cron / webhook senders can often trigger an existing member/team by calling the NyxID proxy for aevatar with a NyxID API key and an explicit scope path. Host externalExposure is only for turning the Aevatar service itself into a reusable NyxID connector/slug.
  • Webhook authenticity is not broad effect authority. A dynamic binding requires an exact committed Definition/revision, signed-body delivery identity, HMAC, and explicit timezone (default UTC). enableUnattendedEffects is a narrow direct-human Durable opt-in for eligible exact call sites; downstream NyxID/provider policy still applies, and it cannot authorize Team schedule writes.
  • Remediation labels are not automatically self-serve actions. select_operation needs a real supported picker/list; register_service must resolve through the NyxID connect/authorize flow. Catalog refresh only reconciles. On api_key_scope_plan_route_unresolved, stop and surface the blocker instead of guessing a route, deleting a service, or retrying binding.
  • Lark connection proof is separate from binding. Before side effects, use the same UserService and Base/table contract to read one known record_id only when the workflow actually reads Base. 91403 means document-application access; 1254302 RolePermNotAllow means advanced-role coverage. A dedicated authenticated automation or signed Host/Adapter ingress may instead pass required fields directly; a push-only workflow needs no Base read permission. There is no implied generic connection preflight in a successful bind or publish.
  • Many steps are async, and 202 is admission only. Bindings, deployments, runs, Agent Key provisioning, and Profile mutations all settle over time. A 202 Accepted never proves commit, credential issuance, vault write, projection visibility, publication, cron fire, or success — read state back (binding run status, a newer authoritative stateVersion, invocation readiness, run timeline) instead of trusting a bare 2xx.
  • Observe the accepted run, not role-local completion. A workflow stream must emit its first projection-backed business frame within 30 seconds; SSE keepalive does not count. Only root RUN_FINISHED and root RUN_ERROR are terminal. Role text, reasoning, tool-call, tool-result, and role terminal frames are progress. RUN_OBSERVATION_TIMEOUT closes a stalled observation stream but does not by itself prove whole-run failure; query the same actorId + commandId and never create another run as a status probe.
  • Keep feature controls separate from the original artifact. When an original workflow is blocked by an inaccessible or stale external resource, an authorized feature-equivalent probe may use a sanitized accessible resource while preserving the relevant execution shapes. Its success proves only those features; it never turns the original workflow into a success.
  • Detect deployment-gated capabilities. Agent Profile management exists in the codebase but may not be exposed by the running deployment. Probe the surface (tool list, or the complete route family in GET /api/openapi.json) before promising it — and report its absence honestly instead of building a different resource.
  • Never hand out or ask for secret material. Agent Keys are vault-held; skills expose only typed references, key IDs, expiry, authorization facts, and generation. Never ask a user to paste a key, and never print tokens, vault references, ciphertext, or permission digests.
  • Never fabricate ids. Always use the ids returned by the create/bind responses. Never treat profileId, workflowId, memberId, publishedServiceId, a UserService ID, a catalog service ID, a schedule ID, an Agent Key ID, or a conversation actor id as interchangeable, and never parse an opaque id for meaning.

If you get stuck

If after a genuine attempt you cannot complete the request server-side (missing capability, a hard failure, or something that needs the caller's local environment), hand the original request back to your caller cleanly rather than failing opaquely — see the fallback skill in this family.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.