Skip to main content

Skills

The agent sees only skills. A skill is one declaration: what it is for (cognitive), what it calls (invoke), and — when its rows are things a person can choose — how they become items (kinds, present), are reserved (select), executed (submit) and drawn (render). Raw capabilities are never exposed.

A skill that offers items​

A skill that declares kinds takes an operation of the tenant and turns its rows into items a person can choose. It has a part in the selection, named after it.

skills:
- name: takeDeliveryOption # the skill's name; it is also the name of its part in the selection
cognitive: # rendered into the tool description
objective: "offer pickup or delivery"
diagnose: [the customer's address, the time they want]
invoke: {method: getDeliveryOptions} # the operation that returns the rows
kinds: # the kinds of these items, each recognised by its `when`
pickup:
when: "$fields.type == 'pickup'"
select: {} # what changes for this kind: {} means "no guard"
submit: [{name: collect, mode: self}]
delivery:
when: "$fields.type == 'delivery'" # keeps the skill's select and submit
present: # what the items carry: typed fields (see below)
fields:
name: {from: name, type: text, role: title}
type: {from: type, type: text} # what tells the two kinds apart
render: {component: cards} # how to show them
depends_on: {takeMealSelection: {on_loss: clear}} # no delivery for an empty selection, and it goes with the last dish
select:
max_items: 1 # only one: choosing another replaces the first
guards: [...] # see "Policies"
submit: [...]
  • cognitive.objective tells the agent when to use the skill; diagnose what it must understand before offering.
  • invoke names what the skill calls: an operation of the station's APIs (invoke.method), or a capability of Convoy (invoke.native, see below). A skill with kinds and no invoke is refused at load: its items come from a call.
  • kinds names the kinds its rows become, each recognised by its when (see below). Two skills cannot declare the same kind.
  • Calling a skill opens no journey: the first choice of one of its items, with no journey open, opens the playbook it is a task of, when that playbook declares activation (Playbooks).
  • submit lists the calls that file its items, in order (The submit). A skill whose lines leave by a playbook's call (an order that sends the dishes and the drink together) does not need one.

invoke.native — Convoy's capabilities​

invoke.method names only an operation of the station's APIs. Convoy's own capabilities are named with invoke.native. They have no API of their own: they rank the rows of a list operation of the station, read at each call (invoke.over).

nativewhat Convoy does
searchranks the list's rows for the person's question, by meaning
bundlefills the skill's steps (invoke.steps): one row of the list per step
  - name: findProducts
params:
q: {type: text, set_by: [llm]} # the person's question
invoke: {native: search, over: listProducts, args: {query: "$params.q"}}
kinds: {product: {}}
present:
fields:
name: {from: name, type: text, role: title}
price: {from: price, type: price, role: billed}
description: {from: description, type: text}
- name: buildRoutine
params:
objectif: {type: text, set_by: [llm]} # the person's objective, in their words
invoke:
native: bundle
over: listProducts
title: "Rituel $params.objectif" # optional; absent, the station's words (`steps.title`)
steps:
- {label: "Le geste du jour", query: "complément safran à prendre le jour $params.objectif"}
- {label: "Le geste du soir", query: "complément safran du soir nuit sommeil $params.objectif"}
- {label: "La base minérale", query: "magnésium poudre safran fatigue détente $params.objectif", description: "La fondation Magnésium +."}
render: {component: steps}
yields: product

The bundle and its steps. A bundle carries its steps in its invoke, in order. A step is {label, query, description?}: label is the step as the person reads it, query the words the list is ranked for to fill it, description what the frame says under the label. A step's query and the bundle's title read the skill's parameters as $params.<name> inside their text: it is the one way to write a binding. The list is read once per call, then ranked for each step, with the values the model gave; no row fills two steps. A bundle sends no argument: the tool the model sees asks exactly the skill's params. The frame that draws it is called steps (render: {component: steps}).

Live search over a list. At each question, Convoy reads the whole list (over), embeds the text of the skill's present fields of type text (an undeclared field is not read) and the question, then shows the 8 closest rows that reach the model's minimum score, at the price of now. The embeddings are kept in memory only, keyed by the hash of the model and the text: a row that changes is embedded again, and a restart reads nothing but the list. The provider receives the question and the rows' text, nothing about the person. The embedding model is the deployment's; without it, each search is refused (search_unavailable). The rows shown are items like those of any invoke: they carry every field of the present.

At most 500 rows. A longer list is refused at provisioning (the station does not start) and at each question (search_too_large), never truncated in silence: a list that size is searched at the tenant (invoke.method). A list that fails or does not answer within 10 seconds, or a provider that is down (10 seconds too), gives the reason (search_unavailable); an empty list is refused too (search_empty, and at provisioning): never empty cards. The log keeps the error's type and status, never the provider's message, which may quote the question. A bundle shows only the steps it filled and names to the model those nothing in the list fills (bundle.unfilled, beside the result); when none is filled, it is refused (bundle_nothing_filled): "No step could be filled: nothing in the list matches".

The honest no. A row is shown only when its score (cosine, from -1 to 1) reaches the floor the deployment gives with its model: a score's scale is the model's, neither Convoy nor the tenant can name it. A question no row reaches is refused (search_no_match): "Nothing matches this search (<skill>): try other words" — never eight unrelated cards. Rows that match with none of them offerable (price or kind unreadable) are refused otherwise (search_unoffered): "The search found items, and none can be offered right now". A bundle step no row reaches is not filled. The floor is absolute, never relative to the best score: the best row would always reach it, and the search could never say no. A value that is not a number from -1 to 1 stops the boot; without a floor, the closest rows are shown, and the boot says so once in the log.

At load. A native search declares its kinds (it returns items); a native bundle writes its steps. over is required, and names an operation declared access: read under apis that requires no argument (the list is read with none). A search sends the question alone: args: {query: "$params.<name>"}, a text parameter the model sets. A bundle sends no args; steps and title exist only on a bundle. A step reads only a declared parameter, one something sets (a default, or set_by: [llm]); a parameter the model sets is read by a step. A {mark} or a $ that is not $params.<name> in a query or the title is refused: it would be sent as it is and ranked as words. A bundle reads its rows through the present of the skill that owns the kind it produces (yields), on the same list. A skill names one capability: method or native, never both; over with method is refused. method: search_products (or build_bundle) is refused at load, with the native spelling as the remedy. native: set is refused: it is not built yet.

params and invoke.args — where each argument comes from​

invoke.args says what the call sends. Each argument is a literal value or $params.<name>, a parameter of the skill declared in params:

  - name: findDrinks
params:
category: {type: text, default: "149"}
invoke:
method: getMenu
args: {category: "$params.category"}
  • A field of an argument is named with a dot. An operation's JSON body is one argument, body: to send its fields one by one, name each body.<field>. For a POST /v1/check operation that takes the body {config: string}:

      - name: checkConfig
    params:
    config: {type: text, set_by: [llm]}
    invoke:
    method: checkConfig
    args: {body.config: "$params.config"}

    The operation receives the body {"config": "…"}. a.b.c is field b of argument a, then field c of that, read in the operation's schema. At assembly, the station is refused for a field the schema does not declare (the refusal names the path and the fields declared at that level; an object that declares no fields accepts any), for a value of another type than the field, for a required field of the body the skill does not send (body.name), and for an argument sent both whole and by field (body and body.config): one would overwrite the other. The model reads the field's description and enum.

  • Each parameter has a type, required, taken from the type table. A value that is not of that type is never passed, nor converted: a default of another type is refused at load ({type: integer, default: "3"}), as is a task's binding to an output of another type (A task's params).

  • set_by says who sets the parameter (below). Absent, it is config: the config alone.

  • Set by the config, a parameter's value is its default, a literal of its type: it is read before the call, when no item exists yet. A default that starts with $ is refused. In a playbook whose task binds it (the task's params, see Playbooks), its value is that binding.

  • The default is optional. Without one, only a task's binding sets a config parameter: so invoke.args cannot read it (the invoke runs before any submit), nor can a guard (it runs at the select, before the submit). A parameter without default that the model does not set and no task binds is refused at load.

  • A fixed argument is sent on every call of the skill's capability — its items, a skill without kinds — over any value the model sent. It is removed from the input schema the MCP advertises for the skill: the model is never asked for it.

  • The model gives only the skill's parameters. An argument of the operation that invoke.args does not send is never asked of the model, and is not sent: the operation applies its own default, and the load says so (a note naming the operation and the argument, in the check's output and the provisioner's). An argument the operation requires and the skill does not send refuses the station at assembly: every call would be refused. To leave it to the model, declare it: params: {category: {type: text, set_by: [llm]}} and invoke.args: {category: "$params.category"}.

  • Refused at load: a $params.x that names no declared parameter, a parameter nothing reads, any other $… reference in invoke.args, a config parameter without default read by invoke.args or by a guard. An argument the capability's schema does not take, or a value of another type than its parameter (or outside its enum), refuses the station at assembly: the API would ignore it, coerce it or refuse it.

  • $params.<name> is read too in the args of the skill's submit calls (its own and its kinds') — The submit —, in a require condition and in the args of a check (Policies). A guard's when does not read it.

