automation-pilot-content-management-via-apilisted
Install: claude install-skill williamcorrea23/sap-router-skill
# SAP Automation Pilot Content API Management
This skill manages catalogs, commands, and inputs in SAP Automation Pilot using the Content API.
## Command Release Policy
⚠️ Commands deploy in DRAFT state. **Never release automatically** — only when the user explicitly requests it and the command has been tested. See `../automation-pilot-command-generation/SKILL.md` for the full policy.
## Naming Conventions
| Type | Convention | Example |
|------|------------|---------|
| Commands | PascalCase | `RestartCfApp`, `GetHanaInstance` |
| Inputs | PascalCase | `BtpCredentials`, `JiraConfig` |
| Catalogs | kebab-case | `my-automations-xxx` |
Names must not contain spaces (causes API failures with URL encoding).
## Prerequisites
1. Set the following **required** environment variables:
```bash
export AUTOPI_HOSTNAME="emea.autopilot.cloud.sap"
export AUTOPI_USERNAME="your-username"
export AUTOPI_PASSWORD="your-password"
export AUTOPI_DEFAULT_CATALOG="mycommands-<<<TENANT_ID>>>"
```
**Supported hostnames**:
- `emea.autopilot.cloud.sap` (default - Europe)
- `aus.autopilot.cloud.sap` (Australia)
- `apac.autopilot.cloud.sap` (Asia Pacific)
- `amer.autopilot.cloud.sap` (Americas)
- `ksa.autopilot.cloud.sap` (Saudi Arabia)
2. Ensure `curl` is available in your environment.
---
## Values Are Always Strings on the Wire
When creating or updating inputs via the API, every entry in `values` and `defaultValue` must be a **JSON string**, regardless of the declared `type` in `keys`.
|