/workflow-triaging
Triage AEM Workflow issues on AEM 6.5 LTS and AMS by classifying symptoms, gathering the right logs and metrics, and mapping to runbooks or Splunk searches. Use when the user asks for workflow activity/errors on a 6.5 host, needs to classify a Jira ticket, or wants to know what
$ npx -y skills add adobe/skills --skill workflow-triaging --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/workflow-triaging
Context preview
The summary Claude sees to decide when to auto-load this skill.
Triage AEM Workflow issues on AEM 6.5 LTS and AMS by classifying symptoms, gathering the right logs and metrics, and mapping to runbooks or Splunk searches. Use when the user asks for workflow activity/errors on a 6.5 host, needs to classify a Jira ticket, or wants to know what
SKILL.md
workflow-triaging.SKILL.mdname: workflow-triaging
description: Triage AEM Workflow issues on AEM 6.5 LTS and AMS by classifying symptoms, gathering the right logs and metrics, and mapping to runbooks or Splunk searches. Use when the user asks for workflow activity/errors on a 6.5 host, needs to classify a Jira ticket, or wants to know what to collect for workflow debugging.
license: Apache-2.0
AEM Workflow Triaging — 6.5 LTS / AMS
Classify workflow issues, determine what logs and data to gather, and map to the correct runbook or log search. Optimized for **production support** on **AEM 6.5 LTS** and **Adobe Managed Services (AMS)**.
Variant Scope
- This skill is **6.5-lts-only** (includes AMS).
- Log access via direct filesystem, AMS log access, or Splunk.
- JMX available for workflow counts, queue metrics, and remediation.
---
When to use this skill
- User asks: "Workflow errors on <host> for the past X hours", "Workflow activity on <host>", "Why did workflow X fail?", "What should I collect to debug this workflow ticket?"
- User needs: Symptom classification, log patterns to search, Splunk queries, or required inputs for a runbook.
- Context: AEM 6.5 LTS / AMS (author/publish hostname format).
---
Step 1: Classify symptom (symptom_id)
Map the user's description to a **symptom_id** and runbook.
| User says / observes | symptom_id | Runbook | |----------------------|------------|---------| | Workflow not moving to next step; stuck in Running | workflow_stuck_not_progressing | runbook-workflow-stuck.md | | Task should be in Inbox but is not visible | task_not_in_inbox | runbook-task-not-in-inbox.md | | Workflow should start automatically but no instance created | workflow_not_starting_launcher | runbook-launcher-not-starting.md | | Workflow in Failed state or step shows error | workflow_fails_or_shows_error | runbook-workflow-fails-or-shows-error.md | | Step failed after retries; failure item in Inbox | step_failed_retries_exhausted | runbook-failed-work-items.md | | Instance Running but no current work item (inconsistent) | stale_workflow_no_work_item | runbook-stale-workflows.md | | Too many instances; slow queries; disk/repo bloat | repository_bloat_too_many_instances | runbook-purge-and-cleanup.md | | User cannot see work item or complete/delegate/return | user_cannot_see_or_complete_item | runbook-inbox-and-permissions.md | | Cannot delete workflow model (running instances) | cannot_delete_model | runbook-model-delete-and-update.md | | Jobs queued a long time; slow completion; queue depth high | slow_throughput_queue_backlog | runbook-job-throughput-and-concurrency.md | | New or changed workflow not starting or step not executing | workflow_setup_validation | runbook-validate-workflow-setup.md |
---
Step 2: Required inputs for triage
Before suggesting a runbook or Splunk search, try to obtain:
| Input | Purpose | |-------|---------| | **Host / instance** | Author/publish hostname (e.g. author-p12345.adobeaemcloud.com for AMS, or on-prem hostname). | | **Time range** | e.g. "past 4 hours", "past 10 hours" – for log/Splunk scope. | | **Workflow model or step name** | e.g. "Dynamic Media Reupload", "DAM Update Asset", "testmodel". | | **Instance ID** (if known) | From Workflow console URL or payload; ties logs to one instance. | | **Payload path** (if known) | e.g. /content/dam/...; for path-related errors. | | **Log source** | Splunk index/sourcetype, direct filesystem error.log, or AMS log request. |
If the user only provides host + time, respond with the **generic** workflow error searches and note that narrowing by model/instance ID will improve accuracy.
---
Step 3: Log patterns and Splunk (what to search)
Logs on 6.5 / AMS are accessible via **direct filesystem** (`crx-quickstart/logs/error.log`), AMS log access, or **Splunk** (if indexed).
| Scenario | Primary log pattern(s) | Splunk hint | |----------|------------------------|-------------| | Step failed | `Error executing workflow step` | Add instance ID or model name to narrow. | | Process not found | `getProcess for '*' failed` | Extract process name for OSGi check in Felix Console. | | Stuck at Process step | Same as step failed + `getProcess` | Combine with payload path. | | Stale workflow | `Cannot archive workitem` | Correlate time with instance. | | Lock / throughput | `wait for a lock` or `refreshing the session since we had to wait` | Timechart by host. | | Permission | `Terminate failed` / `Resume failed` / `Suspend failed` + verifyAccess | Or `AccessControlException`. | | Payload path | `PathNotFoundException` + workflow/payload | Launcher: "launcher config". | | Launcher not starting | `Error adding launcher config` / `Error retrieving launcher config entries` | Path: `/conf/global/settings/workflow/launcher/config`. | | Purge failure | `Workflow purge '*' :` | Filter by repository exception / invalid state. |
**Example Splunk searches (replace index/sourcetype/field names as needed):**
- All workflow step errors (last 24h):
`index=aem sourcetype=aem:error "Error executing workflow step" | table _time host message | sort - _time`
- Process not registered:
`index=aem "getProcess for" "failed" | table _time host message`
- By workflow model or instance:
`index=aem ("Error executing workflow step" OR WorkflowException) (message=*<modelName>* OR message=*<instanceId>*) | sort - _time`
- Lock contention:
`index=aem "wait for a lock" OR "refreshing the session since we had to wait" | table _time host message`
---
Step 4: JMX-based diagnostics
On 6.5 / AMS, use JMX for metrics that are not available from logs alone.
| What to check | JMX MBean / Operation | Purpose | |---------------|-----------------------|---------| | Stale workflow count | `countStaleWorkflows` | Detect stale instances without current work item | | Running workflow count | `countRunningWorkflows(model)` | Count active instances for a model | | Queue depth | `returnWorkflowQueueInfo` | Check Granite Workflo
Read more
name: workflow-triaging description: Triage AEM Workflow issues on AEM 6.5 LTS and AMS by classifying symptoms, gathering the right logs and metrics, and mapping to runbooks or Splunk searches. Use when the user asks for workflow activity/errors on a 6.5 host, needs to classify a Jira ticket, or wants to know what to collect for workflow debugging. license: Apache-2.0
AEM Workflow Triaging — 6.5 LTS / AMS
Classify workflow issues, determine what logs and data to gather, and map to the correct runbook or log search. Optimized for **production support** on **AEM 6.5 LTS** and **Adobe Managed Services (AMS)**.
Variant Scope
- This skill is **6.5-lts-only** (includes AMS).
- Log access via direct filesystem, AMS log access, or Splunk.
- JMX available for workflow counts, queue metrics, and remediation.
---
When to use this skill
- User asks: "Workflow errors on <host> for the past X hours", "Workflow activity on <host>", "Why did workflow X fail?", "What should I collect to debug this workflow ticket?"
- User needs: Symptom classification, log patterns to search, Splunk queries, or required inputs for a runbook.
- Context: AEM 6.5 LTS / AMS (author/publish hostname format).
---
Step 1: Classify symptom (symptom_id)
Map the user's description to a **symptom_id** and runbook.
| User says / observes | symptom_id | Runbook | |----------------------|------------|---------| | Workflow not moving to next step; stuck in Running | workflow_stuck_not_progressing | runbook-workflow-stuck.md | | Task should be in Inbox but is not visible | task_not_in_inbox | runbook-task-not-in-inbox.md | | Workflow should start automatically but no instance created | workflow_not_starting_launcher | runbook-launcher-not-starting.md | | Workflow in Failed state or step shows error | workflow_fails_or_shows_error | runbook-workflow-fails-or-shows-error.md | | Step failed after retries; failure item in Inbox | step_failed_retries_exhausted | runbook-failed-work-items.md | | Instance Running but no current work item (inconsistent) | stale_workflow_no_work_item | runbook-stale-workflows.md | | Too many instances; slow queries; disk/repo bloat | repository_bloat_too_many_instances | runbook-purge-and-cleanup.md | | User cannot see work item or complete/delegate/return | user_cannot_see_or_complete_item | runbook-inbox-and-permissions.md | | Cannot delete workflow model (running instances) | cannot_delete_model | runbook-model-delete-and-update.md | | Jobs queued a long time; slow completion; queue depth high | slow_throughput_queue_backlog | runbook-job-throughput-and-concurrency.md | | New or changed workflow not starting or step not executing | workflow_setup_validation | runbook-validate-workflow-setup.md |
---
Step 2: Required inputs for triage
Before suggesting a runbook or Splunk search, try to obtain:
| Input | Purpose | |-------|---------| | **Host / instance** | Author/publish hostname (e.g. author-p12345.adobeaemcloud.com for AMS, or on-prem hostname). | | **Time range** | e.g. "past 4 hours", "past 10 hours" – for log/Splunk scope. | | **Workflow model or step name** | e.g. "Dynamic Media Reupload", "DAM Update Asset", "testmodel". | | **Instance ID** (if known) | From Workflow console URL or payload; ties logs to one instance. | | **Payload path** (if known) | e.g. /content/dam/...; for path-related errors. | | **Log source** | Splunk index/sourcetype, direct filesystem error.log, or AMS log request. |
If the user only provides host + time, respond with the **generic** workflow error searches and note that narrowing by model/instance ID will improve accuracy.
---
Step 3: Log patterns and Splunk (what to search)
Logs on 6.5 / AMS are accessible via **direct filesystem** (`crx-quickstart/logs/error.log`), AMS log access, or **Splunk** (if indexed).
| Scenario | Primary log pattern(s) | Splunk hint | |----------|------------------------|-------------| | Step failed | `Error executing workflow step` | Add instance ID or model name to narrow. | | Process not found | `getProcess for '*' failed` | Extract process name for OSGi check in Felix Console. | | Stuck at Process step | Same as step failed + `getProcess` | Combine with payload path. | | Stale workflow | `Cannot archive workitem` | Correlate time with instance. | | Lock / throughput | `wait for a lock` or `refreshing the session since we had to wait` | Timechart by host. | | Permission | `Terminate failed` / `Resume failed` / `Suspend failed` + verifyAccess | Or `AccessControlException`. | | Payload path | `PathNotFoundException` + workflow/payload | Launcher: "launcher config". | | Launcher not starting | `Error adding launcher config` / `Error retrieving launcher config entries` | Path: `/conf/global/settings/workflow/launcher/config`. | | Purge failure | `Workflow purge '*' :` | Filter by repository exception / invalid state. |
**Example Splunk searches (replace index/sourcetype/field names as needed):**
- All workflow step errors (last 24h):
`index=aem sourcetype=aem:error "Error executing workflow step" | table _time host message | sort - _time`
- Process not registered:
`index=aem "getProcess for" "failed" | table _time host message`
- By workflow model or instance:
`index=aem ("Error executing workflow step" OR WorkflowException) (message=*<modelName>* OR message=*<instanceId>*) | sort - _time`
- Lock contention:
`index=aem "wait for a lock" OR "refreshing the session since we had to wait" | table _time host message`
---
Step 4: JMX-based diagnostics
On 6.5 / AMS, use JMX for metrics that are not available from logs alone.
| What to check | JMX MBean / Operation | Purpose | |---------------|-----------------------|---------| | Stale workflow count | `countStaleWorkflows` | Detect stale instances without current work item | | Running workflow count | `countRunningWorkflows(model)` | Count active instances for a model | | Queue depth | `returnWorkflowQueueInfo` | Check Granite Workflo
Repo: adobe/skills
Other skills on adobe-skills.
- /aa-conversion-funnel-analysis
Analyzes a multi-step conversion funnel to find where visitors drop off and which steps have the worst leakage. Use this skill when someone describes a journey and asks about conversion rates, drop-off, fallout, or step completion. Trigger for "analyze our checkout funnel,"
Open skill - /aa-executive-briefing
Generates a concise, executive-ready performance summary covering key metrics, trends, and what's driving movement. Use this skill when someone needs to produce a briefing, executive summary, performance narrative, or stakeholder readout — for example, "write an exec summary of
Open skill - /aa-kpi-pulse
Produces a compact KPI digest showing how key metrics changed over a period and what's driving the movement. Use this skill when someone asks for a performance summary, a weekly recap, a morning briefing, a KPI update, or any variation of "how did we do this week/month." Also
Open skill - /aa-segment-performance-comparator
Compares the performance of two or more audience segments across key metrics side by side. Use this skill when someone wants to compare audiences or visitor groups — for example, "how do mobile visitors compare to desktop on conversion," "compare new vs. returning visitors,"
Open skill - /aa-top-movers-watchlist
Identifies which items (pages, campaigns, products, channels, regions) had the biggest increases or decreases for a key metric between two time periods. Use this skill when someone asks "what's up and what's down," "which campaigns moved the most," "top gainers and losers,"
Open skill - /cja-dimension-analysis
Comprehensive dimension analysis and reporting for CJA. Use this skill whenever the user wants to analyze one or more dimensions — including cardinality, distribution/skew, trends, anomalies, data quality errors, comparisons, and forecasting. Also trigger when someone asks "what
Open skill

