Use PlanetScale Insights and SQLCommenter-style query tags to attribute database load, identify risky queries, and prepare safe Traffic Control or schema recommendations.
Install
npx skills add planetscale/claude-plugin --skill planetscale-query-insights-and-tagsnpx skills add planetscale/claude-plugin --skill planetscale-query-insights-and-tags -a claude-code -gnpx skills add planetscale/claude-plugin --skill planetscale-query-insights-and-tags -a codex -ggemini skills install https://github.com/planetscale/claude-plugin.git --path planetscale-skills/04-query-insights-and-tagsgh skill install planetscale/claude-plugin planetscale-query-insights-and-tagsgit clone --depth 1 https://github.com/planetscale/claude-plugin /tmp/planetscale__claude-plugin
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/planetscale__claude-plugin/planetscale-skills/04-query-insights-and-tags ~/.claude/skills/planetscale-query-insights-and-tags # Claude Code
cp -R /tmp/planetscale__claude-plugin/planetscale-skills/04-query-insights-and-tags ~/.agents/skills/planetscale-query-insights-and-tags # Codex, Cursor, Gemini CLI, Copilot, OpenCode