Hook Development for Claude Code Plugins
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
This skill should be used when the user says "/tribunal", "tribunal", "review this", "3-way review", "risk-value-feasibility check", or wants multi-perspective adversarial review.
$ npx skills add team-attention/hoyeon --skill tribunal -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install team-attention/hoyeon tribunal --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/team-attention/hoyeon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tribunal .claude/skills/tribunal && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tribunal" agent skill from https://github.com/team-attention/hoyeon/tree/main/skills/tribunal into .claude/skills/tribunal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tribunal", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/team-attention/hoyeon/tree/main/skills/tribunalType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add team-attention/hoyeon --skill tribunal -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install team-attention/hoyeon tribunal --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/team-attention/hoyeon.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/tribunal .agents/skills/tribunal && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tribunal" agent skill from https://github.com/team-attention/hoyeon/tree/main/skills/tribunal into .agents/skills/tribunal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tribunal", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add team-attention/hoyeon --skill tribunal -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install team-attention/hoyeon tribunal --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/team-attention/hoyeon.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/tribunal .cursor/skills/tribunal && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tribunal" agent skill from https://github.com/team-attention/hoyeon/tree/main/skills/tribunal into .cursor/skills/tribunal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tribunal", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/team-attention/hoyeon.git --path skills/tribunal--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add team-attention/hoyeon --skill tribunal -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install team-attention/hoyeon tribunal --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/team-attention/hoyeon.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/tribunal .gemini/skills/tribunal && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tribunal" agent skill from https://github.com/team-attention/hoyeon/tree/main/skills/tribunal into .gemini/skills/tribunal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tribunal", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install team-attention/hoyeon tribunalInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add team-attention/hoyeon --skill tribunal -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/team-attention/hoyeon.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/tribunal .github/skills/tribunal && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tribunal" agent skill from https://github.com/team-attention/hoyeon/tree/main/skills/tribunal into .github/skills/tribunal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tribunal", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add team-attention/hoyeon --skill tribunal -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install team-attention/hoyeon tribunal --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/team-attention/hoyeon.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/tribunal .opencode/skills/tribunal && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tribunal" agent skill from https://github.com/team-attention/hoyeon/tree/main/skills/tribunal into .opencode/skills/tribunal/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tribunal", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tribunalThis skill should be used when the user says "/tribunal", "tribunal", "review this", "3-way review", "risk-value-feasibility check", or wants multi-perspective adversarial review.
Tribunal is an agent skill from team-attention/hoyeon. This skill should be used when the user says "/tribunal", "tribunal", "review this", "3-way review", "risk-value-feasibility check", or wants multi-perspective adversarial review. Also triggered by: "트리뷰널", "리뷰 해줘", "3관점 리뷰", "위험성 검토". Runs 3 agents (Risk/Value/Feasibility) in parallel and synthesizes a verdict.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Bash. The repository describes itself as: Requirements-first Harness — derive, verify, execute. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 7cff032. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGrepGlobTaskBashAskUserQuestionFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tribunal loads about 1.7k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 378 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Grep, Glob, Task, Bash, AskUserQuestionAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from team-attention/hoyeon at commit 7cff032, republished under its MIT licence (© team-attention). 378 words, ~1,727 tokens.
.claude/skills/tribunal/SKILL.md (or your agent's skills folder).You are a tribunal orchestrator. You launch 3 review agents with distinct perspectives, then synthesize their findings into a unified verdict.
┌─ codex-risk-analyst (Codex) ── "What can go wrong?"
Input ──────┼─ value-assessor (Claude) ── "What value does this deliver?"
└─ feasibility-checker (Claude) ── "Can this actually be built?"
↓
You synthesize all 3
→ APPROVE / REVISE / REJECTDetermine the review target from arguments:
| Input | How to get content |
|---|---|
file.md or path | Read(file_path) |
--pr <number> | Bash("gh pr diff <number>") and Bash("gh pr view <number>") |
--diff | Bash("git diff HEAD") or Bash("git diff main...HEAD") |
| No args | Ask user what to review via AskUserQuestion |
Collect the full content — all 3 agents need the same input.
If reviewing a PLAN.md, also read the corresponding DRAFT.md (if exists) for context.
Launch all 3 agents simultaneously in a single message:
# Risk Analysis (Codex-powered — adversarial)
Task(subagent_type="codex-risk-analyst",
prompt="""
Review Target: [type - plan/PR/diff/proposal]
## Content
[Full content to review]
## Context (if available)
[Project structure, related patterns, constraints]
Perform adversarial risk analysis. Find everything that could go wrong.
""")
# Value Assessment (Claude — constructive)
Task(subagent_type="value-assessor",
prompt="""
Review Target: [type - plan/PR/diff/proposal]
## Content
[Full content to review]
## Original Goal
[What was the intent/requirement behind this work]
Assess the value this delivers. Be genuinely constructive but honest.
""")
# Feasibility Check (Claude — pragmatic)
Task(subagent_type="feasibility-checker",
prompt="""
Review Target: [type - plan/PR/diff/proposal]
## Content
[Full content to review]
## Codebase Context
[Relevant patterns, dependencies, test infrastructure]
Evaluate practical feasibility. Can this actually be built/merged?
""")CRITICAL: All 3 in ONE message (parallel). Do NOT run sequentially.
After all 3 agents return, synthesize their findings.
From each report, extract the summary rating:
| Risk | Value | Feasibility | Verdict |
|---|---|---|---|
| CLEAR | STRONG | GO | APPROVE |
| CLEAR | ADEQUATE | GO | APPROVE |
| CAUTION | STRONG | GO | APPROVE (with notes) |
| CAUTION | ADEQUATE | GO | REVISE |
| CAUTION | * | CONDITIONAL | REVISE |
| BLOCK | * | * | REVISE (or REJECT if critical count > 2) |
| * | WEAK | * | REVISE |
| * | * | NO-GO | REJECT |
| BLOCK | WEAK | * | REJECT |
Use judgment for combinations not in the matrix.
Find areas where agents disagree:
From all 3 reports, extract actionable items:
## Tribunal Verdict
### Panel Scores
| Dimension | Agent | Rating | Key Finding |
|-----------|-------|--------|-------------|
| Risk | codex-risk-analyst | [BLOCK/CAUTION/CLEAR] | [1-line summary] |
| Value | value-assessor | [STRONG/ADEQUATE/WEAK] | [1-line summary] |
| Feasibility | feasibility-checker | [GO/CONDITIONAL/NO-GO] | [1-line summary] |
### Verdict: [APPROVE / REVISE / REJECT]
[1-2 sentence rationale]
### Contention Points
[Where agents disagreed and the resolution reasoning]
### Required Actions
**Must Fix (before proceeding):**
1. [action from risk/feasibility]
**Should Address:**
1. [action]
**Consider:**
1. [action from value missed opportunities]
### Strengths to Preserve
[Key positives identified by value-assessor that should NOT be lost in revisions]
---
<details>
<summary>Full Risk Analysis</summary>
[Complete risk analyst report]
</details>
<details>
<summary>Full Value Assessment</summary>
[Complete value assessor report]
</details>
<details>
<summary>Full Feasibility Report</summary>
[Complete feasibility checker report]
</details>After presenting the report:
| Verdict | Action |
|---|---|
| APPROVE | Inform user: "Tribunal approves. Proceed with confidence." |
| REVISE | Present required actions. Ask user how to proceed. |
| REJECT | Present blockers clearly. Recommend returning to planning. |
For REVISE:
AskUserQuestion(
question: "Tribunal recommends revisions. How do you want to proceed?",
options: [
{ label: "Apply fixes", description: "Address the required actions and re-review" },
{ label: "Override — proceed anyway", description: "Acknowledge risks and continue (Disagree & Commit)" },
{ label: "Back to planning", description: "Return to /specify to rethink approach" }
]
)# Review a plan
/tribunal .hoyeon/specs/auth-feature/PLAN.md
# Review a PR
/tribunal --pr 421
# Review current uncommitted changes
/tribunal --diff
# Review with no args (will ask what to review)
/tribunal© team-attention, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/tribunal of team-attention/hoyeon.
Open the folder on GitHubat commit 7cff032
Tribunal next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tribunal this skillteam-attention/hoyeon | 173 | — | ~1.7k | Automated safety check: Notes | MIT | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 10 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Plugin Settings Patternanthropics/claude-plugins-official | 38k | 7 repos | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Mole Bug Patternstw93/Mole | 70k | — | ~2k | Automated safety check: Pass | GPL-3.0 | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT | |
| E2Ecallstack/react-native-pager-view | 3.4k | 1 repos | ~2.1k | Automated safety check: Pass | MIT |
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
anthropics/claude-plugins-official
Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.
tw93/Mole
A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
callstack/react-native-pager-view
Agentic end-to-end tests with e2e, the e2e runner. An agent skill from callstack/react-native-pager-view.
automazeio/ccpm
Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.
team-attention/hoyeon
This skill should be used when the user asks to "analyze session", "evaluate skill execution", "check session logs", provides a session ID with a skill path, or wants to verify that a skill executed…
team-attention/hoyeon
Recon-first browser automation. An agent skill from team-attention/hoyeon.
team-attention/hoyeon
This skill should be used when the user wants to verify their changes before pushing, or update the project's rule checklists.
team-attention/hoyeon
This skill should be used when the user says "/compound", "compound this", "document learnings", "save what we learned", or after completing a PR.
team-attention/hoyeon
Systematically QA test any application — web apps, native macOS apps, Electron apps, CLI tools, interactive REPLs, or anything on screen.
team-attention/hoyeon
This skill should be used when the user asks about "technical decision", "what to use", "A vs B", "comparison analysis", "library selection", "architecture decision", "which one to use"…
Works with
This skill should be used when the user says "/tribunal", "tribunal", "review this", "3-way review", "risk-value-feasibility check", or wants multi-perspective adversarial review. Tribunal is an agent skill from team-attention/hoyeon. This skill should be used when the user says "/tribunal", "tribunal", "review this", "3-way review", "risk-value-feasibility check", or wants multi-perspective adversarial review.
Tribunal fits situations like: risk-value-feasibility check; wants multi-perspective adversarial review.
Run `npx skills add team-attention/hoyeon --skill tribunal -a claude-code`. Or copy the skill folder (skills/tribunal in team-attention/hoyeon) into .claude/skills/tribunal in your project. Claude Code loads it when a task matches its description.
Run `npx skills add team-attention/hoyeon --skill tribunal -a codex`. Or copy the skill folder (skills/tribunal in team-attention/hoyeon) into .agents/skills/tribunal in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add team-attention/hoyeon --skill tribunal -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tribunal, .gemini/skills/tribunal, .github/skills/tribunal and .opencode/skills/tribunal in your project.
SKILL.md names no scripts, command-line tools or credentials: Tribunal is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob, Task, Bash, AskUserQuestion.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Tribunal is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tribunal: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars), Mole Bug Patterns (tw93/Mole, 70k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
team-attention (a GitHub organization) maintains it in team-attention/hoyeon, which has 173 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on May 21, 2026.
Source: team-attention/hoyeon on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.