visualize
CLAUDE.md219 starsChanged 9 months agoMITView on GitHub
This is the Visualize plugin — an open-source Claude Code plugin that turns any idea, data, or content into beautiful, self-contained HTML visualizations. When editing skills/visualize/SKILL.md: - Keep it under 5,000 words (Anthropic best practice for progressive disclosure) - Move detailed specs to skills/visualize/references/ and link from SKILL.md - YAML frontmatter must have name and description with trigger phrases When editing examples: - Always start from the skeleton in skills/visualize/references/skeleton.md - Test both dark and light themes - Verify hamburger…
In this repositoryOne other file it gives its agents.
- evaluateSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 69
When editing skills/visualize/SKILL.md:
- Distinctive: line 70
Keep it under 5,000 words (Anthropic best practice for progressive disclosure)
- Very specific: line 75
Always start from the skeleton in skills/visualize/references/skeleton.md
- Distinctive: line 76
Test both dark and light themes
- Distinctive: line 77
Verify hamburger menu (theme toggle, PNG download, print)
- Distinctive: line 87
No API keys needed — the agent harness (Claude Code, OpenClaw) handles authentication
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This is the Visualize plugin — an open-source Claude Code plugin that turns any idea, data, or content into beautiful, self-contained HTML visualizations.
Repo Structure
visualize/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest (name, version, author)
├── skills/
│ └── visualize/
│ ├── SKILL.md # Main skill file (loaded by Claude Code)
│ └── references/ # Detailed specs (progressive disclosure Level 3)
│ ├── design-system.md
│ ├── skeleton.md
│ ├── types.md
│ ├── libraries.md
│ ├── menu.md
│ ├── css-techniques.md
│ ├── animations.md
│ └── eval.md
├── examples/ # 15 example HTML files
├── eval/ # Eval infrastructure
│ ├── EVAL.md # 3-layer scoring specification
│ ├── LOOP.md # Self-improvement loop methodology (v6)
│ ├── SKILL.md # Evaluator skill
│ ├── loop-state.json # Current round + score history
│ ├── stress-tests.md # 40 test cases
│ ├── OPENCLAW-SETUP.md # Prompt to set up automated cron job on OpenClaw
│ ├── pipeline/ # Automated eval pipeline (Node.js)
│ │ ├── run.js # Orchestrator: node run.js --dir examples/
│ │ ├── format-detect.js # Layer 1: auto-detect visualization format
│ │ ├── vision-eval.js # Layer 3: vision eval helper (agent scores, not API)
│ │ ├── checks/ # Layer 2: 45 deterministic DOM checks
│ │ ├── calibration/ # Anchor screenshots for vision eval
│ │ └── LOOP-PROMPT.md # Self-improvement loop agent prompt
│ ├── rounds/ # Per-round results
│ └── archive/ # Rounds 1-38 (historical)
├── docs/plans/ # Design & implementation docs
├── CLAUDE.md # This file
├── README.md # GitHub-facing docs
└── LICENSE # MITInstallation
# Via Claude Code plugin system
/plugin marketplace add careerhackeralex/visualize
/plugin install visualize@careerhackeralex
# Or clone directly
git clone https://github.com/careerhackeralex/visualize.gitKey Decisions
- Single-file HTML output — inline CSS/JS, opens in any browser
- Dark theme default — class-based theming (NO @media prefers-color-scheme)
- CSS-first animations — no Motion.js, pure @keyframes + vanilla JS
varfor all top-level JS — prevents TDZ errors (root cause of many past bugs)- CDN libraries encouraged — Chart.js, D3, Tailwind, Mermaid, Reveal.js, html-to-image
- Inter font via Google Fonts + Noto Sans for CJK/Arabic
- Visual restraint — no floating orbs, gradient text, scale transforms, glow effects
Working on This Repo
When editing skills/visualize/SKILL.md:
- Keep it under 5,000 words (Anthropic best practice for progressive disclosure)
- Move detailed specs to
skills/visualize/references/and link from SKILL.md - YAML frontmatter must have
nameanddescriptionwith trigger phrases
When editing examples:
- Always start from the skeleton in
skills/visualize/references/skeleton.md - Test both dark and light themes
- Verify hamburger menu (theme toggle, PNG download, print)
When running eval:
eval/loop-state.jsontracks round number and score history- Quality gates: SHIP ≥9.0, ACCEPTABLE ≥8.0, NEEDS WORK ≥7.0
- Automated pipeline:
cd eval/pipeline && node run.js --dir ../../examples/- Runs Layer 1 (format detection) + Layer 2 (45 DOM checks) + captures screenshots
- Layer 3 (visual/IA quality) is done by the AI agent reviewing the screenshots
- Self-improvement loop: pass
eval/pipeline/LOOP-PROMPT.mdto any Claude Code / OpenClaw agent - Automated scheduling: see
eval/OPENCLAW-SETUP.mdfor setting up a cron job on OpenClaw (every 3 hours) - No API keys needed — the agent harness (Claude Code, OpenClaw) handles authentication
- See
eval/EVAL.mdfor the 3-layer scoring specification
Common Pitfalls
- Chart.js: must add
Chart.defaults.animation = falsebefore creating charts - Theme toggle: charts must be destroyed and recreated (colors read at render time)
let/constat top level → TDZ errors. Always usevar.@media (prefers-color-scheme)fights with.theme-darkclass → class-only theming
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

