lkr-code-mode

Installation
SKILL.md

Looker Code Mode Agent Skill (lkr code-mode)

This skill teaches AI agents how to execute Python code and Looker SDK operations against active Looker instances non-interactively using lkr code-mode sandbox.

Mental Model

Instead of exposing hundreds of separate tool definitions (which bloats context windows), lkr code-mode sandbox runs Python code inside the Monty sandbox with direct access to all Looker SDK methods as global functions.

  • No SDK instantiation needed. Looker SDK methods are pre-bound as globals (such as me(), folder(id), run_inline_query(), all_dashboards()) or accessible via sdk.<method>() (such as sdk.me()).
  • No imports required. Do not write import looker_sdk.
  • Return values are plain Python dictionaries and lists. Access properties with dictionary keys (user["id"]), not attribute dot notation (user.id).
  • Always return the final result. Avoid print() statements so the output is cleanly structured JSON.

Installation

Install into your agent workspace using npx skills:

Installs
12
Repository
lkrdev/cli
GitHub Stars
3
First Seen
6 days ago