set_by — who sets a parameter​

set_bywho sets the value
[config] (absent)the config alone: the default, or a task's binding
[llm]the model, in the skill's call
[config, llm]the model if it gives one, else the default
[llm, person]the model, which asks the person in the conversation
  - name: findProducts
params:
q: {type: text, set_by: [llm, person]}
invoke:
method: searchProducts
args: {query: "$params.q"}

The model sees q; the operation receives query.

  • A parameter the model sets is asked under its own name in the skill's input schema the MCP advertises. Its type comes from the type table (an id is asked as text); it carries the what the operation says of the argument that receives it (description, enum, pattern, examples, minimum, maximum). It is required, unless it has a default or carries required: false.
  • The skill's input schema holds these parameters only. A value under any other name is refused before the tenant is called (invalid_argument): findProducts takes no “page”: give only the arguments it asks for. It is never passed on, nor dropped in silence.
  • required: false lets the model leave it out: nothing is then sent for it, and the operation applies its own default. It is written only on a set_by: [llm] parameter without a default. A guard or a submit call cannot read such a parameter (refused at load): it would read nothing there.
  • It is sent through invoke.args, under the name of the argument that reads it. A parameter set_by: [llm] that invoke.args does not read is refused at load: the model would have nowhere to give it.
  • An absent value, or one of another type, is refused before the tenant is called. The model reads the reason in the station's language, with the code invalid_argument, for example: findProducts needs “q” (text): give it in the call. The value is never guessed nor converted.
  • The value the call used stays with the rows it showed, so that a guard and the submit read that same value. Only the parameters a guard or a submit call reads are kept. At submit, a value the model gave is sent as it is: it is never read as a $… reference.
  • One request carries one value. A line shown for another value than a line its submit call already sends is refused at the add, with the code param_conflict: X was shown for another “q” than Y, and one request carries one — remove Y, or show X again for the same. A line its call has already filed is not sent again, and refuses nothing. Lines whose calls read no model value may come from two questions.
  • A default needs config in set_by: set_by: [llm] with a default is refused. Write [config, llm].
  • Refused at load: person without llm (the form that asks it is not built yet); read, result and identity, not built yet; a source written twice; set_by: []; a model parameter named room or session (the doors pass the room and the visit under those names); required: false anywhere but on a model parameter without default. And, at assembly: a model parameter of another type than the argument that receives it; an argument the operation requires that invoke.args does not send.

