This is the optional substrate-linking stage in the Butterbase journey, sitting between deploy and submit. It asks whether you want to connect your deployed app to your substrate so functions get ctx.substrate for AI memory and agent state. The skill handles the whole flow: checks if your substrate is provisioned, calls the right API or MCP tool to link it, verifies the connection, and writes the artifact. It defaults to skip in hackathon mode, which makes sense since most throwaway apps don't need cross-session memory. One good call here is refusing to auto-link without explicit consent, treating substrate as privacy-sensitive rather than just another feature flag.

GitHub stars
532
last updated
Jun 11, 2026

Install

$ npx -y skills add butterbase-ai/butterbase-skills --skill journey-substrate --agent claude-code

Installs into .claude/skills of the current project.

Files

Journey Substrate Stage (optional)

Connect the deployed app to the owner's substrate so functions get ctx.substrate injected at cold start. Skip if the user has no AI-agent / memory use case.

When to use

Invoke automatically when the journey orchestrator's cursor reaches substrate. The row is optional in the checklist; skip silently if the user declines.

Procedure

  1. Refresh docs. Call butterbase_docs with topic: "substrate". If the plan mentions AI memory / agent state / cross-session knowledge, also WebFetch https://docs.butterbase.ai/substrate. Skip if docs/butterbase/03b-docs-cache.md already covers substrate.

  2. Confirm. Ask the user:

    "Connect <app_id> to your substrate? This lets the app's functions read/write your agent memory via ctx.substrate. You can disable later. (yes / skip)"

    Default: skip.

  3. On skip: mark the row - [x] substrate (skipped — no agent memory needed) in docs/butterbase/00-state.md. Write docs/butterbase/04b-substrate.md with one line: Skipped on <date>. Return.

Sponsors

Details

Repository
github.com/butterbase-ai/butterbase-skills
Categories
DevOps & CI/CD, Release Management
License
MIT
First seen
Jun 11, 2026

More from butterbase-ai/butterbase-skills

All 39
1butterbase-ai avatarjourney-templatesbutterbase-ai/butterbase-skillsUse as the optional template-publishing stage of the Butterbase journey, after deploy (and substrate, if used). Walks the user through authoring a clone-ready R0skills.sh installs
2butterbase-ai avatarrag-devbutterbase-ai/butterbase-skillsThis is a clean two-tool wrapper around Butterbase's pgvector RAG pipeline.0skills.sh installs
3claude-office-skills avatarPipedrive Automationclaude-office-skills/skillsAutomate Pipedrive CRM workflows including deal management, pipeline tracking, and sales reporting0skills.sh installs
4claude-office-skills avatarWebhook Automationclaude-office-skills/skillsBuild and manage webhook-based integrations for real-time event processing and API connections0skills.sh installs
5codeaholicguy avatardev-lifecyclecodeaholicguy/ai-devkitAI DevKit · Structured SDLC workflow with 8 phases — requirements, design review, planning, implementation, testing, and code review. Use when the user wants to0skills.sh installs
6composiohq avatarfrontend-designcomposiohq/awesome-claude-pluginsCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat0skills.sh installs