lua-scripting

Community

Understand Ghost's Lua scripting layer internals.

Authormrtolkien
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill documents Ghost's Lua scripting layer internals, providing guidance to developers on ScriptHost lifecycle, sandboxing, and host bindings necessary for building and modifying the scripting stack.

Core Features & Use Cases

  • Lua scripting layer documentation: explains how agents run agent.lua in a sandboxed Lua 5.4 VM (mlua) and how host globals like read_file and load_skill are exposed.
  • Binding and lifecycle details: clarifies ScriptHost lifecycle, hook calls, and the integration between Rust and Lua in the Ghost runtime.
  • Use Case: A developer updates prompts/stdlib or agent.lua and needs a precise map of the runtime interfaces to avoid breaking agent behavior.

Quick Start

Open the Ghost Lua scripting docs and experiment with a sample agent.lua in the sandbox.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lua-scripting
Download link: https://github.com/mrtolkien/GHOST/archive/main.zip#lua-scripting

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.