CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

usage

Wren Engine CLI workflow guide for AI agents. Answer data questions end-to-end using the wren CLI: gather schema context, recall past queries, write SQL through the MDL semantic layer, execute, and learn from confirmed results. Use when: user asks a data question, requests a report or analysis, asks about metrics, revenue, customers, orders, trends, or any business data; user says 'how many', 'show me', 'what is the', 'top N', 'compare', 'trend', 'growth', 'breakdown'; user wants to explore, analyze, filter, aggregate, or summarize data from a database; agent needs to query data, connect a data source, handle errors, or manage MDL changes via the wren CLI.

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, well-sequenced CLI workflow guide with strong validation and error-recovery loops. The main improvement opportunities are trimming minor meta-prose and making the reference-file pointers direct (or moving the detailed cube material into its own reference).

Suggestions

Point directly at the bundled reference files (e.g. 'see references/memory.md') in addition to, or instead of, the `wren skills get usage --full` command so the file target is unambiguous.

Consider moving the detailed Cube Query Workflow (matching table, ordering rules, error table) into its own reference file, keeping only discovery and the aggregation decision tree in SKILL.md.

Trim meta-commentary such as the venv rationale and 'This is a judgment call, not a rigid rule' to save tokens without losing guidance.

DimensionReasoningScore

Conciseness

The body is command-first with tables and decision trees and explains nothing Claude already knows, but contains minor trimmable prose — the venv rationale ('not recommended — may pollute global packages') and meta-commentary like 'This is a judgment call, not a rigid rule.' — keeping it just below the lean-every-token-counts anchor.

4 / 5

Actionability

Fully executable throughout: copy-paste-ready commands with real flags (e.g. `wren cube query --cube revenue --measures total,order_count ...`), concrete SQL examples, a JSON-stdin example, and error-pattern-to-fix tables that cover the common failure cases.

5 / 5

Workflow Clarity

Four workflows are explicitly sequenced with validation checkpoints and feedback loops appropriate to database operations: dry-plan verification before execution, `wren --sql "SELECT 1"` connection tests, `wren context validate` before rebuild, and a layered error-recovery process that fixes one issue at a time and re-runs.

5 / 5

Progressive Disclosure

Two real one-level-deep references (references/memory.md, references/wren-sql.md) exist and are signaled with pointers to their scope, but the pointers route through `wren skills get usage --full` rather than direct file paths, and the long inline Cube Query section is content that could arguably live in a reference.

4 / 5

Total

18

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly states what the skill does and gives unusually rich, natural-language trigger coverage. Its only weakness is that the 'any business data' trigger scope is broad enough to risk overlap with general data-analysis skills.

Suggestions

Tighten the 'when' clause by tying broad terms (metrics, revenue, trends) to the wren/MDL context, e.g. 'when the user asks about business data accessible through a configured wren project'.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'gather schema context, recall past queries, write SQL through the MDL semantic layer, execute, and learn from confirmed results' — and adds 'connect a data source, handle errors, or manage MDL changes', giving comprehensive coverage of the skill's capabilities with no gaps.

5 / 5

Completeness

Explicitly answers both 'what' (the end-to-end CLI workflow actions) and 'when' via a literal 'Use when:' clause enumerating concrete trigger phrases, matching the top anchor exactly; it is well above the 4 anchor where the 'when' is less specific.

5 / 5

Trigger Term Quality

Includes quoted natural phrases users actually say — "'how many', 'show me', 'what is the', 'top N', 'compare', 'trend', 'growth', 'breakdown'" — plus topic nouns and synonyms (metrics, revenue, customers, orders, trends, report, analysis, business data), matching the comprehensive-coverage anchor.

5 / 5

Distinctiveness Conflict Risk

The niche (querying data through the wren CLI / MDL semantic layer) is distinct and commands are namespaced to `wren`, but broad triggers like 'asks about metrics, revenue, customers, orders, trends, or any business data' could overlap with a generic SQL/database-analysis skill, leaving minor conflict risk.

4 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

Canner/WrenAI

Path

core/wren/src/wren/skills_content/usage/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.