dograh: Command for Claude Code

.claude/commands/event-banner-remove.md

event-banner-remove is a command for Claude Code from dograh-hq/dograh. It costs 10 tokens per session (403 once invoked), scanned A, original, BSD-2-Clause.

A command that removes a scheduled event from an app-wide announcement bar by deleting its configuration entry.

In plain words
What is it for?
Use it to retire an event, check that the bar and its layout effects are gone, and verify the web app still builds.
Why use it?
It avoids unnecessary changes to the bar component and its layout code, which already handles the empty state when no event is active.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is dograh-hq/dograh's own configuration. It tells Claude Code how to work on dograh itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dograh configures →

About the project

Dograh is an open-source, self-hostable platform for building voice AI agents that combine speech recognition, language models, and speech synthesis. Teams use its visual workflow builder and telephony integrations to create and operate voice agents while choosing their own providers and infrastructure.

dograh-hq/dograh · 5,981 stars · on GitHub · app.dograh.com

Reuse

Borrowing it

Nothing to install: this file belongs to dograh-hq/dograh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dograh-hq/dograh/main/.claude/commands/event-banner-remove.md
Clone the repo
git clone --depth 1 https://github.com/dograh-hq/dograh

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 event-banner-remove

README.md
[![agentmods](https://agentmods.dev/badge/commands/dograh-hq/dograh/event-banner-remove/github.svg)](https://agentmods.dev/commands/dograh-hq/dograh/event-banner-remove)
Your own site
<a href="https://agentmods.dev/commands/dograh-hq/dograh/event-banner-remove"><img src="https://agentmods.dev/badge/commands/dograh-hq/dograh/event-banner-remove/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 event-banner-remove

Your own site · 80×15
<a href="https://agentmods.dev/commands/dograh-hq/dograh/event-banner-remove"><img src="https://agentmods.dev/badge/commands/dograh-hq/dograh/event-banner-remove.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 403 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.00010 $0.00403
Opus 5.5 $0.00004 $0.00161
Sonnet 5.5 $0.00002 $0.00081
Haiku 4.5 $0.00001 $0.00040

Measured 1mo ago against content hash 367b796e3417, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

event-banner-remove 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 1mo 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.

.claude/commands/event-banner-remove.md · 46 lines

What it actually says

Retire the event with id $ARGUMENTS from the app-wide announcement bar.

Delete that entry from events in ui/src/config/event-banner.config.ts. That is the whole change — the component, the AppLayout sticky offsets and the [data-event-banner] rules in ui/src/app/globals.css all stand down on their own when no event matches, and an empty array is a valid state. Do not edit ui/src/components/EventBanner.tsx, ui/src/app/layout.tsx or ui/.env.example; the plumbing is meant to outlive any one event.

Leave the partner logo in ui/public/logos/ unless the user asks for it gone; it is a few KB and is likely wanted again.

Verify

cd ui && npx tsc --noEmit && npm run build

Then start dev on 3021 in the background:

cd ui && NEXT_PUBLIC_EVENT_BANNER=1 UI_PORT=3021 npm run dev

Confirm the bar is gone, <html> carries no data-event-banner and no --event-banner-h, the app header sits at top: 0, the sidebar is full height and there is no phantom scrollbar.

Ship, once they say so

git checkout -b chore/event-banner-remove-<id>
git add ui/src/config/event-banner.config.ts
git commit   # say which event retired and when it ended
git push -u origin chore/event-banner-remove-<id>

Note: removing an entry does NOT clear the storageKey from anyone's browser. That is fine — the key is per event, and the next event brings its own.

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. 1mo ago First seen · 46 lines · 10 tokens per session scan A 367b796e3417

Subscribe to this mod's changes

event-banner-remove is a command published in the GitHub repository dograh-hq/dograh (5,981 stars, last pushed today), licensed BSD-2-Clause. It adds 10 tokens to every session and 403 once invoked, about $0.0000 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-09-22.