datasette-plugins

Generate Datasette plugin projects with templates and hook documentation.

12|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/datasette/skill --skill datasette-plugins
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datasette-plugins
Source: https://github.com/datasette/skill/tree/main
Command: npx skills add https://github.com/datasette/skill --skill datasette-plugins

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of developing and integrating custom plugins for Datasette, enabling users to extend its functionality with new features, data sources, and UI elements.

Core Features & Use Cases

  • Plugin Development: Provides templates and guidance for creating installable Datasette plugins.
  • Hook Implementation: Details various hooks for customizing Datasette's behavior (e.g., prepare_connection, register_routes, render_cell).
  • Use Case: You need to add a custom SQL function to Datasette to perform complex string manipulation or integrate a new authentication method to restrict access to certain databases.

Quick Start

Use the datasette-plugins skill to generate a new plugin named 'datasette-my-custom-plugin'.

Frequently Asked Questions about datasette-plugins

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

FAQPage Schema
How do I create a custom Datasette plugin to add new SQL functions and routes?

To create a custom Datasette plugin, you need to use the provided project structure and code templates to implement specific hooks like prepare_connection and register_routes. This allows you to add custom SQL functions and routes to your Datasette instance.

What hooks are available for extending Datasette with custom UI modifications and authentication?

Datasette provides hooks such as render_cell for UI modifications and specific hooks for custom authentication. You can implement these hooks using Python and the pluggy plugin system to customize Datasette's behavior and restrict access to certain databases.

Do I need to understand Python and the pluggy plugin system to develop Datasette plugins?

Yes, understanding Python and the pluggy plugin system is required for effective utilization of this Skill. Developing Datasette plugins relies on these technologies to implement hooks for customizing behavior and extending functionality.

Can I use this approach to integrate a new authentication method to restrict access to certain databases in Datasette?

Yes, you can implement custom authentication methods to restrict access to certain databases in Datasette. The Skill provides comprehensive documentation on hook implementations for extending Datasette with new authentication methods.

What is the best way to customize Datasette's behavior for complex string manipulation in SQL?

The best way to customize Datasette for complex string manipulation is by adding a custom SQL function through a plugin. You can achieve this by implementing the prepare_connection hook in your custom Datasette plugin.