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.
npx skills add cheaper-inference/OmniRoute --skill omni-db-backups -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/omni-db-backups/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/omni-db-backups/
1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-db-backups -a codex2Manually: put the files in place
.agents/skills/omni-db-backups/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-db-backups -a cursor2Manually: put the files in place
.cursor/skills/omni-db-backups/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cheaper-inference/OmniRoute omni-db-backups2Manually: put the files in place
.github/skills/omni-db-backups/SKILL.md1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-db-backups -a gemini-cli2Platform CLI
gemini skills install https://github.com/cheaper-inference/OmniRoute --path skills/omni-db-backupsManually: put the files in place
.devin/skills/omni-db-backups/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill omni-db-backups -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set34
The whole set →Similar
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