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…
MANDATORY before writing or editing ANY .lua file in this repo - classes, methods, fields, functions, or LuaCATS annotations.
$ npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install carlos-algms/agentic.nvim agentic-lua-class --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/carlos-algms/agentic.nvim.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agentic-lua-class .claude/skills/agentic-lua-class && rm -rf skills-srcUse ~/.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/
Install the "agentic-lua-class" agent skill from https://github.com/carlos-algms/agentic.nvim/tree/main/.agents/skills/agentic-lua-class into .claude/skills/agentic-lua-class/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentic-lua-class", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/carlos-algms/agentic.nvim/tree/main/.agents/skills/agentic-lua-classType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install carlos-algms/agentic.nvim agentic-lua-class --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/carlos-algms/agentic.nvim.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/agentic-lua-class .agents/skills/agentic-lua-class && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "agentic-lua-class" agent skill from https://github.com/carlos-algms/agentic.nvim/tree/main/.agents/skills/agentic-lua-class into .agents/skills/agentic-lua-class/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentic-lua-class", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install carlos-algms/agentic.nvim agentic-lua-class --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/carlos-algms/agentic.nvim.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/agentic-lua-class .cursor/skills/agentic-lua-class && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "agentic-lua-class" agent skill from https://github.com/carlos-algms/agentic.nvim/tree/main/.agents/skills/agentic-lua-class into .cursor/skills/agentic-lua-class/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentic-lua-class", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/carlos-algms/agentic.nvim.git --path .agents/skills/agentic-lua-class--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install carlos-algms/agentic.nvim agentic-lua-class --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/carlos-algms/agentic.nvim.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/agentic-lua-class .gemini/skills/agentic-lua-class && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "agentic-lua-class" agent skill from https://github.com/carlos-algms/agentic.nvim/tree/main/.agents/skills/agentic-lua-class into .gemini/skills/agentic-lua-class/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentic-lua-class", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install carlos-algms/agentic.nvim agentic-lua-classInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/carlos-algms/agentic.nvim.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/agentic-lua-class .github/skills/agentic-lua-class && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "agentic-lua-class" agent skill from https://github.com/carlos-algms/agentic.nvim/tree/main/.agents/skills/agentic-lua-class into .github/skills/agentic-lua-class/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentic-lua-class", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install carlos-algms/agentic.nvim agentic-lua-class --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/carlos-algms/agentic.nvim.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/agentic-lua-class .opencode/skills/agentic-lua-class && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "agentic-lua-class" agent skill from https://github.com/carlos-algms/agentic.nvim/tree/main/.agents/skills/agentic-lua-class into .opencode/skills/agentic-lua-class/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agentic-lua-class", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
agentic-lua-classMANDATORY before writing or editing ANY .lua file in this repo - classes, methods, fields, functions, or LuaCATS annotations.
Agentic Lua Class is an agent skill from carlos-algms/agentic.nvim. MANDATORY before writing or editing ANY .lua file in this repo - classes, methods, fields, functions, or LuaCATS annotations. Holds the project's enforced Lua style: class pattern, visibility prefixes (private, protected), and optional-type syntax. Skipping it produces luals/selene failures at make validate. Load it before the first edit, not after.
Its SKILL.md is about 2k 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: Agentic Chat Interface directly in Neovim with ACP providers from Claude-Code, Gemini, Codex, OpenCode, and Cursor-agent. The licence is MIT.
Read from SKILL.md and the folder at commit e280dee. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are lua).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Agentic Lua Class loads about 2k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 591 words of instructions outside code blocks.
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.
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.
The full file from carlos-algms/agentic.nvim at commit e280dee, republished under its MIT licence (© carlos-algms). 591 words, ~2,002 tokens.
.claude/skills/agentic-lua-class/SKILL.md (or your agent's skills folder).Basic class structure:
--- @class Animal
local Animal = {}
Animal.__index = Animal
function Animal:new()
self = setmetatable({}, self)
return self
end
function Animal:move()
print("Animal moves")
endKey points:
__index to self for inheritancesetmetatable to create instancesMethod definition syntax:
function Class:method() - Instance method, receives self implicitly
instance:method() or instance.method(instance)function Class.method() - Module function, static, does NOT receive self
Class.method() or instance.method() (both work, but no
self)Class setup (module-level):
local Parent = {}
Parent.__index = Parent
--- @class Child : Parent
local Child = setmetatable({}, { __index = Parent })
Child.__index = ChildConstructor with parent initialization:
function Parent:new(name)
local instance = {
name = name,
parent_state = {}
}
return setmetatable(instance, self)
end
function Child:new(name, extra)
-- Call parent constructor with Parent class
local instance = Parent.new(Parent, name)
-- Add child-specific state
instance.child_state = extra
-- Re-metatable to child class for proper inheritance chain
return setmetatable(instance, Child)
endCritical rules:
Parent.new(Parent, ...) not
Parent.new(self, ...)instance → Child → ParentCalling parent methods:
function Child:move()
Parent.move(self) -- Explicit parent method call
print("Child-specific movement")
endMinimize class properties - Only include properties that:
Use visibility prefixes for encapsulation - Control what external code can access:
Visibility levels (configured in .luarc.json):
_*: Private - Hidden from external consumers (applies to class
methods/fields ONLY)__*: Protected - Visible to subclassesIMPORTANT: Module-level local functions and variables do NOT need _
prefix:
local function helper() - correct (already private by local scope)local function _helper() - incorrect (redundant _ prefix)local config = {} - correctlocal _config = {} - incorrect (redundant _ prefix)function MyClass:_private_method() - correct (class method needs _)@field _private_field - correct (class field needs _)-- ❌ Bad: Unnecessary public exposure of `counter` property, not used externally
--- @class MyClass
--- @field counter number
local MyClass = {}
MyClass.__index = MyClass
function MyClass:new()
return setmetatable({ counter = 0 }, self)
end
-- ✅ Good: Proper visibility control
--- @class MyClass
local MyClass = {}
MyClass.__index = MyClass
function MyClass:new()
return setmetatable({
-- Counter is internal state, not exposed publicly
_counter = 0
}, self)
end
--- @protected
function MyClass:__protected_method()
self._counter = self._counter + 1
end
--- Module-level helper functions (no underscore prefix needed)
local function format_value(val)
return tostring(val)
end
--- @class Child : MyClass
function Child:use_parent_state()
self:__protected_method()
endNote: The @private annotation is NOT necessary for private class methods
_ prefix automatically@protected for protected methods (__*, luals limitation)Document intent with LuaCATS - Use visibility annotations:
--- @class MyClass
--- @field public_field string Public API
--- @field __protected_field table For subclasses
--- @field _private_field number Internal onlyRegular cleanup - When adding new code, review class definitions and remove:
Space after --- for descriptions and annotations. Do NOT write param/return
descriptions unless requested. Group related annotations together.
@return {type} return_name description (type first, then name).
@return boolean success Whether the operation succeeded@return boolean Whether the operation succeeded (missing name)@return success boolean (wrong order)Format depends on annotation type. See LuaLS issue #2385 for the underlying validator limitation.
@param and fun() - MUST use type|nil:
@param winid number|nil@param callback fun(result: table|nil)@param winid? number (LuaLS does not validate optional syntax)fun(result?: table) (optional syntax ignored)@field - Use variable? type:
@field _state? string@field diff? { all?: boolean } (inline tables also use ?)@field _state string|nil (use ? here instead)@field _state string? (? goes after variable name, not type)For a partial variant of an existing class, use @class (partial) extending the
source type instead of re-declaring every field as optional.
@class (partial) MyOptsOverride: MyOpts@field field? type for every field from MyOpts@return, @type, @alias - Use explicit type|nil:
@return string|nil result, @type table<string, number|nil>,
@alias MyType string|nil? on the type (e.g. string?, number?)LuaLS cannot infer types from inline returns of complex types. Use a typed intermediate variable:
-- Bad: LuaLS cannot infer the return type
function M.create_block(lines)
return {
start_line = 1,
end_line = #lines,
content = lines,
}
end
-- Good: Type annotation enables proper type checking
--- @return MyModule.Block block
function M.create_block(lines)
--- @type MyModule.Block
local block = {
start_line = 1,
end_line = #lines,
content = lines,
}
return block
endUse arr[#arr + 1] = value, not table.insert(arr, value), when arr has a
LuaCATS element type (string[], agentic.acp.Content[], a typed field, etc.).
table.insert's second arg is variadic any, so LuaLS skips
assign-type-mismatch (an Error in .luarc.json). The indexed-assignment form
is type-checked against the element type and catches wrong-type appends and
stale @return / @type annotations.
lines[#lines + 1] = value (flags a non-string pushed to string[])table.insert(lines, value) (push silently accepted)table.insert stays fine for positional inserts (table.insert(t, i, v)) and
untyped scratch tables where no element type is declared.
© carlos-algms, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/agentic-lua-class of carlos-algms/agentic.nvim.
Open the folder on GitHubat commit e280dee
Agentic Lua Class 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Agentic Lua Class this skillcarlos-algms/agentic.nvim | 640 | — | ~2k | Automated safety check: Pass | MIT | |
| Pandoc DOCX TemplateAchuan-2/pandoc_docx_template | 1.1k | — | ~1k | Automated safety check: Pass | None | |
| Add Lua Binding Simplecataclysmbn/Cataclysm-BN | 1.3k | — | ~846 | Automated safety check: Pass | Custom licence | |
| Cpp Compiler FlagsSerial-Studio/Serial-Studio | 7.2k | — | ~2.1k | Automated safety check: Pass | Custom licence | |
| Luamakeactboy168/luamake | 210 | — | ~2k | Automated safety check: Pass | MIT | |
| Lua Ecozhaojh329/lua-eco | 103 | — | ~1.7k | Automated safety check: Pass | MIT |
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…
cataclysmbn/Cataclysm-BN
Add simple Cataclysm-BN Lua bindings for stringid types, enums, and basic read-only C++ types.
Serial-Studio/Serial-Studio
C++ compiler/linker flag guidance for Serial Studio's build (GCC, Clang, AppleClang, MSVC cl.exe, clang-cl, MinGW, IntelLLVM).
actboy168/luamake
Luamake 构建系统指南——用于当前项目的 luamake / make.lua / Ninja 生成流程。当用户需要编写、修改、排查或理解 make.lua、目标定义、lm:conf、deps / objdeps、代码生成、Lua C 模块、Bee 运行时集成,或需要解决当前项目中由 luamake 驱动的构建问题时,使用此 skill。即使用户没有明确提到…
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.
Serial-Studio/Serial-Studio
Modern C++20 authoring guidance for Serial Studio (Qt 6.11, C++20): concepts, ranges, move/RAII, std smart pointers, constexpr, lock-free SPSC atomics.
carlos-algms/agentic.nvim
A skill your agent uses when creating, listing, or managing GitHub discussions in carlos-algms/agentic.nvim repository
carlos-algms/agentic.nvim
MANDATORY before editing ACPClient, ACPTransport, AgentInstance, ACP provider flow, tool-call parsing, permission requests, provider switch, reconnect, or ACP subprocess lifecycle in agentic.nvim.
carlos-algms/agentic.nvim
MANDATORY before creating, editing, or reviewing tests in agentic.nvim, and before behavior changes that require TDD.
carlos-algms/agentic.nvim
A skill your agent uses when writing or updating agentic.nvim vimdoc (doc/agentic.txt), or after changing init.lua, configdefault.lua, theme.lua, or README install/keymaps - those edits require a…
carlos-algms/agentic.nvim
A skill your agent uses when ACP schema is necessary to clarify the work or when the user asks for ACP data, rules, events, or documentation
carlos-algms/agentic.nvim
MANDATORY before editing MessageWriter, PermissionManager, tool-call block rendering, sender headers, thinking blocks, auto-scroll, folds, status rows, permission buttons, or chat-buffer tool-call…
Works with
MANDATORY before writing or editing ANY .lua file in this repo - classes, methods, fields, functions, or LuaCATS annotations. nvim.lua file in this repo - classes, methods, fields, functions, or LuaCATS annotations.
Run `npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a claude-code`. Or copy the skill folder (.agents/skills/agentic-lua-class in carlos-algms/agentic.nvim) into .claude/skills/agentic-lua-class in your project. Claude Code loads it when a task matches its description.
Run `npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a codex`. Or copy the skill folder (.agents/skills/agentic-lua-class in carlos-algms/agentic.nvim) into .agents/skills/agentic-lua-class in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add carlos-algms/agentic.nvim --skill agentic-lua-class -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agentic-lua-class, .gemini/skills/agentic-lua-class, .github/skills/agentic-lua-class and .opencode/skills/agentic-lua-class in your project.
SKILL.md names no scripts, command-line tools or credentials: Agentic Lua Class is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
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.
Agentic Lua Class is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Agentic Lua Class: 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 Luamake (actboy168/luamake, 210 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
carlos-algms (a GitHub user) maintains it in carlos-algms/agentic.nvim, which has 640 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.
Source: carlos-algms/agentic.nvim on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.