跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

register-generated-program

Register a runnable project created or modified by Claude Code in LLMPET Launcher after it passes a real launch check. Use for websites, apps, demos, servers, CLIs, and other executable deliverables. Do not use for source-only libraries, incomplete scaffolds, build-only outputs, or anything that has not actually launched successfully.

myunwang · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add myunwang/LLMPET --skill register-generated-program

技能说明


name: register-generated-program description: Register a runnable project created or modified by Claude Code in LLMPET Launcher after it passes a real launch check. Use for websites, apps, demos, servers, CLIs, and other executable deliverables. Do not use for source-only libraries, incomplete scaffolds, build-only outputs, or anything that has not actually launched successfully.

Register Claude Code Program

Add a Claude Code-created shortcut to LLMPET Launcher only after proving the deliverable really runs.

Workflow

  1. Identify the user-facing launch path. Prefer the same command or file the user should run later.
  2. Launch it in the real target environment. Compilation, lint, or unit tests alone do not count.
  3. Confirm an observable successful startup. If that remains unverified, do not register anything.
  4. Use exactly one of the following forms. Keep --provider claude; this skill must never attribute a program to Codex.

For a command:

node "$HOME/.octopus/bin/register-generated-program.js" --verified \
  --name "Program name" \
  --description "What the shortcut opens" \
  --cwd "/absolute/project/path" \
  --command "npm" --arg "run" --arg "dev" \
  --provider claude

For an app bundle or directly openable file:

node "$HOME/.octopus/bin/register-generated-program.js" --verified \
  --name "Program name" \
  --cwd "/absolute/project/path" \
  --open "/absolute/project/path/Program.app" \
  --provider claude
  1. Add --icon /absolute/path only when a suitable local icon already exists.
  2. Report registration only after the command prints JSON with "ok": true.

Boundaries

  • Use absolute paths.
  • If the registrar is missing, ask the user to open LLMPET Workbench → Generated Programs and authorize the Claude Code skill. Do not recreate LLMPET's registry format manually.
  • Pass arguments as repeated --arg values. Do not embed shell pipelines in --command.
  • Register the canonical project once; the same path and launch command update the existing shortcut.
  • Never pass --verified before a real launch succeeds.
  • Registration changes only LLMPET's local shortcut index. It does not copy, deploy, publish, or delete the project.