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,282 once invoked), scanned A, original, MIT.

A local import task that copies collection records into a PostgreSQL database and the files they reference into Supabase Storage. PostgreSQL is a database for structured records; Supabase provides database and file-storage services.

In plain words
What is it for?
It is for adding a command that imports all supplied collections, preserves links between records, and supports either a local or linked Supabase project.
Why use it?
It removes the need to enter copied records and files manually while keeping the import testable on a freshly reset local database.

Skill for Claude CodeCodex

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

Good fit It is for adding a command that imports all supplied collections, preserves links between records, and supports either a local or linked Supabase project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/receptron/mulmoterminal/import-supabase
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-supabase
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-supabase/github.svg)](https://agentmods.dev/skills/receptron/mulmoterminal/import-supabase)
Your own site
<a href="https://agentmods.dev/skills/receptron/mulmoterminal/import-supabase"><img src="https://agentmods.dev/badge/skills/receptron/mulmoterminal/import-supabase/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-supabase"><img src="https://agentmods.dev/badge/skills/receptron/mulmoterminal/import-supabase.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,282 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.01282
Opus 5.5 $0.00013 $0.00513
Sonnet 5.5 $0.00007 $0.00256
Haiku 4.5 $0.00003 $0.00128

Measured 16d ago against content hash 967029bd3973, 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 16d 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-supabase/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 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> [--owner <email>], where <where> is --local or --linked, passed to every Supabase CLI call it makes (yarn supabase …). It never takes or reads a secret key, and it does not reset or migrate the database: the check has already done that.
  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 supabase db query <where> --file <it>. That command runs ONE statement only (more are refused as "multiple commands"), so wrap the whole import in one do $$ begin … end $$; block. Keep the part that turns records into statements a module of its own, so a test can run it.
  3. Names and types follow the spec and the pack's spec/conversion.md ("表と列の名前" and "Supabase(Postgres と Storage)"): the table is the collection's slug with - as _; a stored field's column is its key, unchanged; a boolean is a boolean, a date a date or timestamptz, a ref keeps the referenced primary key, a table field's rows go to its child table. A key with a capital letter (startedOn) is double-quoted everywhere it appears in SQL — the migration and the import — or Postgres lowercases it and the check cannot find the column.
  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.
  5. Who owns the imported rows is the spec's decision. By default: --owner <email> names the account, looked up with yarn supabase db query <where> "select id from auth.users where email = '…'"; without it, locally, the first seeded user. Refuse, with the reason, when the owner cannot be found.
  6. Files: when a record points at an image / file, create the bucket in a migration (insert into storage.buckets (id, name, public) values ('<bucket>', '<bucket>', false) on conflict do nothing;) with Storage policies (storage.objects) that follow the spec's read and write rules. An object the CLI uploads has no owner, so a read policy on owner = auth.uid() locks its owner out: read through the row that points at it instead, bucket_id = '<bucket>' and exists (select 1 from public.<table> t where t.<column> = storage.objects.name), which the table's own RLS then decides (write storage.objects.name in full: a bare name means the table's column when it has one). Write the bucket's name to .blueprint/supabase-bucket, and upload each file the source has with yarn supabase storage cp .blueprint/source/files/<path> ss:///<bucket>/<path> <where> --experimental, the key being the path the record names. storage cp does not overwrite (a second run is refused as a duplicate), so remove the object first with yarn supabase storage rm ss:///<bucket>/<path> <where> --experimental --yes, which succeeds when there is none. A file the source did not have is left out and reported.
  7. 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.
  8. test/import.test.ts: against the local stack, run the statements the module builds and read a record of each collection back.
  9. 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 the local stack, and --linked --owner <email> is what moves them to production.

Read the full file on GitHub · 65 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. 16d ago First seen · 65 lines · 33 tokens per session scan A 967029bd3973

Subscribe to this mod's changes

blueprint-from-collection-import is a skill published in the GitHub repository receptron/mulmoterminal (239 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 1,282 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-10-01.

Related

Other skills, from other repositories

moai-platform-database-cloud

Cloud database platform specialist covering Neon (serverless PostgreSQL), Supabase (PostgreSQL 16 with real-time), and Firebase Firestore (NoSQL with offline sync). Use when choosing or setting up cloud databases.

modu-ai/moai-adk · 51 tokens

cloud-sql-basics

This file generates or explains Cloud SQL resources. Use this file when the user asks to create a Cloud SQL instance or database for MySQL, PostgreSQL, or SQL Server. Cloud SQL manages third-party MySQL, PostgreSQL, and SQL Server instances as resources in Cloud SQL. For example, when Cloud SQL creates an open-source…

google/skills · 108 tokens

aws-rds

Manage Amazon RDS for fully managed relational databases. Provision MySQL, PostgreSQL, and Aurora instances with automated backups and patching. Configure read replicas for scaling, snapshots for recovery, and Aurora Serverless for variable workloads.

TerminalSkills/skills · 52 tokens

backup-recovery

Design and verify backups and restoration for owned databases, files and application state. Use when preparing recovery, migrating data or testing backups; protect the source and prove restore into an isolated destination before calling recovery ready.

WrongStack/WrongStack · 45 tokens

aws-rds-spring-boot-integration

Provides patterns to configure AWS RDS (Aurora, MySQL, PostgreSQL) with Spring Boot applications. Configures HikariCP connection pools, implements read/write splitting, sets up IAM database authentication, enables SSL connections, and integrates with AWS Secrets Manager. Use when setting up RDS connections in Spring…

giuseppe-trisciuoglio/developer-kit · 83 tokens

loom-sql-optimization

Analyzes and optimizes SQL queries for performance.

cosmix/loom · 16 tokens