openc3-flow
by @lijinfeng2011
Get all CI/CD flows from Open-C3 platform. Returns the complete list of flows in the system.
clawhub install openc3-flowπ About This Skill
name: openc3-flow description: "Get all CI/CD flows from Open-C3 platform. Returns the complete list of flows in the system." metadata: { "openclaw": { "emoji": "π", "requires": { "bins": ["curl", "jq"] } } }
Open-C3 Flow List Skill
Retrieve all CI/CD flows from Open-C3 platform via API.
Configuration
This skill requires three configuration parameters:
1. OPEN_C3_URL: The base URL of your Open-C3 deployment (e.g., http://192.168.10.67/)
2. APP_NAME: Your application name for API authentication (e.g., jobx)
3. APP_KEY: Your application key for API authentication
Setting Up Configuration
Configuration is stored in config.env in the skill directory.
When to Use
β USE this skill when:
API Endpoint
Get All Flows
curl -X GET "${OPEN_C3_URL}/api/ci/group/ci/dump" \
-H "appname: ${APP_NAME}" \
-H "appkey: ${APP_KEY}"
Response: Returns a JSON object containing all flows in the system, organized by service tree.
Examples
Get all flows:
./scripts/list-all-flows.sh
Output Format:
The script returns a formatted table with:
Notes
appname and appkey headersAPP_KEY secure and never commit it to version controlβ‘ When to Use
π‘ Examples
Get all flows:
./scripts/list-all-flows.sh
Output Format:
The script returns a formatted table with:
βοΈ Configuration
This skill requires three configuration parameters:
1. OPEN_C3_URL: The base URL of your Open-C3 deployment (e.g., http://192.168.10.67/)
2. APP_NAME: Your application name for API authentication (e.g., jobx)
3. APP_KEY: Your application key for API authentication
Setting Up Configuration
Configuration is stored in config.env in the skill directory.
π Tips & Best Practices
appname and appkey headersAPP_KEY secure and never commit it to version control