dismiss

dismiss is a command for Claude Code from juanmhidalgo/claude-plugins. It costs 34 tokens per session (635 once invoked), scanned A, original, MIT.

A command for closing false-positive comments on a GitHub pull request, with a stated reason. It asks for confirmation before resolving each comment.

In plain words
What is it for?
Use it to review comments identified as false positives, choose or write a reason, reply to each comment, and resolve its discussion on GitHub.
Why use it?
It prevents valid review findings from being closed by mistake and keeps a record of why a comment was rejected.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the code-review plugin — 5 skills, 14 commands, 13 agents shipped together

Good fit Use it to review comments identified as false positives, choose or write a reason, reply to each comment, and resolve its discussion on GitHub.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add juanmhidalgo/claude-plugins
Claude Code
/plugin install code-review

Made for: Claude Code.

Or install code-review, the plugin that ships this one along with the rest of its 5 skills, 14 commands, 13 agents.

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 dismiss

README.md
[![agentmods](https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/dismiss.svg)](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/dismiss)
Your own site
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/dismiss"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/dismiss.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 635 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.00034 $0.00635
Opus 5 $0.00017 $0.00318
Sonnet 5 $0.00007 $0.00127
Haiku 4.5 $0.00003 $0.00064

Measured 7d ago against content hash 2953662ca8b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

dismiss 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 7d 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.

code-review/commands/dismiss.md · 93 lines

How it starts

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

Context

  • Repository: !git remote get-url origin
  • Current branch: !git branch --show-current
  • PR Number: $ARGUMENTS

Instructions

Step 1: Get Comments to Dismiss

Check if there's a recent /code-review/triage output in this conversation with FALSE POSITIVES identified.

If not, fetch PR comments:

${CLAUDE_PLUGIN_ROOT}/scripts/pr-triage-comments.sh OWNER REPO PR_NUMBER

Step 2: For Each False Positive

Show the comment and ask for confirmation:

Comment by @copilot on `file.py:42`:
"Consider using dependency injection here..."

Dismiss with reason:
1. Already handled elsewhere
2. YAGNI - not needed
3. Misunderstands context
4. Style preference, not bug
5. Custom reason...

Step 3: Dismiss on GitHub

For each confirmed dismissal, run:

${CLAUDE_PLUGIN_ROOT}/scripts/pr-resolve-comment.sh OWNER REPO PR_NUMBER REF_ID dismiss "REASON"

This will:

  1. Add a reply with "Dismissed" + reason
  2. Resolve the thread on GitHub

Step 4: Report

Show summary:

## Dismissed Comments

✅ @copilot on file.py:42 - "YAGNI - not needed"
✅ @gemini on auth.py:15 - "Already handled in middleware"
✅ @copilot on utils.py:88 - "Style preference, not bug"

3 comments dismissed and resolved on PR #42

Dismissal Reasons Templates

Reason Template
YAGNI "Not implementing - this feature isn't needed (YAGNI). The current implementation meets requirements."
Already handled "Already handled in {location}. See {file}:{line} for the existing implementation."
Context "This suggestion misunderstands the context. {explanation}"
Style "This is a style preference, not a bug or security issue. Keeping current approach for consistency."
Breaking "This change would break {what}. Current implementation is intentional."
Performance "Verified no performance issue here. {evidence}"

Important

  • Be professional in dismissal messages
  • Include enough context for future reference
  • Don't dismiss valid concerns - only confirmed false positives

Read the full file on GitHub · 93 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. 7d ago First seen · 93 lines · 34 tokens per session scan A 2953662ca8b4

Subscribe to this mod's changes

dismiss is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 12d ago), licensed MIT. It adds 34 tokens to every session and 635 once invoked, about $0.0002 per session on Opus 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-08-31.