synapse
Skill4 starsChanged 3 months agoMITView on GitHub
Master skill for Why.J Engineering. Orchestrates forge → DSL → slides/blog HTML pipeline. Delegates to synapse-forge (ingestion), synapse-pretext (blog rendering), synapse-excalidraw (diagrams), and synapse-animation.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- thiagofinch/mega-braintheir own version, first seen Oct 8, 2026
- SynkraAI/aios-coretheir own version, first seen Oct 8, 2026
- anshulyadav1976/synapsetheir own version, first seen Sep 8, 2026
- hidrogenone/claude-synapsetheir own version, first seen Aug 12, 2026
- valsecchi75/project-scaffoldertheir own version, first seen Aug 3, 2026
- ANTHO56200/synapse-memorytheir own version, first seen Jul 6, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- SynkraAI/aios-core★ 3.1ksame name
- SynkraAI/aiox-core★ 3.1ksame name
- thiagofinch/mega-brain★ 95same name
- valsecchi75/project-scaffolder★ 9same name
- anshulyadav1976/synapse★ 7same name
- ImScottDev/brain-scott★ 4same name
- NimbleBrainInc/skills★ 3same name
- ANTHO56200/synapse-memory★ 2same name
- TheJenilDGohel/Synapse★ 1same name
- hidrogenone/claude-synapse★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 7 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 50
If target output has examples/<project>/DESIGN.md, load it first and treat it as a hard visual rule set.
- Very specific: line 52
Do not route figure generation through Gemini, Imagen APIs, Nano Banana, or another external image provider.
- Very specific: line 53
Read both Figure prompt suffix / 风格控制 and 文件落地 from DESIGN.md first, then merge into generated prompts.
- Distinctive: line 56
if prompt uses a different base palette, overwrite to align DESIGN.md(以 DESIGN.md 为准);
- Very specific: line 57
all image assets must be written to examples/<project>/figures/ and referenced as ./figures/...
- Very specific: line 71
Cover: NO image, NO pulse, NO pretext animation.
- Very specific: line 84
Pretext Animation: all pages except Cover have <div class="pretext-stage" data-pretext-src="slide">
- Very specific: line 85
Design Source Override: when examples/<project>/DESIGN.md exists, project visual controls and figure constraints from that file override …
- Very specific: line 86
Read any Figure prompt suffix / 风格控制 section and append those constraints to every generated ::visual prompt unless it conflicts with …
- Very specific: line 87
Keep the source of truth in examples/<project>/figures/index.md (image name, prompt, usage, and placement).
- Distinctive: line 89
All figure insertion in HTML must point to this local path and allow prompt-only recovery when file is missing.
- Distinctive: line 111
DO NOT run prettier
- Very specific: line 113
Figure sync: when DSL contains Type: figure sections, read reference template first (e.g.
- Very specific: line 122
Follow skills/synapse-forge/FORGE-DSL.md Section C for voice and style
- Distinctive: line 148
Do not route figure prompts to Gemini, Imagen APIs, Nano Banana, or other external providers.
- Distinctive: line 153
Use when the user asks for:
- Distinctive: line 162
NO X/Twitter threads
- Distinctive: line 163
NO Xiaoshu (Little Red Book) templates
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Synapse
Master orchestrator for the Synapse skill system.
Sub-Skills
| Skill | Directory | Purpose |
synapse-forge | skills/synapse-forge/ | URLs/files → DSL (熔炉): ingestion + synthesis |
synapse-design | skills/synapse-design/ | Content creation guidance (voice, structure, slides template) |
synapse-pretext | skills/synapse-pretext/ | Blog DSL → HTML rendering + text layout engine |
synapse-excalidraw | skills/synapse-excalidraw/ | Excalidraw diagram generation (Morandi palette, layout.js) |
synapse-animation | skills/synapse-animation/ | Animated SVG/GIF + Remotion output |
Pipeline Overview
User provides URLs/files
│
▼
synapse-forge (Stage 1-3)
Fetch → Extract → Synthesize
│
▼
DSL file (*.dsl.md)
╱ ╲
╱ ╲
▼ ▼
Slides Blog
Render Render
│ │
▼ ▼
HTML HTMLOperation A: Why.J Theater (Slides)
Full Pipeline
- Ingest:
synapse-forge— URLs/files → Slides DSL - Render: copy
skills/synapse-design/references/WHYJ-SLIDES.html, replace content per DSL- If target output has
examples/<project>/DESIGN.md, load it first and treat it as a hard visual rule set. - For any new/recreated raster figure, invoke the Codex built-in
$imagegenskill and use its default built-inimage_gentool mode. - Do not route figure generation through Gemini, Imagen APIs, Nano Banana, or another external image provider. If built-in
image_genis unavailable or fails, report the failure; use the$imagegenCLI/API fallback only after the user explicitly approves it. - Read both
Figure prompt suffix / 风格控制and文件落地from DESIGN.md first, then merge into generated prompts. - For every
::visual/prompt:- append or enforce:
white paper background、rough black ink、sparse labels、single accent #D97757、no gradients、no shadows、no 3D、no decorative clutter、no emoji; - if prompt uses a different base palette, overwrite to align DESIGN.md(以 DESIGN.md 为准);
- all image assets must be written to
examples/<project>/figures/and referenced as./figures/...in DSL/HTML.
- append or enforce:
- If target output has
- Post-process:
npx prettier --write [file]
Structural Sequence
- 00 / Cover — Identity & Title (
YYYY/MM/DD) - 01 / Context — Factual survey: collect facts, pulse does high-level abstraction
- 02 / Agenda — Questions that grow from Context facts, guiding reader from different angles
- 03-N / Mechanism — Core sub-logics, one per slide, O(1) complexity
- Take A Ways — Q→A mapping (Q1→A1...Q3→A3), Q4 becomes pulse conclusion
- Reference — Verified source list
Visual Rules
- Cover: NO image, NO pulse, NO pretext animation. Title + Chinese subtitle (topic thesis) + Version/Author/Date. Subtitle is NOT "Synapse vX.X".
- Context (01): 事实 1-N list. H2 emphasizes "现状分析". Pulse does high-level abstraction. visual-box with Codex
$imagegenprompt (single source of truth). - Agenda (02): Questions grow from Context facts.
push-left+fragment. NO image, NO pulse. - Mechanism (03-N): pulse + visual-box + pretext animation. Codex
$imagegen(Excalidraw-inspired: white paper background, rough black ink, sparse labels, single accent#D97757, no gradients, no shadows, no 3D, no decorative clutter). Raster generation uses the built-inimage_genpath. - Take A Ways: Q→A strict mapping.
push-left, NO visual-box. Q4 → pulse withfragment. - Reference:
.canvas-footer. Bold title wraps<a href>, full URL inline. CSS::beforeauto-generates arrows — do NOT hand-write→.
Rendering Rules
- Watermark:
whyj + {project_id} + YYYY/MM/DD - HTML Title:
{Project Name} | Synapse v{version} - mark/strong: both share
var(--strong-bg) - DSL Directives:
::math→ KaTeX,::code→.code-container,::pulse→.pulse-layer,==text==→<mark> - Pretext Animation: all pages except Cover have
<div class="pretext-stage" data-pretext-src="slide"> - Design Source Override: when
examples/<project>/DESIGN.mdexists, project visual controls and figure constraints from that file override the default template defaults (white paper, rough ink, sparse labels,#D97757, etc.).- Read any
Figure prompt suffix / 风格控制section and append those constraints to every generated::visualprompt unless it conflicts with correctness. - Keep the source of truth in
examples/<project>/figures/index.md(image name, prompt, usage, and placement). - Figure image assets for example outputs must remain under
examples/<project>/figuresand be referenced as./figures/...in DSL/HTML. - All figure insertion in HTML must point to this local path and allow prompt-only recovery when file is missing.
::image/::visual默认只展示图像与 Caption,prompt仅在放大/zoom 弹窗内展示。
- Read any
Copy-Not-Create (MANDATORY)
Slides HTML MUST be copied from verified template, never hand-written. Hand-writing misses ~100 lines CSS + ~200 lines JS (Reveal.js, pretext, fonts, colors).
Operation B: Engineering Blog
Full Pipeline
- Ingest:
synapse-forge— URLs/files → Blog DSL - Render:
synapse-pretext— copyskills/synapse-pretext/examples/dsv4-blog-layout.html, fill DSL content - Verify: JS syntax check (no prettier — breaks ~2000-line inlined library)
Blog Rendering Protocol (synapse-pretext)
cp skills/synapse-pretext/examples/dsv4-blog-layout.htmlto target- Replace: TITLE, LEAD, SECTIONS, PULSE, meta-tag, meta-date,
<title> - Backtick template literals for ALL content strings (Chinese
""breaks JS"...") - bodyHTML uses single quotes (contains HTML tags)
- Image paths: relative from output directory, prefer
./figures/...under target example folder - DO NOT run prettier
- Verify:
node -e "new Function(require('fs').readFileSync('file','utf8').match(/<script.*>([\s\S]*)<\/script>/)[1])" - Figure sync: when DSL contains
Type: figuresections, read reference template first (e.g.dsv4-blog-opd-en.html) and copy its complete figure pattern — independent section objects, prompts from slides DSL::visual, CSSfigure-prompt-vis, zoom overlay prompt reveal logic.- Figure card keeps normal state clean (image + caption).
- Prompt text stays in figure metadata and surfaces only when zoomed.
- Figure section objects use
image: \./figures/...`` paths, and fallback prompt path remains recoverable if image file is missing.
Blog Content Principles
- Senior-to-senior tone, zero marketing
- Thesis-first, mechanism-driven
- Follow
skills/synapse-forge/FORGE-DSL.mdSection C for voice and style
Diagram Pipeline (excalidraw → animate → gif)
- Generate:
synapse-excalidrawbuilds.excalidrawwith Morandi palette - Validate: collision check (
scripts/validate.js) - Upload:
npx excalidraw-cli export <file>→ shareable URL → user confirms - Animate:
synapse-animationhandles output based on input type:- Excalidraw → excalidraw-animate (SVG/WebM/GIF)
- Direct GIF → PIL/imageio primitives (Slack/Discord optimized)
- Remotion → staged reveals for technical explainers
- Integrate: embed in slides, blog, or deliver standalone
Master Protocols (MANDATORY)
- DSL syntax →
skills/synapse-forge/FORGE.DSL.md(唯一 DSL + 文风参考) - Slides template →
skills/synapse-design/references/WHYJ-SLIDES.html - Blog template →
skills/synapse-pretext/examples/dsv4-blog-layout.html - Excalidraw diagrams →
skills/synapse-excalidraw/SKILL.md(Phase 0 讨论确认 → Phase 1 生成 → Phase 2 上传确认 → Phase 3 同步 blog+slides)
O(1) Quality Gate
- No Fluff — Stripped all social-media hooks and emojis
- Aggressive Pulse — Conclusion hits like a hammer
- Codex imagegen only — Raster illustration prompts invoke the built-in
$imagegenskill and its defaultimage_gentool mode. Required controls for these prompts: white paper background, rough hand-drawn black ink, sparse labels, single accent#D97757, no gradients, no shadows, no 3D, no decorative elements, no emoji.- Do not route figure prompts to Gemini, Imagen APIs, Nano Banana, or other external providers. Do not silently fall back to an API/CLI generator.
- DESIGN.md precedence — If an example-level
DESIGN.mdexists, its image rules dominate all other defaults; generated figure prompts and prompt-only fallbacks must be consistent and verifiable in the correspondingfigures/index.md.
Trigger
Use when the user asks for:
- Why.J Theater slide deck or DSL slides
- full Synapse orchestration (slides + figures + blog)
做PPT,演讲稿,技术分享,做成 slides,按 WhyJ 风格整理- any request spanning multiple synapse sub-skills
Prohibited
- NO X/Twitter threads
- NO Xiaoshu (Little Red Book) templates
- NO low-density summaries
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.

