codemagic-builds

Query and manage Codemagic builds via the REST API.

2|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/aelaguiz/arch_skill --skill codemagic-builds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codemagic-builds
Source: https://github.com/aelaguiz/arch_skill/tree/main/skills/codemagic-builds
Command: npx skills add https://github.com/aelaguiz/arch_skill --skill codemagic-builds

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Codemagic Builds streamlines visibility into CI/CD pipelines by querying and controlling builds through Codemagic's REST API, enabling quick status checks, failure analysis, and build management without leaving your toolchain.

Core Features & Use Cases

  • Real-time dashboards: view in-progress builds by environment and platform, and summarize failures with actionable insights.
  • Start, cancel, and monitor builds: trigger new builds, cancel running ones, and fetch per-build step logs.
  • OpenAPI schema & integrations: fetch the latest API schema, refresh endpoints, and integrate with your workflow for automated reporting.

Quick Start

Configure CODEMAGIC_API_TOKEN and CM_API_BASE_URL, then run the scripts/codemagic.py tool to query builds, start new builds, or cancel running builds.

Frequently Asked Questions about codemagic-builds

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor Codemagic builds via the REST API?

You can monitor Codemagic builds by querying the REST API to view real-time dashboards of in-progress runs by environment and platform, and summarize failures with actionable insights. The tool uses local scripts to fetch build status and step logs.

Can I start or cancel CI/CD builds through the Codemagic API?

Yes, you can start or cancel CI/CD builds through the Codemagic API. By executing the provided local scripts, you can trigger new build workflows, cancel running builds, and fetch per-build step logs without leaving your toolchain.

What do I need to set up before querying Codemagic build statuses?

Before querying Codemagic build statuses, you need to configure the CODEMAGIC_API_TOKEN and CM_API_BASE_URL environment variables. Optional environment-variable mappings for environments and workflows can also be set to organize dashboards.

Does this tool fetch the OpenAPI schema for Codemagic API integrations?

Yes, the tool fetches the latest OpenAPI schema for Codemagic API integrations. It uses local scripts to retrieve and refresh API endpoints, enabling automated reporting and streamlined interaction with the builds endpoints.

How do I get dashboards for failed CI/CD runs by environment and platform?

You get dashboards for failed CI/CD runs by querying the Codemagic REST API with environment-variable mappings for environments and platforms. The tool summarizes in-progress and failed runs, providing actionable insights for failure analysis.