---
name: multi-agent-help
description: "Multi-agent pipeline usage guide  -  renders in EN or TR per prefs.global.outputLanguage (falls back to promptLanguage for backward compatibility). Use when asked what the pipeline can do, which mode to pick, or what a command means."
user-invocable: true
argument-hint: "[topic]  -  optional; calling with no argument prints the full guide in the user's language"
metadata:
  language: en
---

# multi-agent-help

Called with no args or `help`, show the usage guide in the user's preferred language.

## Language resolution

Help is the assistant's own explanation to the user - render it in `prefs.global.outputLanguage`, falling back to `prefs.global.promptLanguage` for older prefs. Two valid values: `"en"` (default) and `"tr"`; missing or malformed means `"en"`. Language rule: `$HOME/.claude/multi-agent-refs/rules.md`.

```bash
PREFS="$HOME/.claude/multi-agent-preferences.json"
LANG=$(jq -r '.global.outputLanguage // .global.promptLanguage // "en"' "$PREFS" 2>/dev/null || echo "en")
```

Read **exactly one** catalog, the one matching `LANG`, and print its block. Never print both.

| `LANG` | Catalog |
|---|---|
| `tr` | `$HOME/.claude/multi-agent-refs/help/tr.md` |
| anything else | `$HOME/.claude/multi-agent-refs/help/en.md` |

## Copilot CLI rendering

The catalogs are shared with Claude Code and written in its colon form. On Copilot CLI, print every `/multi-agent:<name>` as `/multi-agent-<name>` (for example `/multi-agent:create-jira` becomes `/multi-agent-create-jira`), and keep the log root `$HOME/.claude/logs/multi-agent/{project}/{task-id}/`: logs are state every host shares under `~/.claude`. Change nothing else in the block.
