{{SKILL_DESCRIPTION}} Use this skill when working with system operations, platform detection, system information retrieval, or any system-related operations in LÖVE games.
Common use cases
Retrieving system and platform information
Detecting operating system and hardware capabilities
-- Detect current platform
local platform = love.system.getOS()
if platform == "Windows" then
-- Windows-specific code
elseif platform == "OS X" then
-- macOS-specific code
elseif platform == "Linux" then
-- Linux-specific code
end
System information
-- Get system information
local cpuCores = love.system.getProcessorCount()
local ramMB = love.system.getMemoryUsage() / (1024 * 1024)
print("CPU Cores: " .. cpuCores)
print("Memory Usage: " .. string.format("%.2f", ramMB) .. " MB")
Best practices
Use system information for platform-specific optimizations
Handle platform differences gracefully
Consider performance when accessing system information frequently
Test on target platforms for compatibility
Be mindful of privacy when accessing system information
Platform compatibility
Desktop (Windows, macOS, Linux): Full system support
Mobile (iOS, Android): Limited system information access
Web: Very limited system access due to browser restrictions
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: redkenrok-skills-love-system3description: When to use this skill4---56## When to use this skill7{{SKILL_DESCRIPTION}} Use this skill when working with system operations, platform detection, system information retrieval, or any system-related operations in LÖVE games.89## Common use cases10- Retrieving system and platform information11- Detecting operating system and hardware capabilities12- Accessing system-specific features13- Handling platform-specific behavior14- Managing system resources and capabilities1516{{MODULES_LIST}}17{{FUNCTIONS_LIST}}18{{CALLBACKS_LIST}}19{{TYPES_LIST}}20{{ENUMS_LIST}}2122## Examples2324### Platform detection25```lua26-- Detect current platform27local platform = love.system.getOS()28if platform == "Windows" then29 -- Windows-specific code30elseif platform == "OS X" then31 -- macOS-specific code32elseif platform == "Linux" then33 -- Linux-specific code34end35```3637### System information38```lua39-- Get system information40local cpuCores = love.system.getProcessorCount()41local ramMB = love.system.getMemoryUsage() / (1024 * 1024)4243print("CPU Cores: " .. cpuCores)44print("Memory Usage: " .. string.format("%.2f", ramMB) .. " MB")45```4647## Best practices48- Use system information for platform-specific optimizations49- Handle platform differences gracefully50- Consider performance when accessing system information frequently51- Test on target platforms for compatibility52- Be mindful of privacy when accessing system information5354## Platform compatibility55- **Desktop (Windows, macOS, Linux)**: Full system support56- **Mobile (iOS, Android)**: Limited system information access57- **Web**: Very limited system access due to browser restrictions5859---60> Converted and distributed by [TomeVault](https://tomevault.io/claim/redkenrok) — claim your Tome and manage your conversions.61<!-- tomevault:4.0:skill_md:2026-04-15 -->
Run npx skillmds@latest add tomevault-io/redkenrok-skills-love-system in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
When to use this skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.