Lazycat Lpk Builder logo

Lazycat Lpk Builder

Community
whoamihappyhacking
lazycat-lpk-builder

将源码、Docker 镜像或 docker-compose 移植为懒猫微服 LPK V2 应用;用于编写元数据与权限、运行清单、构建/开发态配置、资源导入导出及打包验证。

Overview

Publisherwhoamihappyhacking
Repositorylazycat-skills
Skill namelazycat-lpk-builder
Stars
61
Forks
9
Bundled files
8
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by whoamihappyhacking on GitHub. Read the source before you install it.

Installation

Install the Lazycat Lpk Builder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/whoamihappyhacking/lazycat-skills/tree/main/skills/lazycat-lpk-builder
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/whoamihappyhacking/lazycat-skills.git /tmp/lazycat-skills
mkdir -p .claude/skills
cp -r /tmp/lazycat-skills/skills/lazycat-lpk-builder .claude/skills/lazycat-lpk-builder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lazycat Lpk Builder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lazycat Lpk Builder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lazycat Lpk Builder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

懒猫微服 LPK V2 打包与移植

0. 先校准,后写配置

写/改 package、manifest、build 或执行 build/deploy/release 前,必须先读取并执行 references/spec-sync.md:记录目标 lzcos 与 CLI 版本,获取官方原文,核对本地快照并声明冲突。HTTP 错误、空文档、HTML 错误页不算成功;离线只能明确声明使用快照,不能声称实时校准。

基线为 lzcos >=1.5.0、lzc-cli >=2.0.0;每项新能力还需独立核验门槛。当前技能不是“永远最新”的保证。

1. 分析应用

梳理端口/协议、CPU 架构、镜像入口与 UID、内部数据/用户文件、依赖、业务鉴权和所需权限。不要将 Compose 原样当 manifest,不默认申请 root/privileged/全部权限。

2. 分开编写四种配置

文件/需求行动指令
package.yml:静态身份、版本、权限读取 references/package-spec.md
lzc-manifest.yml:服务、路由、inject、entries、运行身份读取 references/manifest-spec.md
lzc-build.yml:正式构建读取 references/build-spec.md
lzc-build.dev.yml:开发差异同上,不能复制整份 release 配置
资源导出/导入读取 references/resource-export.md
权限、初始化、探针、持久化故障读取 references/troubleshooting.md
上架与审核读取 references/store-publish.md

V2 manifest 不放 package/version/name/locales/permissions/import_resources 等静态字段。完整包的内容可选,image-only 不必伪造 contentdir;图标按官方 PNG/商店要求,不能臆造大小限制。

3. 构建与验证

bash
lzc-cli --version
lzc-cli project build -o release.lpk

检查实际使用的 Build config、最终 tar 包中的 package.yml/manifest.yml、必要资源与镜像 lock。buildscript 不得调用 project build。带 #@build 或 Go template 的原始文件先按真实阶段预处理/渲染,再做严格 YAML 校验,不能忽略重复键或把模板错误当成合法文件。

安装/部署会改变设备状态,只有用户授权时执行:

bash
lzc-cli app install ./release.lpk
# 本地开发场景;优先 dev 配置
lzc-cli project deploy

测试首装、升级、重启持久化、最小权限、免密登录和接口鉴权;仅本地静态校验不得声称“部署成功”。查已部署应用用 lzc-cli docker 前缀;需微服名时主动执行 lzc-cli box default。

4. 不可省略的边界

  • 内部配置/数据库:var;缓存:cache;用户文件:有 document.private 的 /lzcapp/documents/$uid。不把所有持久化都塞 var,也不默认旧 home 兼容挂载。
  • run_as(>=1.6.0)按镜像兼容性选择;不与同一 service 的 user/setup_script 混用。
  • routes 默认去前缀;保留前缀用 upstreams;非 HTTP 用 ingress,不能用它绕过用户鉴权或随意接管 80/443。
  • 开发机 localhost 需要 ctx.net.via.client(ctx.dev.id),不是容器默认网络。
  • 服务内网通信与代表用户的应用互访是不同机制,后者按应用间访问校准权限与票据。
  • public_path 不是业务鉴权;远端发布、提权、Token 创建与销毁等操作须明确范围和授权。

交付包含:校准来源/原文摘要、目标版本与门槛、配置/包位置、实际验证结果、未验证项、需授权的下一步。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Lazycat Lpk Builder AI skill do?

将源码、Docker 镜像或 docker-compose 移植为懒猫微服 LPK V2 应用;用于编写元数据与权限、运行清单、构建/开发态配置、资源导入导出及打包验证。

Why use Lazycat Lpk Builder on TypingMind?

Because you install it once and use it with any model. Lazycat Lpk Builder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lazycat Lpk Builder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/whoamihappyhacking/lazycat-skills/tree/main/skills/lazycat-lpk-builder. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Lazycat Lpk Builder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lazycat Lpk Builder?

As many as you like. As long as a model supports skills, you can use Lazycat Lpk Builder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lazycat Lpk Builder AI skill free?

It is published on GitHub by whoamihappyhacking. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