From mpi-kanban
Extract and return Sub-Agent Briefing text from configured project rules or rule bundles. Use when dispatching sub-agents, resolving worker briefings, or when the user runs "$mpi-brief-rule <name>" in Codex or "/mpi-kanban:mpi-brief-rule <name>" in Claude Code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mpi-kanban:mpi-brief-ruleThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Extract and return the `## Sub-Agent Briefing` section from configured project
Extract and return the ## Sub-Agent Briefing section from configured project
rules, or from a configured bundle of rules. Used as a D4 (Agent → Sub-Agent)
dispatch mechanism so sub-agents receive rule briefings without manual
copy-paste.
Codex: $mpi-brief-rule <rule_name>
Claude Code: /mpi-kanban:mpi-brief-rule <rule_name>
<rule_name> is one of the names listed in .claude/mpi-kanban.local.md
under the rules: frontmatter list, or a name under optional bundles:.
The list is project-specific — the plugin ships no hardcoded rules.
All recipes (loadConfig, resolveRulePath, resolveBundle, getRuleList,
getBundleList, loadCriticalSnapshot, bootstrap notice) live in
${CLAUDE_PLUGIN_ROOT}/lib/config-ops.md. Read it once when you actually
need the first recipe — not before. In Codex, resolve the same file relative
to this plugin root.
Load config. Call loadConfig().
null (file missing) → emit the bootstrap notice from
lib/config-ops.md ("No mpi-kanban config found..."), and stop. Do NOT
auto-create the config.Resolve the rule or bundle.
getBundleList(config). If <rule_name> matches a configured
bundle, call resolveBundle(config, rule_name), resolve each rule in
order, and return all briefings with headings.resolveRulePath(config, rule_name).null (rule not in config) → list the available rule names from
getRuleList(config) and available bundle names, then stop. Example output:
Rule "<rule_name>" is not configured.
Available rules: components, events, state
Available bundles: frontend-worker, backend-worker
Read the rule file. Read the resolved path.
Extract the briefing. Find the ## Sub-Agent Briefing heading. Return
everything from that heading up to (but not including) the next ##
heading at the same level (or end of file). Return verbatim — no
modification, no summarization.
Fallback to critical snapshot. If the rule file has no
## Sub-Agent Briefing section, call loadCriticalSnapshot(config) and
return that instead. Prefix the output with one line:
Rule "<rule_name>" has no Sub-Agent Briefing — using critical snapshot from <critical_snapshot_file>:
kanban.md when this skill runs.$mpi-brief-rule in Codex or
/mpi-kanban:mpi-brief-rule in Claude Code.npx claudepluginhub madponyinteractive/mpi-kanban --plugin mpi-kanbanGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.