Agent skill

Add Lua Binding API

by cataclysmbn in cataclysmbn/Cataclysm-BN

Add Cataclysm-BN Lua API bindings for global game functions, utility libraries, constants, callbacks, and domain-specific Lua namespaces.

Custom licenceAuto-check passed

Install Add Lua Binding API

skills CLI
$ npx skills add cataclysmbn/Cataclysm-BN --skill add-lua-binding-api -a claude-code

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

GitHub CLI
$ gh skill install cataclysmbn/Cataclysm-BN add-lua-binding-api --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/cataclysmbn/Cataclysm-BN.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-lua-binding-api .claude/skills/add-lua-binding-api && 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
add-lua-binding-api
GitHub stars
1.3k
Token cost
~2.6k tokens
SKILL.md length
210 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
Custom licence

At a glance

Add Cataclysm-BN Lua API bindings for global game functions, utility libraries, constants, callbacks, and domain-specific Lua namespaces.

  • Works in 8 steps: Create or Extend Library Registration… → Examples by Domain → Register in Main Binding → …
  • SKILL.md covers API Organization, Step-by-Step Process, Advanced Patterns and Logging API Pattern, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Add Lua Binding API is an agent skill from cataclysmbn/Cataclysm-BN. Add Cataclysm-BN Lua API bindings for global game functions, utility libraries, constants, callbacks, and domain-specific Lua namespaces.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Lua. The repository describes itself as: Cataclysm: Bright Nights: A fork/variant of Cataclysm:DDA by CleverRaven with a mod registry at https://mods.cataclysmbn.org/.

Example prompts

  • “/add-lua-binding-api”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Create or Extend Library Registration Function
  2. Examples by Domain
  3. Register in Main Binding
  4. Safety First
  5. Use References for Performance
  6. Document Everything
  7. Consistent Naming
  8. Error Handling

What it can do on your machine

Read from SKILL.md and the folder at commit 165eead. 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 (its code samples are cpp and lua).

    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

Add Lua Binding API loads about 2.6k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 210 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 210 words (~2,636 tokens).

“This skill helps you expose global game functions and utilities to Lua through the game API.”

— opening of SKILL.md by cataclysmbn, Custom licence
name
add-lua-binding-api
metadata.argument-hint
api-domain

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/add-lua-binding-api of cataclysmbn/Cataclysm-BN.

Open the folder on GitHubat commit 165eead

Compare with similar skills

Add Lua Binding API 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.

Add Lua Binding API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Lua Binding API this skillcataclysmbn/Cataclysm-BN1.3k—~2.6kAutomated safety check: PassCustom licence
Pandoc DOCX TemplateAchuan-2/pandoc_docx_template1.1k—~1kAutomated safety check: PassNone
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
Lua Ecozhaojh329/lua-eco103—~1.7kAutomated 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
  • 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
  • Audit Docs

    chrisguidry/docket

    As you edit pydocket — change a function body, modify a signature, alter a Lua script, refactor a public method, rewrite a docs section — verify that the docstrings and narrative docs touching that…

    148 GitHub stars~2.1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from cataclysmbn/Cataclysm-BN

All 11 skills in this repo
  • 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
  • Deno Script

    cataclysmbn/Cataclysm-BN

    Write or modify Cataclysm-BN Deno/TypeScript scripts. An agent skill from cataclysmbn/Cataclysm-BN.

    1.3k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Add Lua Binding Complex

    cataclysmbn/Cataclysm-BN

    Add comprehensive Cataclysm-BN Lua bindings for complex C++ classes with methods, inheritance, constructors, properties, operators, and ownership rules.

    1.3k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Changelog Gen

    cataclysmbn/Cataclysm-BN

    Rewrite every docs//game/changelog/{order}.stable-{semver}.md from a ref range.

    1.3k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Lua Binding Reference

    cataclysmbn/Cataclysm-BN

    Quick reference for Cataclysm-BN Lua binding macros, Luna usertypes, libraries, documentation, type patterns, build steps, and common errors.

    1.3k GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Translate

    cataclysmbn/Cataclysm-BN

    Add the remaining English, Korean, and Japanese translations for documentation files added since main.

    1.3k GitHub stars~480 tokensUpdated today
    Auto-check passed

Works with

Questions about Add Lua Binding API

What does Add Lua Binding API do?

Add Cataclysm-BN Lua API bindings for global game functions, utility libraries, constants, callbacks, and domain-specific Lua namespaces. Add Lua Binding API is an agent skill from cataclysmbn/Cataclysm-BN. Add Cataclysm-BN Lua API bindings for global game functions, utility libraries, constants, callbacks, and domain-specific Lua namespaces.

How do I install Add Lua Binding API in Claude Code?

Run `npx skills add cataclysmbn/Cataclysm-BN --skill add-lua-binding-api -a claude-code`. Or copy the skill folder (.agents/skills/add-lua-binding-api in cataclysmbn/Cataclysm-BN) into .claude/skills/add-lua-binding-api in your project. Claude Code loads it when a task matches its description.

How do I install Add Lua Binding API in Codex?

Run `npx skills add cataclysmbn/Cataclysm-BN --skill add-lua-binding-api -a codex`. Or copy the skill folder (.agents/skills/add-lua-binding-api in cataclysmbn/Cataclysm-BN) into .agents/skills/add-lua-binding-api in your project. Codex loads it when a task matches its description.

Can I use Add Lua Binding API 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 cataclysmbn/Cataclysm-BN --skill add-lua-binding-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-lua-binding-api, .gemini/skills/add-lua-binding-api, .github/skills/add-lua-binding-api and .opencode/skills/add-lua-binding-api in your project.

What does Add Lua Binding API need to run?

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

Does Add Lua Binding API 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 Add Lua Binding API 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 Add Lua Binding API use?

Add Lua Binding API has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Add Lua Binding API use?

About 2.6k tokens (SKILL.md is roughly 11k 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 Add Lua Binding API?

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

Who maintains Add Lua Binding API?

cataclysmbn (a GitHub organization) maintains it in cataclysmbn/Cataclysm-BN, which has 1,256 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.

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