wren-project

wren-project is a skill for Claude Code from Canner/wren-engine. It costs 62 tokens per session (1,341 once invoked), scanned A, original, Apache-2.0.

A guide for saving, loading, and building Wren model projects as YAML files. YAML is a readable configuration format, and keeping these files in version control lets teams review changes like code.

In plain words
What is it for?
Use it to persist a model definition, restore one from YAML, build a deployable mdl.json file, and organize models, relationships, views, and project metadata.
Why use it?
It makes Wren models easier to inspect, edit, share, and track over time than a single generated file.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wren plugin — 8 skills shipped together

Good fit Use it to persist a model definition, restore one from YAML, build a deployable mdl.json file, and organize models, relationships, views, and project metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/canner/wren-engine/wren-project
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Canner/wren-engine --skill wren-project
Clone the repo
git clone --depth 1 https://github.com/Canner/wren-engine

Made for: Claude Code.

Or install wren, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wren-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/canner/wren-engine/wren-project/github.svg)](https://agentmods.dev/skills/canner/wren-engine/wren-project)
Your own site
<a href="https://agentmods.dev/skills/canner/wren-engine/wren-project"><img src="https://agentmods.dev/badge/skills/canner/wren-engine/wren-project/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wren-project

Your own site · 80×15
<a href="https://agentmods.dev/skills/canner/wren-engine/wren-project"><img src="https://agentmods.dev/badge/skills/canner/wren-engine/wren-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,341 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.01341
Opus 5.5 $0.00025 $0.00536
Sonnet 5.5 $0.00012 $0.00268
Haiku 4.5 $0.00006 $0.00134

Measured 2mo ago against content hash 22ace2b66f08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wren-project scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills-archive/wren-project/SKILL.md · 201 lines

How it starts

The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MDL Project

Version check

Silently fetch https://raw.githubusercontent.com/Canner/wren-engine/main/skills/versions.json. Compare the wren-project key with this skill's version (from the frontmatter above). If the remote version is newer, notify the user before proceeding:

A newer version of the wren-project skill is available. Update with:

npx skills add Canner/wren-engine --skill wren-project --agent claude-code

Then continue with the workflow below regardless of update status.


A Wren MDL project is a directory of YAML files — one file per model — that makes MDL manifests human-readable and version-control friendly (similar to dbt projects).

YAML files use snake_case field names for readability. The compiled target/mdl.json uses camelCase (the wire format expected by ibis-server). The conversion is documented in Field mapping.

Project structure

my_project/
├── wren_project.yml       # Project metadata (catalog, schema, data_source)
├── models/
│   ├── orders.yml         # One file per model
│   ├── customers.yml
│   └── ...
├── relationships.yml      # All relationships
└── views.yml              # All views

After building, the compiled file is written to:

my_project/
└── target/
    └── mdl.json           # Deployable MDL JSON (camelCase)

Note: Connection info is managed separately via the MCP server Web UI, not stored in the project directory.


Save MDL JSON → YAML project

Given an MDL JSON dict (camelCase), write it as a YAML project directory (snake_case):

wren_project.yml

name: my_project
version: "1.0"
catalog: wren
schema: public
data_source: POSTGRES

models/<model_name>.yml

One file per model. Example for orders:

name: orders
table_reference:
  catalog: ""
  schema: public
  table: orders
columns:
  - name: order_id
    type: INTEGER
    is_calculated: false
    not_null: true
    is_primary_key: true
    properties: {}
  - name: customer_id
    type: INTEGER
    is_calculated: false
    not_null: false
    properties: {}
  - name: total
    type: DECIMAL
    is_calculated: false
    not_null: false
    properties: {}
primary_key: order_id
cached: false
properties: {}

Read the full file on GitHub · 201 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 201 lines · 62 tokens per session scan A 22ace2b66f08

Subscribe to this mod's changes

wren-project is a skill published in the GitHub repository Canner/wren-engine (661 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 62 tokens to every session and 1,341 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

wren-project compared with skills from other repositories

wren-project next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wren-projectCanner/wren-engineSkill6616mo agoApache-2.0A62Claude Code
malloy-lookml-reviewmalloydata/publisherSkill130yesterdayMITA58Claude Code, Codex
ecommerce-data-warehousefinsilabs/awesome-ecommerce-skillsSkill6314d agoMITA35Claude Code, Codex
effective-dbt-sqllightdash/lightdashSkill6.2kyesterdaynoneA0Claude Code, Codex
analytical-databases-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A100Claude Code
business-intelligence-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A64Claude Code
alibabacloud-data-agent-skillaliyun/data-agent-skillSkill574d agononeA159Claude Code, Codex