Agent skill

Lua Basics

by sky-systems in sky-systems/sky_phone

Diagnose or write FiveM Lua involving table semantics, scope, return values, errors or coroutine lifetimes.

GPL-3.0Auto-check passed

Install Lua Basics

skills CLI
$ npx skills add sky-systems/sky_phone --skill lua-basics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sky-systems/sky_phone lua-basics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sky-systems/sky_phone.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/lua-basics .claude/skills/lua-basics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lua-basics
GitHub stars
157
Token cost
~275 tokens
SKILL.md length
105 words
Files
7
Skills in repo
8
Repo updated
First seen
Licence
GPL-3.0

At a glance

Diagnose or write FiveM Lua involving table semantics, scope, return values, errors or coroutine lifetimes.

  • These language details matter
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Lua Basics is an agent skill from sky-systems/sky_phone. Diagnose or write FiveM Lua involving table semantics, scope, return values, errors or coroutine lifetimes. Use when these language details matter.

Its SKILL.md is about 280 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `conditionals.md`, `errors.md` and `functions.md`).

It works with Lua. The repository describes itself as: Phone Script for FiveM. The licence is GPL-3.0.

When your agent uses it

  • These language details matter

Example prompts

  • “/lua-basics”

What it can do on your machine

Read from SKILL.md and the folder at commit 81a5177. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lua Basics loads about 275 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 105 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~275

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sky-systems/sky_phone at commit 81a5177, republished under its GPL-3.0 licence (© sky-systems). 105 words, ~275 tokens.

Download SKILL.mdSave it as .claude/skills/lua-basics/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
lua-basics
description
Diagnose or write FiveM Lua involving table semantics, scope, return values, errors or coroutine lifetimes. Use when these language details matter.
metadata.author
germanfndez

Lua semantics for FiveM

Use the deployed runtime's language contract. FiveM extends Lua; do not assume a standalone parser covers every extension. Verify relevant CFX APIs against official docs and pinned source, including context and yield behavior; see the source map.

Follow the applicable AGENTS.md and resource style. When it requires the Sky bridge, keep four-space indent, double quotes, snake_case locals, no one-line aliases and no documented-API existence guards; player identity/job/duty use PlayerCache. Otherwise retain resource-owned adapters.

Read only the relevant topic: functions and returns, tables, variables and lifetime, conditionals, or errors and asynchronous work. Prefer correct ownership and measured work over unverified micro-optimization rules.

© sky-systems, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files in .agents/skills/lua-basics of sky-systems/sky_phone.

  • SKILL.md
  • conditionals.md
  • errors.md
  • functions.md
  • reference-links.md
  • tables.md
  • variables.md

Open the folder on GitHubat commit 81a5177

Compare with similar skills

Lua Basics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lua Basics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lua Basics this skillsky-systems/sky_phone157—~275Automated safety check: PassGPL-3.0
Pandoc DOCX TemplateAchuan-2/pandoc_docx_template1.1k—~1kAutomated safety check: PassNone
Add Lua Binding Simplecataclysmbn/Cataclysm-BN1.3k—~846Automated safety check: PassCustom licence
Cpp Compiler FlagsSerial-Studio/Serial-Studio7.2k—~2.1kAutomated safety check: PassCustom licence
Agentic GitHub Discussioncarlos-algms/agentic.nvim639—~1.1kAutomated safety check: PassMIT
Luamakeactboy168/luamake210—~2kAutomated safety check: PassMIT

