journey-schema

journey-schema is a skill for Claude Code from butterbase-ai/butterbase-skills. It costs 80 tokens per session (732 once invoked), scanned A, original, MIT.

A guided database-schema setup stage for a Butterbase app. It reads the planned tables, shows the proposed changes, and applies them.

In plain words
What is it for?
Use it to create or update the app's tables from a plan and review the changes before applying them.
Why use it?
It removes the need to manually turn a table plan into database changes. It also checks that the app has completed its setup checks first.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the butterbase-skills plugin — 40 skills, 33 commands shipped together

Good fit Use it to create or update the app's tables from a plan and review the changes before applying them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/butterbase-ai/butterbase-skills/journey-schema
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 butterbase-ai/butterbase-skills --skill journey-schema
Clone the repo
git clone --depth 1 https://github.com/butterbase-ai/butterbase-skills

Made for: Claude Code.

Or install butterbase-skills, the plugin that ships this one along with the rest of its 40 skills, 33 commands.

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 journey-schema

README.md
[![agentmods](https://agentmods.dev/badge/skills/butterbase-ai/butterbase-skills/journey-schema/github.svg)](https://agentmods.dev/skills/butterbase-ai/butterbase-skills/journey-schema)
Your own site
<a href="https://agentmods.dev/skills/butterbase-ai/butterbase-skills/journey-schema"><img src="https://agentmods.dev/badge/skills/butterbase-ai/butterbase-skills/journey-schema/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 journey-schema

Your own site · 80×15
<a href="https://agentmods.dev/skills/butterbase-ai/butterbase-skills/journey-schema"><img src="https://agentmods.dev/badge/skills/butterbase-ai/butterbase-skills/journey-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 732 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.00080 $0.00732
Opus 5.5 $0.00032 $0.00293
Sonnet 5.5 $0.00016 $0.00146
Haiku 4.5 $0.00008 $0.00073

Measured 1mo ago against content hash 8ef5fc08cac1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

journey-schema 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 1mo 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.

skills/journey-schema/SKILL.md · 48 lines

How it starts

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

Journey: Schema

Stage 3a of the guided journey. Apply the declarative table definitions from the plan.

When to use

  • Dispatched by journey when current_stage: schema.
  • Directly via /butterbase-skills:journey-schema.

Preflight

If docs/butterbase/03-preflight.md is missing, older than 24 hours, or 00-state.md has app_id: null, invoke butterbase-skills:journey-preflight first. Wait for it to return successfully before proceeding.

Inputs

  • docs/butterbase/02-plan.md — the Tables section.
  • docs/butterbase/00-state.md — for app_id, hackathon_mode.

Procedure

  1. Refresh docs. Call butterbase_docs with topic: "schema". If the plan calls for advanced schema features (vectors, partial indexes, generated columns), also WebFetch https://docs.butterbase.ai/schema. Skip this step if docs/butterbase/03b-docs-cache.md was written less than 30 minutes ago and already covers schema.

  2. Read the Tables section of 02-plan.md. Print it back: "About to apply schema: <N tables>. Proceed?". Wait for yes.

  3. Invoke butterbase-skills:schema-design via the Skill tool, passing the Tables section and app_id. The wrapped skill will build the declarative schema, dry-run it with manage_schema action: dry_run, then apply with action: apply after user approval of the diff.

  4. After it returns, optionally run a sanity manage_schema action: get and show the user the live shape.

  5. Hackathon mode only: if 00-state.md has hackathon_mode: true, also invoke butterbase-skills:journey-rls inline now. After it returns, mark the rls checkbox as (folded) in 00-state.md rather than leaving it unchecked.

  6. Append one line to docs/butterbase/04-build-log.md (create if absent): <ISO timestamp> schema manage_schema ok

  7. Tick - [x] schema in 00-state.md, set current_stage: to the next unchecked stage (typically rls outside hackathon mode, otherwise the stage after rls), bump last_updated.

  8. Return to journey orchestrator (or, if invoked directly, ask: "Continue to the next stage? (yes/no)").

Read the full file on GitHub · 48 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. 1mo ago First seen · 48 lines · 80 tokens per session scan A 8ef5fc08cac1

Subscribe to this mod's changes

journey-schema is a skill published in the GitHub repository butterbase-ai/butterbase-skills (535 stars, last pushed 6d ago), licensed MIT. It adds 80 tokens to every session and 732 once invoked, about $0.0003 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.

Related

journey-schema compared with skills from other repositories

journey-schema next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
journey-schemabutterbase-ai/butterbase-skillsSkill5356d agoMITA80Claude Code
butterbasebutterbase-ai/butterbaseSkill3.0kyesterdayApache-2.0A34Claude Code, Codex
run402-buzzkychee-com/run402Skill242d agoMITA137Claude Code, Codex
run402kychee-com/run402Skill242d agoMITB51Claude Code, Codex
run402kychee-com/run402Skill242d agoMITB51Claude Code, Codex
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill31kyesterdayMITA57Claude Code, Codex