Borrowing it
Nothing to install: this file belongs to hhhh124hhhh/godot-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hhhh124hhhh/godot-mcp/main/.claude/skills/godot-skills/sub-skills/godot-performance-optimizer/SKILL.mdgit clone --depth 1 https://github.com/hhhh124hhhh/godot-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hhhh124hhhh/godot-mcp/godot-performance-optimizer)<a href="https://agentmods.dev/skills/hhhh124hhhh/godot-mcp/godot-performance-optimizer"><img src="https://agentmods.dev/badge/skills/hhhh124hhhh/godot-mcp/godot-performance-optimizer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hhhh124hhhh/godot-mcp/godot-performance-optimizer"><img src="https://agentmods.dev/badge/skills/hhhh124hhhh/godot-mcp/godot-performance-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.05665 |
| Opus 5 | $0.00021 | $0.02832 |
| Sonnet 5 | $0.00008 | $0.01133 |
| Haiku 4.5 | $0.00004 | $0.00566 |
Grade A, and why
godot-performance-optimizer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 722 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Godot 性能优化专家技能
技能概述
godot-performance-optimizer 是专门用于 Godot 游戏性能优化和平台适配的智能化技能,能够根据用户的自然语言描述自动完成分辨率适配、性能分析、内存优化、帧率提升、平台适配等全面的性能优化工作。
核心功能
📱 分辨率适配系统
- 多分辨率支持:自动适配不同屏幕分辨率和比例
- DPI缩放:智能DPI检测和UI缩放
- 横竖屏切换:动态横竖屏布局适配
- 平台特定优化:针对不同平台的显示优化
⚡ 性能分析工具
- 帧率监控:实时FPS监控和分析
- 内存分析:内存使用情况追踪和优化建议
- 渲染分析:Draw call、Overdraw等渲染性能分析
- 瓶颈检测:自动检测性能瓶颈和热点代码
🧠 内存优化系统
- 对象池管理:智能对象池和内存回收
- 资源压缩:纹理、音频等资源的智能压缩
- 垃圾回收优化:GC策略优化和内存碎片整理
- 流式加载:大型资源的流式加载和卸载
🎮 渲染优化
- 批处理优化:减少Draw call和渲染批次
- LOD系统:细节层次距离优化
- 遮挡剔除:智能遮挡剔除和视锥剔除
- 着色器优化:GPU着色器性能优化
使用方法
分辨率适配优化
用户: "我的游戏在不同手机上显示不正常,需要适配各种屏幕尺寸"
系统: 自动实现:
- 检测目标设备分辨率范围
- 设计响应式布局系统
- 配置自动缩放和锚点
- 优化UI元素大小和间距
- 测试各种分辨率下的显示效果
性能分析和优化
用户: "游戏在低端设备上运行卡顿,需要优化到60FPS"
系统: 智能优化:
- 全面性能分析和瓶颈检测
- 优化渲染管线和Draw call
- 减少物理计算开销
- 优化脚本执行效率
- 调整画质设置和特效等级
内存使用优化
用户: "游戏内存占用过高,经常闪退,需要优化内存使用"
系统: 全面优化:
- 分析内存使用热点
- 实现智能对象池系统
- 优化资源加载和卸载策略
- 压缩纹理和音频资源
- 配置垃圾回收策略
平台性能适配
用户: "需要为PC、移动、主机三个平台优化性能"
系统: 多平台优化:
- 针对不同平台的性能策略
- 平台特定的渲染设置
- 输入和UI适配优化
- 性能分级和质量设置
工作流程
1. 性能分析阶段
# 全面性能检测
- 帧率和稳定性分析
- 内存使用情况检测
- 渲染性能瓶颈识别
- CPU和GPU使用率分析
2. 优化策略制定
# 制定优化方案
- 确定优化优先级
- 选择合适的优化技术
- 平衡画质和性能
- 制定分阶段优化计划
3. 自动优化实施
# 执行优化操作
- 自动调整渲染设置
- 优化代码和算法
- 配置资源压缩
- 实现内存管理策略
4. 效果验证
# 验证优化效果
- 对比优化前后性能
- 测试不同设备表现
- 验证稳定性改善
- 生成优化报告
MCP 工具集成
性能分析工具
get_performance_metrics- 获取性能指标analyze_memory_usage- 分析内存使用profile_render_performance- 分析渲染性能detect_performance_bottlenecks- 检测性能瓶颈
优化操作工具
optimize_render_settings- 优化渲染设置compress_textures- 压缩纹理资源configure_object_pools- 配置对象池adjust_quality_settings- 调整画质设置
平台适配工具
detect_platform_capabilities- 检测平台能力configure_platform_settings- 配置平台设置optimize_for_platform- 针对平台优化test_platform_performance- 测试平台性能
监控调试工具
create_performance_monitor- 创建性能监控器setup_debug_overlay- 设置调试界面log_performance_data- 记录性能数据generate_performance_report- 生成性能报告
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 722 lines · 42 tokens per session scan A fdef3b8fecd5
godot-performance-optimizer is a skill published in the GitHub repository hhhh124hhhh/godot-mcp (42 stars, last pushed 9mo ago), licensed MIT. It adds 42 tokens to every session and 5,665 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
gameobject-component-destroy
Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.
unity-version-split
Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).
unity-addressables
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).
motion
How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.
playtest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
unity-manual-component
Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation.