Skip to main content
Hugs › Reference
The built-in hugs ship with cliq — their pages in cliqd (~/.cliqrc/hugs), their definitions in @getcliqio/cliq-sdk/hugs. They are ordinary hugs, written with define_hug and mount_hug from the UI kit, and a good place to read real ones.

form

Fields to fill in. The default hug: of agents’ ctx.ask without a hug, and of LLM phases. Summary: the first answer’s value, or “Couldn’t answer”. File inputs are upload slots.

approval

Approve or reject. Always the review gate’s hug; the gate’s review: block becomes its params (gate fields). Summary: “Approved”, the chosen reject choice’s label, or “Rejected”.

Reserved keys

An input can’t be named after a hug’s own answer keys: comment and declined for form; decision, reason, choice and comment for approval (the gate leaves such review.inputs out).