/cc-authoring:team-mode-orchestration-verificationfrom cc-authoring
Verify teammate work in Claude Code team mode when main-thread TaskList appears empty or teammates go idle without sending SendMessage replies. Use when: (1) you've created a team via TeamCreate and TaskCreate but `TaskList` returns "No tasks found" from the main thread, (2) a teammate sends only idle_notification after being dispatched with work, (3) you need to confirm a teammate actually completed their assigned task without trusting only their self-report. Covers the file-based team task list at ~/.claude/tasks/<team-name>/ and the "ground truth first, protocol state second" verification pattern used for debugging silent teammate completions.
Ships in cc-authoring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When orchestrating subagents in Claude Code's team mode (via TeamCreate + Agent with team_name), two recurring issues can make it look like work wasn't done when it actually was:
TaskList returns empty for team-scoped tasks — even though TaskCreate succeeded.SendMessage reply, sending only {"type":"idle_notification"} — making it look like they stopped mid-task.Both cases produce the same user-visible symptom: "nothing happened" appearances despite successful execution. The trap is reacting to protocol state (empty TaskList, missing reply) instead of verifying ground truth. The wrong reaction is re-dispatching the task; the right reaction is checking whether the work artifact exists on disk first.
Apply this skill when ANY of the following occur:
TeamCreate + TaskCreate and TaskList returns "No tasks found" from the main thread, even though TaskCreate reported successidle_notification messages with no SendMessage contentThe authoritative sources of "did the work happen" are, in strict order of reliability:
gh repo view)? Is the tag pushed to origin? Is the database row present?ls ~/.claude/tasks/<team-name>/ — these JSON files are the actual task state for the teamMain-thread TaskList is NOT on this list. It queries the non-team task list and will not reflect team-scoped tasks no matter how many you created via TaskCreate after TeamCreate.
When a teammate appears to have stopped silently:
# 1. See the team task list directly (JSON files, one per task)
ls ~/.claude/tasks/<team-name>/
# 2. See the team config (members, state, lead agent)
cat ~/.claude/teams/<team-name>/config.json
# 3. Verify the specific filesystem artifact the teammate was supposed to produce
ls -la /path/to/expected/output
test -d /path/to/expected/output && echo "EXISTS"
cd /path/to/clone && git remote -v # correct origin?
cd /path/to/clone && git branch --show-current # correct branch?
cd /path/to/clone && git branch -a # branch pushed to remote?
cd /path/to/clone && git tag -l # tags created?
cd /path/to/clone && git rev-parse HEAD # HEAD SHA captured?
gh repo view <owner>/<repo> --json nameWithOwner,parent # fork exists on GitHub?
If all checks pass, the work is done regardless of whether the teammate sent a reply. Do not re-dispatch. Proceed to the next task.
SendMessage after task completion is a soft protocol convention, not a system enforcement. Teammates can mark tasks completed and go idle without sending a reply, and the system will not flag it. To prevent silent completions, brief teammates explicitly in their spawn prompt:
Critical protocol note: When you finish, you MUST send a SendMessage to team-lead with a plain-text summary BEFORE going idle. Do not skip this step — it is how team-lead gets your results to relay to the user.
Cite prior failures in the brief so new teammates don't repeat them:
Your predecessor teammate completed their work correctly but forgot to send a SendMessage reply. Do not repeat this mistake.
This is cheap and effective — teammates have no memory of other teammates' failures, so the orchestrator is the only place that pattern-memory lives until you bake it into the dispatch brief.
After applying this skill, you should be able to answer all three of these with "yes":
Scenario: Dispatched explorer-1 (Explore agent) to fork a GitHub repo, clone it locally, create a feature branch, and push a tag. Teammate sent two back-to-back idle_notification messages 8 seconds apart with no content.
Wrong reaction:
"Something went wrong — let me re-dispatch the task with a clearer brief."
Re-dispatching would duplicate the work, possibly collide with the existing local clone, and waste a teammate turn.
Right reaction:
# Step 1: Does the clone directory exist?
ls -la ~/Projects/workspace/nautilus-trader-streamlit
# → Directory exists with full repo contents ✓
# Step 2: Verify git state in the clone
cd ~/Projects/workspace/nautilus-trader-streamlit
git remote -v # → origin → fork (not upstream) ✓
git branch --show-current # → integration/workspace-setup ✓
git branch -a # → feature branch pushed to origin ✓
git tag -l # → upstream-pinned exists ✓
git rev-parse HEAD # → SHA captured ✓
# Step 3: Verify GitHub-side fork creation
gh repo view <user>/nautilus_trader_streamlit --json parent,url
# → fork exists with correct parent upstream ✓
Conclusion: Work was fully completed. Teammate just skipped the SendMessage reply. The correct next action is:
TaskList scoping behavior appears undocumented as of 2026-04-08. Plan around it; don't expect it to change.idle_notification after finishing work is normal — it means their turn ended. The failure signal is a missing work artifact, not an idle notification.superpowers:dispatching-parallel-agents — that skill covers dispatch patterns; this one covers verification of what was dispatched.TaskUpdate, which is often more reliable than plain-text messages for structured handoffs.TeamCreate tool description (in-session)~/.claude/projects/<encoded-project-path>/memory/feedback_team_task_list_visibility.mdsuperpowers:dispatching-parallel-agents (sibling concern, dispatch side)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cajias/claude-skills --plugin cc-authoring16 skills in this plugin
/apm-marketplace-authoring-gotchasEight APM-marketplace-authoring gotchas discovered during real
migrations from hand-authored .claude-plugin/marketplace.json to
APM-managed and from CC-native plugin authoring.
Use when: (1) running APM's packaging step (with or without
`--dry-run`) or its marketplace-check command in a repo with an
`apm.yml`; (2) wiring CI for an APM
marketplace; (3) the CI staleness check (repack, then `git diff
--quiet`) fails despite a clean local; (4) prettier reformats
`marketplace.json` after APM's packer writes it; (5) APM exit code 1 on
local-path-only marketplaces; (6) confused by `packages:` in apm.yml
vs `plugins:` in marketplace.json; (7) commitlint rejects a commit
with `footer-leading-blank` despite no apparent footer; (8) `apm
compile -t claude` exits 0 with zero output and no compiled plugin
appears; (9) husky+lint-staged pre-commit blocks the FIRST marketplace
commit with markdownlint `MD040/fenced-code-language` errors on a
SKILL.md file copied verbatim from `~/.claude/skills/`. The gotchas
form a chain — fixing one usually surfaces the next.
/apm-plugin-distribution-pathsCanonical authoring layout for an APM (microsoft/apm)
package, plus the decision matrix for whether you need a `marketplace:` block.
Use when: (1) you've run `apm init` and are unsure where SKILL.md / agent .md
/ command .md files belong (answer: under `.apm/`, NOT at repo root); (2)
you've authored CC-native files at `commands/agents/skills/` at repo root and
wonder if that's "right" (it works as fallback layout #3 "Claude plugin", but
it's not the canonical authoring path); (3) you're trying to choose between
the three layouts APM recognizes (one-skill repo, multi-primitive `.apm/`,
Claude plugin); (4) `apm targets` fails with "No such command" in CLI 0.12.1
(subcommand doesn't exist); (5) `apm validate` fails with "No such command"
in CLI 0.12.1 (use APM's packaging command in dry-run mode instead); (6) wondering whether
`apm compile -t claude` will generate output for a hand-authored CC-native
plugin (it won't; it's a no-op for layout #3); (7) wondering if you need a
`marketplace:` block in apm.yml (you don't, for a single-plugin repo).
Covers the canonical `.apm/` source layout, the source-to-plugin remap
table, the three-layout choice, and the four distribution paths.