
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
This skill makes agent-generated docs use a single Notion-like HTML template instead of ad hoc styling. The agent writes the content, then fills `skills/notion-doc/template.html` with Notion-style blocks, colors, and layout rules.
Builders who want their agent to produce documents with a consistent Notion look.
You can ask your agent for a report, postmortem, or summary and get a document that keeps the Notion visual style intact.
Provides HTML blocks for breadcrumbs, emoji icons, tag pills, meta lines, callouts, tables, two-column layouts, buttons, toggles, checklists, quotes, bookmark cards, and inline code.
Uses `skills/notion-doc/template.html` as the canon so the agent does not invent new CSS for each document.
`lint.py` checks generated HTML for CSS drift, inline styles, unknown classes, bad colors, and code blocks without language classes.
A `PostToolUse` hook can run after HTML files are written and point out when the document needs fixes.
The skill is plain files, so it can also be copied into other agent setups such as AGENTS.md, `.cursor/rules`, or `GEMINI.md` workflows.
Weekly sync scripts compare Notion tokens, block types, and render output against committed baselines in `sync/`.
/plugin marketplace add heyman333/agent-notion-template-docs /plugin install notion-doc@agent-notion-template-docs
/plugin marketplace update agent-notion-template-docs /plugin update notion-doc@agent-notion-template-docs
claude plugin marketplace update agent-notion-template-docs claude plugin update notion-doc@agent-notion-template-docs --scope user # or local / project
# this project only cp -r skills/notion-doc <your-project>/.claude/skills/ # every project cp -r skills/notion-doc ~/.claude/skills/
/notion-doc:notion-doc
Make your AI agent write documents like Notion — not like an AI.
Ask an AI agent to create a document and you'll often get the same kind of output: a purple gradient hero, emoji-heavy headings, cards with drop shadows.
notion-doc is an agent skill that gives those documents a Notion-like visual style.
It doesn't decide what goes into your document or how it's structured. Your agent still handles the content and outline. notion-doc only handles the presentation.
| Without notion-doc | With notion-doc |
|---|---|
![]() | ![]() |
The skill provides a set of HTML blocks commonly used in Notion:
<details>), checklists with strikethrough, quotes, and bookmark cardsword-break: keep-all)@media printThe agent doesn't generate CSS for each document. It copies template.html and fills in the content.
The template defines a 720px content width, #2C2C2B text color, and Notion's light and dark color palettes as CSS tokens.
Dark mode follows the viewer's theme. When printed or exported to PDF, it switches back to the light palette.
| Light | Dark |
|---|---|
![]() | ![]() |
Plugin installation is the recommended way to use notion-doc.
/plugin marketplace add heyman333/agent-notion-template-docs
/plugin install notion-doc@agent-notion-template-docs
By default the plugin is installed at the user scope — it applies to all of your projects and never touches the repo, so teammates are unaffected.
To narrow or widen that, pass --scope on the CLI:
# just me, just this project (.claude/settings.local.json — auto-gitignored)
claude plugin marketplace add heyman333/agent-notion-template-docs --scope local
claude plugin install notion-doc@agent-notion-template-docs --scope local
# the whole team on this project (.claude/settings.json — commit it)
claude plugin marketplace add heyman333/agent-notion-template-docs --scope project
claude plugin install notion-doc@agent-notion-template-docs --scope project
With project scope, teammates get an install prompt on their next session after pulling. With local scope, nothing you install shows up in git.
New versions ship through this marketplace repo, so refresh the marketplace first, then update the plugin:
/plugin marketplace update agent-notion-template-docs
/plugin update notion-doc@agent-notion-template-docs
Or from the CLI, passing the scope you installed at:
claude plugin marketplace update agent-notion-template-docs
claude plugin update notion-doc@agent-notion-template-docs --scope user # or local / project
Restart Claude Code to apply. If you installed at more than one scope, update each one — in a project the narrower scope wins. claude plugin list shows what you currently have.
You can also copy the skill manually.
# this project only
cp -r skills/notion-doc <your-project>/.claude/skills/
# every project
cp -r skills/notion-doc ~/.claude/skills/
The skill consists of two plain files with no Claude-specific dependencies. Any agent that can read instruction files can use it.
See Using with other agents for ready-to-paste snippets for AGENTS.md, .cursor/rules, and GEMINI.md.
Once installed, notion-doc is applied automatically when you ask the agent to create a document.
For example:
You can also invoke it explicitly in Claude Code:
/notion-doc:notion-doc
The skill is designed around a single HTML template. The agent should use the template rather than creating its own CSS.
lint.py checks generated documents against template.html:
python3 skills/notion-doc/lint.py mydoc.html
For example:
✗ mydoc.html
ERROR [css-drift] CSS differs from the canon (1 lines). Do not write new CSS — + box-shadow: 0 4px 12px ...
ERROR [unknown-class] Classes not in the template: hero-card. Do not invent classes — pick from the block dictionary
The linter catches:
style attributeslanguage-* classIt uses only the Python standard library, so it can run in any agent or CI environment.
When installed as a Claude Code plugin, a PostToolUse hook runs after HTML files are written and reports what needs to be fixed. If the document was created without the skill, it gives a short reminder to use it.
The hook is limited to document files and skips apps, framework templates, and build output. See the gating tests.
Open the HTML files in a browser to see the actual output.
| File | Content | Blocks shown |
|---|---|---|
| sample.html | Campaign proposal (Korean) | Most of the available blocks: breadcrumb, TOC, 5 callout colors, tables, 2-column layout, toggle, checklist, bookmark, button |
| sample-tech.html | Incident analysis (Korean) | Syntax-highlighted code, red/yellow callouts |
| sample-en.html | Campaign proposal (English) | Same document as sample.html, in English |
| before.html | Without notion-doc | A typical default agent output |
.claude-plugin/
plugin.json # plugin manifest
marketplace.json # marketplace catalog
skills/notion-doc/
SKILL.md # block dictionary and visual rules
template.html # HTML template and CSS
lint.py # checks documents against the template
hooks/
hooks.json # PostToolUse hook
notion-doc-lint.py
test_gating.py # tests hook behavior
examples/ # rendered example documents
scripts/ # screenshots and Notion sync checks
docs/
using-with-other-agents.md
Notion continues to add new block types and change its visual design. This repo periodically checks a public Notion reference page to see if the implementation has drifted.
The weekly CI job, notion-sync, checks the reference page in three ways:
The results are compared against the committed baselines in sync/notion-tokens.json and sync/notion-snapshot.json.
Reference page:
Notion Block Reference — All of Notion's Blocks
(Thomas Frank's public reference page.)
When the reference changes, the CI job reports the difference and opens an issue. The report also indicates whether a new block type is already supported by notion-doc.
The visual style in template.html is based on Notion's own design tokens rather than manually approximated values.
Notion declares its tokens right in its inline styles (background: var(--c-graBacPri)), so every value can be traced instead of sampled:
The weekly notion-sync job re-checks all of it, so the template can't silently drift from Notion.
Sign in to join the discussion.
No comments yet. Be the first to say what this is good for.

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.
Public repository for Agent Skills
Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
A skill to stop your coding agent from burying the answer. ADHD-friendly output.