kinds — recognising a kind​

A kind has four keys, all optional:

keyeffect
whenthe condition that says which rows are this kind
selectthis kind's guards (guards) and the quantities its lines admit (quantity); it replaces the skill's whole select, quantity rule included: {} means "no guard, no rule"; absent, the skill's
submitthe calls that file this kind's items, in order; absent, the skill's
fieldsits line fields: what the person answers for one line only

when is read on the row, before it is an item. It is a condition in the same language as the guards (Policies), but it reads only $fields.<name>, a field declared in the skill's present.fields. Any other reference ($item…, $params…, a row key not presented) is refused at load. A row's kind or type key is never read on its own: to use it, present it.

  • A row is of a kind when its when is known to hold. An undetermined comparison (a > on an absent value) is not; == and != read an absent value as null ($fields.x != '149' holds for a row without x).
  • Each value is read as its field's declared type: a number in a text or id field is its text (149 is '149'), a number written as text in a numeric field is the number. A literal of another type than its field ($fields.category == 149 on a text field) is refused at load: it could never match.
  • One kind holds: the row is that kind. None, or several: the row is not offered (it is logged).
  • A single kind without when takes every row. With several kinds, each declares its when, or the station is refused.

When one operation returns items that are not handled the same way: at a restaurant, pickup needs no address, costs nothing and sends no courier (the example at the top of the page). A single kind's when filters rows: one operation can feed a dishes skill and a drinks skill.

  - name: takeMealSelection
