database-operation SKILL.md skillA

database-operation from jxxghp/moviepilot is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jxxghp/moviepilot/database-operation@v17

Pins v17 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jxxghp/moviepilot
Path
skills/database-operation/SKILL.md
Versions recorded
25
Latest version
v17, committed Oct 29, 2026
First version recorded
Sep 1, 2026
Size
32,409 bytes
Repository stars
12,006
License
GPL-3.0

Use this skill when you need to inspect, query, maintain, or carefully modify the MoviePilot database. This skill uses the bundled scripts/mp-db.py helper, which reads MoviePilot local settings itself and never requires database passwords or full PostgreSQL DSNs in the agent prompt. Applicable scenarios include data statistics, counts, aggregations, inspecting or fixing records, cleanup requests, and questions like "how many downloads", "show site stats", "delete old records", or…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Database Operation

> All script paths are relative to this skill file.

Use `scripts/mp-db.py` for all database access. Do not extract database passwords, API tokens, or full PostgreSQL DSNs from the prompt. The script reads MoviePilot local settings and connects to SQLite or PostgreSQL internally.

## Scope And Boundaries

This skill is the direct SQL boundary. It is implemented as a Python script and
is appropriate when the agent must inspect records, run data statistics, repair
stuck state, or perform an explicitly requested database update.

Run the bundled copy from the MoviePilot program directory with its project
runtime, for example:

```bash
cd <MOVIEPILOT_ROOT>
python skills/database-operation/scripts/mp-db.py tables
```

The Agent command environment routes `python` to the project-specific `moviepilot-python`
entry when available and falls back to the project or Docker `VENV_PATH` Python otherwise.

The runtime sets `MOVIEPILOT_ROOT` for copied skills. If you run a copied
script directly from `<CONFIG_PATH>/agent/skills/`, set that variable to the
program directory first; otherwise the helper reports how to relocate it.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jxxghp/moviepilot/database-operation@sha256:8d9507196608acec

The line at the top of this page pins the label v17, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cv54y3dvcpyhovtr.svg)](https://markdownregistry.com/a/art_cv54y3dvcpyhovtr)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 25 versions of this file, between Sep 1, 2026 and Oct 29, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
v17 latest2026-10-29 9aab7c0 32,409 BA view · diff
v162026-10-26 8b22755 32,313 BA view · diff
v162026-10-26 0ba73f5 32,051 BA view · diff
v152026-10-24 721c037 30,932 BA view · diff
v142026-10-24 81260dc 30,239 BA view · diff
v142026-10-23 3ac7526 30,229 BA view · diff
v142026-10-23 951cdc5 30,204 BA view · diff
v132026-10-22 6610a8c 30,188 BA view · diff
v112026-10-14 b18833f 29,972 BA view · diff
v102026-10-12 86c7fcc 29,972 BA view · diff
v92026-10-07 e5e2558 29,118 BA view · diff
v92026-10-01 d206430 28,593 BA view · diff
v92026-10-01 c07f0a0 28,819 BA view · diff
v92026-10-01 56b599f 28,813 BA view · diff
v92026-10-01 1cc9968 28,420 BA view · diff
v92026-09-15 71fffde 27,940 BA view · diff
v92026-09-13 d44480d 27,919 BA view · diff
v92026-09-12 d6509f0 27,884 BA view · diff
v92026-09-12 e47d7de 27,563 BA view · diff
v82026-09-12 4dbb8b8 27,503 BA view · diff
v72026-09-09 5fa5b41 26,755 BA view · diff
v62026-09-07 b85aa5e 25,891 BA view · diff
v62026-09-05 f00853d 25,838 BA view · diff
v62026-09-03 68880db 25,499 BA view · diff
v62026-09-01 e57288b 26,196 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (32409 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jxxghp/moviepilot · 12,006 stars · license GPL-3.0 · pushed 2026-11-02 · branch v3

API

GET https://markdownregistry.com/api/v1/artifacts/art_cv54y3dvcpyhovtr
GET https://markdownregistry.com/api/v1/resolve?ref=jxxghp/moviepilot/database-operation
GET https://markdownregistry.com/api/v1/blob/8d9507196608acec67242d9752928508353bf09e92d3b2af72f714a7fea5251f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jxxghp/moviepilot

AGENTS.md AGENTS.md file
jxxghp/moviepilot · AGENTS.md
git:20261018.6ec5240 · audit A · 12,006 stars
anysearch SKILL.md skill
jxxghp/moviepilot · skills/anysearch/SKILL.md · Real-time search engine supporting web search, vertical domain search, parallel batch search, and URL content…
v3 · audit A · 12,006 stars
browser-use SKILL.md skill
jxxghp/moviepilot · skills/browser-use/SKILL.md · Use this skill when the user asks the agent to open, browse, inspect, extract content from, click through, fill forms…
v4 · audit A · 12,006 stars
command-dispatch SKILL.md skill
jxxghp/moviepilot · skills/command-dispatch/SKILL.md · Use this skill when the user sends a slash command or asks to run a MoviePilot system or plugin command in natural…
v2 · audit A · 12,006 stars
create-moviepilot-plugin SKILL.md skill
jxxghp/moviepilot · skills/create-moviepilot-plugin/SKILL.md · Use this skill when the user asks to create, modify, debug, validate, or scaffold a MoviePilot local plugin. Covers…
v7 · audit A · 12,006 stars
create-moviepilot-skill SKILL.md skill
jxxghp/moviepilot · skills/create-moviepilot-skill/SKILL.md · Use this skill when the user asks to create, scaffold, update, or review a MoviePilot agent skill. This includes adding…
v3 · audit A · 12,006 stars
downloader-operation SKILL.md skill
jxxghp/moviepilot · skills/downloader-operation/SKILL.md · Use this skill when the user asks to inspect, diagnose, or directly control a configured qBittorrent, Transmission, or…
v3 · audit A · 12,006 stars
feedback-issue SKILL.md skill
jxxghp/moviepilot · skills/feedback-issue/SKILL.md · Use this skill ONLY when the user EXPLICITLY requests filing an upstream issue for MoviePilot core, frontend, or an…
v12 · audit A · 12,006 stars
generate-identifiers SKILL.md skill
jxxghp/moviepilot · skills/generate-identifiers/SKILL.md · Use this skill when a user provides a torrent name or file name and wants to fix recognition issues, or asks to…
v4 · audit A · 12,006 stars
mediaserver-operation SKILL.md skill
jxxghp/moviepilot · skills/mediaserver-operation/SKILL.md · Use this skill when the user asks to inspect, diagnose, or directly operate a configured Emby, Jellyfin, Plex, ZSpace…
v3 · audit A · 12,006 stars
moviepilot-api SKILL.md skill
jxxghp/moviepilot · skills/moviepilot-api/SKILL.md · Use this skill for MoviePilot product operations such as media search, torrent search, downloads, subscriptions…
v71 · audit A · 12,006 stars
moviepilot-update SKILL.md skill
jxxghp/moviepilot · skills/moviepilot-update/SKILL.md · Use this skill to check MoviePilot versions, inspect Release update state, download a Release update in the background…
v7 · audit A · 12,006 stars

Every file in jxxghp/moviepilot

Browse by kind, by grade A, or by owner.