[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JV7EBG76BSKSMBPRHKP0ZK":3,"skill-same:01M6JV7EBG76BSKSMBPRHKP0ZK":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6JV7EBG76BSKSMBPRHKP0ZK","mysql-query",null,"Connect to MySQL and run read-only queries to inspect table data. Use when the user wants to query MySQL, show tables, view table contents, check schema, or run read-only SQL. Connection info must be provided by the user; do not read from environment or application config.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fmysql-query\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"mysql query","mysql","query","schema","when","inspect","read-only","info","do","show","queries","only","config","use","environment","view","read","check","run","connect","sql","2026-11-10 10:12:30",false,"---\nname: mysql-query\ndescription: Connect to MySQL and run read-only queries to inspect table data. Use when the user wants to query MySQL, show tables, view table contents, check schema, or run read-only SQL. Connection info must be provided by the user; do not read from environment or application config.\n---\n\n# MySQL 连接与查询\n\n## 何时使用\n\n- 用户要求查询 MySQL、查询数据库里一共有哪些表、查看某张表数据、统计条数、检查表结构\n- **必须由用户提供**连接信息（host、port、user、password、database），不得从环境变量或 application.yml 读取\n\n## 连接信息：必须由用户提供\n\n- **禁止**从 `application.yml`、`application-*.yml`、环境变量、`.env` 等读取 MySQL 连接信息。\n- 调用脚本或写代码时，**必须**使用用户本次提供的：host、port、user、password、database。\n- 若用户未提供完整连接信息，应提示用户补全后再执行。\n\n## 执行合同\n\n### 适用前提\n\n- 任务目标是只读查询、验数、查结构或排障取数，而不是写库或迁移。\n- 用户已经在本次对话中提供了完整连接信息；若未提供完整信息，本 skill 只能停在待补充状态。\n\n### 任务变量\n\n- `host`、`port`、`user`、`password`、`database`：全部必须来自用户当次提供。\n- `sql`：本次准备执行的只读 SQL。\n- `\u003Cskill_dir>`：当前安装环境中的 `mysql-query` 技能目录，用于定位脚本。\n\n### 变量来源\n\n- 所有连接变量只能来自用户消息、当前任务单或上游 `\u002Fhandoff` 中明确给出的数据库连接信息。\n- 不允许从仓库配置、环境变量、历史默认值或示例命令中推断真实密码。\n- `\u003Cskill_dir>` 为当前 skill 安装目录，由运行环境解析，不需要用户提供。\n- 若 SQL 语义不明确，应先把查询目标写清楚再执行，避免误查大表。\n\n### 执行入口\n\n1. 先确认 SQL 是只读语句，并按需补 `LIMIT`。\n2. 优先使用当前 skill 的脚本执行，除非用户明确要求别的方式。\n3. 若连接信息不完整或只读边界不清晰，先停在 `待确认项`，不要私自补全。\n4. 不把密码写入仓库、脚本文件或长期日志。\n\n### 输出回落\n\n- 查询结果应按当前任务目标回落到 `\u002Fteam-execute`、`\u002Fteam-review` 或 `\u002Fhandoff` 的证据区，而不是只停留在终端输出。\n- 若查询用于发布验证或数据核对，需在 `\u002Fteam-release` 或 `\u002Fteam-review` 中注明表、条件、时间点和结论。\n- 用户提供的连接信息只在本次任务内使用，不进入文档存档。\n\n## 执行查询\n\n### 使用脚本（推荐）\n\n使用 **python3**，依赖：`pip3 install pymysql`。路径示例：`\u003Cskill_dir>\u002Fscripts\u002Fquery.py`，其中 `\u003Cskill_dir>` 为当前安装环境里的 `mysql-query` 技能目录。\n\n**参数（均由用户提供）：**\n\n- `--host`：MySQL 主机（必填）\n- `--port`：端口（可选，默认 3306）\n- `--user`：用户名（必填）\n- `--password`：密码（必填）\n- `--database`：数据库名（必填）\n- `--sql`：SELECT 语句（必填，或通过 stdin 传入）\n\n```bash\n# 用户提供连接信息后，按下列方式调用\npython3 \u003Cskill_dir>\u002Fscripts\u002Fquery.py \\\n  --host 127.0.0.1 \\\n  --port 3306 \\\n  --user myuser \\\n  --password '用户提供的密码' \\\n  --database mydb \\\n  --sql \"SELECT * FROM users LIMIT 10\"\n\n# 从标准输入传 SQL\necho \"SELECT id, name FROM products LIMIT 5\" | python3 \u003Cskill_dir>\u002Fscripts\u002Fquery.py \\\n  --host 127.0.0.1 --port 3306 --user myuser --password 'xxx' --database mydb\n```\n\n脚本会：\n- 只执行 read-only 类型的 SQL 语句（非 read-only 会报错退出）\n- 将结果以表格形式打印到 stdout\n\n### 内联代码时\n\n若在项目内写一次性脚本，连接参数也必须来自**用户当次提供**的变量或输入，不要从 `application.yml` 或 `os.environ` 读取。\n\n```python\nimport pymysql\n\n# 使用用户提供的变量（例如从 API 入参、用户输入传入）\nhost = user_provided_host\nport = user_provided_port\nuser = user_provided_user\npassword = user_provided_password\ndatabase = user_provided_database\n\nconn = pymysql.connect(host=host, port=port, user=user, password=password, database=database, charset=\"utf8mb4\")\n# ...\n```\n\n## 安全与约定\n\n- **默认只做只读**：未明确要求时不执行写操作或 DDL。\n- **LIMIT**：对未知大表查询时建议加 `LIMIT`。\n- **敏感信息**：不把用户提供的密码写进仓库或日志；仅在当次请求中使用。\n\n## 常见场景\n\n| 用户需求           | 做法 |\n|--------------------|------|\n| 看某张表前 N 条    | `SELECT * FROM table_name LIMIT 20` |\n| 查表结构           | `DESCRIBE table_name` 或 `SHOW CREATE TABLE table_name` |\n| 统计行数           | `SELECT COUNT(*) FROM table_name` |\n| 按条件查           | 用 WHERE，必要时加 LIMIT |\n\n---\n\n## Overview\n\n连接 MySQL 执行只读查询，支持查看表列表、表结构、表数据和聚合统计。连接信息（host\u002Fport\u002Fuser\u002Fpassword\u002Fdatabase）必须由用户在本次对话中提供，禁止从配置文件或环境变量读取。\n\n本 skill **只执行只读 SQL**，不执行 INSERT \u002F UPDATE \u002F DELETE 等写操作。\n","# MySQL 连接与查询\n\n## 何时使用\n\n- 用户要求查询 MySQL、查询数据库里一共有哪些表、查看某张表数据、统计条数、检查表结构\n- **必须由用户提供**连接信息（host、port、user、password、database），不得从环境变量或 application.yml 读取\n\n## 连接信息：必须由用户提供\n\n- **禁止**从 `application.yml`、`application-*.yml`、环境变量、`.env` 等读取 MySQL 连接信息。\n- 调用脚本或写代码时，**必须**使用用户本次提供的：host、port、user、password、database。\n- 若用户未提供完整连接信息，应提示用户补全后再执行。\n\n## 执行合同\n\n### 适用前提\n\n- 任务目标是只读查询、验数、查结构或排障取数，而不是写库或迁移。\n- 用户已经在本次对话中提供了完整连接信息；若未提供完整信息，本 skill 只能停在待补充状态。\n\n### 任务变量\n\n- `host`、`port`、`user`、`password`、`database`：全部必须来自用户当次提供。\n- `sql`：本次准备执行的只读 SQL。\n- `\u003Cskill_dir>`：当前安装环境中的 `mysql-query` 技能目录，用于定位脚本。\n\n### 变量来源\n\n- 所有连接变量只能来自用户消息、当前任务单或上游 `\u002Fhandoff` 中明确给出的数据库连接信息。\n- 不允许从仓库配置、环境变量、历史默认值或示例命令中推断真实密码。\n- `\u003Cskill_dir>` 为当前 skill 安装目录，由运行环境解析，不需要用户提供。\n- 若 SQL 语义不明确，应先把查询目标写清楚再执行，避免误查大表。\n\n### 执行入口\n\n1. 先确认 SQL 是只读语句，并按需补 `LIMIT`。\n2. 优先使用当前 skill 的脚本执行，除非用户明确要求别的方式。\n3. 若连接信息不完整或只读边界不清晰，先停在 `待确认项`，不要私自补全。\n4. 不把密码写入仓库、脚本文件或长期日志。\n\n### 输出回落\n\n- 查询结果应按当前任务目标回落到 `\u002Fteam-execute`、`\u002Fteam-review` 或 `\u002Fhandoff` 的证据区，而不是只停留在终端输出。\n- 若查询用于发布验证或数据核对，需在 `\u002Fteam-release` 或 `\u002Fteam-review` 中注明表、条件、时间点和结论。\n- 用户提供的连接信息只在本次任务内使用，不进入文档存档。\n\n## 执行查询\n\n### 使用脚本（推荐）\n\n使用 **python3**，依赖：`pip3 install pymysql`。路径示例：`\u003Cskill_dir>\u002Fscripts\u002Fquery.py`，其中 `\u003Cskill_dir>` 为当前安装环境里的 `mysql-query` 技能目录。\n\n**参数（均由用户提供）：**\n\n- `--host`：MySQL 主机（必填）\n- `--port`：端口（可选，默认 3306）\n- `--user`：用户名（必填）\n- `--password`：密码（必填）\n- `--database`：数据库名（必填）\n- `--sql`：SELECT 语句（必填，或通过 stdin 传入）\n\n```bash\n# 用户提供连接信息后，按下列方式调用\npython3 \u003Cskill_dir>\u002Fscripts\u002Fquery.py \\\n  --host 127.0.0.1 \\\n  --port 3306 \\\n  --user myuser \\\n  --password '用户提供的密码' \\\n  --database mydb \\\n  --sql \"SELECT * FROM users LIMIT 10\"\n\n# 从标准输入传 SQL\necho \"SELECT id, name FROM products LIMIT 5\" | python3 \u003Cskill_dir>\u002Fscripts\u002Fquery.py \\\n  --host 127.0.0.1 --port 3306 --user myuser --password 'xxx' --database mydb\n```\n\n脚本会：\n- 只执行 read-only 类型的 SQL 语句（非 read-only 会报错退出）\n- 将结果以表格形式打印到 stdout\n\n### 内联代码时\n\n若在项目内写一次性脚本，连接参数也必须来自**用户当次提供**的变量或输入，不要从 `application.yml` 或 `os.environ` 读取。\n\n```python\nimport pymysql\n\n# 使用用户提供的变量（例如从 API 入参、用户输入传入）\nhost = user_provided_host\nport = user_provided_port\nuser = user_provided_user\npassword = user_provided_password\ndatabase = user_provided_database\n\nconn = pymysql.connect(host=host, port=port, user=user, password=password, database=database, charset=\"utf8mb4\")\n# ...\n```\n\n## 安全与约定\n\n- **默认只做只读**：未明确要求时不执行写操作或 DDL。\n- **LIMIT**：对未知大表查询时建议加 `LIMIT`。\n- **敏感信息**：不把用户提供的密码写进仓库或日志；仅在当次请求中使用。\n\n## 常见场景\n\n| 用户需求           | 做法 |\n|--------------------|------|\n| 看某张表前 N 条    | `SELECT * FROM table_name LIMIT 20` |\n| 查表结构           | `DESCRIBE table_name` 或 `SHOW CREATE TABLE table_name` |\n| 统计行数           | `SELECT COUNT(*) FROM table_name` |\n| 按条件查           | 用 WHERE，必要时加 LIMIT |\n\n---\n\n## Overview\n\n连接 MySQL 执行只读查询，支持查看表列表、表结构、表数据和聚合统计。连接信息（host\u002Fport\u002Fuser\u002Fpassword\u002Fdatabase）必须由用户在本次对话中提供，禁止从配置文件或环境变量读取。\n\n本 skill **只执行只读 SQL**，不执行 INSERT \u002F UPDATE \u002F DELETE 等写操作。\n",{"name":5,"description":7},"main","b0f0a87593c578a7898eccaf1b363f7f87c1f99b","plugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fmysql-query",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill mysql-query",{"tool":61,"command":62},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill mysql-query",{"tool":64,"command":65},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill mysql-query","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fmysql-query\u002FSKILL.md",true,[69,75,81],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"agents\u002Fopenai.yaml","REFERENCE","参考文档",206,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fmysql-query\u002Fagents\u002Fopenai.yaml",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"scripts\u002Fquery.py","SCRIPT","脚本",2917,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fmysql-query\u002Fscripts\u002Fquery.py",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Frequirements.txt",15,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fmysql-query\u002Fscripts\u002Frequirements.txt",[86,96,104,112,120,128],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":90,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":95},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":90,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":95},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":90,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":95},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":90,"licenseFileUrl":116,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":95},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":90,"licenseFileUrl":124,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":95},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":90,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":95},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]