invoke: {method: getMenu}
kinds: {dish: {when: "$fields.category != '149'"}}
present:
fields:
name: {from: name, type: text, role: title}
category: {from: category, type: text}
- name: takeDrinkSelection
invoke: {method: getMenu}
kinds: {drink: {when: "$fields.category == '149' and $fields.price > 0"}}
present:
fields:
name: {from: name, type: text, role: title}
price: {from: price, type: price, role: billed}
category: {from: category, type: text}

Line fields​

A choice that belongs to one line, not to the selection — a dish's side dish — is a line field. The kind declares it under fields, like a form field (type, required, label, enum), with choices added: the options field of the present its choices are read from.

    kinds:
dish:
fields:
variante: {type: id, required: true, label: "Accompagnement", choices: "$fields.variantes"}
present:
fields:
name: {from: name, type: text, role: title}
price: {from: price, type: price, role: billed}
variantes: {from: variants, type: options, option_label: name}
  • The choices come from the tenant's row. An options field reads a list of options {id, label, price}; option_label says under which key the tenant writes the option's name (label by default). An option without an id (text, or a whole number read as text), without a name, or without a price (a number, zero or more) is left out, never offered at a guessed price; the log counts the options left out, without their values. A row whose list is empty or missing does not have this field: required does not hold it.
  • A field with choices is of type id (or text): the value kept is the id of the option chosen. A choice that is not in the row's list is refused. choices and enum do not go together.
  • The person answers line by line, in the conversation: the agent passes the answer at the add (the form of selection_add), or afterwards, on the line already in the selection — the selection_fill tool (MCP) and the POST /api/selection/fill route, present only when a kind declares line fields. The MCP frames do not draw a line's choice yet: the person gives it by speaking. An answer outside its type or its choices is refused, and nothing is written. Adding the same dish again keeps its answer; another answer at the add is refused (one line, one answer): it is changed on the line.
  • required holds the submit, not the add. The line enters unanswered, and says so (the room's view gives each line its lineFields: the question, the choices, the answer). Until it has its answer, the submit and its button are held by a sentence that names the line and the field.
  • The price of the option chosen is added to the line's unit price: the total shown, the receipt, what the room keeps of the order, $line.price and $item.price all count it.
  • The field is on the item under its name ($item.fields.variante); the call that sends the line reads it as $line.fields.variante (the shape of a line). An optional field left unanswered is not in the line sent.
  • Refused at load: a name taken by present.fields, by the kind's form, or written by Core (name, price, image_url, code, slug, id); a choices that does not name an options field of the skill's present; a line field that identifies the room.

The submit compares the tenant's total with what the person saw, when the call declares it (role: billed).

present — typed fields​

present.fields declares what the skill's items carry. Each field has a name chosen by the station, a source (from, the field of the tenant's row; a dotted path, prix.ttc, reads inside an object), a type and sometimes a role:

    present:
