{"id":86287,"plugin_id":"plugin_asdk_app_69c8990ea8e08191b6e03a3e332b48f8","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-09T00:12:48.430Z","digest":"646a853220dc511dd821d6c73da78934a380892fb4bb6ef1022c5d6aa02404d9","against":null,"payload":{"description":"Write a SQL query for MySQL, PostgreSQL, SQL Server or SQLite from a plain-language request and a described schema. Do not use for spreadsheet formulas, regular expressions (write-regex) or VBA and Apps Script automation (draft-spreadsheet-automation).","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":204}],"name":"write-sql-query","skill_md_contents":"---\nname: write-sql-query\ndescription: \"Write a SQL query for MySQL, PostgreSQL, SQL Server or SQLite from a plain-language request and a described schema. Do not use for spreadsheet formulas, regular expressions (write-regex) or VBA and Apps Script automation (draft-spreadsheet-automation).\"\n---\n\nUse this when the user wants a SQL query: a report, a join, a group-by total, a window function, a date filter, or an insert, update or delete.\n\nConfirm the database (`mysql`, `postgresql`, `sqlserver` or `sqlite`) and the tables and columns involved. Ask for a small schema description, never for credentials or a data dump. Call `generate_sql` with `request`, `database` and the schema in `context`.\n\nReturn the query and explain what it reads or changes. For a query that updates or deletes rows, show a read-only `SELECT` of the affected rows first and remind the user to run it in a transaction or after a backup. The tool drafts SQL; it does not connect to or run anything in a database, so never say a query was executed.\n\nStop on an authentication, credit or unsupported-file response and report it plainly. Do not route around it with another tool, mention prices or advertise an upgrade. Never create a share link unless the user asks for one.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}