Bootstraps, builds, debugs, and validates Python automations using Robocorp/Sema4.ai tooling. Useful for task packages, browser workflows, work-item processes, and local run configuration.
Ships in robocorp-automation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Help implement reliable Python task automations, including when starting from an empty directory. Prefer repository evidence and current official docs over remembered APIs; the ecosystem has both Python task automations and Robot Framework projects, which are not interchangeable. Sema4.ai action packages (@action from sema4ai.actions, configured by package.yaml and run by Action Server) are a different project type; this skill does not cover them.
For the core robocorp library APIs (tasks, browser, work items, vault, storage, log), see references/api.md.
Inspect the current directory and available tools before creating anything. Confirm whether it is truly empty, whether it is already a Git repository, and whether rcc or the Sema4.ai VS Code extension is available. Do not overwrite existing files or initialize/modify Git history without the user's approval.
Establish the first useful scope from the user's request: what the automation should accomplish, its inputs and outputs, the systems it touches, and whether it needs credentials or a visible browser/UI. Ask a focused clarifying question when a missing decision materially changes the design; otherwise state reasonable assumptions and proceed.
Default to the current Python task framework (robocorp.tasks) unless the user requests Robot Framework or an existing template/docs indicate otherwise. Explain the distinction if the choice is unclear; do not generate a .robot suite and Python task package together by default.
Scaffold from an official starter template with rcc. List the templates bundled with the installed rcc, pick the closest match, and initialize it:
rcc robot initialize --list
rcc robot initialize -t 02-python-browser -d my-robot
Typical templates are 01-python (minimal), 02-python-browser (robocorp-browser/Playwright) and 03-python-workitems (producer/consumer with local work-item test data); use the names --list actually prints. rcc robot initialize refuses to write into a non-empty directory; initialize into a new subdirectory instead, and never pass --force without the user's approval. Keep the dependency versions the template pins in conda.yaml rather than replacing them with remembered ones. For use cases the bundled templates don't cover, look at the template portal or automation quickstart. rcc task run runs tasks; it is not a scaffolding command.
Only if no template can be used, create the minimal package structure supported by current official docs and the chosen framework. At minimum, provide the task entry point, robot.yaml, dependency/environment configuration, and concise run instructions. Add tests and other files only when the automation needs them. Do not invent dependency versions, obsolete configuration fields, or platform freeze files.
Make the first task small and runnable, with clear task inputs/outputs and explicit failures. Keep credentials out of files and examples. If the requested automation requires a real service or account, create a safe local/test path where feasible and describe any remaining setup needed from the user.
If a required tool such as rcc is missing (check with rcc version), the RCC release notes are the source of truth for the latest version and its download links. That page blocks automated requests, so don't try to fetch it; ask the user to open it in a browser instead:
uname -sm, or $env:PROCESSOR_ARCHITECTURE on Windows), tell the user which build matches (for example macOS arm64 or Windows x64), and ask them to copy the download link for that platform from the latest release, or to download and install rcc themselves following the page's instructions.rcc version before continuing.Ask before using administrator privileges, changing shell startup files, installing system-wide, or making other machine-wide changes; prefer a documented user-local installation when supported. Distinguish installing project dependencies through the declared environment from installing developer tooling.
Run the task locally using the resulting robot.yaml, then inspect the exit status, final task status, and artifacts. Do not claim the starter works until it has actually run, and report any missing tool installation, account, credential, browser, or external service requirement. If installation is blocked by permissions, network access, or user choice, give the exact official next step rather than silently switching to an unrelated setup.
robot.yaml, the environment file it selects (commonly conda.yaml), task modules, README, and ignore rules before editing.@robocorp.tasks.task; a .robot file instead uses Robot Framework syntax.rcc) and artifacts directory. Do not assume a developer's global Python environment matches the robot environment.robocorp-browser (Playwright) or an RPA Framework browser library; do not mix their APIs.Use the project's configured environment and exact task key from robot.yaml:
rcc task run --robot robot.yaml --task "TASK NAME"
Replace TASK NAME with a key under tasks: exactly as written. If the project uses the Sema4.ai/Robocorp VS Code extension, its Run Task command is also a valid local path and provisions the configured environment. Do not copy extension-generated --controller, workspace, account, or bundled flags into generic instructions; those are extension context, not needed for the normal local command.
When debugging an environment or task:
Run only the relevant configured task first; don't deploy it to Control Room as a substitute for local verification.
Confirm the task runner's final result is PASS/success, not merely that the process emitted a log line. A finally block may print a completion message even when the task failed.
Inspect the configured artifacts directory (often output/) for the run log, screenshots, and expected files. Check stderr and the runner's exit status if the result is not successful.
Run focused unit tests for pure transformations and validations inside the robot environment, then the configured end-to-end task when its external services are available. rcc task script runs any command in the environment that robot.yaml defines (add pytest to conda.yaml if the project doesn't declare it):
rcc task script --robot robot.yaml -- python -m pytest tests
Report exactly what was run, its result, and any dependency on browser/UI access, network, credentials, or other external services.
For a project whose robot.yaml declares (excerpt; real files also set environmentConfigs, artifactsDir, PATH and PYTHONPATH):
tasks:
Automation Challenge:
shell: python -m robocorp.tasks run tasks.py
the local command is:
rcc task run --robot robot.yaml --task "Automation Challenge"
Run rcc task run --help for supported local options. If rcc is unavailable, use the project's documented VS Code extension workflow or install/configure the supported Robocorp tooling; don't silently fall back to an unrelated system Python.
Control Room normally supplies work items and Vault secrets. Locally, provide them through a development environment file passed with -e (the VS Code extension uses the same devdata/ convention):
rcc task run --robot robot.yaml --task "Consumer" -e devdata/env.json
devdata/env.json is a flat JSON object of environment variables:
{
"RC_WORKITEM_ADAPTER": "FileAdapter",
"RC_WORKITEM_INPUT_PATH": "devdata/work-items-in/test-input/work-items.json",
"RC_WORKITEM_OUTPUT_PATH": "devdata/work-items-out/last-run/work-items.json",
"RC_VAULT_SECRET_MANAGER": "FileSecrets",
"RC_VAULT_SECRETS_FILE": "devdata/secrets.json"
}
work-items.json is a list of items, each {"payload": {...}, "files": {"name.xlsx": "name.xlsx"}} with file paths relative to that JSON file. The 03-python-workitems template contains working examples for a producer and a consumer.{"swaglabs": {"username": "...", "password": "..."}}. Use only dummy or test credentials in it, keep real secrets out of the repository, and make sure the file is gitignored if it holds anything sensitive.RC_WORKITEM_INPUT_PATH at the producer's output file.rcc cloud (for example, inspect rcc cloud push --help or rcc cloud upload --help) over calling package-upload APIs directly. Use the documented rcc workflow for authentication, workspace/robot selection, and upload; do not assume exact flags or target IDs without checking the installed rcc help and project/user context.rcc is unavailable, not authenticated, or does not support the requested Control Room operation, explain that limitation and follow its official setup/docs. Use a direct Control Room API call only when the operation is not supported by rcc or the user explicitly requests it (for example, creating a process if no rcc command covers that operation). For direct API use, consult current endpoint-specific documentation for authentication, request shape, and consequences. Never infer that an API key belongs in a URL or embed credentials in commands, source, examples, or logs.rcc authentication where possible; do not ask the user to paste secrets into chat or expose credentials or authorization tokens in command output.The sema4.ai documentation pages block automated requests. Share those links with the user to open in a browser, and ask them for the details you need, rather than fetching the pages yourself.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/robocorp-automation:robocorp-automationfrom robocorp-automation
npx claudepluginhub robocorp/robocorp --plugin robocorp-automation2 plugins in one repository ship this exact skill · first indexed Oct 10, 2026
Other plugins' skills for the same job