GilbertzzzZZ393 downloadsDeclarative content blocks for your notes: charts, data tables, timelines, metric cards, decision records and flow diagrams from inline CSV, JSON or dataset files.
Declarative content blocks for Obsidian
English | 简体中文
Charts and cards for people. Plain-text context for Agents.
Mosaic turns text in your Obsidian notes into charts, tables, cards, timelines and flow diagrams. Built for notes you write with an AI Agent, it keeps the data and instructions as readable text while showing you the visual result.
Text is the shared source: your Agent can read and edit the values, labels and context directly, without having to reconstruct them from a picture. You read the same note visually in Obsidian. There is no separate image to keep in sync.
Download · Agent setup · Guides
Charts — see trends and comparisons
Add a visual block where it helps explain your note, without leaving Obsidian.
| What you want to show | Block | Example use |
|---|---|---|
| Trends and comparisons | Chart | Monthly totals, actuals versus targets |
| Individual records | DataTable | Inventory, results, task lists |
| Key numbers and their status | MetricGrid | A weekly snapshot with changes and notes |
| Milestones and progress | Timeline | A release plan or project history |
| A decision and its reasoning | DecisionBox | What was decided, by whom, and why |
| Steps and branches | FlowDiagram | An approval or incident-response process |
Requires Obsidian 1.13.0 or later. Blocks render in Reading view, not Live Preview.
Install Mosaic for my Obsidian vault and set up its skill for the agent
I am using.
Official repository: https://github.com/GilbertzzzZZ/obsidian-mosaic
Official releases: https://github.com/GilbertzzzZZ/obsidian-mosaic/releases/latest
Obsidian plugin ID: mosaic
1. Confirm which local Obsidian vault I want to use and read its AGENTS.md
if present. Ask for the path if it is not clear. Keep all writes inside
this vault; do not install globally.
2. Use the latest stable official GitHub Release, not an unreleased branch.
Download main.js, manifest.json and styles.css from that same release.
Check the manifest ID, version and minimum Obsidian version. Install into
the vault's plugin configuration directory under plugins/mosaic
(normally .obsidian/plugins/mosaic). Preserve data.json and other plugins.
Ask before replacing an existing installation or skill with local edits.
3. Install one skill for the client I am using:
- Claude Code: .claude/skills/mosaic/SKILL.md inside the vault.
- A client using .agents: .agents/skills/mosaic/SKILL.md inside the vault.
- If the client's skill directory is unclear, ask me rather than guessing.
If you can control Obsidian, enable Mosaic, select Current vault in Import
skill, and turn on the matching destination switch. This authorizes full
replacement now and after plugin updates. Otherwise, fetch src/agent-guide/mosaic.md and
src/agent-guide/core.mjs from the installed release's exact tag.
Create SKILL.md with the complete guide body and the frontmatter format
defined by renderGuide in that source, using the installed version.
Do not use main or invent the guidance. Do not fabricate plugin tracking
records. A file installed this way is not automatically updated by Mosaic.
Tell me to turn on its destination switch in Mosaic settings for updates.
4. Verify Mosaic loads if you can control Obsidian. Otherwise
tell me exactly what to enable manually. Do not change unrelated settings.
5. Read the installed skill, then report the plugin version, installation
directory, skill path, and any activation or verification still needed.
main.js, manifest.json and styles.css from the latest release.mosaic folder inside your vault's .obsidian/plugins/ folder and copy the three files into it..md note to start. Mosaic also supports .mdx files, but does not execute MDX or JavaScript.Give your Agent Mosaic's writing instructions, then ask it to create a note using your data.
Mosaic does not include an AI assistant or connect to a model. Use your own Agent with access to the vault. You can also write every block by hand.
.agents/skills/mosaic/SKILL.md inside this vault..claude/skills/mosaic/SKILL.md inside this vault.For example, with a monthly attendance table attached to your request:
Read the Mosaic skill. Turn the attached attendance data into an Obsidian
note with a trend chart and a short written summary. Use only the supplied
values. Ask me about missing information rather than inventing it.
mosaic/SKILL.md inside that folder.docs/guides and turn on the guide switch. Reference docs/guides/Mosaic-Usage-Guide.md in your vault's AGENTS.md, asking your Agent to read it before creating Mosaic content. Mosaic does not edit AGENTS.md for you.Turning a destination on replaces the entire file, including edits. Enabled destinations follow plugin updates; turning them off keeps the files and stops updates. Turn off a custom destination before changing its folder.
The skill and ordinary guide contain the same complete English reference, including examples for all six blocks. See import destinations and update behavior, or read the reference itself.
No Agent setup is required. Copy this entire code block into a note and switch to Reading view.
Nine months of actuals versus targets
```chart
---
title: Reading challenge completions
type: combo
x: month
bars: Completed
lines: Target
CompletedLabel: Completed readers
TargetLabel: Monthly target
CompletedColor: "#2563EB"
TargetColor: "#D97706"
unit: readers
labels: all
highlight: 2026-06
note: Monthly targets are planned reader counts, not forecasts.
---
month,Completed,Target
2026-01,42,50
2026-02,56,55
2026-03,64,60
2026-04,58,65
2026-05,76,70
2026-06,88,75
2026-07,72,80
2026-08,96,85
2026-09,104,90
```
--- markers name the chart and choose its display options. The rows below contain the data.If you still see text
Cover common ways to explain information, and keep the plugin small.
Keep this page for getting started. Use the guides for complete syntax, examples and troubleshooting.
User guides have English and Chinese versions. Engineering guides and the imported Agent reference are English-only.
Mosaic runs locally, without network requests, telemetry, accounts or ads.
.mdx registration is vault-wide. Mosaic lets Obsidian open .mdx files as Markdown, including files without Mosaic blocks. It skips registration if another plugin already handles the extension.Bug reports and focused improvements are welcome. Mosaic is MIT licensed.
.md or .mdx.npm ci, npm test, then npm run build.