| name | manage-infra |
| description | Manage Semaphore infrastructure — secrets, notifications, agent types, scheduled tasks, artifacts. |
| user-invocable | false |
Infrastructure Management
Secrets
sem-ai secret list [--project <p>]
sem-ai secret show <name> [--project <p>]
sem-ai secret create <name> --env KEY=VALUE [--project <p>]
sem-ai secret update <name> --env KEY=NEW [--project <p>]
sem-ai secret delete <name> [--project <p>]
Notifications
sem-ai notification list
sem-ai notification show <name>
sem-ai notification delete <name>
Self-hosted agents
sem-ai agent types
sem-ai agent show <type-name>
sem-ai agent list --type <name>
sem-ai agent delete <type-name>
Scheduled tasks
sem-ai task list --project <p>
sem-ai task show <id>
sem-ai task run <id>
sem-ai task delete <id>
sem-ai task run <id> --param KEY=VALUE [--param ...] \
[--branch <ref>] [--pipeline-file <path>]
sem-ai task create <name> --branch main --file <path> [--cron "<expr>"] \
[--param-def NAME] [--param-def NAME=DEFAULT]
Artifacts
sem-ai artifact list --scope jobs --id <job-id>
sem-ai artifact list --scope workflows --id <wf-id>
sem-ai artifact get --scope jobs --id <job-id> --path <path> [--output file]
Pipeline YAML
sem-ai yaml validate --file .semaphore/semaphore.yml