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.

Install it, pinned
mdr add vintasoftware/vinta-ai-workflows/add-one-off-script@git:20261003.81d5d7e

Pins 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

The exact contents, by fingerprint
mdr add vintasoftware/vinta-ai-workflows/add-one-off-script@sha256:ec67e8cbd84076a8

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6sly7cd4fv4lri3f.svg)](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.

versioncommittedcommitsizeaudit
git:20261003.81d5d7e latest2026-10-03 81d5d7e 26,663 BB view · diff
git:20260529.0f36bde2026-05-29 0f36bde 26,507 BB view · diff
git:20260508.a576b522026-05-08 a576b52 26,442 BB view · diff
git:20260506.81336b62026-05-06 81336b6 26,446 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from vintasoftware/vinta-ai-workflows

AGENTS.md AGENTS.md file
vintasoftware/vinta-ai-workflows · AGENTS.md
git:20261103.6a7c968 · audit A · 12 stars
add-foundation-skill SKILL.md skill
vintasoftware/vinta-ai-workflows · dev-skills/add-foundation-skill/SKILL.md · Author a new foundation skill under `skills/vinta-derive-skills/resources/foundation-skills/<name>/` and wire it…
git:20260529.0f36bde · audit A · 12 stars
add-stack SKILL.md skill
vintasoftware/vinta-ai-workflows · dev-skills/add-stack/SKILL.md · Author a new stack template under `skills/vinta-bootstrap-ai-tools/resources/stacks/<stack>/notes.md` and wire it…
git:20260529.0f36bde · audit A · 12 stars
bump-schema-major SKILL.md skill
vintasoftware/vinta-ai-workflows · dev-skills/bump-schema-major/SKILL.md · Cut a new major version of a JSON Schema under `schemas/<name>.v<N>.schema.json` → `<name>.v<N+1>.schema.json` for a…
git:20260602.a4f0234 · audit A · 12 stars
release SKILL.md skill
vintasoftware/vinta-ai-workflows · dev-skills/release/SKILL.md · Cut a release of `vinta-ai-workflows` — pick patch / minor / major / alpha bump, close the in-progress CHANGELOG…
git:20260913.8d7a97f · audit A · 12 stars
validate-skill-md SKILL.md skill
vintasoftware/vinta-ai-workflows · dev-skills/validate-skill-md/SKILL.md · Lint every `SKILL.md` under `skills/` (and optionally `dev-skills/`) for the contract any agent runtime expects —…
git:20260708.a4ba4e8 · audit A · 12 stars
vinta-analyze-codebase SKILL.md skill
vintasoftware/vinta-ai-workflows · skills/vinta-analyze-codebase/SKILL.md · Walk a repository and produce a structured inventory of its languages, frameworks, build tools, test setups, deploy…
git:20261004.6f867b7 · audit B · 12 stars
vinta-bootstrap-ai-tools SKILL.md skill
vintasoftware/vinta-ai-workflows · skills/vinta-bootstrap-ai-tools/SKILL.md · Bootstrap a project's AI-tooling layout (root `AGENTS.md`, `ai-tools/skills/`, `ai-tools/agents/*.yaml`) plus the…
git:20261103.13d49a6 · audit B · 12 stars
vinta-derive-skills SKILL.md skill
vintasoftware/vinta-ai-workflows · skills/vinta-derive-skills/SKILL.md · Author project-specific skills under `ai-tools/skills/`. Always copies the project-agnostic foundation set…
git:20261103.6a7c968 · audit A · 12 stars
create-qa-use-cases SKILL.md skill
vintasoftware/vinta-ai-workflows · skills/vinta-derive-skills/resources/foundation-skills/create-qa-use-cases/SKILL.md · Bootstrap a project's `QA_USE_CASES.md` from scratch using the canonical pattern (immutable PA###/PR### ids, role…
git:20261003.81d5d7e · audit A · 12 stars
create-spec SKILL.md skill
vintasoftware/vinta-ai-workflows · skills/vinta-derive-skills/resources/foundation-skills/create-spec/SKILL.md · Turn raw feature prompt into structured spec doc at `ai-plans/YYYY-MM-DD-FEATURE_NAME_SPEC.md`. Sections fixed —…
git:20261103.13d49a6 · audit A · 12 stars
deslop-comments SKILL.md skill
vintasoftware/vinta-ai-workflows · skills/vinta-derive-skills/resources/foundation-skills/deslop-comments/SKILL.md · Rewrite code comments and docs touched during the current conversation into Simple English, stripping AI-slop /…
git:20260806.fc37c80 · audit A · 12 stars

Every file in vintasoftware/vinta-ai-workflows

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