love-system

Query LÖVE system APIs for OS, hardware, clipboard, and power info.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/RedKenrok/skills --skill love-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: love-system
Source: https://github.com/RedKenrok/skills/tree/main/skills/love-system
Command: npx skills add https://github.com/RedKenrok/skills --skill love-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables game developers to access and utilize system and platform information within LÖVE applications, allowing adaptive behavior based on the user's environment.

Core Features & Use Cases

  • OS and platform detection: Determine the current operating system to tailor platform-specific logic.
  • Hardware and system info: Retrieve processor count, power state, and other capabilities for resource-aware design.
  • Utility access: Read and set the clipboard text, open URLs, and detect if background music is playing to avoid conflicts.
  • Vibration and notifications: Trigger vibration on supported devices to enhance UX.
  • Use Case: Build a cross-platform game that adapts graphics quality and input handling based on detected device.

Quick Start

Call local platform = love.system.getOS() to detect the current platform, then branch logic accordingly. Retrieve processor count with local cores = love.system.getProcessorCount(), and get power info using local power = love.system.getPowerInfo().

Frequently Asked Questions about love-system

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

FAQPage Schema
How do I detect the operating system in a LÖVE game to apply platform-specific logic?

Detect the operating system in a LÖVE game by calling love.system.getOS() to retrieve the current platform string, allowing you to branch logic for desktop and mobile targets accordingly.

Can I get hardware info like processor count and power state in LÖVE?

Get hardware info in LÖVE using love.system.getProcessorCount() to retrieve CPU cores and love.system.getPowerInfo() to access battery state, enabling resource-aware graphics and processing design.

How do I read and write clipboard text in a LÖVE application?

Read and write clipboard text in a LÖVE application using the built-in love.system.setClipboardText and love.system.getClipboardText APIs to satisfy basic system I/O tasks.

Does LÖVE support opening URLs and triggering device vibration for mobile UX?

LÖVE supports opening URLs via love.system.openURL and triggering device vibration through love.system.vibrate, enhancing cross-platform UX on supported mobile hardware targets.

What is the best way to adapt game behavior based on system capabilities in LÖVE?

Adapt game behavior in LÖVE by querying system capabilities through built-in APIs like getOS, getProcessorCount, and getPowerInfo, adjusting graphics quality and input handling dynamically.

Can I check if background music is playing on a device to avoid audio conflicts in LÖVE?

Check if background music is playing on a device using LÖVE system APIs to detect active audio, allowing your application to avoid playback conflicts and adapt its sound handling.