Godot UI Rich Text
thedivergentai/GD-Agentic-Skills
Expert blueprint for RichTextLabel with BBCode formatting (bold, italic, colors, images, clickable links) and custom effects.
Godot 4 Shader 基础语法与数学,包含类型系统、Uniform变量、内置函数及实用技巧. An agent skill from 925236118/AlphaAgent.
$ npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install 925236118/AlphaAgent godot-shader-fundamentals --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/925236118/AlphaAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/addons/agent/skills/default_skills/godot-shader-fundamentals .claude/skills/godot-shader-fundamentals && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "godot-shader-fundamentals" agent skill from https://github.com/925236118/AlphaAgent/tree/master/addons/agent/skills/default_skills/godot-shader-fundamentals into .claude/skills/godot-shader-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "godot-shader-fundamentals", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/925236118/AlphaAgent/tree/master/addons/agent/skills/default_skills/godot-shader-fundamentalsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install 925236118/AlphaAgent godot-shader-fundamentals --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/925236118/AlphaAgent.git skills-src && mkdir -p .agents/skills && cp -r skills-src/addons/agent/skills/default_skills/godot-shader-fundamentals .agents/skills/godot-shader-fundamentals && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "godot-shader-fundamentals" agent skill from https://github.com/925236118/AlphaAgent/tree/master/addons/agent/skills/default_skills/godot-shader-fundamentals into .agents/skills/godot-shader-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "godot-shader-fundamentals", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install 925236118/AlphaAgent godot-shader-fundamentals --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/925236118/AlphaAgent.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/addons/agent/skills/default_skills/godot-shader-fundamentals .cursor/skills/godot-shader-fundamentals && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "godot-shader-fundamentals" agent skill from https://github.com/925236118/AlphaAgent/tree/master/addons/agent/skills/default_skills/godot-shader-fundamentals into .cursor/skills/godot-shader-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "godot-shader-fundamentals", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/925236118/AlphaAgent.git --path addons/agent/skills/default_skills/godot-shader-fundamentals--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install 925236118/AlphaAgent godot-shader-fundamentals --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/925236118/AlphaAgent.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/addons/agent/skills/default_skills/godot-shader-fundamentals .gemini/skills/godot-shader-fundamentals && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "godot-shader-fundamentals" agent skill from https://github.com/925236118/AlphaAgent/tree/master/addons/agent/skills/default_skills/godot-shader-fundamentals into .gemini/skills/godot-shader-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "godot-shader-fundamentals", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install 925236118/AlphaAgent godot-shader-fundamentalsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/925236118/AlphaAgent.git skills-src && mkdir -p .github/skills && cp -r skills-src/addons/agent/skills/default_skills/godot-shader-fundamentals .github/skills/godot-shader-fundamentals && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "godot-shader-fundamentals" agent skill from https://github.com/925236118/AlphaAgent/tree/master/addons/agent/skills/default_skills/godot-shader-fundamentals into .github/skills/godot-shader-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "godot-shader-fundamentals", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install 925236118/AlphaAgent godot-shader-fundamentals --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/925236118/AlphaAgent.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/addons/agent/skills/default_skills/godot-shader-fundamentals .opencode/skills/godot-shader-fundamentals && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "godot-shader-fundamentals" agent skill from https://github.com/925236118/AlphaAgent/tree/master/addons/agent/skills/default_skills/godot-shader-fundamentals into .opencode/skills/godot-shader-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "godot-shader-fundamentals", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
godot-shader-fundamentalsGodot 4 Shader 基础语法与数学,包含类型系统、Uniform变量、内置函数及实用技巧. An agent skill from 925236118/AlphaAgent.
Godot Shader Fundamentals is an agent skill from 925236118/AlphaAgent. Godot 4 Shader 基础语法与数学,包含类型系统、Uniform变量、内置函数及实用技巧。
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Game Development, covering Game development and Shaders. It works with Godot. The repository describes itself as: 为Godot引擎编辑器开发的Ai Agent插件. The licence is MIT.
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ed0da30. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are gdscript and glsl).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Godot Shader Fundamentals loads about 1.5k tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 180 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from 925236118/AlphaAgent at commit ed0da30, republished under its MIT licence (© 925236118). 180 words, ~1,540 tokens.
.claude/skills/godot-shader-fundamentals/SKILL.md (or your agent's skills folder).Shader 是一种运行在 GPU 上的特殊程序,负责决定如何处理网格模型的数据(如顶点位置、颜色、法线等)以及如何将它们绘制到屏幕上。Godot 引擎的 Shader 语言基于 GLSL,进行了简化和扩展。
Godot 4 支持 5 种 Shader 类型:
用于 3D 场景中的物体渲染,如网格、地形等。
shader_type spatial;
void vertex() {
// 顶点着色器:处理每个顶点
}
void fragment() {
// 片段着色器:处理每个像素
}
void light() {
// 光照着色器:处理光照计算
}用于 2D 场景中的渲染,如 Sprite2D、Control 组件、ColorRect 等。
shader_type canvas_item;
void vertex() {
// 顶点着色器
}
void fragment() {
// 片段着色器
COLOR = vec4(1.0, 0.0, 0.0, 1.0); // 输出红色
}shader_type particles;
void start() {
// 粒子产生时调用
}
void process() {
// 粒子每帧更新时调用
}
void fragment() {
// 粒子片段着色器
}| 类型 | 描述 |
|---|---|
void | 空类型 |
bool | 布尔类型 |
int | 有符号整型 |
float | 浮点数 |
bvec2/3/4 | 2/3/4 维布尔向量 |
ivec2/3/4 | 2/3/4 维整型向量 |
vec2/3/4 | 2/3/4 维浮点向量 |
| 类型 | 描述 |
|---|---|
mat2 | 2x2 矩阵 |
mat3 | 3x3 矩阵 |
mat4 | 4x4 矩阵 |
| 类型 | 描述 |
|---|---|
sampler2D | 2D 纹理采样器 |
samplerCube | 立方体纹理采样器 |
sampler3D | 3D 纹理采样器 |
Uniform 变量用于从 CPU 端向 GPU 端传递数据。
shader_type canvas_item;
uniform float my_float = 1.0;
uniform vec4 my_color;
uniform sampler2D my_texture;| Hint | 描述 |
|---|---|
hint_range(min, max) | 范围提示 |
source_color | 颜色提示 |
hint_albedo | 纹理提示(默认白色) |
hint_normal | 法线纹理提示 |
uniform vec4 hurt_color : source_color;
uniform float hurt_intensity : hint_range(0.0, 1.0) = 0.0;
uniform float progress : hint_range(0.0, 1.0, 0.1) = 0.5;| 变量 | 描述 | 值 |
|---|---|---|
PI | 圆周率 | 3.14159265359 |
TAU | 2倍圆周率 | 6.28318530718 |
E | 自然常数 e | 2.71828182846 |
| 变量 | 描述 |
|---|---|
TIME | 从游戏开始经过的时间(秒) |
FRAME | 当前帧编号 |
| 变量 | 描述 |
|---|---|
UV | 当前像素的 UV 坐标(0.0 ~ 1.0) |
float abs(float x)
float floor(float x)
float ceil(float x)
float round(float x)
float fract(float x)float min(float x, float y)
float max(float x, float y)
float clamp(float x, min_val, max_val)
float step(float edge, float x)float mix(float x, float y, float alpha)
float smoothstep(float edge0, float edge1, float x)sin(x), cos(x), tan(x)
asin(x), acos(x), atan(x)float dot(vec2 x, vec2 y)
vec3 cross(vec3 x, vec3 y)float length(vec2 v)
vec2 normalize(vec2 v)
float distance(vec2 a, vec2 b)vec2 reflect(vec2 I, vec2 N)
vec3 refract(vec3 I, vec3 N, float eta)shader_type canvas_item;
uniform vec2 scale = vec2(2.0, 2.0);
uniform vec2 pivot = vec2(0.5, 0.5);
void vertex() {
UV -= pivot;
UV /= scale;
UV += pivot;
}shader_type canvas_item;
render_mode unshaded;
uniform float angular_speed = 1.0;
uniform vec2 pivot = vec2(0.5, 0.5);
void vertex() {
UV -= pivot;
float rot = TIME * angular_speed;
UV *= mat2(
vec2(sin(rot), -cos(rot)),
vec2(cos(rot), sin(rot))
);
UV += pivot;
}shader_type canvas_item;
uniform vec2 scroll_speed = vec2(1, 0.0);
void fragment() {
vec2 offset_uv = UV + cos(TIME) * scroll_speed;
COLOR = texture(TEXTURE, offset_uv);
}shader_type canvas_item;
void fragment() {
vec4 color = texture(TEXTURE, UV);
float gray = dot(color.rgb, vec3(0.299, 0.587, 0.114));
COLOR = vec4(vec3(gray), color.a);
}shader_type canvas_item;
uniform float brightness = 0.0;
uniform float contrast = 1.0;
uniform float saturation = 1.0;
void fragment() {
vec4 color = texture(TEXTURE, UV);
color.rgb += brightness;
color.rgb = (color.rgb - 0.5) * contrast + 0.5;
float gray = dot(color.rgb, vec3(0.299, 0.587, 0.114));
color.rgb = mix(vec3(gray), color.rgb, saturation);
COLOR = color;
}float random(float x) {
return fract(sin(x) * 43758.5453);
}
float noise(vec2 st) {
vec2 i = floor(st);
vec2 f = fract(st);
float a = random(i);
float b = random(i + vec2(1.0, 0.0));
float c = random(i + vec2(0.0, 1.0));
float d = random(i + vec2(1.0, 1.0));
vec2 u = f * f * (3.0 - 2.0 * f);
return mix(a, b, u.x) + (c - a) * u.y * (1.0 - u.x) + (d - b) * u.x * u.y;
}float fbm(vec2 st) {
float value = 0.0;
float amplitude = 0.5;
float frequency = 1.0;
for (int i = 0; i < 6; i++) {
value += amplitude * noise(st * frequency);
frequency *= 2.0;
amplitude *= 0.5;
}
return value;
}shader_type canvas_item;
void fragment() {
vec2 center = vec2(0.5, 0.5);
float radius = 0.4;
float dist = length(UV - center);
float circle = step(radius, dist);
COLOR = vec4(vec3(circle), 1.0);
}void fragment() {
float wave = sin(UV.y * 10.0 + TIME * 2.0) * 0.1 + 0.5;
COLOR = vec4(vec3(wave), 1.0);
}void fragment() {
float stripe = sin(UV.y * 20.0 + TIME * 5.0);
stripe = stripe * 0.5 + 0.5;
COLOR = vec4(vec3(stripe), 1.0);
}// 错误:多次采样
void fragment() {
float r = texture(TEXTURE, UV).r;
float g = texture(TEXTURE, UV + vec2(0.1, 0.0)).g;
}
// 正确:单次采样
void fragment() {
vec4 tex = texture(TEXTURE, UV);
float r = tex.r;
float g = tex.g;
}// 避免
if (condition) {
color = a;
} else {
color = b;
}
// 推荐:使用 step 或 mix
color = mix(a, b, step(threshold, value));© 925236118, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in addons/agent/skills/default_skills/godot-shader-fundamentals of 925236118/AlphaAgent.
Open the folder on GitHubat commit ed0da30
Godot Shader Fundamentals next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Godot Shader Fundamentals this skill925236118/AlphaAgent | 103 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Godot UI Rich Textthedivergentai/GD-Agentic-Skills | 821 | — | ~3.2k | Automated safety check: Pass | LGPL-3.0 | |
| Shader Basicsjame581/GodotPrompter | 805 | — | ~3.7k | Automated safety check: Pass | MIT | |
| Godot Genre Card Gamethedivergentai/GD-Agentic-Skills | 821 | — | ~3.1k | Automated safety check: Pass | LGPL-3.0 | |
| Godot Particlesthedivergentai/GD-Agentic-Skills | 821 | — | ~3.4k | Automated safety check: Pass | LGPL-3.0 | |
| Godot Shaders Basicsthedivergentai/GD-Agentic-Skills | 821 | — | ~3.3k | Automated safety check: Pass | LGPL-3.0 |
thedivergentai/GD-Agentic-Skills
Expert blueprint for RichTextLabel with BBCode formatting (bold, italic, colors, images, clickable links) and custom effects.
jame581/GodotPrompter
A skill your agent uses when implementing shaders — Godot shader language, visual shaders, common visual recipes, and post-processing effects
thedivergentai/GD-Agentic-Skills
Expert blueprint for digital card games (CCG/Deckbuilders) including card data structures (Resource-based), deck management (draw/discard/reshuffle), turn logic, hand layout (arcing), drag-and-drop…
thedivergentai/GD-Agentic-Skills
Expert blueprint for GPU particle systems (explosions, magic effects, weather, trails) using GPUParticles2D/3D, ParticleProcessMaterial, gradients, sub-emitters, and custom shaders.
thedivergentai/GD-Agentic-Skills
Expert Godot shader patterns for batch-safe hitflash, alpha-scissor foliage/dissolve, screenspace postFX, depth reconstruction, triplanar, and instance uniforms — not first-shader tutorials.
gamedev-skills/awesome-gamedev-agent-skills
Write Godot 4.7 shaders in the Godot Shading Language: canvasitem shaders for 2D and spatial shaders for 3D, with vertex/fragment functions, uniforms (sourcecolor, hintrange), TIME/UV animation, and…
925236118/AlphaAgent
Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization.
925236118/AlphaAgent
Godot 4.x .tscn 场景文件纯文本格式规范与 AI 操作指南 — 文件结构、资源引用、 Transform 变换、属性值格式、信号连接,以及 AI 直接读写 .tscn 文件的操作方法。
925236118/AlphaAgent
Godot 4 Autoload单例模式最佳实践,包含全局管理、事件总线、信号通信. An agent skill from 925236118/AlphaAgent.
925236118/AlphaAgent
Godot 4 Buff系统完整实现,支持状态效果管理、持续时间、循环效果、层叠机制等。使用Resource+Component架构。
925236118/AlphaAgent
Godot 4 建造系统实现,包含GridMap方块管理、第一人称视角、射线交互. An agent skill from 925236118/AlphaAgent.
925236118/AlphaAgent
Godot 4 ECS实体组件系统模式,包含组件化设计、数据与逻辑分离、组件通信. An agent skill from 925236118/AlphaAgent.
Works with
Categories
Godot 4 Shader 基础语法与数学,包含类型系统、Uniform变量、内置函数及实用技巧. An agent skill from 925236118/AlphaAgent. Godot Shader Fundamentals is an agent skill from 925236118/AlphaAgent.
Godot Shader Fundamentals fits situations like: tasks that involve Game development; tasks that involve Shaders.
Run `npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a claude-code`. Or copy the skill folder (addons/agent/skills/default_skills/godot-shader-fundamentals in 925236118/AlphaAgent) into .claude/skills/godot-shader-fundamentals in your project. Claude Code loads it when a task matches its description.
Run `npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a codex`. Or copy the skill folder (addons/agent/skills/default_skills/godot-shader-fundamentals in 925236118/AlphaAgent) into .agents/skills/godot-shader-fundamentals in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 925236118/AlphaAgent --skill godot-shader-fundamentals -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/godot-shader-fundamentals, .gemini/skills/godot-shader-fundamentals, .github/skills/godot-shader-fundamentals and .opencode/skills/godot-shader-fundamentals in your project.
SKILL.md names no scripts, command-line tools or credentials: Godot Shader Fundamentals is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Godot Shader Fundamentals is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Godot Shader Fundamentals: Godot UI Rich Text (thedivergentai/GD-Agentic-Skills, 821 stars), Shader Basics (jame581/GodotPrompter, 805 stars), Godot Genre Card Game (thedivergentai/GD-Agentic-Skills, 821 stars) and Godot Particles (thedivergentai/GD-Agentic-Skills, 821 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
925236118 (a GitHub user) maintains it in 925236118/AlphaAgent, which has 103 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.
Source: 925236118/AlphaAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.