askill
agentic-platform-schema

agentic-platform-schemaSafety 85Repository

Agentic Platform Contract tables for AI agent applications - runs, events, artifacts, and tool calls tracking. Use when building AI agent backends that need structured run/event storage.

2 stars
1.2k downloads
Updated 1/30/2026

Package Files

Loading files...
SKILL.md

Agentic Platform Schema

Supabase schema for the "Agentic Platform Contract" - standardized tables for AI agent runs, events, and artifacts.

Overview

Standard tables for agentic applications:

  • agent_runs - Track agent execution runs
  • agent_events - Stream of events within runs
  • agent_artifacts - Files/outputs from runs
  • agent_tool_calls - Tool/function call tracking

Use When

This skill is automatically invoked when:

  • Building AI agent backends
  • Tracking agent runs and events
  • Storing agent artifacts
  • Implementing run history/replay

Available Scripts

ScriptDescription
scripts/setup-agentic-schema.shRun Supabase migration

Available Templates

TemplateDescription
templates/agentic-schema.sqlFull schema with RLS
templates/queries.sqlCommon query patterns

Schema Overview

agent_runs (1) ─────< agent_events (many)
     │
     └─────< agent_artifacts (many)
     │
     └─────< agent_tool_calls (many)

Best Practices

  1. Use run_id to group related events
  2. Store structured data in JSONB columns
  3. Enable RLS for multi-tenant apps
  4. Index status and created_at for queries

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed 2/16/2026

Well-organized reference skill for AI agent database schemas with clear structure and use cases, but relies on external template files rather than providing complete inline content.

85
80
80
65
55

Metadata

Licenseunknown
Version-
Updated1/30/2026
Publishervanman2024

Tags

database