[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BWA7HDGKRRAQ0FS4FKENZ8":3,"skill-same:01M7BWA7HDGKRRAQ0FS4FKENZ8":57},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7BWA7HDGKRRAQ0FS4FKENZ8","chdb-sql",null,"Use when the user wants to run SQL — especially analytical SQL — on local files (parquet\u002Fcsv\u002Fjson), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse Cloud, Iceberg, Delta Lake) without setting up a server. Provides chDB — embedded ClickHouse SQL in Python with 1000+ functions, Session for stateful multi-step pipelines, parametrized queries, and cross-source joins via `s3()`, `mysql()`, `postgresql()`, `iceberg()`, `deltaLake()`, `remoteSecure()` table functions. TRIGGER when: user wants SQL on parquet\u002Fcsv\u002Ffiles or across remote analytical sources; uses ClickHouse SQL features (window functions, windowFunnel, geoToH3, JSON path ops, Session, parametrized queries); imports `chdb` or calls `chdb.query()`. SKIP this skill for pandas-style DataFrame method-chaining (use chdb-datastore instead) or ClickHouse server administration.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclickhouse-agent-skills\u002Fchdb-sql\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: chdb-sql\ndescription: >-\n  Use when the user wants to run SQL — especially analytical SQL — on\n  local files (parquet\u002Fcsv\u002Fjson), URLs, S3 paths, or remote databases\n  (Postgres, MySQL, MongoDB, ClickHouse Cloud, Iceberg, Delta Lake)\n  without setting up a server. Provides chDB — embedded ClickHouse SQL\n  in Python with 1000+ functions, Session for stateful multi-step\n  pipelines, parametrized queries, and cross-source joins via `s3()`,\n  `mysql()`, `postgresql()`, `iceberg()`, `deltaLake()`, `remoteSecure()`\n  table functions.\n  TRIGGER when: user wants SQL on parquet\u002Fcsv\u002Ffiles or across remote\n  analytical sources; uses ClickHouse SQL features (window functions,\n  windowFunnel, geoToH3, JSON path ops, Session, parametrized queries);\n  imports `chdb` or calls `chdb.query()`.\n  SKIP this skill for pandas-style DataFrame method-chaining (use\n  chdb-datastore instead) or ClickHouse server administration.\nlicense: Apache-2.0\ncompatibility: Requires Python 3.9+, macOS or Linux. pip install chdb.\nmetadata:\n  author: chdb-io\n  version: \"4.1\"\n  homepage: https:\u002F\u002Fclickhouse.com\u002Fdocs\u002Fchdb\n---\n\n# chdb SQL — ClickHouse in Your Python Process\n\nRun ClickHouse SQL directly in Python — no server needed. Query local files, remote databases, and cloud storage with full ClickHouse SQL power.\n\n```bash\npip install chdb\n```\n\n## Decision Tree: Pick the Right API\n\n```\n1. One-off query on files or databases → chdb.query()\n2. Multi-step analysis with tables      → Session\n3. DB-API 2.0 connection                → chdb.connect()\n4. Pandas-style DataFrame operations    → Use chdb-datastore skill instead\n```\n\n## chdb.query() — One Line, Any Data\n\n```python\nimport chdb\n\nchdb.query(\"SELECT * FROM file('data.parquet', Parquet) WHERE price > 100 LIMIT 10\")       # local files\nchdb.query(\"SELECT * FROM mysql('db:3306', 'shop', 'orders', 'root', 'pass')\")              # databases\nchdb.query(\"SELECT * FROM s3('s3:\u002F\u002Fbucket\u002Fdata.parquet', NOSIGN) LIMIT 10\")                 # cloud storage\nchdb.query(\"SELECT * FROM deltaLake('s3:\u002F\u002Fbucket\u002Fdelta\u002Ftable', NOSIGN) LIMIT 10\")           # data lakes\n\n# Cross-source join\nchdb.query(\"\"\"\n    SELECT u.name, o.amount FROM mysql('db:3306', 'crm', 'users', 'root', 'pass') AS u\n    JOIN file('orders.parquet', Parquet) AS o ON u.id = o.user_id ORDER BY o.amount DESC\n\"\"\")\n\ndata = {\"name\": [\"Alice\", \"Bob\"], \"score\": [95, 87]}\nchdb.query(\"SELECT * FROM Python(data) ORDER BY score DESC\")                                # Python data\ndf = chdb.query(\"SELECT * FROM numbers(10)\", \"DataFrame\")                                   # output formats\nchdb.query(\"SELECT toDate({d:String}) + number FROM numbers({n:UInt64})\",\n    \"DataFrame\", params={\"d\": \"2025-01-01\", \"n\": 30})                                      # parametrized\n```\n\nTable functions → [table-functions.md](references\u002Ftable-functions.md) | SQL functions → [sql-functions.md](references\u002Fsql-functions.md) | Full API → [api-reference.md](references\u002Fapi-reference.md)\n\n## Session — Stateful Analysis Pipelines\n\n```python\nfrom chdb import session as chs\nsess = chs.Session(\".\u002Fanalytics_db\")   # persistent; Session() for in-memory\n\nsess.query(\"CREATE TABLE users ENGINE=MergeTree() ORDER BY id AS SELECT * FROM mysql('db:3306','crm','users','root','pass')\")\nsess.query(\"CREATE TABLE events ENGINE=MergeTree() ORDER BY (ts,user_id) AS SELECT * FROM s3('s3:\u002F\u002Flogs\u002Fevents\u002F*.parquet',NOSIGN)\")\nsess.query(\"\"\"\n    SELECT u.country, count() AS cnt, uniqExact(e.user_id) AS users\n    FROM events e JOIN users u ON e.user_id = u.id\n    WHERE e.ts >= today() - 7 GROUP BY u.country ORDER BY cnt DESC\n\"\"\", \"Pretty\").show()\nsess.close()\n```\n\n## Connection API (DB-API 2.0)\n\n```python\nfrom chdb import dbapi\nconn = dbapi.connect()\ncur = conn.cursor()\ncur.execute(\"SELECT * FROM file('data.parquet', Parquet) WHERE value > 100\")\nprint(cur.fetchall())\ncur.close()\nconn.close()\n```\n\n## Troubleshooting\n\n| Problem | Fix |\n|---------|-----|\n| `ImportError: No module named 'chdb'` | `pip install chdb` |\n| `DB::Exception: FILE_NOT_FOUND` | Check file path; use absolute path or verify cwd |\n| `DB::Exception: Unknown table function` | Check function name spelling (e.g., `deltaLake` not `deltalake`) |\n| Connection refused to remote DB | Check host:port format; ensure remote DB allows connections |\n| Environment check | Run `python scripts\u002Fverify_install.py` (from skill directory) |\n\n## References\n\n- [API Reference](references\u002Fapi-reference.md) — query\u002FSession\u002Fconnect signatures\n- [Table Functions](references\u002Ftable-functions.md) — All ClickHouse table functions\n- [SQL Functions](references\u002Fsql-functions.md) — Commonly used SQL functions\n- [Examples](examples\u002Fexamples.md) — 9 runnable examples with expected output\n- [Official Docs](https:\u002F\u002Fclickhouse.com\u002Fdocs\u002Fchdb)\n\n> Note: This skill teaches how to *use* chdb SQL.\n> For pandas-style operations, use the `chdb-datastore` skill.\n> For contributing to chdb source code, see CLAUDE.md in the project root.\n","# chdb SQL — ClickHouse in Your Python Process\n\nRun ClickHouse SQL directly in Python — no server needed. Query local files, remote databases, and cloud storage with full ClickHouse SQL power.\n\n```bash\npip install chdb\n```\n\n## Decision Tree: Pick the Right API\n\n```\n1. One-off query on files or databases → chdb.query()\n2. Multi-step analysis with tables      → Session\n3. DB-API 2.0 connection                → chdb.connect()\n4. Pandas-style DataFrame operations    → Use chdb-datastore skill instead\n```\n\n## chdb.query() — One Line, Any Data\n\n```python\nimport chdb\n\nchdb.query(\"SELECT * FROM file('data.parquet', Parquet) WHERE price > 100 LIMIT 10\")       # local files\nchdb.query(\"SELECT * FROM mysql('db:3306', 'shop', 'orders', 'root', 'pass')\")              # databases\nchdb.query(\"SELECT * FROM s3('s3:\u002F\u002Fbucket\u002Fdata.parquet', NOSIGN) LIMIT 10\")                 # cloud storage\nchdb.query(\"SELECT * FROM deltaLake('s3:\u002F\u002Fbucket\u002Fdelta\u002Ftable', NOSIGN) LIMIT 10\")           # data lakes\n\n# Cross-source join\nchdb.query(\"\"\"\n    SELECT u.name, o.amount FROM mysql('db:3306', 'crm', 'users', 'root', 'pass') AS u\n    JOIN file('orders.parquet', Parquet) AS o ON u.id = o.user_id ORDER BY o.amount DESC\n\"\"\")\n\ndata = {\"name\": [\"Alice\", \"Bob\"], \"score\": [95, 87]}\nchdb.query(\"SELECT * FROM Python(data) ORDER BY score DESC\")                                # Python data\ndf = chdb.query(\"SELECT * FROM numbers(10)\", \"DataFrame\")                                   # output formats\nchdb.query(\"SELECT toDate({d:String}) + number FROM numbers({n:UInt64})\",\n    \"DataFrame\", params={\"d\": \"2025-01-01\", \"n\": 30})                                      # parametrized\n```\n\nTable functions → [table-functions.md](references\u002Ftable-functions.md) | SQL functions → [sql-functions.md](references\u002Fsql-functions.md) | Full API → [api-reference.md](references\u002Fapi-reference.md)\n\n## Session — Stateful Analysis Pipelines\n\n```python\nfrom chdb import session as chs\nsess = chs.Session(\".\u002Fanalytics_db\")   # persistent; Session() for in-memory\n\nsess.query(\"CREATE TABLE users ENGINE=MergeTree() ORDER BY id AS SELECT * FROM mysql('db:3306','crm','users','root','pass')\")\nsess.query(\"CREATE TABLE events ENGINE=MergeTree() ORDER BY (ts,user_id) AS SELECT * FROM s3('s3:\u002F\u002Flogs\u002Fevents\u002F*.parquet',NOSIGN)\")\nsess.query(\"\"\"\n    SELECT u.country, count() AS cnt, uniqExact(e.user_id) AS users\n    FROM events e JOIN users u ON e.user_id = u.id\n    WHERE e.ts >= today() - 7 GROUP BY u.country ORDER BY cnt DESC\n\"\"\", \"Pretty\").show()\nsess.close()\n```\n\n## Connection API (DB-API 2.0)\n\n```python\nfrom chdb import dbapi\nconn = dbapi.connect()\ncur = conn.cursor()\ncur.execute(\"SELECT * FROM file('data.parquet', Parquet) WHERE value > 100\")\nprint(cur.fetchall())\ncur.close()\nconn.close()\n```\n\n## Troubleshooting\n\n| Problem | Fix |\n|---------|-----|\n| `ImportError: No module named 'chdb'` | `pip install chdb` |\n| `DB::Exception: FILE_NOT_FOUND` | Check file path; use absolute path or verify cwd |\n| `DB::Exception: Unknown table function` | Check function name spelling (e.g., `deltaLake` not `deltalake`) |\n| Connection refused to remote DB | Check host:port format; ensure remote DB allows connections |\n| Environment check | Run `python scripts\u002Fverify_install.py` (from skill directory) |\n\n## References\n\n- [API Reference](references\u002Fapi-reference.md) — query\u002FSession\u002Fconnect signatures\n- [Table Functions](references\u002Ftable-functions.md) — All ClickHouse table functions\n- [SQL Functions](references\u002Fsql-functions.md) — Commonly used SQL functions\n- [Examples](examples\u002Fexamples.md) — 9 runnable examples with expected output\n- [Official Docs](https:\u002F\u002Fclickhouse.com\u002Fdocs\u002Fchdb)\n\n> Note: This skill teaches how to *use* chdb SQL.\n> For pandas-style operations, use the `chdb-datastore` skill.\n> For contributing to chdb source code, see CLAUDE.md in the project root.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":28},{"author":25,"version":26,"homepage":27},"chdb-io","4.1","https:\u002F\u002Fclickhouse.com\u002Fdocs\u002Fchdb","Requires Python 3.9+, macOS or Linux. pip install chdb.","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fclickhouse-agent-skills\u002Fchdb-sql",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill chdb-sql",{"tool":43,"command":44},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill chdb-sql",{"tool":46,"command":47},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill chdb-sql","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclickhouse-agent-skills\u002Fchdb-sql\u002FSkill.md",true,[51],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"metadata.json","REFERENCE","参考文档",432,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclickhouse-agent-skills\u002Fchdb-sql\u002Fmetadata.json",[58,66,71,78,83,90],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":67,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":79,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":91,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]