
asset-optimization
Asset pipeline optimization, compression, streaming, and resource management for efficient game development and delivery.
- Installs
- 77
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-game-developer --skill asset-optimization- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads asset-optimization automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Asset Optimization
Asset Pipeline Overview
┌─────────────────────────────────────────────────────────────┐
│ ASSET PIPELINE FLOW │
├─────────────────────────────────────────────────────────────┤
│ SOURCE ASSETS (Large, Editable): │
│ .psd, .fbx, .blend, .wav, .tga │
│ ↓ │
│ IMPORT SETTINGS: │
│ Compression, Format, Quality, Platform overrides │
│ ↓ │
│ PROCESSING: │
│ Compression, Mipmaps, LOD generation, Format conversion │
│ ↓ │
│ RUNTIME ASSETS (Optimized): │
│ .dds, .ktx, .ogg, engine-specific formats │
│ ↓ │
│ PACKAGING: │
│ Asset bundles, streaming chunks, platform builds │
└─────────────────────────────────────────────────────────────┘
Texture Optimization
TEXTURE COMPRESSION FORMATS:
┌─────────────────────────────────────────────────────────────┐
│ PLATFORM │ FORMAT │ QUALITY │ SIZE/PIXEL │
├─────────────┼─────────────┼──────────┼────────────────────┤
│ PC/Console │ BC7 │ Best │ 1 byte │
│ PC/Console │ BC1 (DXT1) │ Good │ 0.5 byte │
│ iOS │ ASTC 6x6 │ Great │ 0.89 byte │
│ Android │ ETC2 │ Good │ 0.5-1 byte │
│ Mobile │ ASTC 8x8 │ Good │ 0.5 byte │
│ Uncompressed│ RGBA32 │ Perfect │ 4 bytes │
└─────────────┴─────────────┴──────────┴────────────────────┘
TEXTURE SIZE GUIDELINES:
┌─────────────────────────────────────────────────────────────┐
│ Character (main): 2048x2048 │
│ Character (NPC): 1024x1024 │
│ Props (large): 1024x1024 │
│ Props (small): 512x512 or 256x256 │
│ UI elements: Power of 2, vary by size │
│ Environment: 2048x2048 (tiling) │
│ Mobile maximum: 1024x1024 (prefer 512) │
└─────────────────────────────────────────────────────────────┘
Mesh Optimization
POLYGON BUDGET GUIDELINES:
┌─────────────────────────────────────────────────────────────┐
│ PLATFORM │ HERO CHAR │ NPC │ PROP │ SCENE │
├─────────────┼───────────┼──────────┼──────────┼───────────┤
│ PC High │ 100K │ 30K │ 10K │ 10M │
│ PC Med │ 50K │ 15K │ 5K │ 5M │
│ Console │ 80K │ 25K │ 8K │ 8M │
│ Mobile │ 10K │ 3K │ 500 │ 500K │
│ VR │ 30K │ 10K │ 2K │ 2M │
└─────────────┴───────────┴──────────┴──────────┴───────────┘
LOD CONFIGURATION:
┌─────────────────────────────────────────────────────────────┐
│ LOD0: 100% triangles │ 0-10m │ Full detail │
│ LOD1: 50% triangles │ 10-30m │ Reduced │
│ LOD2: 25% triangles │ 30-60m │ Low detail │
│ LOD3: 10% triangles │ 60m+ │ Billboard/Impostor │
└─────────────────────────────────────────────────────────────┘
Audio Optimization
AUDIO COMPRESSION:
┌─────────────────────────────────────────────────────────────┐
│ TYPE │ FORMAT │ QUALITY │ STREAMING │
├─────────────┼─────────┼───────────┼──────────────────────┤
│ Music │ Vorbis │ 128-192 │ Always stream │
│ SFX (short) │ ADPCM │ High │ Decompress on load │
│ SFX (long) │ Vorbis │ 128 │ Stream if > 1MB │
│ Voice │ Vorbis │ 96-128 │ Stream │
│ Ambient │ Vorbis │ 96 │ Stream │
└─────────────┴─────────┴───────────┴──────────────────────┘
AUDIO MEMORY BUDGET:
• Mobile: 20-50 MB
• Console: 100-200 MB
• PC: 200-500 MB
Batch Processing Script
# ✅ Production-Ready: Asset Batch Processor
import subprocess
from pathlib import Path
from concurrent.futures import ThreadPoolExecutor
def process_textures(input_dir: Path, output_dir: Path, platform: str):
"""Batch process textures for target platform."""
settings = {
'pc': {'format': 'bc7', 'max_size': 4096},
'mobile': {'format': 'astc', 'max_size': 1024},
'console': {'format': 'bc7', 'max_size': 2048},
}
config = settings.get(platform, settings['pc'])
textures = list(input_dir.glob('**/*.png')) + list(input_dir.glob('**/*.tga'))
def process_single(texture: Path):
output_path = output_dir / texture.relative_to(input_dir)
output_path = output_path.with_suffix('.dds')
output_path.parent.mkdir(parents=True, exist_ok=True)
subprocess.run([
'texconv',
'-f', config['format'],
'-w', str(config['max_size']),
'-h', str(config['max_size']),
'-m', '0', # Generate all mipmaps
'-o', str(output_path.parent),
str(texture)
])
with ThreadPoolExecutor(max_workers=8) as executor:
executor.map(process_single, textures)
🔧 Troubleshooting
┌─────────────────────────────────────────────────────────────┐
│ PROBLEM: Build size too large │
├─────────────────────────────────────────────────────────────┤
│ SOLUTIONS: │
│ → Audit unused assets │
│ → Increase texture compression │
│ → Enable mesh compression │
│ → Split into downloadable content │
│ → Use texture atlases │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ PROBLEM: Long import times │
├─────────────────────────────────────────────────────────────┤
│ SOLUTIONS: │
│ → Use asset database caching │
│ → Import in batches │
│ → Use faster SSD storage │
│ → Pre-process assets in CI/CD │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ PROBLEM: Assets look blurry │
├─────────────────────────────────────────────────────────────┤
│ SOLUTIONS: │
│ → Reduce compression for important assets │
│ → Increase texture resolution │
│ → Check mipmap settings │
│ → Use appropriate filtering mode │
└─────────────────────────────────────────────────────────────┘
Memory Budgets
| Platform | Textures | Meshes | Audio | Total |
|---|---|---|---|---|
| Mobile Low | 100 MB | 50 MB | 30 MB | 200 MB |
| Mobile High | 500 MB | 200 MB | 100 MB | 1 GB |
| Console | 2 GB | 1 GB | 200 MB | 4 GB |
| PC | 4 GB | 2 GB | 500 MB | 8 GB |
Use this skill: When optimizing assets, managing memory, or streamlining pipelines.
FAQ
What does the asset-optimization skill do?
Asset pipeline optimization, compression, streaming, and resource management for efficient game development and delivery.
How do I install asset-optimization?
Run npx skills add https://github.com/pluginagentmarketplace/custom-plugin-game-developer --skill asset-optimization in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/asset-optimization/ (personal) or .claude/skills/asset-optimization/ (project).
Which AI agents can use asset-optimization?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is asset-optimization safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains asset-optimization?
It is published by pluginagentmarketplace in pluginagentmarketplace/custom-plugin-game-developer. It has 77 recorded installs.
More from pluginagentmarketplace/custom-plugin-game-developer
game-design-theory
pluginagentmarketplace/custom-plugin-game-developer
Comprehensive game design theory covering MDA framework, player psychology, balance principles, and progression systems. Master why games are fun.
level-design
pluginagentmarketplace/custom-plugin-game-developer
Level design fundamentals, pacing, difficulty progression, environmental storytelling, and spatial design for engaging gameplay experiences.
gameplay-mechanics
pluginagentmarketplace/custom-plugin-game-developer
Open the skill to read its SKILL.md instructions.
daw-music
pluginagentmarketplace/custom-plugin-game-developer
Open the skill to read its SKILL.md instructions.
game-engines
pluginagentmarketplace/custom-plugin-game-developer
Open the skill to read its SKILL.md instructions.
particle-systems
pluginagentmarketplace/custom-plugin-game-developer
Open the skill to read its SKILL.md instructions.
Popular media & creative skills
hyperframes
heygen-com/hyperframes
Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.
media-use
heygen-com/hyperframes
Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.
hyperframes-registry
heygen-com/hyperframes
About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.
hyperframes-creative
heygen-com/hyperframes
Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use hyperframes-animation.
ai-video-generation
101-skills/superpowers
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse
ai-image-generation
101-skills/superpowers
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image