web-shader-extractor

Extract WebGL/Canvas shader code from a webpage into a standalone JS project.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/ncsound919/deterministic-brain --skill web-shader-extractor-ncsound919
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-shader-extractor
Source: https://github.com/ncsound919/deterministic-brain/tree/main/skills/web-shader-extractor
Command: npx skills add https://github.com/ncsound919/deterministic-brain --skill web-shader-extractor-ncsound919

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

从网页中提取 WebGL/Canvas/Shader 特效,提取、反混淆后移植为独立原生 JS 项目,降低复现成本并便于本地化研究。

Core Features & Use Cases

  • 自动提取网页中的 shader、canvas、WebGL 相关实现,并在不改变原始站点的前提下生成可独立运行的 JS 项目。
  • 提供从网页到本地工程的 1:1 复刻、反混淊优化、以及可移植的渲染管线结构的方案。
  • 使用场景包括:需要复现站点视觉效果、将在线 demo 离线本地化、对 shader 的研究和教学演示等。

Quick Start

Provide a URL and request extraction; the system will automatically fetch, analyze, extract shaders, and port to a standalone JS project.

Frequently Asked Questions about web-shader-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract WebGL shader code from a webpage for offline use?

To extract WebGL shader code from a webpage for offline use, provide the URL to trigger automated fetching, analysis, deobfuscation, and porting into a standalone JS project. This automated process runs deterministically without requiring manual intervention or mid-execution prompts.

Can I port canvas animations from an online demo into a standalone JS project?

Yes, you can port canvas animations from an online demo into a standalone JS project by supplying the target URL. The system automatically extracts and ports the rendering pipeline structure, generating a 1:1 replica that runs locally without altering the original site.

What is shader deobfuscation and when do I need it for web graphics extraction?

Shader deobfuscation is the process of restoring obfuscated WebGL shader source code into a readable format. You need it during web graphics extraction to analyze, debug, and accurately port complex visual effects from production websites into your local environment.

Does the shader extraction process require any manual prompts during execution?

No, the shader extraction process does not require manual prompts during execution. It implements deterministic, automated phases from environment checks to porting and validation, allowing continuous extraction of WebGL and Canvas effects without user interaction.

What is the best way to replicate a website's visual effects for local research?

The best way to replicate a website's visual effects for local research is using automated extraction to fetch the URL, deobfuscate the shaders, and port the rendering pipeline into a standalone JS project. This reduces reproduction costs and facilitates offline study.

Are there limitations when porting complex WebGL rendering pipelines to standalone JavaScript?

When porting complex WebGL rendering pipelines to standalone JavaScript, limitations may arise from deeply integrated site dependencies or undocumented dynamic asset loading. The extractor handles the shader and canvas logic, but external assets required by the original effect must be resolved locally.