circleci-automation
Automate CI/CD operations in CircleCI using Rube MCP to trigger pipelines and monitor job statuses.
Install
mkdir -p .claude/skills/circleci-automation-comeonoliver && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17061" && unzip -o skill.zip -d .claude/skills/circleci-automation-comeonoliver && rm skill.zipInstalls to .claude/skills/circleci-automation-comeonoliver
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Automate CircleCI tasks via Rube MCP (Composio): trigger pipelines, monitor workflows/jobs, retrieve artifacts and test metadata. Always search tools first for current schemas.Key capabilities
- →Trigger CircleCI pipelines for a project
- →Monitor the status of pipelines and workflows
- →Inspect detailed job execution information
- →Retrieve build artifacts from completed jobs
- →Review test results and metadata from jobs
- →Handle pagination for API responses
How it works
This skill automates CircleCI operations through Composio's CircleCI toolkit via Rube MCP. It discovers tools, manages connections, and executes specific tools to trigger pipelines, monitor statuses, and retrieve job-related data like artifacts and test results.
Inputs & outputs
When to use circleci-automation
- →Trigger a new CI/CD pipeline
- →Monitor workflow and job status
- →Retrieve test metadata and build artifacts
About this skill
CircleCI Automation via Rube MCP
Automate CircleCI CI/CD operations through Composio's CircleCI toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active CircleCI connection via
RUBE_MANAGE_CONNECTIONSwith toolkitcircleci - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitcircleci - If connection is not ACTIVE, follow the returned auth link to complete CircleCI authentication
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Trigger a Pipeline
When to use: User wants to start a new CI/CD pipeline run
Tool sequence:
CIRCLECI_TRIGGER_PIPELINE- Trigger a new pipeline on a project [Required]CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID- Monitor resulting workflows [Optional]
Key parameters:
project_slug: Project identifier in formatgh/org/repoorbb/org/repobranch: Git branch to run the pipeline ontag: Git tag to run the pipeline on (mutually exclusive with branch)parameters: Pipeline parameter key-value pairs
Pitfalls:
project_slugformat is{vcs}/{org}/{repo}(e.g.,gh/myorg/myrepo)branchandtagare mutually exclusive; providing both causes an error- Pipeline parameters must match those defined in
.circleci/config.yml - Triggering returns a pipeline ID; workflows start asynchronously
2. Monitor Pipelines and Workflows
When to use: User wants to check the status of pipelines or workflows
Tool sequence:
CIRCLECI_LIST_PIPELINES_FOR_PROJECT- List recent pipelines for a project [Required]CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID- List workflows within a pipeline [Required]CIRCLECI_GET_PIPELINE_CONFIG- View the pipeline configuration used [Optional]
Key parameters:
project_slug: Project identifier in{vcs}/{org}/{repo}formatpipeline_id: UUID of a specific pipelinebranch: Filter pipelines by branch namepage_token: Pagination cursor for next page of results
Pitfalls:
- Pipeline IDs are UUIDs, not numeric IDs
- Workflows inherit the pipeline ID; a single pipeline can have multiple workflows
- Workflow states include: success, running, not_run, failed, error, failing, on_hold, canceled, unauthorized
page_tokenis returned in responses for pagination; continue until absent
3. Inspect Job Details
When to use: User wants to drill into a specific job's execution details
Tool sequence:
CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID- Find workflow containing the job [Prerequisite]CIRCLECI_GET_JOB_DETAILS- Get detailed job information [Required]
Key parameters:
project_slug: Project identifierjob_number: Numeric job number (not UUID)
Pitfalls:
- Job numbers are integers, not UUIDs (unlike pipeline and workflow IDs)
- Job details include executor type, parallelism, start/stop times, and status
- Job statuses: success, running, not_run, failed, retried, timedout, infrastructure_fail, canceled
4. Retrieve Build Artifacts
When to use: User wants to download or list artifacts produced by a job
Tool sequence:
CIRCLECI_GET_JOB_DETAILS- Confirm job completed successfully [Prerequisite]CIRCLECI_GET_JOB_ARTIFACTS- List all artifacts from the job [Required]
Key parameters:
project_slug: Project identifierjob_number: Numeric job number
Pitfalls:
- Artifacts are only available after job completion
- Each artifact has a
pathandurlfor download - Artifact URLs may require authentication headers to download
- Large artifacts may have download size limits
5. Review Test Results
When to use: User wants to check test outcomes for a specific job
Tool sequence:
CIRCLECI_GET_JOB_DETAILS- Verify job ran tests [Prerequisite]CIRCLECI_GET_TEST_METADATA- Retrieve test results and metadata [Required]
Key parameters:
project_slug: Project identifierjob_number: Numeric job number
Pitfalls:
- Test metadata requires the job to have uploaded test results (JUnit XML format)
- If no test results were uploaded, the response will be empty
- Test metadata includes classname, name, result, message, and run_time fields
- Failed tests include failure messages in the
messagefield
Common Patterns
Project Slug Format
Format: {vcs_type}/{org_name}/{repo_name}
- GitHub: gh/myorg/myrepo
- Bitbucket: bb/myorg/myrepo
Pipeline -> Workflow -> Job Hierarchy
1. Call CIRCLECI_LIST_PIPELINES_FOR_PROJECT to get pipeline IDs
2. Call CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID with pipeline_id
3. Extract job numbers from workflow details
4. Call CIRCLECI_GET_JOB_DETAILS with job_number
Pagination
- Check response for
next_page_tokenfield - Pass token as
page_tokenin next request - Continue until
next_page_tokenis absent or null
Known Pitfalls
ID Formats:
- Pipeline IDs: UUIDs (e.g.,
5034460f-c7c4-4c43-9457-de07e2029e7b) - Workflow IDs: UUIDs
- Job numbers: Integers (e.g.,
123) - Do NOT mix up UUIDs and integers between different endpoints
Project Slugs:
- Must include VCS prefix:
gh/for GitHub,bb/for Bitbucket - Organization and repo names are case-sensitive
- Incorrect slug format causes 404 errors
Rate Limits:
- CircleCI API has per-endpoint rate limits
- Implement exponential backoff on 429 responses
- Avoid rapid polling; use reasonable intervals (5-10 seconds)
Quick Reference
| Task | Tool Slug | Key Params |
|---|---|---|
| Trigger pipeline | CIRCLECI_TRIGGER_PIPELINE | project_slug, branch, parameters |
| List pipelines | CIRCLECI_LIST_PIPELINES_FOR_PROJECT | project_slug, branch |
| List workflows | CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID | pipeline_id |
| Get pipeline config | CIRCLECI_GET_PIPELINE_CONFIG | pipeline_id |
| Get job details | CIRCLECI_GET_JOB_DETAILS | project_slug, job_number |
| Get job artifacts | CIRCLECI_GET_JOB_ARTIFACTS | project_slug, job_number |
| Get test metadata | CIRCLECI_GET_TEST_METADATA | project_slug, job_number |
When not to use it
- →When the CircleCI connection status is not active
Prerequisites
Limitations
- →Pipeline IDs, workflow IDs, and job numbers have different formats (UUIDs vs. integers) and must not be mixed up.
- →Project slugs must include the VCS prefix (e.g., `gh/org/repo`).
- →Artifacts are only available after job completion.
How it compares
This workflow provides a dynamic and integrated way to manage CircleCI CI/CD tasks directly from a workflow, ensuring up-to-date tool schemas and connection status, offering more control and automation than manual interaction with the Circl
Compared to similar skills
circleci-automation side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| circleci-automation (this skill) | 0 | 4mo | No flags | Intermediate |
| agent-workflow-automation | 4 | 6mo | Review | Advanced |
| pipeline-advance | 0 | 5mo | No flags | Advanced |
| bazel-build-optimization | 14 | 3mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by ComeOnOliver
View all by ComeOnOliver →You might also like
agent-workflow-automation
ruvnet
Agent skill for workflow-automation - invoke with $agent-workflow-automation
pipeline-advance
dpaola2
Detect the current pipeline stage for a work item and run the next stage. Handles approval gates by invoking /pipeline-approve.
bazel-build-optimization
wshobson
Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
bash-defensive-patterns
wshobson
Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.
cicd-automation-workflow-automate
sickn33
You are a workflow automation expert specializing in creating efficient CI/CD pipelines, GitHub Actions workflows, and automated development processes. Design automation that reduces manual work, improves consistency, and accelerates delivery while maintaining quality and security.
managing-devops-pipeline
TencentBlueKing
管理蓝盾流水线的构建操作,包括查询构建历史、获取启动参数、查看构建状态、启动构建。当用户提及流水线、构建、部署、CI/CD、蓝盾或需要触发构建任务时使用。