workato-cli-autonomy

A rule for Workato automation work that tells the coding agent to check the command line and API before asking the user to perform an action in the Workato interface.

In plain words
What is it for?
Use it when deciding how to create projects, manage connections, inspect jobs or recipes, push changes, or call Workato operations.
Why use it?
It reduces unnecessary handoffs by checking whether the CLI or API can complete the requested task automatically.

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-cli-autonomy
Clone the repo
git clone --depth 1 https://github.com/rkawaishi/workato-dev-kit
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,255 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.01255
Opus 5 $0.00000 $0.00628
Sonnet 5 $0.00000 $0.00251
Haiku 4.5 $0.00000 $0.00126

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

Security

Grade A, and why

workato-cli-autonomy 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 2d 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-cli-autonomy.mdc · 95 lines

How it starts

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

Claude Code autonomy rule: do not ask the user for what the CLI/API can do

Principle

Before asking the user to "do X in the Workato UI", always check the steps below. Asking the user to do something the CLI or API can do for you is a waste of their time and undermines the value of automation.

The 4 checks to run before asking the user

Go through them in order. Stop at the first one that applies. Only ask the user if none does.

  1. workato <command> --help to see every option.
    • Example: workato init --help reveals --project-name, which can create a new project non-interactively.
  2. workato <command> <subcommand> --help for sub-options.
    • Example: workato connections create --help may show --input '{"...": "..."}' for passing credentials as JSON.
  3. python3 scripts/workato-api.py --help for the API helper.
    • It complements the Platform CLI for API operations the CLI doesn't expose (jobs, recipes list as JSON, sdk push, etc.).
  4. Call the API through a custom connector.
    • If steps 1–3 don't cover it, consider hitting the Workato Platform API directly via __adhoc_http_action.

Operations that the CLI / API covers (don't ask the user)

Goal Command
Create a new project workato init --project-name <name> --non-interactive --profile <profile>
Switch to an existing project workato projects use "<name>"
List projects workato projects list
Workspace info workato workspace
Pull a project workato pull
Push a project workato push (--restart-recipes / --delete available)
List assets (DT, custom connectors, properties, etc.) workato assets [--folder-id <id>]
List recipes workato recipes list or python3 scripts/workato-api.py recipes list
Start / stop a recipe workato recipes start --id <id> / workato recipes start --all
Swap a recipe's connection workato recipes update-connection
Validate recipe JSON workato recipes validate <file>
Create a connection (when auth params can be JSON-ified) workato connections create --provider <p> --name <n> --input '<json>'
Create a shell connection (auth-less placeholder) workato connections create --provider <p> --name <n> --shell-connection
List connections workato connections list
Get connection pick-list workato connections pick-list
Show required parameters for a connector workato connectors parameters --provider <p>
Create a data table workato data-tables create --name <n> --schema-json '<json>'
List data tables workato data-tables list
Manipulate properties workato properties list / workato properties upsert
List / show jobs python3 scripts/workato-api.py jobs list/get
Look up pre-built connector info python3 scripts/workato-api.py connectors list-platform
List custom connectors python3 scripts/workato-api.py connectors list-custom
Push a custom connector (recommended) python3 scripts/workato-api.py sdk push --connector <path> [--connector-id <id>]
Manage OAuth profiles workato oauth-profiles ...
Manage API clients workato api-clients ...
Create an API collection from OpenAPI workato api-collections create
AI-friendly CLI doc search workato guide search/topics/content

Read the full file on GitHub · 95 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. 2d ago First seen · 95 lines · 1,255 tokens per session scan A 5cc8261a7729

Subscribe to this mod's changes

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