workato-connector-sdk

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

A set of coding rules for building Workato connectors in Ruby. Workato connectors connect Workato, an automation platform, to other services through actions and triggers.

In plain words
What is it for?
Use it to organize connector files, define authentication, implement actions and triggers, and structure tests and related connector definitions.
Why use it?
It gives the expected project structure and required parts of a connector, reducing uncertainty when implementing or reviewing one. It also identifies supported authentication styles such as API keys and OAuth 2.0.

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-connector-sdk
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-connector-sdk

README.md
[![agentmods](https://agentmods.dev/badge/rules/rkawaishi/workato-dev-kit/workato-connector-sdk.svg)](https://agentmods.dev/rules/rkawaishi/workato-dev-kit/workato-connector-sdk)
Your own site
<a href="https://agentmods.dev/rules/rkawaishi/workato-dev-kit/workato-connector-sdk"><img src="https://agentmods.dev/badge/rules/rkawaishi/workato-dev-kit/workato-connector-sdk.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 792 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.00792
Opus 5 $0.00000 $0.00396
Sonnet 5 $0.00000 $0.00158
Haiku 4.5 $0.00000 $0.00079

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

Security

Grade A, and why

workato-connector-sdk 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 5d 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-connector-sdk.mdc · 100 lines

How it starts

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

Workato Connector SDK (connector.rb)

File structure

connectors/<name>/
├── connector.rb          # main connector definition
├── settings.yaml         # credentials (development)
├── settings.yaml.enc     # credentials (encrypted)
├── master.key            # encryption key (must be in .gitignore)
├── Gemfile
└── spec/
    ├── connector_spec.rb
    └── cassettes/

Top-level structure of connector.rb

{
  title: 'Connector name',
  connection: { fields: [...], authorization: {...}, base_uri: lambda { } },
  test: lambda { |connection| },
  actions: { action_name: { execute: lambda { }, input_fields: lambda { }, output_fields: lambda { } } },
  triggers: { trigger_name: { poll: lambda { }, dedup: lambda { }, input_fields: lambda { }, output_fields: lambda { } } },
  object_definitions: { obj_name: { fields: lambda { } } },
  pick_lists: { list_name: lambda { } },
  methods: { method_name: lambda { } }
}

Authorization types

connection.authorization.type:

  • basic_auth — Basic auth
  • api_key — API key
  • oauth2 — OAuth 2.0
  • custom_auth — custom auth
  • multi — multiple auth options

Required keys for an action

  • execute — execution logic (HTTP requests, etc.)
  • input_fields — input field definitions
  • output_fields — output field definitions

Required keys for a polling trigger

  • poll — data fetch. Returns { events:, can_poll_more:, next_poll: }.
  • dedup — deduplication key
  • input_fields / output_fields

Required keys for a webhook trigger

  • webhook_subscribe / webhook_unsubscribe — dynamic webhooks
  • webhook_notification — webhook payload handler
  • output_fields

Field definitions

{ name: 'field', type: 'string', control_type: 'text', label: 'Display name', optional: true, hint: 'help text' }

Types: string, integer, number, boolean, date, timestamp, object, array.

HTTP methods

get, post, put, patch, deletebase_uri is automatically prefixed.

Read the full file on GitHub · 100 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. 5d ago First seen · 100 lines · 0 tokens per session scan A 62a672d8e4d5

Subscribe to this mod's changes

workato-connector-sdk is a cursor rule published in the GitHub repository rkawaishi/workato-dev-kit (5 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 792 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.