Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

omni-db-backups — Claude Code skill: what it does, how to install

Triggers system backups, restores SQLite databases, and manages snapshots in OmniRoute. Useful for automated maintenance and environment repairs via API.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cheaper-inference/OmniRoute --skill omni-db-backups -a claude-code
Open on GitHub

What omni-db-backups does

This skill provides instructions to manage the SQLite database lifecycle in OmniRoute. It covers data exports, imports, and incremental snapshot strategies. The agent can also query the running version, check auto-update channels, and trigger environment repair routines through system endpoints.

Requests require a Bearer token via $OMNIROUTE_TOKEN or a valid session cookie. You can bypass authorization in local development by setting REQUIRE_API_KEY=false. Calls directed to port 20128 fail immediately without credentials or that development flag.

What it helps with

  • trigger backups and incremental snapshots for SQLite
  • restore system state from backup files
  • inspect OmniRoute release version and auto-update status
  • run environment repair routines via the system API

Example prompts for the agent

  • Create an incremental snapshot of the OmniRoute SQLite database
  • Check the running OmniRoute version via the system API
  • Trigger environment repair through /api/system/env/repair

How to install omni-db-backups

1Skills CLI (Vercel)

npx skills add cheaper-inference/OmniRoute --skill omni-db-backups -a claude-code

2Manually: put the files in place

~/.claude/skills/omni-db-backups/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/omni-db-backups/

From the same set34

The whole set →
cli-setup cheaper-inference Helps the agent configure OmniRoute, manage autostart, apply CLI updates, and adjust session environment variables. Claude Code CX Codex Cursor +1 1,200installs omni-combos-routing cheaper-inference This skill creates and manages model routing combos with fallback chains, tests, and metrics. Use it when OmniRoute needs configurable provider routing. Claude Code CX Codex Cursor +1 1,200installs omni-inference cheaper-inference Connects OpenAI-compatible inference endpoints for chat, embeddings, audio, and images. Useful for AI agents calling OmniRoute endpoints. Claude Code CX Codex Cursor +1 1,100installs cli-providers cheaper-inference Manage OmniRoute provider connections from the CLI: inspect the catalog, test connections, rotate keys, and view metrics. Useful when provider setup is part of your terminal workflow. Claude Code CX Codex Cursor +1 1,100installs omni-auth cheaper-inference Manage API keys and sessions in OmniRoute. Authenticates requests via Bearer tokens, handles dashboard login with password or OIDC, and controls session access. Claude Code CX Codex Cursor +1 1,100installs cli-routing cheaper-inference Manage model routing combos from the command line with omniroute. Test routing strategies, inspect metrics, and configure fallback chains interactively. Claude Code CX Codex Cursor +1 1,100installs omni-mcp cheaper-inference Connects an agent to the OmniRoute MCP server for request routing, memory, cache, and audit work. Use it when those operations need to be available as MCP tools. Claude Code CX Codex Cursor +1 1,100installs omni-providers cheaper-inference Manages connections to 375 AI providers via REST API: adds keys, tests connections, syncs models. Claude Code CX Codex Cursor +1 1,100installs

Similar

prisma-8 prisma Guides coding agents through data contracts, migrations, and queries in Prisma 8. Use it in projects running @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. Claude Code CX Codex Cursor +1 305installs airtable community Ready-made curl calls for Airtable's REST API: read records, filter with formulas, write in batches, upsert on a merge field. Claude Code CX Codex Cursor +1 375installs ctx-index mksglu Indexes local files and directories into context-mode's FTS5 database. It allows future searches to pull exact snippets without reloading raw project files into context. Claude Code CX Codex Cursor +1 1,100installs bullmq-specialist sickn33 Guides an agent through BullMQ queues backed by Redis, worker handling, and failure cases. Use it for background jobs, schedules, and dependent work. Claude Code CX Codex Cursor +1 2,100installs sql-queries phuryn Generates database queries from natural language descriptions and schema files. Useful for analysts and engineers building data reports across different SQL dialects. Claude Code CX Codex Cursor +1 2,800installs scikit-learn K-Dense-AI A skill for Python machine learning tasks: classification, regression, clustering, preprocessing, and building ML pipelines with scikit-learn 1.9.1. Claude Code CX Codex Cursor +1 2,200installs xlsx official anthropics Creates, reads, edits, and converts spreadsheet files. Use it when the requested deliverable is an Excel workbook or another tabular file. Claude Code Claude.ai 187,223installs google-agents-cli-observability official Google This skill guides you through tracing and monitoring AI agents, including ADK agents. Use it when you need to inspect agent execution or monitor a deployed agent. Claude Code CX Codex Cursor +1 509,900installs

Questions about omni-db-backups

How to install omni-db-backups in Claude Code?

Run npx skills add cheaper-inference/OmniRoute --skill omni-db-backups -a claude-code.

What does omni-db-backups do?

It coordinates SQLite backup creation, snapshot restoration, and system environment repair checks inside OmniRoute.

What authentication is needed for the API endpoints?

Requests require a valid Bearer token or session cookie. You can also configure REQUIRE_API_KEY=false for local environments.

Source text

SKILL.md · MIT
---
name: omni-db-backups
description: Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.
---
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

## Overview

Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.

## Authentication

All requests require a valid Bearer token or session cookie. Obtain a token via `POST /api/auth/login` or configure `REQUIRE_API_KEY=false` for local development.

## Endpoints

### GET /api/system/env/repair

GET system › env › repair

```bash
curl http://localhost:20128/api/system/env/repair \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

### POST /api/system/env/repair

POST system › env › repair

```bash
curl -X POST http://localhost:20128/api/system/env/repair \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### GET /api/system/version

GET system › version

Running version, latest published version, auto-update status and npm release channel. `releaseChannel` and `channels` are additive (rail 3.8.54); `channel` keeps meaning the deployment mode used by the dashboard updater.

```bash
curl http://localhost:20128/api/system/version \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN"
```

### POST /api/system/version

POST system › version

```bash
curl -X POST http://localhost:20128/api/system/version \
  -H "Authorization: Bearer $OMNIROUTE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Payloads

See the full OpenAPI specification at `GET /api/openapi/spec` or `docs/openapi.yaml` for detailed request/response schemas.

© cheaper-inference · MIT · cheaper-inference/OmniRoute

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor