notification-auto-dismiss

notification-auto-dismiss is a skill for Claude Code from ishida-supsys/oretachi. It costs 143 tokens per session (2,320 once invoked), scanned A, original, MIT.

A notification cleaner for Stop messages from subscribed worktrees. It removes messages that are only waiting for background work to finish and leaves messages needing human input.

In plain words
What is it for?
Use it to review subscribed worktree notifications, report background-waiting items in one line, and remove only those items from the tray.
Why use it?
It reduces a notification tray filled with messages that do not require action. Messages that may need a person remain visible.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Good fit Use it to review subscribed worktree notifications, report background-waiting items in one line, and remove only those items from the tray.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ishida-supsys/oretachi/notification-auto-dismiss
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ishida-supsys/oretachi --skill notification-auto-dismiss
Clone the repo
git clone --depth 1 https://github.com/ishida-supsys/oretachi

Made for: Claude Code.

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 notification-auto-dismiss

README.md
[![agentmods](https://agentmods.dev/badge/skills/ishida-supsys/oretachi/notification-auto-dismiss/github.svg)](https://agentmods.dev/skills/ishida-supsys/oretachi/notification-auto-dismiss)
Your own site
<a href="https://agentmods.dev/skills/ishida-supsys/oretachi/notification-auto-dismiss"><img src="https://agentmods.dev/badge/skills/ishida-supsys/oretachi/notification-auto-dismiss/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for notification-auto-dismiss

Your own site · 80×15
<a href="https://agentmods.dev/skills/ishida-supsys/oretachi/notification-auto-dismiss"><img src="https://agentmods.dev/badge/skills/ishida-supsys/oretachi/notification-auto-dismiss.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,320 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.00143 $0.02320
Opus 5.5 $0.00057 $0.00928
Sonnet 5.5 $0.00029 $0.00464
Haiku 4.5 $0.00014 $0.00232

Measured 9d ago against content hash 0230f90ce370, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notification-auto-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 9d 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.

src-tauri/skills/notification-auto-dismiss/SKILL.md · 97 lines

How it starts

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

notification-auto-dismiss スキル

購読対象のワークツリーから届く Stop 通知のうち、バックグラウンド処理の完了待ちで止まっているだけのものを判定し、報告を 1 行出してからトレイ通知を外す。人の入力が要る通知はトレイに残す。

前提

  • 起動する場所: ワークツリー・home・リポジトリのどのタブからでもよい。対象はそのタブの購読範囲(* / workgroup:<ID> / repo:<名前> / ワークツリー名)。
  • notification-report と同じタブでは併用しない。 どちらも oretachi_poll_inbox(terminal 単位の inbox)を消費するため、片方が取ったぶんをもう片方が見られなくなる。別タブで同じワークツリーを購読していれば、同じ通知がそちらのレポートに載ることはある(仕様)。
  • このスキルを動かしているタブ自身の Stop も通知バッジを出すが、何もしない(自分の通知は判定対象にしない)。
  • 報告先はこのタブの端末出力だけ。 artifact など別の保存先は作らない。
  • 迷ったら「入力要」にする。 誤って外した通知は取り戻せないが、誤って残した通知は人が開けば済む。

Step 0: 購読を整える

自分の terminal_id(セッション開始時に注入されたもの)で oretachi_list_subscriptions を呼び、状態に応じて扱う。

状態 やること
購読が無い 対象をユーザーに聞く(home なら * を提案)。勝手に張らない
既存の購読の event_kinds に completed が無い oretachi_subscribe_worktree で張り直して completed を追加する。(terminal_id, target) で UNIQUE に上書きされるので、既存の kinds との和集合を渡す
delivery が passive ユーザーに断ってから turn_end に直す。passive だと新着が届いてもこのタブが動かず、手で呼び直すまで片付かない

次の前提を知っておくこと。

  • 自動承認との関係: 宛先ワークツリーの自動承認設定は配送に影響しない。completed は自動承認が ON のタブにも本文なしの告知として届く(本文は oretachi_poll_inbox のツール出力で読む)。
  • events.db の書き込み増: * で completed を購読すると、全ワークツリーの Stop が events.db に書かれる。
  • 対象外: リポジトリ設定で Stop を completed 以外の kind に割り当てている場合は、このスキルには届かない。

Step 1: 収集

oretachi_poll_inbox(terminal_id: <自分の terminal_id>) を 1 回呼ぶ。返り値がこの回の母集合で、あとから足さない。

  • 本文を JSON として読み、hook_event_name == "Stop" のものだけを判定対象にする。
  • それ以外(Stop 以外 / JSON として読めない本文)は判定せず、Step 4 で ack だけする。
  • 自分自身のワークツリー由来(sourceWorktreeId が自分)の Stop は判定対象にしない(ack だけ)。

Step 2: 判定

Stop 1 件ごとに判定する。次をすべて満たすものだけを「バックグラウンド待ち」とする。

  1. 本文が JSON として読めて、background_tasks キーが存在する。キーが無い、または切り詰めで判定できないなら「入力要」。
  2. background_tasks か session_crons が空でない。background_tasks_omitted が 1 以上のときも「空でない」に数える(件数を減らして切り詰められただけで、実際には複数ある)。
  3. last_assistant_message が、次のどれにも当たらない。
    • 人への質問・選択肢の提示
    • 承認依頼・「〜してよいか」の確認
    • 作業完了の報告と次の指示待ち

background_tasks が空でないことは必要条件であって十分条件ではない。pnpm run tauri dev のような常駐プロセスを裏で動かしたまま、人に質問して止まっているセッションでも配列は空にならない。だから 3 を必ず読む。

Read the full file on GitHub · 97 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. 9d ago Changed 0230f90ce370
  2. 10d ago First seen · 97 lines · 143 tokens per session scan A 6f7da94e84ba

Subscribe to this mod's changes

notification-auto-dismiss is a skill published in the GitHub repository ishida-supsys/oretachi (2 stars, last pushed 3d ago), licensed MIT. It adds 143 tokens to every session and 2,320 once invoked, about $0.0006 per session on Opus 5.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-10-11.