Token导航 LogoToken导航

Agent Skill · 研究检索

lpm-config(lpm 配置)

lpm-config 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

lpm-config 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 70,604。

总安装 210周安装 9GitHub Stars 4下载 73核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:lpm-config(lpm 配置)
来源仓库:https://github.com/gug007/lpm
仓库路径:skills/lpm-config
安装命令:
npx skills add https://github.com/gug007/lpm --skill lpm-config
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/gug007/lpm --skill lpm-config

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

lpm-config 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于配置管理、参数设置和环境变量查找等研究场景。通过关键词、任务或来源仓库进行信息筛选,需结合原始 README 确认具体用法。

安装命令为 npx skills add https://github.com/gug007/lpm --skill lpm-config。使用前建议确认权限范围、维护状态及是否触发联网或文件读写操作。

来源仓库内路径:skills/lpm-config

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/gug007/lpm --skill lpm-config;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

lpm-config 怎么安装?

在终端执行 npx skills add https://github.com/gug007/lpm --skill lpm-config。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

lpm-config 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

lpm-config 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/gug007/lpm --skill lpm-config 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

lpm-config 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

lpm-config 用的人多吗?

公开数据是累计安装 210 次,近一周安装 9 次,下载 73 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

lpm-config 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
lpm-config

lpm 配置 · 本页

2104执行命令未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Instructions

Use this skill to create, modify, and delete lpm (Local Project Manager) YAML configuration files. lpm is a CLI + macOS app that manages long-running services, one-shot commands (actions), and interactive terminals for dev projects.

For the full YAML field reference, see YAML Schema Reference.

Installation

Install lpm (if not already installed):

curl -fsSL https://raw.githubusercontent.com/gug007/lpm/main/install.sh | bash

Install this skill via skills.sh:

# Interactive — shows available skills
npx skills add gug007/lpm

# Or install directly
npx skills add gug007/lpm -s lpm-config

# Install globally (available everywhere)
npx skills add gug007/lpm -s lpm-config -g

# Update to latest version
npx skills update lpm-config

tmux is required by lpm:

# macOS
brew install tmux
# Debian/Ubuntu
sudo apt install tmux

When to Use

User intentOperation
"create lpm config", "set up lpm for this project"Create a new config file
"add service/action/terminal to lpm"Modify an existing config
"change/update lpm config"Modify an existing config
"remove/delete lpm config"Delete a config file
"remove action/service/terminal from lpm"Modify — remove a section entry
"I want a button that runs X"Modify — add action or terminal with display: button
"add a log viewer", "add a watcher"Modify — likely a terminal action with type: terminal and reuse: true
"make it reuse the same terminal", "only one terminal"Modify — set type: terminal + reuse: true on the action
"rename the button", "change the label"Modify — update label field on the action/terminal
"add a button with a dropdown of actions"Modify — action group with display: button and nested actions
"when I click it, give me options to choose"Modify — could be inputs (radio options before running) or an action group (sub-actions). Ask the user which they mean.
"group these actions together"Modify — create an action group with nested actions
"duplicate this project for another directory"Create — use parent_name for a duplicate project
"make it run in background", "notify when done", "run silently"Modify — add action with type: background
"button with a default and alternatives"Modify — split-button action group (parent cmd + nested actions)
"dropdown of related commands", "menu of sub-actions"Modify — dropdown-only action group (nested actions, no parent cmd)

How to Use

Step 1: Check that lpm is installed

command -v lpm

If not found, run the install command from Installation above.

Step 2: Pick the target project file

