add-supabase

Add Supabase-backed storage with memory_read and memory_write tools.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/mk-knight23/AI-Agent-Nanobot --skill add-supabase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-supabase
Source: https://github.com/mk-knight23/AI-Agent-Nanobot/tree/main/skills/add-supabase
Command: npx skills add https://github.com/mk-knight23/AI-Agent-Nanobot --skill add-supabase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides durable, structured storage for Nanobot so skills can persist state, conversation history, and invocation logs across restarts and sessions, eliminating ephemeral-only workflows and enabling multi-turn, stateful behavior.

Core Features & Use Cases

  • Supabase integration: Configures the supabase-py client and a typed client wrapper for safe access.
  • Database schema & migrations: Adds migration(s) to create agent_memory and skill_invocations tables for JSONB storage of state and logs.
  • Tool registration: Registers memory_read and memory_write as callable tools so other skills can store and retrieve structured data.
  • Use case: Store user preferences, conversation context, and skill invocation metadata to support continuity, auditing, and long-running automations.

Quick Start

Set SUPABASE_URL and SUPABASE_ANON_KEY in your environment and run the add-supabase skill to provision the database tables and register memory_read and memory_write tools.

Frequently Asked Questions about add-supabase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add persistent memory to an AI agent using Supabase?

Persistent Supabase-backed memory is added by integrating the supabase-py client, running migrations to create agent_memory and skill_invocations tables, and registering memory_read and memory_write tools for stateful workflows.

What does it mean to use Supabase for agent memory and stateful workflows?

Using Supabase for agent memory means storing conversation context, user preferences, and invocation logs as JSONB data in structured tables, enabling continuity and multi-turn behavior across restarts.

How do I provision database tables for storing AI conversation history?

You provision database tables by running schema migrations that create agent_memory and skill_invocations tables, which support JSONB storage for durable conversation history and skill state.

Do I need a Supabase project URL and anon key to enable agent memory?

Yes, enabling agent memory requires a Supabase project URL and anon key set in your environment to configure the client wrapper and securely access the database tables.

Can other skills read and write stored memory from the Supabase database?

Yes, other skills can read and write stored memory because the integration registers memory_read and memory_write as callable tools, allowing structured data retrieval and storage across workflows.

Why do I lose conversation context and agent state after restarting my session?

You lose conversation context because ephemeral-only workflows lack durable storage; adding persistent Supabase-backed storage ensures state and invocation logs persist across restarts and sessions.