blueprint-from-collection-import

blueprint-from-collection-import is a skill for Claude Code, Codex from receptron/mulmoterminal. It costs 33 tokens per session (1,005 once invoked), scanned A, original, MIT.

A local data-import task that converts copied collection records into SQL and loads them into Cloudflare D1, with referenced files moved into R2. D1 is Cloudflare's SQL database and R2 is its file storage.

In plain words
What is it for?
Use it to import collections in dependency order, support Wrangler's local or remote locations, and verify the records and files from a fresh local state.
Why use it?
It makes repeatable imports possible and lets tests check the record-to-SQL conversion separately from the database command.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to import collections in dependency order, support Wrangler's local or remote locations, and verify the records and files from a fresh local state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/receptron/mulmoterminal/import-cloudflare
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add receptron/mulmoterminal --skill import-cloudflare
Clone the repo
git clone --depth 1 https://github.com/receptron/mulmoterminal

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for blueprint-from-collection-import

README.md
[![agentmods](https://agentmods.dev/badge/skills/receptron/mulmoterminal/import-cloudflare/github.svg)](https://agentmods.dev/skills/receptron/mulmoterminal/import-cloudflare)
Your own site
<a href="https://agentmods.dev/skills/receptron/mulmoterminal/import-cloudflare"><img src="https://agentmods.dev/badge/skills/receptron/mulmoterminal/import-cloudflare/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for blueprint-from-collection-import

Your own site · 80×15
<a href="https://agentmods.dev/skills/receptron/mulmoterminal/import-cloudflare"><img src="https://agentmods.dev/badge/skills/receptron/mulmoterminal/import-cloudflare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01005
Opus 5.5 $0.00013 $0.00402
Sonnet 5.5 $0.00007 $0.00201
Haiku 4.5 $0.00003 $0.00101

Measured 25d ago against content hash f956a77907de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

blueprint-from-collection-import scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

blueprints/from-collection/skills/import-cloudflare/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Move the records in

Read .blueprint/source/source.json first. If records is false, only the shape was copied: there is nothing to move. Add a yarn import-source script that says so and exits 0, and stop.

Otherwise the records are in .blueprint/source/collections/<slug>/records.jsonl (one JSON object per line, as the collection stored them), and the files they point at are under .blueprint/source/files/, at the path the record names.

  1. Add yarn import-source <where>, where <where> is wrangler's own location flags — --local, --local --persist-to <dir>, or --remote — passed unchanged to every wrangler call it makes. It must not apply migrations itself or pick a location of its own: the check points it at a fresh state it has already migrated.
  2. It turns the records into SQL — every collection in source.json, the ones linked to first so references have something to point at — writes that to a temporary .sql file, and runs yarn wrangler d1 execute DB <where> --file <that file> --yes. Keep the part that turns records into statements a module of its own, so a test can run it.
  3. Names follow the spec and the pack's spec/conversion.md ("表と列の名前" and "Cloudflare(D1 と R2)"): the table is the collection's slug with - as _; a stored field's column is its key, unchanged; a boolean is 0/1, a date stays its ISO text, a ref keeps the referenced primary key, a table field's rows go to its child table.
  4. Running it twice leaves the same rows: insert with an upsert on the primary key (INSERT … ON CONFLICT (<key>) DO UPDATE SET …), and replace a record's child rows with it. Not INSERT OR REPLACE: it deletes the row and inserts a new one, so every column the import does not write goes back to its default.
  5. Files: when a record points at an image / file, add an R2 binding to wrangler.jsonc ("r2_buckets": [{ "binding": "FILES", "bucket_name": "<app>-files" }]), write that bucket name to .blueprint/r2-bucket, and upload each file the source has with yarn wrangler r2 object put <bucket>/<path> --file .blueprint/source/files/<path> <where>, the key being the path the record names. The Worker serves them from the binding to the screens. A file the source did not have is left out and reported.
  6. A record that does not fit (a value the column refuses, a reference to nothing) is not dropped silently: the script stops and names the collection, the record's primary key and the field.
  7. test/import.test.ts: in the Workers runtime, run the statements the module builds against the test D1 and read a record of each collection back.
  8. Run yarn import-source --local once, so yarn start shows the records. Say in the README how the records were moved: yarn import-source --local fills what yarn start serves, and --remote is what moves them to production.

Done when the check passes: into a fresh local state with the migrations applied, run twice, every collection has as many rows as it had records, every stored field reads back equal to the source, every pointed-at file is in the R2 bucket with the source's bytes, and yarn test passes.

Read the full file on GitHub · 55 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago First seen · 55 lines · 33 tokens per session scan A f956a77907de

Subscribe to this mod's changes

blueprint-from-collection-import is a skill published in the GitHub repository receptron/mulmoterminal (245 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 1,005 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.