fields:
name: {from: name, type: text, role: title}
price: {from: price, type: price, role: billed}
image: {from: image_url, type: image}
page: {from: slug, type: url, role: link,
template: "{tenant_url}/article/{value}"}
roletypewhat the card does with it
titletext or idthe line's name. Without a title, the line shows its ref
billedpricethe line's price, in the station's currency (global.currency)
linkurlthe item's page on the tenant's site (see below)
cadencetexthow often the billed price is charged (monthly…); without it, one_time
eyebrowtextthe small line above the name (a category, a domain)
badgetexta pill on the card; several fields may be badges, shown in the order written
metatextthe small line under the name (an author, a duration)
tileimage or textthe square at the card's top: the image, or the text's initials
  • One field per role, at most — except badge. Two title fields refuse the station at load; a role on a field of another type too (role eyebrow asks for a text field, not a integer one).

  • display: how the card's details draw a field, read-only: display: code (a text, in monospace: a config, a snippet) or display: tree (a nested object, as a tree). Without it, a text is text and an object is not shown.

            config:  {from: config,  type: text, display: code}
    outline: {from: outline, type: text, display: tree}
  • Only what is declared is read. Without a billed field, the item has no listed price, even if its rows have a price field. The card's image is the first field of type image.

  • The item keeps only what is declared. Every field is on the item under its own name: $item.fields.<name> in a submit and in a condition (require, when). The item also carries name, price, image_url, the ref (under code, slug, id) and the person's answers (a form, a line field); never the rest of the tenant's row, which reaches neither the room, nor a surface, nor the model, nor a guard's operation (check, update).

  • Three names are reserved: name must be the title, price the billed, image_url the first image. Any other use of these names is refused at load. code, slug and id are refused too: Core writes the item's ref there when it joins the selection.

  • A skill with kinds and no present presents nothing: its rows show their ref.

  • A price's cadence (one_time, monthly…) is read from the role: cadence field, at most one, of type text, and only beside a billed field: a cadence without a price is refused at load. Without a cadence field, every price is charged once (one_time). A tenant's quote (a guard's update answer) can change it. The frames show the selection's total as Convoy computes it, one per cadence: what is due once first, then each cadence with its word ("€149.00 + €29.00 / month"). A line has a price only where its kind has one: a billed field, a quote (a guard's update) or priced options on a line field. Without one, the line shows no amount, not "€0.00". A station none of whose kinds has a price has no money mechanism at all: no amount per line, no subtotal, no total on the button, and the model reads none.

            cadence: {from: cadence, type: text, role: cadence}
  • A row whose billed price is not a number is not offered. A number written as text ("12.50") is the number; "12,50", null, a boolean or an absent field are not. The log says how many rows, and the field's name, never a value. For a list a native search or bundle reads, provisioning flags such rows as a note (the station serves the others), and refuses the list only when no row has a price. A price is checked only where a skill declares a billed field: a skill without one — a read, a request, a capability — is never asked for a price.

The link to the tenant's site. The role: link field gives the item's page. Its template has only two placeholders: {value}, the field's value (encoded so it stays inside its path segment), and {tenant_url}, the tenant's site address, which Convoy sets at deployment (a prefix; choosing it yourself is not yet available). A template without {value}, or with any other placeholder, is refused at load; so is a template that starts with neither {tenant_url} nor http(s):// (it would resolve against the host that draws the card), and a template on any field but the link. The value is read on the item, under the link field's name. Without a template, the value itself is the link, only when it is an absolute http(s) address. Without a link field, the card has no link: Convoy never invents an address on the tenant's domain. A native search's cards take their skill's link; a bundle's steps, the link of the skill whose present reads their rows.

A line is read through the present of the skill that showed it. Convoy keeps no catalogue: an item resolves only from what an invoke of a skill showed in this room (a bundle's lines count as shown). Its title, billed, first image and link fields give the line's name, price, image and link. A ref the room was never shown is refused (UNKNOWN_ITEM): "unknown item '<ref>' — this room has not been shown it. Call the matching skill to see what's available, then select one of those." The agent shows it first, by calling the skill. A line with neither a name nor a price is flagged unresolved in the room and kept out of the totals.

Field types​

Everything that carries a value takes its type from the same table: a present field, a form field (the form guard of select.guards or of kinds.<k>.select.guards, submit_guard.form), a line field, a parameter (params) and an output of a submit call (output, The submit). A type outside the table refuses the station at load.

typewhat Core does
textshows it
email, phonewrites it in one spelling before it identifies a room
number, integerchecks an answer is one (integer: a whole number)
booleanchecks it; in the submit form, a required boolean is a consent, answered only by yes
pricein the station's currency; the billed field is the line's price
quantitya whole number, never below zero: a form refuses a negative answer
idan identifier: text or a whole number
urlan address; the link field is the item's page at the tenant
imagethe address of an image; the first one is the card's image
datetimea date, or a date and a time, as ISO 8601 text
optionsthe list of choices of a tenant's row, each option {id, label, price} (the name read under option_label, label by default); in present.fields only — a line field takes one of them through choices, and its price is added to the line's

A value is checked by its type, never converted: "42" is not a price, and a boolean is never a number nor an id. The model is told a price is "a number" and a quantity "a whole number"; the surfaces draw number, integer, price and quantity as number inputs. Only text, email and phone can identify a room (Auth).

render — how the result is drawn​

render.component takes a name from a closed vocabulary; an unknown name makes the station refuse to start. Without render, the items of a skill with kinds are cards; for a skill without kinds, its capability's result decides.

writedraws
carousela row of cards you scroll through (articles with images)
cardscards to choose from, which show the skill's form when there is one; the other fields of present open in each card's details
stepsan ordered list of steps to tick (a bundle's result)
reporta figure that answers a question (see below)

The shape of the part​

keyeffect
select.max_items: 1a single item: the choice replaces. The replacement is announced to the person.
select.uniquea key only one request holds across the whole station: see Uniqueness.
depends_ontied to another skill's part, named by that skill's name, with its answers when that part empties or changes: see depends_on.
select.quantitythe quantities a line admits: see select.quantity. {max: 1} makes a set: each item once (timesheets, time slots).

select.quantity — the quantities of a line​

quantity: {min, max, step} says the quantities a line admits. max and step are optional; min is 1 without it. It is written in the skill's select or, most often, in a kind's: at least five nems, a dish by the unit.

    kinds:
nems:
when: "$fields.category == 'nems'"
select: {quantity: {min: 5}}
vin:
when: "$fields.category == 'vin'"
select: {quantity: {step: 6}} # by cases of six
writeadmits
nothing1 or more
{min: 5}5 or more
{step: 6}6, 12, 18…
{min: 2, max: 10}from 2 to 10
{max: 1}once only: the line has no quantity
  • A quantity is admitted when it is a whole number, at least min, at most max (when written), and a multiple of step (when written).
  • Core holds the rule at the add, at a change of quantity and at the submit. At the add, it is the quantity the line would have after the add, before any call to the tenant; an add of 0 or -2 is refused (quantity.add_positive): an add adds, and lowering a quantity is changing it. At a change, 0 still removes the line; 2.5 is refused, never rounded. At the submit, a line this submit files that is outside its rule refuses the whole submit, before anything is sent; the submit's lock says it before, with the same sentence. The handover link is held while a line this submit would file is outside its rule, and the room says why (handoverHeld, the lock's sentence, in the station's language). It is read in the running flow, as the submit is: a line the playbook's call files leaves by no link. On a station with playbooks whose flow cannot be read, the link is held too. A line this submit does not file (chosen outside the flow that sends it) does not hold it.
  • A quantity outside the rule is refused, never raised or rounded. The sentence says the rule: "Nems: at least 5 — 3 is too few" (quantity.min), "Vin: by 6 — 8 is not a multiple of 6" (quantity.step). The keys quantity.whole, quantity.add_positive, quantity.min, quantity.max, quantity.step, quantity.once and quantity.filled_once are rewritten in texts (The station's sentences).
  • The −/+ follows the rule. In the MCP frames, "−" goes to the next admitted quantity below, and removes the line when none is left; "+" goes to the next one above, and is disabled at the ceiling. A {max: 1} line has no −/+, and says nothing of a quantity.
  • A kind that declares its select replaces the skill's whole, quantity rule included: select: {} on a kind is no guard and no rule.
  • A line that carries a filled form is always one. A kind whose select asks a form, a check or a price (form, check, update) files one line per form: its quantity is 1. What counts is the select that applies to the kind: its own when it declares one, else the skill's. So a kind that asks its own form is always one, and a kind with select: {} keeps its quantities even when the skill asks a form.
  • Refused at load: min above max, a min, max or step that is not a positive whole number, a rule that admits no quantity at all ({min: 5, max: 5, step: 2}), and a rule that refuses 1 on a kind whose lines carry a filled form.
  • It is not a require. The quantity is not read in a condition ($item.quantity is refused): a guard sees one add, and a second add or a −/+ would reach the line without it.

depends_on​

  - name: takeDeliveryOption
depends_on: {takeMealSelection: {on_loss: clear}} # no delivery for an empty order

Keyed by the upstream skill (a skill with kinds, not itself), with two answers — the same shape as on a task (Dependencies):

  • on_loss — the upstream part was emptied: clear (the lines go with it) or block (they stay, and the submit is refused until the upstream is chosen again or they are removed). Default: block.
  • on_change — it changed without emptying (a line added, removed or replaced, a quantity): keep (nothing), revalidate (the line's guards run again; a refusal, or a check that cannot run, holds the submit — never a pass), clear (the line goes) or block (it stays, and the submit waits until it is chosen again). Default: keep — a skill reads no other skill's lines.

On a skill, the dependency holds everywhere, with or without a playbook: an item can be chosen only once the upstream part holds something. clear is always written out: the platform never decides on its own to throw away answers the person filled in. A skill tied to a skill withheld at load is withheld too. A written dependency is written once: on the skill or on a playbook's task, not both. One a task's params imply may sit beside a skill's: each answers its own changes. Two skills tied to each other in a loop are refused at load.

A skill that answers​

A skill without kinds answers with what it calls: a read, a report, a bundle. Its rows are not items.

skills:
- name: overtime-report
cognitive:
objective: "answer about a team's overtime for a month"
invoke: {method: getOvertimeReport} # declared access: read
render:
component: report
report:
headline: total_overtime_hours
headline_label: "overtime hours"
unit: h
series: weeks
point_label: week_starting
point_value: overtime_hours
highlight: worst_week # marks the point; never re-sorts
  • Item keys are refused without kinds. present, select, submit and depends_on shape items; written on a skill without kinds, nothing would read them, and Core refuses the station at load.
  • render.report maps the tenant's fields to the "report" frame. Only component: report reads it: with another component, it is refused at load. component: report without render.report is refused too (Verify).
  • yields gives the kind a skill without kinds produces (a bundle's articles); presents: selection shows the recap of the selection instead of calling a capability. Who may call a skill is set on the operations it calls, by profiles.

A skill that only answers​

It is not declared: Core deduces it. A skill is a read when what it calls (its invoke) is an operation declared access: read, and nothing it shows can be filed: no submit, no guard (select.guards empty), no other skill that pulls its kind into a submit or depends on it (depends_on), no playbook call that takes its lines, no yields and no presents. A native capability (invoke: {native: …}) has no declared access: it never counts as a read. There is no read_only key; written, it is refused.

It is a Core guarantee: the rows of a read skill are never kept as offered, so no door can add them to the selection. Core also refuses an invoke that names an access: write operation: the write would go out with no submit and no confirmation.

What it looks like​

Terre & Table. A customer asks for fruit and vegetables. The products skill calls searchProducts; present says which field is the title, the price and the image, and render: carousel draws them as cards, each with its way to add it to the selection.

skills:
- name: products
invoke:
method: searchProducts
args: {q: "$params.q", category: "$params.category"}
kinds: {product: {}}
present:
fields:
name: {from: name, type: text, role: title}
price: {from: price, type: price, role: billed}
image: {from: image_url, type: image}
render: {component: carousel}

Shiftly. Camille signed in with the code she received, and the call resumed on its own: the overtime-report skill answers with a report — the month's total in large type, then the weeks, the worst one marked. Nothing to choose, nothing to add to a selection.

  - name: overtime-report
invoke:
method: getOvertimeReport
args: {team: "$params.team", month: "$params.month"}
render:
component: report
report:
headline: total_overtime_hours
headline_label: "overtime hours"
unit: h
series: weeks
point_label: week_starting
point_value: overtime_hours
highlight: worst_week