/civitai-orchestration
Query and explore Civitai Orchestration workflows, jobs, and results. Use for analyzing image/video generation jobs, viewing job results, searching by workflow ID, job ID, user, or date range.
Claude Code
$ npx -y skills add civitai/civitai --skill civitai-orchestration --agent claude-code
Codex
$ npx skills add civitai/civitai --skill civitai-orchestration -a codex -y
Cursor
$ npx skills add civitai/civitai --skill civitai-orchestration -a cursor -y
Gemini CLI
$ npx skills add civitai/civitai --skill civitai-orchestration -a gemini-cli -y
GitHub Copilot
$ npx skills add civitai/civitai --skill civitai-orchestration -a github-copilot -y
OpenCode
$ npx skills add civitai/civitai --skill civitai-orchestration -a opencode -y
Windsurf
$ npx skills add civitai/civitai --skill civitai-orchestration -a windsurf -y
SKILL.md
civitai-orchestration.SKILL.mdname: civitai-orchestration
description: Query and explore Civitai Orchestration workflows, jobs, and results. Use for analyzing image/video generation jobs, viewing job results, searching by workflow ID, job ID, user, or date range.
allowed-tools: Bash(node:*)
argument-hint: "[command] [options]"
Civitai Orchestration
Interact with the Civitai Orchestration API to query workflows, view job details, and retrieve generation results.
Quick Start
# Query workflows for a specific user
node .claude/skills/civitai-orchestration/civitai-client.js user 12345
# Get a specific workflow by ID
node .claude/skills/civitai-orchestration/civitai-client.js workflow <workflowId>
# Get job details with scan results (hive_csam_score, etc.)
node .claude/skills/civitai-orchestration/civitai-client.js job <jobId>
# Get step details from a workflow
node .claude/skills/civitai-orchestration/civitai-client.js step <workflowId> <stepName>
# Download result images/videos from a workflow
node .claude/skills/civitai-orchestration/civitai-client.js results <workflowId>
Searching & Filtering
By User ID
# Get workflows for user 12345
node civitai-client.js user 12345
# With options
node civitai-client.js user 12345 --take=5 --excludeFailed
By Workflow ID
# Direct lookup by workflow ID
node civitai-client.js workflow 0-019be44b-181e-7a7e-ab1b-b58dc7610dca
By Date Range
**Note:** Date filtering may have limited functionality depending on API access level.
# Workflows from the last 7 days
node civitai-client.js workflows --from=2024-01-15 --to=2024-01-22
# Workflows from a specific day
node civitai-client.js workflows --from=2024-01-20 --to=2024-01-20
# Dates are assumed to be UTC. Add Z suffix for explicit UTC:
node civitai-client.js workflows --from=2024-01-20T06:00:00Z --to=2024-01-20T12:00:00Z
**Alternative:** Use `--oldest` to get workflows from oldest first, then paginate:
# Get oldest workflows first
node civitai-client.js workflows --oldest --take=50
By Tags
Tags are set when workflows are created. Common tag patterns:
# Filter by a specific tag
node civitai-client.js workflows --tag=user:12345
# Note: Multiple tags can be specified (AND logic)
node civitai-client.js workflows --tag=project:myproject --tag=type:image
Training Runs
`user <id> --tag=...` queries the manager endpoint, where tag filters can run past 60s and time out. To find a training run, read its ID from the version's Training Data `ModelFile` instead:
- v2 results (`trainingResults.version = 2`): `metadata->'trainingResults'->>'workflowId'`, then `workflow <id>`
- older v1 results have no `workflowId`: `metadata->'trainingResults'->>'jobId'`, then `job <id>`
By Metadata Search
The `--query` option searches workflow metadata:
# Search metadata for a string
node civitai-client.js workflows --query="portrait"
By Status
The API supports excluding failed workflows but not filtering by specific status:
# Exclude failed/canceled workflows (get only succeeded/processing)
node civitai-client.js workflows --excludeFailed
# Include all statuses (default behavior)
node civitai-client.js workflows
**Note:** To find specific statuses, retrieve workflows and filter client-side, or use metadata/tags when creating workflows for better filtering.
Pagination
# Get 50 results
node civitai-client.js workflows --take=50
# Get next page using cursor from previous response
node civitai-client.js workflows --take=20 --cursor=<nextCursor>
Combined Filters
# Successful workflows for a specific tag, excluding failures
node civitai-client.js workflows \
--tag=user:12345 \
--excludeFailed \
--take=50
# Get workflows with metadata search
node civitai-client.js workflows \
--query="portrait" \
--excludeFailed \
--take=20
Commands Reference
test
Test API connection and verify credentials.
node civitai-client.js test
user
Query workflows for a specific user by their Civitai user ID.
node civitai-client.js user <userId> [options]
**Options:** | Option | Description | |--------|-------------| | `--take=<n>` | Number of results (max 10 per API limit) | | `--tag=<tag>` | Filter by tag | | `--query=<text>` | Search workflow metadata | | `--excludeFailed` | Exclude failed/canceled workflows | | `--oldest` | Sort from oldest to newest |
workflows
List and search workflows with optional filters.
node civitai-client.js workflows [options]
**Options:** | Option | Description | |--------|-------------| | `--tag=<tag>` | Filter by tag (can specify multiple) | | `--query=<text>` | Search workflow metadata | | `--excludeFailed` | Exclude failed/canceled workflows | | `--oldest` | Sort from oldest to newest | | `--take=<n>` | Number of results (default: 20) | | `--cursor=<cursor>` | Pagination cursor | | `--from=<date>` | Start date (may have limited support) | | `--to=<date>` | End date (may have limited support) |
workflow
Get details of a specific workflow.
node civitai-client.js workflow <workflowId> [--wait]
**Options:** | Option | Description | |--------|-------------| | `--wait` | Wait/poll for completion (with timeout) |
job
Get details of a specific job including scan results from event context.
This is useful for investigating content moderation results - the `lastEvent.context` contains scan scores like `hive_csam_score` and `hive_vlm_summary`.
node civitai-client.js job <jobId> [--raw]
**Options:** | Option | Description | |--------|-------------| | `--raw` | Output raw JSON instead of formatted summary |
**Example output:**
Job Summary:
ID: 58de87d7-d594-4d71-ae43-dd8fc1bcbd23
Type: TextToImageV2
Workflow ID: 8484131-20260121222126332
Prompt Classification: sexual, young, scan
Results (2 blob(s)):
- JNFDW54JNTATNW42HACYCWSQP0.jpeg (available: true)
La
Read more
name: civitai-orchestration description: Query and explore Civitai Orchestration workflows, jobs, and results. Use for analyzing image/video generation jobs, viewing job results, searching by workflow ID, job ID, user, or date range. allowed-tools: Bash(node:*) argument-hint: "[command] [options]"
Civitai Orchestration
Interact with the Civitai Orchestration API to query workflows, view job details, and retrieve generation results.
Quick Start
# Query workflows for a specific user node .claude/skills/civitai-orchestration/civitai-client.js user 12345 # Get a specific workflow by ID node .claude/skills/civitai-orchestration/civitai-client.js workflow <workflowId> # Get job details with scan results (hive_csam_score, etc.) node .claude/skills/civitai-orchestration/civitai-client.js job <jobId> # Get step details from a workflow node .claude/skills/civitai-orchestration/civitai-client.js step <workflowId> <stepName> # Download result images/videos from a workflow node .claude/skills/civitai-orchestration/civitai-client.js results <workflowId>
Searching & Filtering
By User ID
# Get workflows for user 12345 node civitai-client.js user 12345 # With options node civitai-client.js user 12345 --take=5 --excludeFailed
By Workflow ID
# Direct lookup by workflow ID node civitai-client.js workflow 0-019be44b-181e-7a7e-ab1b-b58dc7610dca
By Date Range
**Note:** Date filtering may have limited functionality depending on API access level.
# Workflows from the last 7 days node civitai-client.js workflows --from=2024-01-15 --to=2024-01-22 # Workflows from a specific day node civitai-client.js workflows --from=2024-01-20 --to=2024-01-20 # Dates are assumed to be UTC. Add Z suffix for explicit UTC: node civitai-client.js workflows --from=2024-01-20T06:00:00Z --to=2024-01-20T12:00:00Z
**Alternative:** Use `--oldest` to get workflows from oldest first, then paginate:
# Get oldest workflows first node civitai-client.js workflows --oldest --take=50
By Tags
Tags are set when workflows are created. Common tag patterns:
# Filter by a specific tag node civitai-client.js workflows --tag=user:12345 # Note: Multiple tags can be specified (AND logic) node civitai-client.js workflows --tag=project:myproject --tag=type:image
Training Runs
`user <id> --tag=...` queries the manager endpoint, where tag filters can run past 60s and time out. To find a training run, read its ID from the version's Training Data `ModelFile` instead:
- v2 results (`trainingResults.version = 2`): `metadata->'trainingResults'->>'workflowId'`, then `workflow <id>`
- older v1 results have no `workflowId`: `metadata->'trainingResults'->>'jobId'`, then `job <id>`
By Metadata Search
The `--query` option searches workflow metadata:
# Search metadata for a string node civitai-client.js workflows --query="portrait"
By Status
The API supports excluding failed workflows but not filtering by specific status:
# Exclude failed/canceled workflows (get only succeeded/processing) node civitai-client.js workflows --excludeFailed # Include all statuses (default behavior) node civitai-client.js workflows
**Note:** To find specific statuses, retrieve workflows and filter client-side, or use metadata/tags when creating workflows for better filtering.
Pagination
# Get 50 results node civitai-client.js workflows --take=50 # Get next page using cursor from previous response node civitai-client.js workflows --take=20 --cursor=<nextCursor>
Combined Filters
# Successful workflows for a specific tag, excluding failures node civitai-client.js workflows \ --tag=user:12345 \ --excludeFailed \ --take=50 # Get workflows with metadata search node civitai-client.js workflows \ --query="portrait" \ --excludeFailed \ --take=20
Commands Reference
test
Test API connection and verify credentials.
node civitai-client.js test
user
Query workflows for a specific user by their Civitai user ID.
node civitai-client.js user <userId> [options]
**Options:** | Option | Description | |--------|-------------| | `--take=<n>` | Number of results (max 10 per API limit) | | `--tag=<tag>` | Filter by tag | | `--query=<text>` | Search workflow metadata | | `--excludeFailed` | Exclude failed/canceled workflows | | `--oldest` | Sort from oldest to newest |
workflows
List and search workflows with optional filters.
node civitai-client.js workflows [options]
**Options:** | Option | Description | |--------|-------------| | `--tag=<tag>` | Filter by tag (can specify multiple) | | `--query=<text>` | Search workflow metadata | | `--excludeFailed` | Exclude failed/canceled workflows | | `--oldest` | Sort from oldest to newest | | `--take=<n>` | Number of results (default: 20) | | `--cursor=<cursor>` | Pagination cursor | | `--from=<date>` | Start date (may have limited support) | | `--to=<date>` | End date (may have limited support) |
workflow
Get details of a specific workflow.
node civitai-client.js workflow <workflowId> [--wait]
**Options:** | Option | Description | |--------|-------------| | `--wait` | Wait/poll for completion (with timeout) |
job
Get details of a specific job including scan results from event context.
This is useful for investigating content moderation results - the `lastEvent.context` contains scan scores like `hive_csam_score` and `hive_vlm_summary`.
node civitai-client.js job <jobId> [--raw]
**Options:** | Option | Description | |--------|-------------| | `--raw` | Output raw JSON instead of formatted summary |
**Example output:**
Job Summary: ID: 58de87d7-d594-4d71-ae43-dd8fc1bcbd23 Type: TextToImageV2 Workflow ID: 8484131-20260121222126332 Prompt Classification: sexual, young, scan Results (2 blob(s)): - JNFDW54JNTATNW42HACYCWSQP0.jpeg (available: true) La
Other skills on civitai.
More skills from other plugins.
hf-cli
Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…
feast-architecture
Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…
accessing-mlflow
Query and browse evaluation results stored in MLflow. Use when the user wants to look up runs by invocation ID, compare metrics…
Questions about civitai-orchestration.
- Which coding agents can use civitai-orchestration?
- civitai-orchestration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

