Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Everr Setup Resources?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/everr-labs-everr-setup-resources)
---
name: everr-setup-resources
description: Use when creating, editing, applying, or inspecting Everr as-code resources (dashboards, runbooks, alert rules), Perses-format dashboard YAML, panels, ClickHouse queries, ```panel blocks, AlertRule YAML, or the `everr apply` and `everr resources` CLIs.
---
## Startup Access
Use the CLI's saved login session. Run commands with the access already available; request scoped access if the sandbox blocks the selected installation, local collector, or CLI configuration directory. The CLI manages credentials. Keep credential contents out of tool output and project files.
Remote commands use the API URL and token in the saved session. A new agent session reuses that login. Use `everr cloud status --json` to confirm the installation and account or obtain the UI URL; switch installations with `everr cloud login --url <app-url>`.
`everr apply` uses the saved login or `EVERR_API_KEY` for unattended application (`EVERR_API_TOKEN` remains an alias). `everr resources` and `everr cloud query` use the login. Follow the CLI's reauthentication hint, or use the installation's onboarding login command for first setup.
Discover real query columns with `everr cloud query "DESCRIBE TABLE traces"` or the `everr-use-telemetry` skill before authoring resource queries.
# Setting Up Everr Resources
Everr resources are **as-code**: dashboards, runbooks, and alert rules are YAML files on disk, reconciled into Everr with `everr apply`. The files are the source of truth.
## Rule Loading
Always read the relevant rule files before authoring or editing a resource. Load the minimum guidance for the resource kind being changed.
| Rule | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `queries` | The shared panel and query model: ClickHouse SQL, time params, bucketing, variables, data shapes, testing and `EXPLAIN` optimization. Read for any dashboard, runbook, or alert query. |
| `dashboards` | Dashboard schema, grid layout, worked example |
| `runbooks` | Runbook schema, pages, ```panel embeds, reading runbooks as an agent |
| `alerts` | AlertRule schema, alert design, thresholds, notification messages, verification |
| `timeseries`, `barchart`, `table`, `statchart`, `gaugechart`, `geomap`, `treemap`, `statetimeline`, `statushistory`, `heatmap`, `nodegraph` | One file per visualization kind: the complete option set, expected data shape, and footguns |
For a dashboard task read `queries`, `dashboards`, and the viz rules you use. For a runbook read `queries` and `runbooks`. For an alert read `alerts`, plus `runbooks` when creating the linked runbook.
## File Layout And The Repo Identity
`everr apply <dir>` reconciles a directory of declarations. By convention that directory is `everr/` at your repo root. The apply identity (the `repoid`) is inferred from the repository's `origin` remote, normalized to `host/owner/repo`. No manifest is needed. Name each file by its kind, with the slug as the stem:
```
everr/
everr.yaml # optional explicit repoid override
checkout-api.dashboard.yaml # a Dashboard
high-error-rate.runbook.yaml # a Runbook
high-error-rate.runbook.md # referenced by the runbook's `markdown.file`
high-error-rate.alert.yaml # an AlertRule (may share a stem with its runbook)
platform/
db-health.dashboard.yaml # folder "platform" (from the directory name)
```
An optional `everr.yaml` (or `.yml`) at the apply root overrides the inferred identity. It accepts exactly one key:
```yaml
# everr/everr.yaml (optional override)
repoid: "my-explicit-id"
```
The `repoid` is the **apply ownership boundary**: `everr apply` reconciles exactly the resources previously applied under this id and nothing else. Use one stable id per repository; never reuse a repoid across unrelated repos, and never change it for an existing one (that orphans everything applied under the old id). It is the only key the manifest accepts. Use the manifest for local-only repositories, non-git directories, or when you need to pin an explicit name.
Apply routes each document by its `kind:` field, so the `.dashboard.yaml`/`.runbook.yaml`/`.alert.yaml` suffixes are a human-facing naming convention, not something the CLI parses. The slug always comes from `metadata.name`. Files are flat in `everr/` by convention; subdirectories are optional and become folder paths in the UI. There are no folder objects.
## Apply Workflow
```sh
everr apply ./everr --preview # always stage into a preview first; live state untouched
everr apply ./everr # prints the destination org, then asks to confirm
```
Apply discovers all `.yaml`/`.yml` files under the directory, classifies them by `kind`, and reconciles creates, updates, and deletes. It is **declarative and delete-by-default within the `repoid`**: new files are created, changed files updated, and removed files are **deleted**. Live alert event history is retained independently of the deleted rule. This spans **all resource kinds**: the tree is the complete desired state for that repoid, so applying a dashboards-only directory also prunes runbooks and alerts previously applied under the same repoid. Never split one repoid across two apply directories. Re-applying with no changes prints `Nothing to apply.`
In CI, set `EVERR_API_KEY` and pass `--yes`. Only deploy to production when the user is satisfied with the changes.
## Inspecting Live Resources
`everr resources` reads and manages what is live in the org. It requires an `everr cloud login` session (API keys are not accepted):
```sh
everr resources list [--kind dashboard|runbook|alert] [--repoid <id>] [--json]
everr resources show <kind> <slug> [--project <p>] [--json] # stored config, YAML by default
everr resources delete <kind> <slug> # deletes immediately, no prompt
everr resources adopt <kind> <slug> [--yes] # take ownership for this repo
```
`--project` defaults to `default`. `list --repoid ""` shows UI-created resources. Use `delete` and `adopt` only for resources outside your apply tree (UI-created, or owned by another repo); anything in your tree is managed by `everr apply`.
## Previews
To share work-in-progress in the real UI without touching the live state, apply into a preview:
```sh
everr apply ./everr --preview # named after the current git branch
everr apply ./everr --preview pr-142 # explicit name (required in CI / detached HEAD)
```
A preview is a full copy of the tree under a name, overlaid on the live state in the UI. Apply prints a shareable `Preview:` link (the UI reads `?preview=<name>`); anyone in the org can open it and sees each resource badged as added, changed, removed, or unchanged against live. A "conflict" badge means the preview adds a (project, slug) that another repo already owns live, so shipping it would need `--adopt`.
- Live state is never touched. Each (repoid, name) preview is its own reconcile scope with the same declarative delete-by-default semantics; re-applying the branch updates it in place.
- Previews skip the confirmation prompt and never need `--yes`: they are disposable.
- Preview alert rules evaluate and show firing/ok in the UI, but never send notifications.
- There is no delete step. A preview expires automatically once it has not been re-applied for the retention window (default 7 days); re-applying refreshes it. To ship it, merge the branch and run a normal live apply.
Never stage changes with a scratch repoid or a second apply directory; `--preview` exists for exactly that.
## Common Mistakes
| Mistake | Fix |
| --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| No `origin` remote and no `everr.yaml` manifest | Apply infers the repoid from the `origin` remote. If there is neither, create `everr.yaml` with a `repoid:` or add a remote. An `everr.yaml` always wins over the inferred slug. |
| Empty `repoid` or reusing across repos | Use one stable id per repository; a UUID is a good default for new repos |
| `everr dashboard apply -f file.yaml` or applying a single file | The command is `everr apply <dir>` against a directory |
| Splitting one repoid across two apply directories | One tree per repoid; apply prunes everything not in the tree, across all kinds |
| Inventing metric/label/column names | Discover real columns with `everr cloud query "DESCRIBE TABLE traces"` or the `everr-use-telemetry` skill |
| Staging unreviewed changes via a scratch repoid, or sharing them with only `--dry-run` output | `everr apply --preview` deploys a viewable copy into the UI without touching live |
| Trying to delete or clean up a preview | Previews expire on their own after the retention window; just stop applying them |