‹ 首页

sl

@kaelio · 收录于 1 周前 · 上游提交 1 周前

ktx's semantic layer - a structured catalog of sources (tables/views), measures, joins, and segments expressed as YAML. Covers the schema and how to query it via `sl_query`. Use when the task involves querying pre-defined metrics (ARR, churn, retention, LTV, MAU) or reading SL source YAML to understand the catalog. Capture is handled by the `sl_capture` skill (memory-agent only).

适合你,如果需要通过语义层查询ARR、留存等业务指标

/ 通过 npx 安装 校验哈希
npx oh-my-skill add kaelio/ktx/sl
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- kaelio/ktx/sl
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify kaelio/ktx/sl
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1469GitHub stars
~2.2K上下文体积 · 单文件
镜像托管

怎么用

商店整理自技能原文 · 版本 49a4ae6 · 表述以原文为准
它做什么

安装后,Claude 可以查询预定义的业务指标(如 ARR、流失率、留存率、LTV、MAU)或读取语义层 YAML 源文件来理解数据目录。它使用 `sl_query` 工具自动生成 SQL,处理连接、聚合和过滤。

什么时候触发

当任务涉及查询预定义指标或需要理解语义层目录结构时触发。例如,用户询问“本月 ARR 是多少?”或“查看 fct_orders 源的结构”。

装好后可以这样说
Claude 会读取语义层 YAML 并列出度量。
Claude 会跨源连接并聚合数据。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。