What are skills?
Skills are context files that teach AI coding agents about Lightdash’s YAML configuration, metrics, dimensions, and best practices. They’re powered by agentskills.io and provide agents with the knowledge they need to:- Generate correct YAML configurations for metrics and dimensions
- Follow Lightdash naming conventions and best practices
- Understand table relationships and joins
- Use the latest Lightdash features and syntax
Supported tools
Lightdash skills work with popular AI coding assistants:- Cursor - AI-powered code editor
- Claude Code - Anthropic’s coding assistant
- Codex - OpenAI’s code generation model
- Antigravity - AI development platform
- Other tools that support the skills format
Installing skills
Use the Lightdash CLI to install skills for your preferred AI coding agent.Prerequisites
Install for your project
Install skills at the project level (recommended for team collaboration):.claude/skills/for Claude.cursor/skills/for Cursor.codex/skills/for Codex
Install globally
Install skills globally to use them across all your projects:~/.claude/skills/).
Install to a custom path
Specify a custom installation path:Using skills with your agent
Once installed, your AI coding agent automatically picks up the Lightdash skills. You can then ask your agent to:- Create new metrics and dimensions
- Generate YAML configurations for dbt models
- Fix validation errors in your semantic layer
- Refactor existing metric definitions
- Add joins between tables