home / skills / openclaw / skills / circleci
This skill helps you manage CircleCI pipelines and workflows via API, triggering and monitoring builds to streamline CI/CD processes.
npx playbooks add skill openclaw/skills --skill circleciReview the files below or copy the command above to add this skill to your agents.
---
name: circleci
description: Manage CircleCI pipelines, jobs, and workflows via API. Trigger and monitor builds.
metadata: {"clawdbot":{"emoji":"⭕","requires":{"env":["CIRCLECI_TOKEN"]}}}
---
# CircleCI
Continuous integration platform.
## Environment
```bash
export CIRCLECI_TOKEN="xxxxxxxxxx"
```
## List Pipelines
```bash
curl "https://circleci.com/api/v2/project/gh/{org}/{repo}/pipeline" \
-H "Circle-Token: $CIRCLECI_TOKEN"
```
## Trigger Pipeline
```bash
curl -X POST "https://circleci.com/api/v2/project/gh/{org}/{repo}/pipeline" \
-H "Circle-Token: $CIRCLECI_TOKEN" \
-H "Content-Type: application/json" \
-d '{"branch": "main"}'
```
## Get Workflow
```bash
curl "https://circleci.com/api/v2/workflow/{workflowId}" -H "Circle-Token: $CIRCLECI_TOKEN"
```
## Links
- Docs: https://circleci.com/docs/api/v2/
This skill lets you manage CircleCI pipelines, workflows, and jobs via the CircleCI API. It provides actions to list pipelines, trigger new pipelines, and fetch workflow status so you can automate CI tasks from scripts or bots. The skill expects a CircleCI API token provided via environment variable.
The skill calls CircleCI API v2 endpoints to list project pipelines, create new pipelines for a branch, and retrieve workflow details and status. It uses a configured CIRCLECI_TOKEN for authentication and returns JSON results that can be parsed by downstream automation. Typical operations include triggering a pipeline for a given repo/branch and polling workflow state until completion.
How do I authenticate API calls?
Set CIRCLECI_TOKEN in the environment and include it in the Circle-Token header on each request.
Which endpoints are commonly used?
Project pipelines (list and trigger) and workflow retrieval endpoints from CircleCI API v2 are the primary endpoints for this skill.