# cmdk-actions

> Claude/Codex skill by [@getsentry](https://omgskills.com/library/getsentry/index.md) · 46k stars · Updated 2026-10-19

Guide for adding new actions to Sentry's Command+K palette. Use when implementing new cmdk actions, registering page-level or global actions, building async resource pickers, or adding contextual actions to a view.

Tags: apm, crash-reporting, crash-reports, csp-report, devops, django, error-logging, error-monitoring, fair-source, hacktoberfest, monitor, monitoring, python, sentry, tag-production

## Install

```sh
git clone https://github.com/getsentry/sentry /tmp/sentry && ln -s /tmp/sentry/.agents/skills/cmdk-actions ~/.claude/skills/cmdk-actions
```

## From README

Adding Actions to the Command Palette (cmdk) Sentry's Command+K palette is built on a tree-collection system where CMDKAction components register themselves via React context. Actions render wherever in the component tree they live — no central registry to update. Core files static/app/components/commandPalette/ui/cmdk.tsx — CMDKAction component (the only primitive you need) static/app/components/commandPalette/types.tsx — public types + cmdkQueryOptions helper static/app/components/commandPalette/ui/commandPaletteSlot.tsx — CommandPaletteSlot for scoping static/app/components/commandPalette/ui/commandPaletteGlobalActions.tsx — always-on global actions --- The Three Slots Slots control sort order and lifetime.

## Links

- HTML page: https://omgskills.com/library/getsentry/sentry/cmdk-actions/
- GitHub: https://github.com/getsentry/sentry
- Author: [@getsentry](https://omgskills.com/library/getsentry/index.md)

## More from this repo

- [design-system](https://omgskills.com/library/getsentry/sentry/design-system/index.md) — Guide for using Sentry's layout and text primitives.
   - [@getsentry](https://omgskills.com/library/getsentry/index.md) · 46k stars
- [backend-conventions](https://omgskills.com/library/getsentry/sentry/dot-agents/skills/backend-conventions/index.md) — Sentry backend conventions for logging, tracing/spans, span/tag attribute naming, metrics tags, and the options system.
   - [@getsentry](https://omgskills.com/library/getsentry/index.md) · 46k stars
- [feature-flags](https://omgskills.com/library/getsentry/sentry/dot-agents/skills/feature-flags/index.md) — Gate a Sentry feature behind a FlagPole feature flag.
   - [@getsentry](https://omgskills.com/library/getsentry/index.md) · 46k stars
