add-one-off-script SKILL.md skillB
add-one-off-script from vintasoftware/vinta-ai-workflows is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add vintasoftware/vinta-ai-workflows/add-one-off-script@git:20261003.81d5d7ePins git:20261003.81d5d7e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- vintasoftware/vinta-ai-workflows
- Path
skills/vinta-derive-skills/resources/foundation-skills/add-one-off-script/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261003.81d5d7e, committed Oct 3, 2026
- First version recorded
- May 6, 2026
- Size
- 26,663 bytes
- Repository stars
- 12
- License
- MIT
Author a safe operational one-off script (data backfill, ad-hoc cleanup, schema fixup, tenant migration outside the regular migration pipeline). Enforces a strict contract every script must follow — dry-run by default, idempotent on re-run, batched DB operations, streamed reads, segmented CSV backups before destructive writes, interruption-safe, and console + filesystem + S3 logging that survives the interruption. Generates a per-script folder (`<scripts_dir>/<YYYY-MM-DD>-<name>/`) containing…
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
# Add a one-off script One-off scripts are the operations that *don't* belong in the regular migration / ETL / Celery / cron path: a 30k-row backfill triggered by a customer escalation, a tenant re-keying after a botched import, a quick fix to bad rows from a deploy that already shipped. They run once, on demand, by an engineer who knows what they're doing — but they still touch production data, and they still have to be safe. ## Sister skills — runner is stack-specific This skill authors the **script class** — the language-level subclass of `BaseOneOffScript` that defines `iter_targets` + `process` + the safety contract. It does **not** decide *how* the script gets invoked in this project. That's a stack-specific concern (a Django project runs scripts in `manage.py shell` or a Jupyter notebook; a Medplum project ships them as bots; a Next.js / Vercel project wraps them in a Function or Cron; a K8s shop deploys them as Jobs). The invocation surface is the job of a sister skill: `run-one-off-script-<stack>` (e.g. `run-one-off-script-django`, `run-one-off-script-medplum`, `run-one-off-script-nextjs`). Each sister skill: …
Read the whole file at its exact version.
How to install
mdr add vintasoftware/vinta-ai-workflows/add-one-off-script@sha256:ec67e8cbd84076a8The line at the top of this page pins the label git:20261003.81d5d7e, 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.
[](https://markdownregistry.com/a/art_6sly7cd4fv4lri3f)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between May 6, 2026 and Oct 3, 2026, about one every 50 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261003.81d5d7e latest | 2026-10-03 | 81d5d7e | 26,663 B | B | view · diff |
| git:20260529.0f36bde | 2026-05-29 | 0f36bde | 26,507 B | B | view · diff |
| git:20260508.a576b52 | 2026-05-08 | a576b52 | 26,442 B | B | view · diff |
| git:20260506.81336b6 | 2026-05-06 | 81336b6 | 26,446 B | B | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (26663 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
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
vintasoftware/vinta-ai-workflows · 12 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6sly7cd4fv4lri3f GET https://markdownregistry.com/api/v1/resolve?ref=vintasoftware/vinta-ai-workflows/add-one-off-script GET https://markdownregistry.com/api/v1/blob/ec67e8cbd84076a8e98f40b5e5fae8eea89d792c2e0555e6fba4ee0d39a05e79
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.