gribouille
Author grammar-of-graphics plots with the gribouille Typst library.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/mcanouil/gribouille with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/mcanouil/gribouille'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/mcanouil--gribouille)HTML
<a href="/listings/mcanouil--gribouille"><img src="/api/listings/mcanouil--gribouille/badge.svg" alt="findsafeskills safety rating" /></a>Install
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
.claude-plugin/marketplace.json · Manifest · 12 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- {
- "name": "gribouille",
- "owner": { "name": "Mickaël Canouil" },
- "description": "Author grammar-of-graphics plots with the gribouille Typst library.",
- "plugins": [
- {
- "name": "gribouille",
- "source": "./",
- "description": "Author grammar-of-graphics plots with the gribouille Typst library."
- }
- ]
- }
README.md · README · 132 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- # Gribouille <picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mcanouil/gribouille/refs/heads/main/docs/assets/images/logo-stacked-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/mcanouil/gribouille/refs/heads/main/docs/assets/images/logo-stacked.svg"><img align="right" width="120" alt="Gribouille logo." src="https://raw.githubusercontent.com/mcanouil/gribouille/refs/heads/main/docs/assets/images/logo-stacked.svg"></picture>
- Create elegant graphics with the **Grammar of Graphics** for Typst.
- _Gribouille_ is French for "scribble".
- The library implements Wilkinson's **Grammar of Graphics** in a declarative API for Typst documents, inspired by [`ggplot2`](https://ggplot2.tidyverse.org) (R) and [`plotnine`](https://plotnine.org) (Python).
- Documentation: <https://m.canouil.dev/gribouille>.
- > [!WARNING]
- > _Gribouille_ is in active development.
- ## Quick look
- ```typst
- #import "@preview/gribouille:0.8.0": *
- #let species-colours = (
- Adelie: rgb("#ff8c00"),
- Chinstrap: rgb("#008B8B"),
- Gentoo: rgb("#800080"),
- )
- #plot(
- data: penguins,
- mapping: aes(
- x: "flipper-len",
- y: "body-mass",
- colour: "species",
- fill: "species",
- shape: "species",
- ),
- layers: (
- geom-point(size: 2pt, alpha: 0.25, stroke: 0.5pt, colour: rgb("#ffffff")),
- geom-smooth(method: "lm", se: true, alpha: 0.2),
- geom-mark(method: "hull", expand: 5pt, alpha: 0.25),
- geom-errorbar(stat: stat-summary(fun: "mean-sd"), width: 5pt),
- geom-errorbarh(stat: stat-summary(fun: "mean-sd"), height: 5pt),
- geom-label(
- stat: stat-summary(fun: "mean"),
- mapping: aes(label: "species"),
- colour: rgb("#ffffff"),
- size: 8pt,
- ),
- ),
- scales: scales(
- x: scale-continuous(),
- y: scale-continuous(labels: format-comma()),
- colour: scale-discrete(
- limits: species-colours.keys(),
- palette: species-colours.values(),
- ),
- fill: scale-discrete(
- limits: species-colours.keys(),
- palette: species-colours.values(),
- ),
- ),
- labels: labels(
- title: typst("Penguins *Dataset*"),
- subtitle: typst({
- [Flipper length vs body mass by species: ]
- species-colours
- .pairs()
- .map(p => text(fill: p.at(1), weight: "bold")[#p.at(0)])
- .join(", ")
- }),
- caption: "Data from Palmer Archipelago (Antarctica) penguin dataset.",
- colour: "Species",
- fill: "Species",
- shape: "Species",
- x: "Flipper Length (mm)",
- y: "Body Mass (g)",
- ),
- theme: theme-minimal(),
- width: 12cm,
- height: 9cm,
- )
- ```
- ## AI assistants
- The documentation ships a machine-readable copy for large language models at <https://m.canouil.dev/gribouille/llms.txt>.
- Every page also has a `.llms.md` companion.
- An installable skill teaches coding agents to author _Gribouille_ plots against that reference.
- Install it with the agent-neutral [`skills`](https://github.com/vercel-labs/skills) CLI:
- ```bash
- npx skills add mcanouil/gribouille
- ```
- The repository also doubles as a plugin marketplace:
- ```text
- /plugin marketplace add mcanouil/gribouille
- /plugin install gribouille@gribouille
- ```
- See the [AI Assistants guide](https://m.canouil.dev/gribouille/guides/ai-assistants.html) for details.
- ## Dependencies
- See [`typst.toml`](typst.toml) and [`src/deps.typ`](src/deps.typ) for the authoritative Typst compiler and CeTZ versions.
- ## Contributing
- > [!NOTE]
- > Gribouille is an unfunded spare-time project, and the API is still settling.
- > Bug reports and ideas are welcome on the issue tracker.
- >
- > I do not accept pull requests for now.
- > The internals shift between releases.
- > Every review costs time that I must take from the work that moves the library forward.
- > I am also especially careful in the current climate of unreviewed LLM-authored patches.
- > Once the surface is stable I will revisit and open the door.
- >
- > Thanks in advance for your patience and your understanding.
- Contributions are welcome.
- See [`CONTRIBUTING.md`](CONTRIBUTING.md) for bug reporting, development setup, and commit conventions.
- Short identifiers used across the source tree (`ctx`, `spec`, `mapping`, `cx`, `cy`, `lo`, `hi`, …) are catalogued in [`GLOSSARY.md`](GLOSSARY.md).
- ## Citation
- If you use _Gribouille_ in your work, cite it.
- Citation metadata is provided in [`CITATION.cff`](CITATION.cff).
- GitHub renders it via the "Cite this repository" widget on the repository sidebar.
- ## License
- This project is licensed under the MIT License.
- See the [LICENSE](LICENSE) file for details.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.