cosmic

Run Lua scripts across platforms with a single zero-dependency binary.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/whilp/working --skill cosmic-whilp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cosmic
Source: https://github.com/whilp/working/tree/main/skills/cosmic
Command: npx skills add https://github.com/whilp/working --skill cosmic-whilp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

cosmic solves the problem of creating portable scripts and tools that can be run across multiple platforms without the need for external dependencies.

Core Features & Use Cases

  • Cross-Platform Compatibility: Works on Linux, macOS, Windows, FreeBSD, OpenBSD, and NetBSD.
  • Zero-Dependency Binary: Offers a single binary with built-in support for various functionalities.
  • Use Case: For a developer looking to write scripts that can be executed on different systems without worrying about package installations.

Quick Start

Download cosmic, rename the binary if preferred, and run your Teal script 'script.tl'.

Frequently Asked Questions about cosmic

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

FAQPage Schema
How do I run Lua scripts across multiple platforms without external dependencies?

To run Lua scripts across multiple platforms without external dependencies, use a single-binary Lua distribution like cosmic. It works on Linux, macOS, Windows, FreeBSD, OpenBSD, and NetBSD without requiring package installations.

Does cosmic support HTTP requests and JSON parsing in a single binary?

Yes, cosmic supports HTTP requests and JSON parsing within its single binary. It also includes built-in support for SQLite, filesystem operations, child processes, crypto, and compression for cross-platform script development.

Can I execute SQLite queries and filesystem operations using a portable Lua distribution?

Yes, you can execute SQLite queries and filesystem operations using a portable Lua distribution like cosmic. It provides a zero-dependency single binary designed for cross-platform script development.

What is the best way to create portable scripts for Linux, macOS, and Windows?

The best way to create portable scripts for Linux, macOS, and Windows is using a zero-dependency single binary like cosmic. It allows you to write scripts that execute on different systems without worrying about package installations.

How do I start writing cross-platform scripts with cosmic?

To start writing cross-platform scripts with cosmic, download the binary, rename it if preferred, and run your Teal script file. The single binary handles execution without external dependencies.