Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pledgeandgrow/pledge-skills --skill luagit clone --depth 1 https://github.com/pledgeandgrow/pledge-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pledgeandgrow/pledge-skills/lua)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/lua"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/lua/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/lua"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/lua.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00168 | $0.01044 |
| Opus 5.5 | $0.00067 | $0.00418 |
| Sonnet 5.5 | $0.00034 | $0.00209 |
| Haiku 4.5 | $0.00017 | $0.00104 |
Grade A, and why
lua-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lua
Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. It is dynamically typed, runs by interpreting bytecode with a register-based virtual machine, and has automatic memory management with generational garbage collection.
Specification: Lua 5.5 Reference Manual
Quick Reference
| Topic | File |
|---|---|
| Introduction (what is Lua, design, embedding, extension language) | introduction.md |
| Values & Types (nil, boolean, number, string, function, userdata, thread, table; metatables; metamethods; GC; weak tables) | types.md |
| Syntax (lexical conventions, identifiers, keywords, strings, comments, variables, scoping) | syntax.md |
| Statements & Expressions (blocks, chunks, assignment, control structures, for loops, operators, precedence, table constructors, function definitions, multiple results) | expressions.md |
| Coroutines (create, resume, yield, wrap, states, collaborative multithreading) | coroutines.md |
| Standard Libraries (basic, string, table, math, I/O, OS, UTF-8, debug, modules) | standard-libraries.md |
| Patterns (character classes, pattern items, captures, balanced match, frontier) | patterns.md |
| C API (stack, registry, C closures, error handling, status codes, yields, debug interface, auxiliary library) | c-api.md |
| Standalone Interpreter (CLI options, arg table, environment variables, interactive mode) | standalone.md |
| Migration & Syntax (incompatibilities with 5.4, complete syntax grammar) | migration.md |
Core Concepts
- Values and Types: Eight basic types — nil, boolean, number, string, function, userdata, thread, table. All values are first-class.
- Tables: The sole data-structuring mechanism — arrays, lists, sets, records, graphs, trees. Associative arrays with any key type (except nil and NaN).
- Metatables & Metamethods: Extensible semantics — operator overloading, indexing control, calls, GC finalizers,
tostring,pairs, length. - Coroutines: Collaborative multithreading —
coroutine.create,resume,yield,wrap,close. - Closures: Functions capture upvalues (external local variables) from their lexical scope.
- Garbage Collection: Incremental and generational modes, GC metamethods (
__gc), weak tables (__mode). - C API: Stack-based interaction — push/pop values, registry, C closures, error handling, continuation functions.
- Patterns: Lightweight pattern matching (not full regex) — character classes, captures, balanced match, frontier patterns.
- Modules:
require,package.path,package.cpath, searchers, preload. _ENV: Every chunk compiled in scope of_ENV; global variables are_ENV.var.
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 77 lines · 168 tokens per session scan A 216881e2a3bd
lua-docs is a skill published in the GitHub repository pledgeandgrow/pledge-skills (11 stars, last pushed 4mo ago), licensed MIT. It adds 168 tokens to every session and 1,044 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
lua-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lua-docspledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 168 | Claude Code, Codex |
| compose-animationschrisbanes/skills | Skill | 1.2k | 2d ago | Apache-2.0 | A | 67 | Claude Code |
| compose-focus-navigationchrisbanes/skills | Skill | 1.2k | 2d ago | Apache-2.0 | A | 41 | Claude Code |
| kotlin-androidericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 78 | Claude Code, Codex |
| release-kotlin-librarychrisbanes/skills | Skill | 1.2k | 2d ago | Apache-2.0 | A | 46 | Claude Code |
| using-chrisbanes-skillschrisbanes/skills | Skill | 1.2k | 2d ago | Apache-2.0 | A | 38 | Claude Code |
| kotlin-concurrency-and-flowchrisbanes/skills | Skill | 1.2k | 2d ago | Apache-2.0 | A | 60 | Claude Code |