workato-page-components

workato-page-components is a cursor rule for coding agents from rkawaishi/workato-dev-kit. It costs 0 tokens per session (1,779 once invoked), scanned A, original, MIT.

A set of rules for describing Workato page components in JSON, a text format for structured data. Workato is a platform for building business automations and pages.

In plain words
What is it for?
Use it when writing or checking JSON definitions for Workato pages, including rows, columns, inputs, and nested page sections.
Why use it?
It gives page builders a consistent structure for layouts, nested containers, component properties, visibility, and data destinations.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/rkawaishi/workato-dev-kit/workato-page-components
Clone the repo
git clone --depth 1 https://github.com/rkawaishi/workato-dev-kit

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workato-page-components

README.md
[![agentmods](https://agentmods.dev/badge/rules/rkawaishi/workato-dev-kit/workato-page-components.svg)](https://agentmods.dev/rules/rkawaishi/workato-dev-kit/workato-page-components)
Your own site
<a href="https://agentmods.dev/rules/rkawaishi/workato-dev-kit/workato-page-components"><img src="https://agentmods.dev/badge/rules/rkawaishi/workato-dev-kit/workato-page-components.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,779 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01779
Opus 5 $0.00000 $0.00890
Sonnet 5 $0.00000 $0.00356
Haiku 4.5 $0.00000 $0.00178

Measured 4d ago against content hash 0e58fb06fac5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

workato-page-components scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

framework/cursor/rules/workato-page-components.mdc · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workato Page Component JSON Format

Top-level structure

{
  "name": "Page name",
  "path": "url-slug",
  "content": {
    "type": "common",
    "maxWidth": "fixed",
    "background": { "style": "pattern", "pattern": "light-2" },
    "variables": [],
    "handlers": { "pageLoad": null },
    "layout": [ /* nested component tree */ ]
  }
}

layout structure

layout is an array of rows. Each row consists of a row number (1-based) followed by [component, colSpan] pairs:

"layout": [
  1,                          // row number
  [{ /* component */ }, 0],   // [component, colSpan (usually 0)]
  [{ /* component */ }, 0]
]

A container may have its own nested layout.

Shared component properties

Property Description
type Component kind
id 8-digit hex unique ID (e.g. "cb33ba2c")
name Component name (for the builder)
x Grid starting position (0–11; 12-column layout)
width Grid width (1–12)
visible true / false / conditional expression

Additional properties for input components:

Property Description
dataSource Save destination (see below). NOT the source of option values.
editable true / false / conditional expression
validations.required.condition true / false / conditional expression
label User-facing label
hint Input hint
placeholder Placeholder text

dataSource (important)

dataSource specifies the Data Table column the value is written to, not the source of option values.

"dataSource": {
  "id": "Employee name",   // Data Table field title (NOT its UUID)
  "type": "short-text"     // field type
}

dataSource: null → the value is not persisted on submit.

Component type mapping

Purpose type style Data Table field type
Short text "input" "short-text" short-text
Long text "input" "long-text" long-text
Number "input" "number" number
Email "input" "email" short-text
Phone "input" "phone" short-text
URL "input" "url" short-text
Date "date" "date" date
Date-time "date" "date-time" date-time
Dropdown (single) "dropdown" not used short-text
Dropdown (multi) "dropdown" + multiValue: true not used short-text
Checkbox "checkbox" not used boolean
File "file" not used file

Read the full file on GitHub · 218 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 218 lines · 0 tokens per session scan A 0e58fb06fac5

Subscribe to this mod's changes

workato-page-components is a cursor rule published in the GitHub repository rkawaishi/workato-dev-kit (5 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,779 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.