# Circleci

> Manage CircleCI pipelines, jobs, and workflows via API. Trigger and monitor builds.

- Skill: `dvcrn/circleci` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dvcrn/circleci`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/circleci/raw
- Safety review: pending (external: skill-scanner WARNING, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/dvcrn/circleci

---


# 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/

