Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when working with the internal platform CLI wrapper. Documents every subcommand with examples and common usage patterns for platform operations.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 76% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 18% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 143% | 0% |
Comprehensive reference for the internal platform CLI wrapper, documenting all subcommands, examples, and usage patterns for platform operations.
platform initInitialize a new platform project or workspace.
bashplatform init --project-name my-app --environment dev platform init --template microservice --region us-west-2
platform deployDeploy applications to the platform.
bashplatform deploy --app my-service --env staging platform deploy --all --dry-run platform deploy --config deploy.yaml --wait
platform statusCheck status of platform resources and deployments.
bashplatform status --app my-service platform status --cluster production platform status --all --verbose
platform resource createCreate new platform resources.
bashplatform resource create --type database --name users-db platform resource create --type queue --name events --config queue.yaml platform resource create --type secret --name api-key --from-file
platform resource listList existing resources with filtering.
bashplatform resource list --type database platform resource list --env production --owner team-a platform resource list --status running
platform resource updateUpdate existing resources.
bashplatform resource update --name users-db --set version=2.0 platform resource update --name events --config new-config.yaml
platform config getRetrieve configuration values.
bashplatform config get --key database.url platform config get --app my-service --env prod platform config get --all --format yaml
platform config setSet configuration values.
bashplatform config set --key database.url --value "postgres://..." platform config set --app my-service --env prod --file config.yaml
platform config validateValidate configuration files.
bashplatform config validate --file platform.yaml platform config validate --all --strict
platform logsAccess application and platform logs.
bashplatform logs --app my-service --tail 100 platform logs --cluster prod --since 1h platform logs --filter "error" --level warning
platform metricsView platform and application metrics.
bashplatform metrics --app my-service --metric cpu platform metrics --cluster prod --interval 5m platform metrics --all --export prometheus
platform healthCheck health status of platform components.
bashplatform health --cluster production platform health --app my-service --detailed platform health --all --alert-threshold 80
--env explicitly. Default environment can change based on context.--file overwrites individual --key settings.--wait flag for deployments with >10 containers to ensure completion.--batch-size 25.platform status --all can be slow in large clusters. Use --filter to scope.--since may timeout. Use smaller windows or export to file.--strict) adds 30-60 seconds to processing time.--from-file with sensitive data in CI logs. Use stdin instead.platform auth refresh before long operations.--account parameter in multi-account setups.platform auth whoami to verify current identity--timeout 300 for slow networksplatform resource list --env <env>bashPLATFORM_ENV=production # Default environment PLATFORM_REGION=us-west-2 # Default region PLATFORM_TIMEOUT=60 # Command timeout in seconds PLATFORM_LOG_LEVEL=info # Logging verbosity PLATFORM_CONFIG_FILE=~/.platform/config.yaml # Config file location
yamldefault: environment: development region: us-west-2 timeout: 60 environments: production: region: us-east-1 timeout: 120 verify_ssl: true staging: region: us-west-2 timeout: 60 accounts: main: id: "123456789012" role: "PlatformAdmin" aliases: ps = "platform status" pd = "platform deploy" pl = "platform logs"
yamlname: my-application version: "1.0.0" type: microservice environments: dev: replicas: 1 resources: cpu: 100m memory: 128Mi prod: replicas: 3 resources: cpu: 500m memory: 512Mi resources: - type: database name: users-db engine: postgres version: "13" - type: queue name: events engine: sqs
bash#!/bin/bash # Deploy to staging platform config set --key build.number --value $BUILD_NUMBER platform deploy --app $APP_NAME --env staging --wait platform health --app $APP_NAME --env staging # Promote to production if health checks pass if [ $? -eq 0 ]; then platform deploy --app $APP_NAME --env production --wait fi
bash# Setup local environment platform init --project-name my-local-dev --template local platform resource create --type database --name local-db --local-only platform config set --key database.url --value "postgresql://localhost:5432/db" # Run with local config platform run --config local-config.yaml --port 8080
bash#!/bin/bash # Create multiple queues from configuration file for queue in $(cat queues.txt); do platform resource create --type queue --name $queue --config queue-template.yaml done
bash#!/bin/bash # Sync configuration between environments platform config get --env staging --all --format yaml > staging-config.yaml platform config set --env production --file staging-config.yaml
Load these files when needed:
scripts/platform-helpers.sh - Common platform automation scriptstemplates/resource-templates/ - Resource configuration templatesexamples/ - Complete usage examples and patternsreferences/api-specs.md - Detailed API documentationOther measured skills in the registry, with their headline benchmark lift.