Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

lookml-exploreLookml 探索

Agent Skill

lookml-explore 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

412

周安装

17

GitHub Stars

7

下载量

135
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:lookml-explore(Lookml 探索)
来源仓库:https://github.com/lkrdev/lookml_skills
仓库路径:skills/lookml-explore
安装命令:
npx skills add https://github.com/lkrdev/lookml_skills --skill lookml-explore
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lkrdev/lookml_skills --skill lookml-explore

简介

用于处理 GitHub 仓库及协作信息,适合在开发流程中跟踪代码变更和 Issue。

  • 支持 Pull Request 管理和仓库状态查询,提升团队协作效率。
  • 通过 GitHub 安装,需确认权限范围和维护状态后再使用。
  • 可能触发联网、命令执行或文件读写操作,建议提前评估风险。
  • lookml-explore 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Instructions

1. Core Standards

  1. Naming Convention: snake_case for the Explore name.
  2. Required Parameters:

- description: 100% Coverage. Every Explore MUST have a description. - label: A user-friendly name for the Explore in the UI. - view_name: Defaults to explore name, but explicit definition is safer.

  1. Joins:

- relationship: Required (one_to_one, many_to_one). - sql_on: Required. Use ${left.id} = ${right.id} syntax. - type: defaults to left_outer. Use inner or full_outer explicitly if needed.

  1. Formatting:

- Do NOT use from to rename views just for aesthetics. Use view_label instead. - Exception: Polymorphic joins, Self-joins, Rescoping extensions.

2. Advanced Configuration

  • always_filter: specific filters that users can change but cannot remove.
  • sql_always_where: specific restrictions that users *cannot* change.
  • persist_with: Link explore cache to datagroups (e.g., default_datagroup).
  • fields: Use inclusive lists to strictly control content when necessary (ALL_FIELDS*, -view.field).

3. Performance Optimization (Aggregate Tables)

Aggregate Tables (Aggregate Awareness) allow Looker to query smaller, pre-aggregated tables instead of the raw granular data, drastically improving query performance.

Anatomy of an Aggregate Table

explore: orders {
  aggregate_table: rollup_name {
    query: {
      dimensions: [created_date, status]
      measures: [total_revenue, count]
      filters: [orders.created_date: "6 months"]
    }
    materialization: {
      datagroup_trigger: ecommerce_etl
      # partition_keys: ["created_date"] # BigQuery/Presto optimization
      # increment_key: "created_date"    # Incremental builds
      # increment_offset: 3              # Rebuild last 3 periods
    }
  }
}

Key Parameters

  1. Query: Defines the "shape" of the rollup.

- Dimensions: Include all dimensions commonly used in dashboards (including filters). - Measures: Include base measures (sum, count). Looker can derive averages from sum+count. - Filters: Optional. Restricts the rollup to a subset of data (e.g., "last 6 months").

  1. Materialization:

- datagroup_trigger: (Recommended) Rebuilds when the ETL job completes. - sql_trigger_value: Rebuilds when a SQL query returns a new value. - increment_key: (Advanced) Appends new data instead of full rebuilds. Best for massive tables. - indexes / partition_keys / cluster_keys: Dialect-specific optimizations.

  1. Best Practices:

- Timeframes: Include the finest grain needed (e.g., date). Looker can roll up date to month or year automatically. - Exact Match: The user's query must be a *strict subset* of the aggregate table's fields to satisfy the awareness logic. - Filter Awareness: If a user filters on a field *not* in the aggregate table, Looker cannot use it (unless it's an "exact match" special case). Add common filter fields to the dimensions list.

4. Extending Explores

  • Extends: Use extends: [base_explore] to inherit joins, fields, and descriptions from another explore.

- Use Case: Create a "Base" explore with common joins, then "Extended" explores for specific analysis (e.g., orders -> marketing_orders).

Examples

Basic Explore

explore: orders {
  label: "Orders"
  description: "Analyze order data, including user and product details."
  view_name: orders

  join: users {
    relationship: many_to_one
    sql_on: ${orders.user_id} = ${users.id} ;;
  }
}

Explore with Filters & Caching

explore: events {
  label: "Web Events"
  description: "User interaction events."
  persist_with: default_datagroup

  # Users can change this filter, but it defaults to '7 days'
  always_filter: {
    filters: [events.created_date: "7 days"]
  }

  # Users CANNOT change this filter.
  sql_always_where: ${events.is_test_data} = false ;;

  join: sessions {
    relationship: many_to_one
    sql_on: ${events.session_id} = ${sessions.session_id} ;;
  }
}

## Aggregate Table (Advanced)

explore: orders { aggregate_table: monthly_sales_summary { query: { dimensions: [created_month, status, products.category] measures: [total_revenue, count] filters: [orders.created_date: "2 years"] } materialization: { datagroup_trigger: ecommerce_etl partition_keys: ["created_month"] increment_key: "created_month" increment_offset: 1 # Rebuild current and previous month } } }


## Extended Explore

explore: orders_extended { extends: [orders] label: "Orders (Marketing View)" view_name: orders

# Add new joins specific to this view join: marketing_channels { sql_on: ${orders.channel_id} = ${marketing_channels.id} ;; relationship: many_to_one } }

Reference Skills

For more complex scenarios, refer to these specialized skills:

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.42%
按下载量换算46

Claude

32.3%
按下载量换算44

Cursor

18.24%
按下载量换算25

Gemini CLI

9.27%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills