GitHub collection
jstanden/cerb
Imported from GitHub — is this yours?
10 skills imported from this repository.
- Stars
- 84
- Forks
- 39
Skills (10)
automations
Writing Cerb automations in KATA -- naming, command shape, the correctness rules that bite, and least-privilege policies. Load it before writing or editing any automation script or policy.
data-queries
Cerb data queries -- the `key:value` language behind worklists, metrics, charts, and reports. Load it when choosing a `type:`, a `format:`, or an aggregation.
mail-replies
Drafting a customer-facing email reply on a Cerb ticket -- interleaved quoting, what may and may not be asserted, the `#signature` token, and house typography. Load it before writing or revising any reply.
search-queries
Cerb's search query language -- the filter:expression grammar, one syntax per filter type, deep search, boolean groups, and sorting. Load it before writing a worklist query, a saved search, or a `record_query:`.
Commands (42)
-
source
/api.command— The **api.command:** command interacts with APIs to perform various actions that were previously impossible from automation code (e.g. creating explorer sets, pre-signing AWS URLs, reading worker preferences, validating OAuth2 tokens). -
source
/await— The **await:** command pauses an [automation](/docs/automations/) in the `await` [state](/docs/automations/#exit-states) and returns a [dictionary](/docs/automations/#dictionaries). -
source
/data.query— The **data.query:** command executes a [data query](/docs/data-queries/) and returns the response. -
source
/decision— The **decision:** command conditionally selects one of multiple potential outcomes. -
source
/decrypt.pgp— The **decrypt.pgp:** command decrypts a PGP-encrypted text block. -
source
/email.parse— The **email.parse:** command parses a MIME-encoded email message into a [ticket](/docs/records/types/ticket/). -
source
/encrypt.pgp— The **encrypt.pgp:** command encrypts a block of text using one or more PGP public keys. -
source
/error— The **error:** command unsuccessfully terminates an [automation](/docs/automations/) in the `error` [state](/docs/automations/#exit-states) and returns a message. -
source
/file.read— The **file.read:** command can read chunks of bytes from an [attachment](/docs/records/types/attachment/) or [automation resource](/docs/records/types/automation_resource/) record. -
source
/file.write— The **file.write:** command writes arbitrary bytes to a temporary [automation resource](/docs/records/types/automation_resource/) record with a unique token identifier. -
source
/function— The **function:** command executes an [automation.function](/docs/automations/triggers/automation.function/) and returns an output dictionary. -
source
/http.request— The **http.request:** command sends data to an HTTP endpoint and returns the response. -
source
/kata.parse— The **kata.parse:** command parses an arbitrary [KATA](/docs/kata/) document with placeholder substitution. -
source
/llm.agent— The **llm.agent:** [automation](/docs/automations/) command interfaces with Large Language Model (LLM) providers to maintain a conversation history and manage [tool](/docs/automations/triggers/llm.tool/) use. -
source
/llm.chat— The **llm.chat:** [automation](/docs/automations/) command interfaces with Large Language Model (LLM) providers for single-turn chat completions without transcripts, memory, or tools. -
source
/llm.embed— The **llm.embed:** [automation](/docs/automations/) command interfaces with Large Language Model (LLM) providers to generate text vector embeddings. -
source
/llm.router— The **llm.router:** [automation](/docs/automations/) command resolves one or more [agent model](/docs/records/types/agent_model/) searches to the list of models that [`llm.agent:`](/docs/automations/commands/llm.agent/), [`llm.chat:`](/docs/automations/commands/llm.chat/), and th -
source
/log— The **log:** command writes data to the automation log with a given severity. Automations that exit in the `error` state also create entries to assist with error reporting and debugging. -
source
/metric.increment— The **metric.increment:** command adds new samples to a [metric](/docs/metrics/). -
source
/outcome— The **outcome:** command makes a sequence of commands conditional. Each outcome must have a unique name. -
source
/queue.pop— The **queue.pop:** command reads messages from a [queue](/docs/queues/). -
source
/queue.push— The **queue.push:** command adds new messages to a [queue](/docs/queues/). -
source
/record.create— The **record.create:** command creates a record with the given fields. -
source
/record.delete— The **record.delete:** command deletes a record of the given type. -
source
/record.get— The **record.get:** command loads a record from a [type](/docs/records/types/) and ID. -
source
/record.search— The **record.search:** command returns record dictionaries from a search query. -
source
/records.update— The **records.update:** command updates a batch of records of the same type with the given fields. -
source
/record.update— The **record.update:** command updates an existing record with the given fields. -
source
/record.upsert— The **record.upsert:** command creates or updates a record with the given fields. -
source
/repeat— The **repeat:** command iterates an array and repeats a sequence of commands for each value. -
source
/return— The **return:** command successfully terminates an [automation](/docs/automations/) in the `return` [state](/docs/automations/#exit-states) and returns a [dictionary](/docs/automations/#dictionaries). -
source
/set— The **set:** command associates a value with a placeholder key. -
source
/simulate.error— The **simulate.error:** command is used inside an [on\_simulate:](/docs/automations/#simulation) event handler to provide mock error output and trigger the enclosing command's `on_error:` event during [simulation](/docs/automations/#simulation). -
source
/simulate.success— The **simulate.success:** command is used inside an [on\_simulate:](/docs/automations/#simulation) event handler to provide mock output and trigger the enclosing command's `on_success:` event during [simulation](/docs/automations/#simulation). -
source
/storage.delete— The **storage.delete:** command removes a value from long-term storage. -
source
/storage.get— The **storage.get:** command retrieves a previously saved value from long-term storage. This key/value can be shared between automations and invocations. -
source
/storage.set— The **storage.set:** command saves a value to long-term storage. This key/value can be shared between automations and invocations. -
source
/var.expand— The **var.expand:** command expands nested keys at a given dictionary path. -
source
/var.push— The **var.push:** command appends a value to an array. -
source
/var.set— The **var.set:** command sets a value using a key path. -
source
/var.unset— The **var.unset:** command removes a placeholder using a key path. -
source
/while— The **while:** command conditionally repeats a sequence of actions. This can implement controlled infinite loops for interactions and timers.