Build, test, and deploy Lua AI agents from inside Claude Code
Plan a Lua agent end-to-end from a goal description. Spawns the lua-architect subagent which maps task → primitives → integrations → build order, then offers concrete next-step slashes (no auto-build).
Authenticate with Lua via email+OTP or paste an existing API key. Stores credentials in ~/.lua-cli/credentials. Run this once after installing the plugin.
Send a one-shot message to the agent in sandbox or production. Returns the structured response. Wraps `lua chat --ci -m`.
Deploy a versioned primitive to production. Single permission per §3.7. Spawns the lua-deploy-pilot subagent which runs the gated 5-step ship sequence.
Search the lua-cli documentation at https://docs.heylua.ai. Uses WebFetch (does NOT shell out to `lua docs`, which only opens a browser).
Use proactively when the user describes what they want to build ("I want to build an agent that…", "How do I make X?", "I need to integrate with Y"). Walks them from goal → architecture → primitives → integrations → implementation plan. Hands off concrete build work to lua-skill-builder, lua-debug, lua-deploy-pilot, or lua-qa.
Use proactively whenever `lua compile --ci` or `lua test --ci` exits non-zero. Diagnoses lua-cli compilation and runtime errors and proposes minimal fixes.
Walks the user through the full ship sequence — compile, sync check, push, smoke test, deploy. Halts before every irreversible step. Use when the user says "ship it" or "deploy".
Use proactively when the user asks for "QA", "test the agent end-to-end", "find bugs", or after a significant change to a skill/persona. Runs conversational testing against the agent (sandbox if local code differs from production, production if in sync) and writes a triage report identifying issues for the lua-skill-builder, lua-debug, or lua-deploy-pilot subagents to fix.
Scaffolds and iterates on lua-cli primitives (tools, skills, webhooks, jobs, processors). Use when the user describes a new piece of agent functionality.
Admin access level
Server config contains admin-level keywords
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Requires secrets
Needs API keys or credentials to function
Requires secrets
Needs API keys or credentials to function
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools
A Claude Code marketplace + plugin for building, testing, and deploying Lua AI agents directly from inside your Claude Code session.
📖 Read the full User Guide → — installation, walkthroughs, slash commands reference, hooks, MCP tools, safety model, troubleshooting, FAQ.
/plugin marketplace add lua-ai-global/claude-code-lua-plugin
/plugin install lua-agent-builder@claude-code-lua-plugin
/reload-plugins
Then /lua-auth to authenticate (email + OTP, or paste an existing API key from admin.heylua.ai), and /lua-doctor to verify the full environment.
Once it's on the official Anthropic marketplace, install will simplify to:
/plugin install lua-agent-builder@claude-plugins-official
This repo is a marketplace catalog that ships one plugin:
| Plugin | Description |
|---|---|
lua-agent-builder | The full Lua agent toolchain — 14 slash commands, 5 subagents, 9 hooks, MCP server with 5 read-only platform tools |
See plugins/lua-agent-builder/README.md for the plugin's own docs (layout, hooks list, slash commands, design rationale).
claude-code-lua-plugin/
├── .claude-plugin/
│ └── marketplace.json ← marketplace catalog (this file points at the plugin below)
├── plugins/
│ └── lua-agent-builder/
│ ├── .claude-plugin/
│ │ └── plugin.json ← plugin manifest
│ ├── commands/ ← 14 slash commands
│ ├── agents/ ← 5 subagents
│ ├── hooks/ ← 9 hooks
│ ├── lib/ ← shared utilities + permissions template
│ ├── mcp/lua-platform/ ← MCP server source + bundled dist/
│ ├── scripts/ ← 16 lints + 2 check scripts
│ └── test/ ← 216 jest tests
├── .github/workflows/ ← ci, release-beta, release-prod
├── LICENSE ← (in plugins/lua-agent-builder/)
├── SECURITY.md ← (in plugins/lua-agent-builder/)
└── README.md ← you are here
After install + /lua-auth:
/lua-architect I want to build a refund-handling agent
→ drafts a plan: persona, primitives, integrations, build order
/lua-init → scaffolds project, asks for name + org + model
/lua-new tool refund_lookup
→ spawns lua-skill-builder, scaffolds + compiles + tests
/lua-test → exercises the tool in sandbox
/lua-deploy → ships to production with a single permission gate
For a fuller end-to-end walkthrough see the plugin's README and /lua-doctor (5-step environment diagnostic).
The plugin enforces several gates that show up at install time via /lua-doctor Step 5:
lua deploy is denied at the permissions layer; defense-in-depth via the confirm-deploy.mjs PreToolUse hook.--auto-deploy block — denied at permissions + blocked at the hook layer.x-lua-multi-step: true opt-out)./lua-doctor Step 4 uses an authenticated metadata probe (lua agents --json --ci), not a key-printing command.See plugins/lua-agent-builder/SECURITY.md for the disclosure path and a fuller scope statement.
Issues and PRs welcome. The plugin has 16 structural lint scripts that catch known regression classes — if your change adds a new bug class, the right fix is usually "add a lint guard so the next person doesn't repeat it." See plugins/lua-agent-builder/scripts/lint-*.mjs for examples.
MIT © Lua AI
npx claudepluginhub lua-ai-global/claude-code-lua-plugin --plugin lua-agent-builderComprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Comprehensive startup business analysis with market sizing (TAM/SAM/SOM), financial modeling, team planning, and strategic research
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.