Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/AI & Agent Building
butterbase-ai avatar

Substrate

butterbase-ai/butterbase-skills

If you're building a founder copilot or any AI agent that needs to remember things across sessions, this gives Claude direct access to Butterbase's per-user memory backend. It's got four stores: entities (people, companies), business state (MRR, headcount), institutional memory (decisions, learnings), and an append-only action ledger. Every write goes through a propose, policy check, execute loop so agents can't quietly trash your data. The anti-patterns section is worth reading closely: the action ledger is truly append-only, update_entity replaces the whole attrs object instead of patching, and you need canonical_keys or primary_email for dedup to work. Not for plain CRUD apps, but if you want a single source of truth that an agent operates on, this is the primitive.

GitHub stars
532
last updated
Jun 11, 2026
View on GitHubSave

Install

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

Installs into .claude/skills of the current project.

Files

Butterbase Substrate

Substrate is an optional, per-user add-on backend. One substrate per Butterbase account, lazily provisioned on first use, queryable from local Claude Code (via MCP), from any opted-in Butterbase app (via ctx.substrate inside functions), and from external systems (via HTTP).

Four stores

StoreWhat lives thereTools
EntitiesPeople, companies, projects you transact withget_entity, find_entities
Business stateNumeric facts that change over time (MRR, headcount)find_entities with type filter
Institutional memoryDecisions, commitments, learningssearch_memory
Action ledgerAppend-only log of every proposed/executed actionlist_outbox, propose_action history

The propose → policy → execute → log loop

Every write goes through this loop. Agents NEVER touch the substrate database directly.

  1. Propose — propose_action with capability + args. Returns an action ID.
  2. Policy — substrate-core evaluates per-capability rules. Verdicts: auto_execute, require_approval, deny.
  3. Approval (if needed) — human calls approve_action(action_id) or reject_action(action_id). If yolo_mode=true for this user, approvals are auto-granted for capabilities marked yolo-safe.
  4. Execute + log — substrate-core runs the action in a transaction and appends to the ledger.

For external side effects (sending email, calling an API), substrate writes to the outbox instead of executing inline. The cron-scheduler drains it. Use list_outbox, retry_outbox, cancel_outbox to manage it.

Reads

  • get_entity(id) — fetch by ID.
  • find_entities(type, query, limit) — typed search; query is full-text + structured.
  • search_memory(query, kind?) — semantic + keyword search across decisions/commitments/learnings.

When to use

  • ✅ Founder copilot ("what did I decide about pricing last quarter?")
  • ✅ AI agent that should remember a customer across conversations
  • ✅ Any app where you want a single source of truth for entities the agent operates on
  • ❌ Plain CRUD app (use regular Butterbase tables)
  • ❌ Pure analytics / read-only dashboard (substrate is action-oriented)

Linking an app

When apps.substrate_user_id is set to the app owner's platform_user.id, functions in that app get ctx.substrate injected at cold start, with reader and proposer methods. Use /butterbase-skills:journey-substrate to enable this for an app.

API keys

For agent access from local Claude Code, generate a scope='both' API key via manage_auth_config action: "generate_service_key" with substrate_access: true. The same bb_sk_ key works on both app and substrate endpoints.

Anti-patterns

  • ❌ Calling substrate MCP tools without first checking whether the user has substrate provisioned. find_entities returns 401 if there's no substrate — handle gracefully and suggest provisioning.
  • ❌ Treating the action ledger as mutable. It's append-only; "undo" is a new compensating action, not a delete.
  • ❌ Storing transient state in entities. Entities are durable nouns; use the app's runtime tables for ephemeral state.
  • ❌ Calling upsert_entity without canonical_keys or primary_email and expecting dedup. Provide one or the other so substrate can match an existing row. Without them, every call mints a new entity.
  • ❌ Calling update_entity for a partial update. It replaces attrs wholesale and will drop every key you didn't include. Use patch_entity (RFC 7396 merge-patch) instead.
  • ❌ Storing entity IDs in app data and skipping alias resolution after merge_entities. The merged-away ID stops resolving to an entity; look up substrate.entity_aliases to find the survivor.
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/butterbase-ai/butterbase-skills
Category
AI & Agent Building
License
MIT
First seen
Jun 11, 2026

More from butterbase-ai/butterbase-skills

All 39
  • Templates
  • Agents
  • Ai
  • Auth Setup
  • Build App
  • Butterbase Skills
  • Contributing
  • Debug Rls
  • Deploy Frontend
  • Durable Objects
  • Function Dev
  • Integrations
  • Journey
  • Journey Agents
  • Journey Ai
  • Journey Auth
  • Journey Deploy
  • Journey Docs
  • Journey Durable
  • Journey Frontend
  • Journey Functions
  • Journey Idea
  • Journey Plan
  • Journey Preflight

Recommended

More AI & Agent Building
1cherryhq avatarcherry-assistant-guidecherryhq/cherry-studioCherry Studio 产品知识库、源码路径索引、故障排查和页面导航。当用户询问 Cherry Studio 的功能、配置、报错、使用方法时触发。也适用于用户提到 provider、模型、知识库、Agent、MCP、OpenClaw、PDF、快捷短语等关键词的场景。0installs
2cherryhq avatargh-pr-reviewcherryhq/cherry-studioAutomated Cherry Studio code review for local branches, PRs, commits, and files. Use for reviewing code, docs, or pull requests with project-specific checks for0installs
3dyad-sh avatardyad:multi-pr-reviewdyad-sh/dyadMulti-agent code review system that spawns three independent Claude sub-agents to review PR diffs. Each agent receives files in different randomized order to re0installs
4FISHers6 avatarsetupFISHers6/clawBro从零引导配置 clawbro-gateway,包括 API Key、默认 Agent、运行模式(Solo/Multi-agent/Team)、Channel(Lark/DingTalk)。无需 fork 或重新编译。0installs
5leiting-eric avatardaily-briefleiting-eric/dailybriefOperational knowledge for the daily-brief digest pipeline (this project). RSS/API fetchers, pluggable LLM enrichment (default claude CLI on Max; also anthropic/0installs
6rohitg00 avatarfind-skillsrohitg00/skillkitDiscovers, searches, and installs skills from multiple AI agent skill marketplaces (400K+ skills) using the SkillKit CLI. Supports browsing official partner col0installs