workflow-debugging

A troubleshooting guide for AEM 6.5 LTS and Adobe Managed Services workflows. Workflows are sequences of automatic or human tasks used to process content.

In plain words
What is it for?
Use it to investigate failed steps, launcher problems, stale workflow instances, permissions, thread limits, queue backlogs, and cleanup failures.
Why use it?
It helps identify why workflows are stuck, failing, not starting, missing from the Inbox, or creating system backlogs.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/adobe/skills/workflow-debugging
Any agent
npx skills add adobe/skills --skill workflow-debugging
Clone the repo
git clone --depth 1 https://github.com/adobe/skills

Made for: Claude Code, Codex.

Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00103 $0.03811
Opus 5 $0.00051 $0.01906
Sonnet 5 $0.00021 $0.00762
Haiku 4.5 $0.00010 $0.00381

Measured 2d ago against content hash 0a44696622f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

workflow-debugging scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/aem/6.5-lts/skills/aem-workflow/workflow-debugging/SKILL.md · 227 lines

How it starts

The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AEM Workflow Debugging — 6.5 LTS / AMS

Production-grade debugging for AEM Granite Workflow engine, launcher, Inbox, Sling Jobs, thread pools, and purge on AEM 6.5 LTS and Adobe Managed Services (AMS).

Variant Scope

  • This skill is 6.5-lts-only (includes AMS).
  • Full JMX access via Felix Console or JMX client.
  • Config changes via Felix Console or OSGi config in repository.

When to use this skill

  • Workflow stuck, not progressing, failed, not starting, task not in Inbox, purge/repository bloat, permissions, queue backlog, thread pool exhaustion, auto-advancement not working.
  • User provides thread dumps, configuration status ZIPs, Sling Job console output, or error.log excerpts.
  • Environment: AEM 6.5 LTS / AMS (JMX available).

Step 1: Map symptom to first action

Symptom symptom_id First action
Workflow stuck (not advancing) workflow_stuck_not_progressing Open instance; note current step type. No work item → stale.
Task not in Inbox task_not_in_inbox Confirm Participant step; assignee = logged-in user; Inbox filters.
Workflow not starting (launcher) workflow_not_starting_launcher Launcher enabled; path/event match payload.
Workflow fails or shows error workflow_fails_or_shows_error Instance history; error.log for instance ID; payload and process.
Step failed, retries exhausted step_failed_retries_exhausted Logs → process.label → JMX retryFailedWorkItems or Inbox retry.
Stale (no current work item) stale_workflow_no_work_item JMX countStaleWorkflowsrestartStaleWorkflows(dryRun=true).
Repository bloat / too many instances repository_bloat_too_many_instances JMX purgeCompleted(dryRun=true) or Purge Scheduler.
User cannot see or complete item user_cannot_see_or_complete_item Assignee/initiator/superuser; enforce flags.
Cannot delete model cannot_delete_model JMX countRunningWorkflows → terminate → delete.
Slow throughput / queue backlog slow_throughput_queue_backlog JMX returnSystemJobInfo; queue.maxparallel on Granite Workflow Queue; Sling thread pool.
Auto-advancement not working workflow_auto_advance_failure Check default thread pool saturation; Sling Scheduler; timeout jobs.
New workflow not working workflow_setup_validation Model sync, launcher, process registration, permissions.

Read the full file on GitHub · 227 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 227 lines · 103 tokens per session scan A 0a44696622f2

Subscribe to this mod's changes

workflow-debugging is a skill published in the GitHub repository adobe/skills (175 stars, last pushed 3d ago), licensed Apache-2.0. It adds 103 tokens to every session and 3,811 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

google-cloud-recipe-onboarding

Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource. Use when a new developer wants to initialize their first Google Cloud project, configure billing, and verify deployment. Don't use for enterprise organization setup (use…

google/skills · 80 tokens

implement-improvements

Validate improvements from .turbo/improvements.md, recommend a working set tailored to what's in the backlog, and run one lane: direct fixes, investigation, or planned work. One lane per session. Use when the user asks to "implement improvements", "work on improvements", "address improvements", "process improvement…

tobihagemann/turbo · 79 tokens

note-improvement

Capture an out-of-scope improvement opportunity so it doesn't get lost. Use when the user asks to "note improvement", "save improvement", "track this for later", "remember this improvement", "note this idea", "log improvement", "backlog this", or "park this idea". Also invoke proactively when noticing something…

tobihagemann/turbo · 107 tokens

github-discussion-to-devrel-content

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and draft the actual docs fixes and content angles — with verbatim community quotes and source links as evidence.

Varnan-Tech/opendirectory · 45 tokens

codebase-advisor

Senior codebase advisor that audits a repository, vets findings, and writes self-contained implementation plans for other agents to execute. Triggers on: "write improvement plans", "create an implementation backlog", "audit and plan fixes", "turn findings into plans", "agent-executable plans", "reconcile plans"…

Mathews-Tom/armory · 110 tokens

decision-map

Maps the unresolved architecture, policy, and scope decisions that must be answered before planning can start: one durable decision ticket per question on the issue tracker, typed and blocker-linked under a parent map, with fog-of-war, out-of-scope, a computed frontier, and one decision resolved per invocation.…

Mathews-Tom/armory · 145 tokens