Work out which ~/.lpm/projects/<name>.yml to edit *before* asking the user anything. Use the cwd as the primary signal.

  1. Get the current working directory: pwd.
  2. List existing projects: ls ~/.lpm/projects/*.yml (empty is fine).
  3. For each project file, read its root: line (expand ~ to $HOME). A one-liner that works: for f in ~/.lpm/projects/*.yml; do [-f "$f"] || continue name=$(basename "$f".yml) root=$(awk '/^root:/ {print $2; exit}' "$f" | sed "s|^~|$HOME|") printf '%s\t%s\n' "$name" "$root" done
  4. Match cwd against each root:

- Exact match (cwd == root) wins outright. - Otherwise, any root that is a path-component prefix of cwd is a candidate. Longest prefix wins.

  1. Act on the match count: Matches What to do 1 Silently edit ~/.lpm/projects/<name>.yml. No "I'll edit X" line, no confirmation. Apply the change and write the file. ≥2 Ask once: *"cwd is inside multiple lpm projects (a, b). Which one?"* 0 Offer two options in the same reply: (1) create a new project for this cwd (lpm init or from scratch), (2) pick an existing project by name — list every ~/.lpm/projects/*.yml.

Overrides (these win over cwd detection):

  • The user names a project explicitly ("add a service to myapp") → use that name.
  • The user says "globally" / "to all my projects" / "для всех проектов" → write to ~/.lpm/global.yml instead.

Confirmations are kept only for deleting a config file or overwriting an existing one during a Create flow. Never confirm the target on a single-match cwd.

Step 3: Execute the operation

Create:

  1. Check if a config already exists at ~/.lpm/projects/<name>.yml — if so, confirm with the user before overwriting (or switch to Modify flow).
  2. Read YAML Schema Reference for the full field reference.
  3. Consider using lpm init first — it auto-detects services for Rails, Next.js, Go, Django, Flask, Docker Compose, and more. You can then read the generated config and refine it rather than writing from scratch.
  4. If writing from scratch, analyze the project directory to discover:

- Services — look at package.json scripts, Makefile, docker-compose.yml, Procfile, mise.toml for long-running processes (dev servers, watchers, workers). - Actions — one-shot commands: test, lint, build, migrate, deploy scripts. - Terminals — interactive shells: database consoles, REPLs, log tailers. - Profiles — logical groupings of services (frontend-only, full-stack, etc.).

  1. Create directory if needed: mkdir -p ~/.lpm/projects
  2. Write the config at ~/.lpm/projects/<name>.yml.

Modify:

  1. Read the existing config: ~/.lpm/projects/<name>.yml.
  2. Apply the requested changes (add/update/remove entries).
  3. Use the Smart Guidance section below to ask the right follow-up questions.
  4. Validate all fields (see Validation below).
  5. Write the updated config back.

Delete:

  1. Confirm with the user before removing.
  2. Run: rm ~/.lpm/projects/<name>.yml

Smart Guidance

When the user asks to add something, ask follow-up questions to pick the right config shape. Don't dump all options — ask only what's relevant.

"Add a button / action that does X"

  1. Is it a long-running/interactive process (log tailer, watcher, REPL) or a one-shot command (test, deploy, migrate)?

- Long-running/interactive → ask: "Should this always reuse the same terminal pane, or open a new one each time?" - Reuse → type: terminal, reuse: true - New each time → type: terminal (no reuse) - One-shot → regular action

  1. Should it be a visible button or in the menu?

- Frequently used → display: button - Occasional → leave default (menu)

  1. Is it destructive? → confirm: true

"Make it run in the background / only tell me when it's done"

→ Add the action with type: background. The command runs hidden and lpm shows a toast on completion. Common fits: builds, migrations, docker pull, git fetch, dependency installs. Pair with confirm: true when it's destructive.

"Button with a default action plus alternatives" (split button)

→ Action group with cmd on the parent AND nested actions. Main click runs the parent's command; chevron opens the children. Example: deploy that defaults to staging with production/preview tucked behind it.

"Dropdown of related commands" (dropdown-only)

→ Action group with nested actions but no parent cmd. The whole button opens the menu. Example: a database button that expands into migrate / seed / reset.

"Add a terminal / shell / console"

→ Goes in terminals section. Ask:

  • Should it be a visible button or menu item?

"This action needs parameters"

→ Add inputs. Ask:

  • What parameters? (name, label, type)
  • Are any required?
  • Should any be a selection from fixed options? → type: radio with options
  • Any defaults?

"Add a button with a dropdown" / "button with options"

This is ambiguous — clarify what the user means:

  • "When I click, I see a list of sub-actions to pick from" → dropdown-only action group (nested actions, no parent cmd) with display: button.
  • "When I click, the default runs, but I can pick an alternative from a chevron" → split-button action group (parent cmd + nested actions) with display: button.
  • "When I click, it asks me for a parameter then runs" → single action with inputs (e.g. type: radio for fixed choices) and display: button.

Ask: "Should the button run a default command with alternatives behind a chevron (split button), open a menu of commands (dropdown), or prompt for a parameter before running (inputs)?"

"Group related actions together"

→ Create an action group with nested actions. Ask:

  • What's the group name/label?
  • Do the sub-actions share a working directory or env vars? → Set on parent, children inherit.

"Rename a button" / "change the label"

→ Update the label field on the action or terminal. Read the existing config, find the entry, set or change label.

"Set up the same project for another directory"

→ Create a duplicate with parent_name. Only needs name, root, and parent_name.

"Add this action/terminal to all my projects"

→ Goes in the global config at ~/.lpm/global.yml. It supports actions and terminals only (no services, profiles, name, or root), but both of those carry the full field set — display, confirm, type (including type: background), reuse, inputs, and nested actions. Project-level entries with the same key take precedence.

Output

Config files are written to ~/.lpm/projects/<name>.yml. Global config at ~/.lpm/global.yml supports only actions and terminals. Project-level entries take precedence when names collide.

Config structure:

name: <string>           # optional — defaults to the config filename
root: <path>             # required — project root (supports ~)
label: <string>          # optional — display name in UI
parent_name: <string>    # optional — duplicate from parent project

services:                # required — at least one
  <key>: <cmd>           # shorthand
  <key>:                 # full form
    cmd: <string>        # required
    cwd: <path>          # optional
    port: <int>          # optional (0-65535, unique)
    env: {}              # optional
    profiles: []         # optional

actions:                 # optional — one-shot commands
  <key>: <cmd>           # shorthand
  <key>:                 # full form
    cmd: <string>        # required (unless nested actions)
    label: <string>      # optional — display name in UI
    cwd: <path>          # optional
    env: {}              # optional
    confirm: <bool>      # optional (default: false)
    display: <string>    # optional (button | menu, default: menu)
    type: <string>       # optional — "terminal" (pane) or "background" (hidden + toast)
    reuse: <bool>        # optional — reuse same terminal pane
    inputs: {}           # optional — user-prompted parameters
    actions: {}          # optional — nested sub-actions (action group)

terminals:               # optional — interactive shells (sugar for actions with type: terminal)
  <key>: <cmd>           # shorthand
  <key>:                 # full form — supports the same fields as actions
    cmd: <string>        # required (unless nested actions)
    label: <string>      # optional
    cwd: <path>          # optional
    env: {}              # optional
    display: <string>    # optional (button | menu, default: menu)
    confirm: <bool>      # optional
    reuse: <bool>        # optional — reuse the existing pane on next launch
    inputs: {}           # optional — prompted parameters
    actions: {}          # optional — nested sub-actions (split-button or dropdown)

profiles:                # optional — named service subsets
  <key>: [<service>, ...]

Key rules:

  • Shorthand (test: go test./...) when the command needs no options.
  • Full form when you need cwd, env, confirm, display: button, type, reuse, inputs, or a label.
  • Set confirm: true on destructive actions (migrations, deploys, cleanup).
  • Set display: button on frequently-used actions/terminals.
  • Use type: terminal + reuse: true for commands that should stay in one persistent pane (log tailers, watchers).
  • Use type: background for slow commands you want to fire and forget — lpm shows a toast when they finish.
  • Action groups: parent cmd + nested actions renders as a split button; nested actions alone renders as a dropdown. Children inherit cwd and env.
  • Use parent_name to duplicate a project config for a different root directory.
  • Keys: short, lowercase, hyphen-separated (db-migrate, run-tests).
  • ~ expands to home. Relative cwd resolves from root. All cwd must exist.

Validation — verify before writing any config:

  • root is set (name is optional — defaults to the config filename)
  • At least one service is defined (unless parent_name is set)
  • All cmd fields are non-empty strings (actions or terminals with nested actions may omit cmd)
  • All cwd paths point to existing directories
  • All ports are in range 0–65535 with no duplicates across services
  • display values are only button or menu
  • type values are only terminal or background (or omitted)
  • Profile entries reference defined services
  • Nested sub-actions are validated recursively
  • parent_name references an existing project

Examples

Example 1: Create a minimal config

User: Set up lpm for this project
Agent: No lpm project matches cwd ~/Projects/my-api. I can:
       1. Create a new project for this directory (name: my-api)
       2. Edit an existing project: myapp, storefront
User: Create it
Agent: [analyzes project, writes config]

       Created ~/.lpm/projects/my-api.yml:
       - 1 service: dev server
       - 2 actions: test, lint
       - 1 terminal: database console

Minimal output:

name: my-api
root: ~/Projects/my-api

services:
  server: npm run dev

Example 2: Full config

name: myapp
root: ~/Projects/myapp
label: My Application

services:
  api:
    cmd: go run ./cmd/server
    cwd: ./backend
    port: 8080
  frontend:
    cmd: npm run dev
    cwd: ./frontend
    port: 3000

actions:
  test:
    cmd: go test ./...
    cwd: ./backend
    display: button

  deploy:
    cmd: ./scripts/deploy.sh --env {{env}}
    label: Deploy
    confirm: true
    inputs:
      env:
        type: radio
        label: Target Environment
        required: true
        default: staging
        options:
          - staging
          - production

  database:
    label: Database
    cwd: ./backend
    actions:
      migrate:
        cmd: rails db:migrate
        confirm: true
      seed:
        cmd: rails db:seed
      reset:
        cmd: rails db:reset
        confirm: true

  logs:
    cmd: tail -f /var/log/myapp/app.log
    type: terminal
    reuse: true
    label: Tail Logs
    display: button

  fetch-all:
    cmd: git fetch --all --prune
    label: Fetch All
    type: background
    display: button

terminals:
  psql:
    cmd: psql myapp_dev
    label: Database
    display: button

profiles:
  frontend-only: [frontend]
  full-stack:    [api, frontend]

Example 3: Add a terminal action with reuse

User: Add a button that shows logs and always uses the same terminal
Agent: [reads config, adds action]

       Added to ~/.lpm/projects/myapp.yml:
       actions.logs:
         cmd: tail -f /var/log/myapp/app.log
         type: terminal
         reuse: true
         label: Tail Logs
         display: button

Example 4: Add an action group

User: Group the database commands together
Agent: [reads config, creates action group]

       Grouped in ~/.lpm/projects/myapp.yml:
       actions.database:
         label: Database
         cwd: ./backend
         actions:
           migrate, seed, reset

Example 5: Create a duplicate project

User: I have a second checkout of myapp at ~/Projects/myapp-v2, set it up in lpm
Agent: I'll create a duplicate config pointing to the existing myapp config.

       Created ~/.lpm/projects/myapp-v2.yml:
         parent_name: myapp
         root: ~/Projects/myapp-v2

Output:

name: myapp-v2
root: ~/Projects/myapp-v2
parent_name: myapp

Example 6: Add an action with user inputs

User: Add a deploy action that asks which environment to deploy to
Agent: [adds action with inputs]

       Added to ~/.lpm/projects/myapp.yml:
       actions.deploy:
         cmd: ./scripts/deploy.sh --env {{env}}
         confirm: true
         inputs:
           env (radio): staging, production

Example 7: Delete a config

User: Remove lpm config for myapp
Agent: Delete ~/.lpm/projects/myapp.yml? This will remove the project from lpm.
User: Yes
Agent: Deleted ~/.lpm/projects/myapp.yml

Example 8: Add a background action

User: Add a button that resets the dev database in the background
Agent: [reads config, adds action — silent cwd match on ~/.lpm/projects/myapp.yml]

       Added to ~/.lpm/projects/myapp.yml:
       actions.db-reset:
         cmd: npm run db:reset && npm run db:seed
         label: Reset DB
         type: background
         confirm: true
         display: button

Example 9: Split-button action group

User: Make deploy a button that defaults to staging but lets me pick production or preview
Agent: [adds split-button group]

       Added to ~/.lpm/projects/myapp.yml:
       actions.deploy:
         cmd: ./deploy.sh staging
         label: Deploy
         display: button
         confirm: true
         actions:
           production:
             cmd: ./deploy.sh production
             confirm: true
           preview:
             cmd: ./deploy.sh preview

Limitations

  • Project names must be lowercase with no slashes; cannot be . or ..
  • All cwd paths must point to existing directories — lpm validates on load
  • Ports must be in range 0–65535 and unique across services
  • Global config only supports actions and terminals — no services, profiles, name, or root
  • Duplicate projects (parent_name) inherit everything — you cannot override individual entries

平台分布

Codex

34.86%
按下载量换算25

Claude

31.53%
按下载量换算23

Cursor

18.36%
按下载量换算13

Gemini CLI

9.25%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/gug007/lpm --skill lpm-config 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills