task-diagnosis

task-diagnosis is a skill for Claude Code, Codex from agentscope-ai/AgentTeams. It costs 35 tokens per session (2,511 once invoked), scanned A, original, Apache-2.0.

A diagnostic workflow for inspecting team tasks and execution traces to explain failures, delays, retries or missing handoffs. It examines task dependencies and the messages passed between workers.

In plain words
What is it for?
Use it to investigate task status, incomplete results, slow operations, backend errors and unexpected team output.
Why use it?
A task list alone may not show why work failed or stalled. Full traces and dependency information help distinguish planning problems from communication or execution problems.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for qwenpaw. Also seen: built for qwenpaw.

Good fit Use it to investigate task status, incomplete results, slow operations, backend errors and unexpected team output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentscope-ai/agentteams/task-diagnosis
About the project

AgentTeams is a runtime platform where multiple AI agents collaborate in shared Matrix rooms under the coordination of a manager. It is for human-supervised or enterprise workflows that need visible, auditable cooperation among agents running on different runtimes, with shared files and centralized traffic management.

agentscope-ai/AgentTeams · 6,171 stars · on GitHub · aliyun.com

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.

Any agent
npx skills add agentscope-ai/AgentTeams --skill task-diagnosis
Clone the repo
git clone --depth 1 https://github.com/agentscope-ai/AgentTeams

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for task-diagnosis

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentscope-ai/agentteams/task-diagnosis/github.svg)](https://agentmods.dev/skills/agentscope-ai/agentteams/task-diagnosis)
Your own site
<a href="https://agentmods.dev/skills/agentscope-ai/agentteams/task-diagnosis"><img src="https://agentmods.dev/badge/skills/agentscope-ai/agentteams/task-diagnosis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for task-diagnosis

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentscope-ai/agentteams/task-diagnosis"><img src="https://agentmods.dev/badge/skills/agentscope-ai/agentteams/task-diagnosis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00035 $0.02511
Opus 5.5 $0.00014 $0.01004
Sonnet 5.5 $0.00007 $0.00502
Haiku 4.5 $0.00003 $0.00251

Measured 13d ago against content hash 190bcec4585f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

task-diagnosis 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 13d 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/teamharness/skills/agent/task-diagnosis/SKILL.md · 208 lines

How it starts

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

Diagnose Task Execution

Use this skill when you need to explain why an Agent conversation, session, or task failed, stalled, retried, or produced an unexpected result. You use your own Controller identity: as Leader you can inspect your team; as Manager you can inspect authorized teams. Never request or extract Langfuse project credentials.

As Manager, start this workflow only when the user explicitly asks you to diagnose or analyze execution. Enabled trace collection, slow progress, and Leader/Worker acknowledgements, completion reports or blocker notifications are not diagnosis requests. For an ordinary progress question, query the relevant task/project once and report its state without reading Tracing.

Inspect Runtime Health as Manager

When a user asks about component CPU/memory, container logs, an Agent that does not reply, or a runtime error, use these read-only commands as Manager. Container monitoring is administrator/Manager-only; as Leader, keep using your authorized task/trace queries below. Never obtain another identity's token, use Docker directly, or bypass a 403 response.

  1. Discover the resource and its exact kind/name:

    agt monitoring --search <component-or-agent-name> --page 1 --limit 12 -o json
    

    Read totalPages and query additional pages as needed. The resource kinds are component, manager, and worker; the default Manager is commonly named default. Embedded Matrix, gateway and storage share the component/controller container. Their metrics/log output cannot be attributed to separate service processes by this API.

  2. Inspect availability, metrics.state, startedAt, restartCount, oomKilled, exitCode, CPU, memory and Worker activity. CPU 100% means one core; memory excludes inactive file cache. Null usage is unknown, not zero. A null memory limit means no explicit container quota. Report sampledAt: a current sample cannot establish resource usage during an earlier incident. Kubernetes/external Workers may have no supported container data source.

Read the full file on GitHub · 208 lines

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. 13d ago Changed · +6 lines · +1 tokens per session 190bcec4585f
  2. 15d ago Changed · +121 lines · +10 tokens per session 98d7c69bb0a9
  3. 18d ago Changed · +33 lines 3e5888396337
  4. 19d ago First seen · 48 lines · 24 tokens per session scan A 886d09764672

Subscribe to this mod's changes

task-diagnosis is a skill published in the GitHub repository agentscope-ai/AgentTeams (6,171 stars, last pushed today), licensed Apache-2.0. It adds 35 tokens to every session and 2,511 once invoked, about $0.0001 per session on Opus 5.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-11-11.

Related

task-diagnosis compared with skills from other repositories

task-diagnosis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
task-diagnosisagentscope-ai/AgentTeamsSkill6.2ktodayApache-2.0A35Claude Code, Codex
investigateGCWing/BitFunSkill2.1k2mo agoMITA112Claude Code, Codex
debugGCWing/BitFunSkill2.1k2mo agoMITB28Claude Code, Codex
qaGCWing/BitFunSkill2.1k2mo agoMITC160Claude Code, Codex
orca-replayiflytek/skillhubSkill5.5ktodayApache-2.0A43Claude Code, Codex
memory-recallzilliztech/memsearchSkill3.0k3d agoMITA152Claude Code
afrexai-performance-engineeringLeoYeAI/openclaw-master-skillsSkill2.2k8d agoMITA71Claude Code, Codex