Similar skills

  • Pandoc DOCX Template

    Achuan-2/pandoc_docx_template

    A skill your agent uses when converting Markdown to Word DOCX or DOCX back to Markdown with Pandoc, especially when the output should use the bundled Chinese Word reference templates, heading…

    1.1k GitHub stars~1k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Add Lua Binding Simple

    cataclysmbn/Cataclysm-BN

    Add simple Cataclysm-BN Lua bindings for stringid types, enums, and basic read-only C++ types.

    1.3k GitHub stars~846 tokensUpdated today
    Auto-check passed
  • Cpp Compiler Flags

    Serial-Studio/Serial-Studio

    C++ compiler/linker flag guidance for Serial Studio's build (GCC, Clang, AppleClang, MSVC cl.exe, clang-cl, MinGW, IntelLLVM).

    7.2k GitHub stars~2.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Agentic GitHub Discussion

    carlos-algms/agentic.nvim

    A skill your agent uses when creating, listing, or managing GitHub discussions in carlos-algms/agentic.nvim repository

    639 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Luamake

    actboy168/luamake

    Luamake 构建系统指南——用于当前项目的 luamake / make.lua / Ninja 生成流程。当用户需要编写、修改、排查或理解 make.lua、目标定义、lm:conf、deps / objdeps、代码生成、Lua C 模块、Bee 运行时集成,或需要解决当前项目中由 luamake 驱动的构建问题时,使用此 skill。即使用户没有明确提到…

    210 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed
  • Lua Eco

    zhaojh329/lua-eco

    International lua-eco public API skill for writing, reviewing, explaining, and fixing Lua 5.4 code that runs on the eco runtime.

    103 GitHub stars~1.7k tokensUpdated 7 days ago
    Backend & APIsAuto-check passed

More from sky-systems/sky_phone

All 8 skills in this repo
  • Fivem Nui

    sky-systems/sky_phone

    Create or change FiveM NUI HTML/CSS/JS and its resource manifests, messages, callbacks and focus.

    157 GitHub stars~550 tokensUpdated today
    Auto-check passed
  • Fivem Dev

    sky-systems/sky_phone

    Implement or debug standalone skyphone Lua, events, adapters, persistence and NUI integration.

    157 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Fivem Basics

    sky-systems/sky_phone

    Create or debug FiveM manifests, resource lifecycle, event boundaries and exports.

    157 GitHub stars~371 tokensUpdated today
    Auto-check passed
  • Esx Framework

    sky-systems/sky_phone

    Inspect or repair ESX Legacy adapters and direct ESX integrations using the installed player, callback and inventory contracts.

    157 GitHub stars~359 tokensUpdated today
    Auto-check passed
  • Fivem Security

    sky-systems/sky_phone

    Review or implement FiveM server authority for network events, callbacks, rewards, permissions and shared state changes.

    157 GitHub stars~295 tokensUpdated today
    Auto-check passed
  • Oxlib

    sky-systems/sky_phone

    Implement or debug direct oxlib callbacks, commands, keybinds, zones or UI using the installed module contracts.

    157 GitHub stars~317 tokensUpdated today
    Auto-check passed

Works with

Questions about Lua Basics

What does Lua Basics do?

Diagnose or write FiveM Lua involving table semantics, scope, return values, errors or coroutine lifetimes. Lua Basics is an agent skill from sky-systems/sky_phone. Diagnose or write FiveM Lua involving table semantics, scope, return values, errors or coroutine lifetimes.

When should I use Lua Basics?

Lua Basics fits situations like: these language details matter.

How do I install Lua Basics in Claude Code?

Run `npx skills add sky-systems/sky_phone --skill lua-basics -a claude-code`. Or copy the skill folder (.agents/skills/lua-basics in sky-systems/sky_phone) into .claude/skills/lua-basics in your project. Claude Code loads it when a task matches its description.

How do I install Lua Basics in Codex?

Run `npx skills add sky-systems/sky_phone --skill lua-basics -a codex`. Or copy the skill folder (.agents/skills/lua-basics in sky-systems/sky_phone) into .agents/skills/lua-basics in your project. Codex loads it when a task matches its description.

Can I use Lua Basics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sky-systems/sky_phone --skill lua-basics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lua-basics, .gemini/skills/lua-basics, .github/skills/lua-basics and .opencode/skills/lua-basics in your project.

What does Lua Basics need to run?

SKILL.md names no scripts, command-line tools or credentials: Lua Basics is instructions for the agent only.

Does Lua Basics access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lua Basics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Lua Basics use?

Lua Basics is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lua Basics use?

About 275 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Lua Basics?

Skills that share tags, products or a category with Lua Basics: Pandoc DOCX Template (Achuan-2/pandoc_docx_template, 1.1k stars), Add Lua Binding Simple (cataclysmbn/Cataclysm-BN, 1.3k stars), Cpp Compiler Flags (Serial-Studio/Serial-Studio, 7.2k stars) and Agentic GitHub Discussion (carlos-algms/agentic.nvim, 639 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lua Basics?

sky-systems (a GitHub organization) maintains it in sky-systems/sky_phone, which has 157 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.

Source: sky-systems/sky_phone on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.