Skip to content
Back to skills

Cosmic

ASecurity

Write portable scripts and tools with cosmic — HTTP requests, JSON parsing, SQLite databases, filesystem operations, child processes, crypto, compression, and more in a single zero-dependency binary

  • 30 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 8, 2026
ai-agentsbashsqltestinggitdatabasedocumentation

Works with

  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill cosmic --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cosmic?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cosmic
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-cosmic/badge)](https://www.skillsdirectory.com/skills/majiayu000-cosmic)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cosmic
description: >
  Write portable scripts and tools with cosmic — HTTP requests, JSON
  parsing, SQLite databases, filesystem operations, child processes, crypto,
  compression, and more in a single zero-dependency binary
---

# cosmic

cosmic is a batteries-included Lua distribution for writing portable
scripts and tools. it ships as a single binary with built-in support for
HTTP fetching, JSON, SQLite, filesystem operations, child processes,
cryptographic hashing, compression, regex, sockets, and more — no external
dependencies needed. source files are written in Teal (typed Lua) and run
on Linux, macOS, Windows, FreeBSD, OpenBSD, and NetBSD.

## Download

the binary is named `cosmic` after download. rename it if you prefer.

```bash
curl -fLo cosmic \
  https://github.com/whilp/cosmic/releases/latest/download/cosmic-lua
chmod +x cosmic
```

## Run

```bash
./cosmic script.tl           # run a Teal script
./cosmic -e 'print("hi")'   # run inline code
./cosmic -i                  # start the REPL
```

## Getting Help

```bash
./cosmic --welcome                # quick-start orientation
./cosmic --help                   # show all CLI options and modules
./cosmic --docs                   # browse the full documentation index
./cosmic --docs <query>           # look up a module, function, or guide
./cosmic --docs guide             # list available guides
./cosmic --docs guide.testing     # show a specific guide
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.