Agents can handle routine tasks, but may rely on stale training data or miss product-specific risks. At Supabase, agents sometimes overlooked row-level security safeguards that help prevent data exposure.
Combine Skills and MCP to Close the Context Gap
Speaker
Pedro Rodrigues, an AI tooling engineer at Supabase, explains how Supabase combined an agent skill with MCP to guide agents toward safer and more effective product workflows at an AI Engineer event.
Rodrigues compared the same agent on a database task with MCP alone and with MCP plus a skill. The task was to create a view over a table protected by row-level security; without `security_invoker = true`, a Postgres view can bypass those protections. The agent with the skill handled the task safely, while the MCP-only agent did not.
Rodrigues recommends pointing to current documentation instead of duplicating it, and persistently directing agents to search that source. Put essential, stable guidance such as security checklists in `SKILL.md`, because agents may skip reference files. He also recommends encoding product-specific workflows, such as making and reviewing schema changes before creating a migration.
Supabase evaluated six scenarios across four agents from two vendors, comparing a baseline, MCP alone, and MCP plus the skill. The skill-plus-MCP condition achieved higher test completeness on all four tested models: Claude Code with Opus 4.6 and Sonnet 4.6, and Codex with GPT-5.4 and GPT-5.4 mini.
Rodrigues said skills are often packaged in repositories, where teams can make them discoverable through tools such as repository plugins or the Skills package. He described registries and broader distribution as unresolved, with existing approaches varying by model or tool.
Takeaways
- Use MCP to give agents capabilities and a skill to explain how to use them safely.
- Put guidance agents must not miss directly in `SKILL.md`; assume optional references may be skipped.
- Link skills to the product’s current documentation instead of copying content that can go stale.
- Encode the workflows your team recommends, including review steps and safe defaults.
- Evaluate skills across realistic tasks and multiple agents; compare them with both a baseline and tools alone.
Mentioned in this talk
Search inside this talk
What was claimed 7
- foundedPedro Rodrigues founded
Lisbon AI Weekco-founder“I’m also a co-founder of Lisbon AI Week”
YouTube Verified3 sources· Talk, Web· archived
- works atPedro Rodrigues works at
SupabaseAI Tooling Engineer“I’m an AI tooling engineer at Supabase”
YouTube Verified3 sources· Talk, Web· archived
- feature
Langfuse skill: Guides agents to use security_invoker = true when creating Postgres views over tables with row-level security“if you create a view on top of a table that has RLS enabled ... you will bypass RLS”
YouTube Unverified1 source· Talk
- feature
Supabase: Provides storage, a database, authentication, and other backend features“We provide storage, a database, authentication, and other features”
YouTube Unverified1 source· Talk
- metric
Supabase: The evaluation covered six scenarios, four agents from two vendors, and three test conditions“six specific scenarios ... across four agents from two vendors and in three test conditions”
YouTube Unverified1 source· Talk
- usesscored test completeness
“We scored test completeness using Braintrust.”
YouTube Unverified1 source· Talk
- metric
Langfuse skill: Skills plus MCP outperformed every other condition on every model tested“The skills plus MCP outperformed every other condition on every model we tested”
YouTube Unverified1 source· Talk









