360 Secure SkillHub
360 安全技能中心

Circleci

提供单文件 Python CLI,使用 CIRCLECI_TOKEN 调用 CircleCI REST API,支持查看当前用户、列出与触发流水线、获取流水线配置、列出/取消/重跑工作流、查看作业与产物、查询工作流洞察、管理上下文与项目环境变量;默认输出 JSON,可用 --human 输出可读文本。

aiwithabidi
aiwithabidi
热度 77.81
最近更新 2026-05-10 17:38:52
分类:开发依赖:代码执行 / 第三方 API应用场景:DevOps / API 集成 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add circleci
Metadata
name
circleci
description
CircleCI CI/CD — manage pipelines, workflows, jobs, and insights via REST API
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+ (stdlib only — no dependencies)
metadata
{"openclaw":{"emoji":"🔄","requires":{"env":["CIRCLECI_TOKEN"]},"primaryEnv":"CIRCLECI_TOKEN","homepage":"https://www.agxntsix.ai"}}

🔄 CircleCI

CircleCI CI/CD — manage pipelines, workflows, jobs, and insights via REST API

Requirements

Variable Required Description
CIRCLECI_TOKEN ✅ Personal API token from circleci.com

Quick Start

# Get current user
python3 {{baseDir}}/scripts/circleci.py me

# List pipelines
python3 {{baseDir}}/scripts/circleci.py pipelines slug <value> --branch <value>

# Get pipeline
python3 {{baseDir}}/scripts/circleci.py pipeline-get id <value>

# Trigger pipeline
python3 {{baseDir}}/scripts/circleci.py pipeline-trigger slug <value> --branch <value> --parameters <value>

# Get pipeline config
python3 {{baseDir}}/scripts/circleci.py pipeline-config id <value>

# List workflows
python3 {{baseDir}}/scripts/circleci.py workflows id <value>

# Get workflow
python3 {{baseDir}}/scripts/circleci.py workflow-get id <value>

# Cancel workflow
python3 {{baseDir}}/scripts/circleci.py workflow-cancel id <value>

All Commands

Command Description
me Get current user
pipelines List pipelines
pipeline-get Get pipeline
pipeline-trigger Trigger pipeline
pipeline-config Get pipeline config
workflows List workflows
workflow-get Get workflow
workflow-cancel Cancel workflow
workflow-rerun Rerun workflow
jobs List workflow jobs
job-get Get job details
job-cancel Cancel job
job-artifacts List job artifacts
insights-workflows Workflow insights
contexts List contexts
envvars List project env vars
envvar-set Set env var

Output Format

All commands output JSON by default. Add --human for readable formatted output.

python3 {{baseDir}}/scripts/circleci.py <command> --human

Script Reference

Script Description
{{baseDir}}/scripts/circleci.py Main CLI — all commands in one tool

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation