Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gug007/lpm --skill lpm-cligit clone --depth 1 https://github.com/gug007/lpmWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gug007/lpm/lpm-cli)<a href="https://agentmods.dev/skills/gug007/lpm/lpm-cli"><img src="https://agentmods.dev/badge/skills/gug007/lpm/lpm-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/gug007/lpm/lpm-cli"><img src="https://agentmods.dev/badge/skills/gug007/lpm/lpm-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00139 | $0.07721 |
| Opus 5.5 | $0.00056 | $0.03088 |
| Sonnet 5.5 | $0.00028 | $0.01544 |
| Haiku 4.5 | $0.00014 | $0.00772 |
Grade A, and why
lpm-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
lpm is a command-line companion to the lpm desktop app. Verify it is available with lpm --version; if it is missing, install it from the lpm app's Settings.
Key facts
- The project name is inferred from
LPM_PROJECT_NAMEor the current directory — omit it inside lpm terminals. - Default output is compact text (cheapest); add
--jsononly when you need to parse the result. - Exit codes:
0ok,2usage / not found / app not running,1failure / timeout. config get,config apply,skills, and control commands need the lpm app running; other inspection commands do not.
Commands
lpm list— all projects, running state, agent counts. An archived project (or a copy of one) is listed witharchived("archived": truein--json); the app keeps it out of its sidebar and lists, and doesn't run its automations.lpm project [name] [--full]— one project in full (--fulladds env maps, action details, terminal history). A started service whose command ended (crashed or exited) shows asexitedwith its code (runningSource: "exited",exitCodein--json); its pane stays until it is restarted or stopped.- In
lpm list --jsonandlpm project --json, whenisRemoteistrue,rootis the project'sssh.dir: a path on the SSH host, not on this machine. Don'tcdinto it or read files there locally. lpm config resolve [--cwd PATH] [--json]— match a directory to its deepest project root without usingLPM_PROJECT_NAME. An SSH project matches only from its local sync mirror~/.lpm/sync/<project-file-name>, never byrootorssh.dir.lpm config validate <file> [--json]— validate syntax, fields, layer rules, and effective merged configuration.lpm config get --layer project|repo|global|template [--project NAME | --template NAME] [--create] [--json]— read a config layer with the revision required for a safe write.lpm config apply --layer project|repo|global|template [--project NAME | --template NAME] [--create] --if-revision HASH (--stdin | --file PATH) [--json]— validate a candidate and atomically apply it through the running app. Never edit a live config file directly.lpm logs [service] [-n 30] [-p proj]— service scrollback, exactly N lines.lpm status [project]— live agent statuses (Running/Waiting/Done/Error).Pausedis a Running agent that ended its turn beside background shells it waits on, listed under it aswaiting on:(pausedAtandshellsin--json): it carries on when one ends and isn't finished.lpm wait --agentkeeps waiting on it, and its timeout names those shells.lpm connections [--activity] [--json]— what this machine hosts and what it is connected to, with what each connected computer lets this one's agents copy or run there.--activitylists the latest copies and commands agents made between computers.lpm cp [--force] [--json] <SRC> <DST>— copy a file or folder between this computer and one it connects to; one side isNAME:PATH, NAME being any part of a computer's name only it has (aslpm connectionslists it), PATH may start with~. The other computer decides what this one's agents may copy there (nothing until the user turns it on in Settings → Connections), and the user allows each copy in lpm, so the command waits until they answer; keys, credentials and startup files always ask again. A folder lands inside an existing destination folder under its own name; files already there are replaced only with--force(the replaced ones are backed up). Only from a terminal in lpm; an automation's run can't copy. Don't retry a denied copy.lpm exec --on NAME[:PATH] [--json] -- COMMAND…— run a command on a computer this one connects to and get what it prints as it prints it, exiting with its exit code. NAME is matched as forlpm cp;NAME:PATHstarts in that folder there (its home folder otherwise; write~after the colon, so it reads as that computer's home). One quoted argument is run by the shell there as written (&&, pipes,cd); several words are run as one command, each kept whole. Nothing is passed on stdin, and nothing interactive works; uselpm cpto move files. That computer decides whether this one's agents may run commands there (off until the user turns it on in Settings → Connections), and the user allows each command in lpm, or once for the tab, so the command waits until they answer. Stoppinglpm execstops the command there. Only from a terminal in lpm; an automation's run can't. Don't retry a denied command. A prompt may name a place on another computer asNAME:PATH(lpm's @ menu inserts these, e.g.Mac mini:~/storefront); use it as written withlpm exec --onandlpm cp.lpm generate image "<prompt>" [-o FILE] [--model nano-banana|nano-banana-pro|gpt-image] [--aspect 16:9] [--size 1K|2K|4K] [--edit FILE] [--json]— make an image with the key saved in lpm; use it whenever the user asks for an image, a picture, a logo or "nano banana" instead of calling an image API yourself. Write the prompt as a full description. "Nano banana" is the default model;nano-banana-profor the best Google quality,gpt-imagefor OpenAI's.--edit FILEchanges an existing image (Google's models).lpm generate speech "<text>" | - [-o FILE] [--voice marin] [--format mp3|wav|aac|opus|flac]speaks text into an audio file (-reads stdin, e.g.head -5 README.md | lpm generate speech -). Without-othe file goes intogenerated/at the top of the project (kept out of Git). lpm may ask the user to allow it or to add a key first, so the command waits for their answer; it printsSaved <path> (…). Always put that full path in your reply, exactly as printed, for every file made, never only a file name or a folder, and show or open the file when that helps. The extension can differ from the one given to-o(a.pngname may be saved as.jpg), so take the path from that line. Don't retry a denied request.lpm generate modelslists the models and whether each one's key is saved. You never need or see the keys.lpm ports [--computers] [--json]— every TCP port this machine listens on, with the project and service holding it, or the process name and PID when nothing of lpm's does (emptyprojectin--json).--computersadds each connected paired computer's ports. Check it before freeing a port by hand: a port held by an lpm service is freed withlpm service <name> stop, not by killing its process.lpm start [project] [--profile X]/lpm stop [project]— start / stop a project's services.lpm service <name> start|stop|restart [-p proj]— one service.restartstops the run still going first, then runs the command again in the same pane.lpm wait [project | -p proj] [--service X | --port N | --agent] [--timeout 60]— block until ready: a service with areadycheck when that check passes, otherwise when its port listens;--agentwaits until an agent reports after the wait starts and none is still working (your own tab is ignored).lpm duplicate [project] [-n N] [--label TEXT]... [--about TEXT]... [--group X] [--run ACTION | --command CMD] [--prompt TEXT] [--include-uncommitted | --exclude-uncommitted]— create parallel working directories. Always pass a--labeldescribing the copy's purpose so it's identifiable in the app — one repeated--labelper copy in creation order,<project-name>-<short-description>style such aslpm-fix-auth. Only omit it when you genuinely can't infer a purpose. When the task came from a ticket, thread or pull request, also pass--aboutper copy (in the same order) with a line on what it's for and that link — the app shows the link's icon beside the copy's name. Output lists each copy's path.lpm worktree [project] [-n N] [--label TEXT]... [--about TEXT]... [--group X] [--run ACTION | --command CMD] [--prompt TEXT] [--issue NUMBER] [--reinstall-deps]— create linked Git worktrees instead of standalone copies. The same labeling and--aboutguidance applies. Output lists each worktree's path.lpm archive <name> [--json]/lpm unarchive <name> [--json]— take a project out of the app's sidebar, switcher and phone without removing it, or bring it back. Archiving stops its services and its copies' too, closes its terminals and pauses its automations; its config, notes, memory and folder stay. Unarchiving puts it back where it was, and its automations resume from now. Archive only when the user asks.lpm remove <copy-name>— remove a duplicate. For a linked worktree, this also removes its Git worktree registration and lpm-created branch. Originals and SSH projects (SSH duplicates too) need--force, and their folder is kept; don't use--forceunless the user explicitly asks.lpm run [action | --command CMD] [--prompt TEXT] [-p proj]— queue in a new app terminal, fire-and-forget. It prints the id of the tab it opens (tabin--json; none for an action that opens no tab or asks for something first), or of the tab an action runs in every time, asreused. It refuses inside an automation run, as doduplicateandworktreewith--runor--command: the task would run outside the automation.--prompt "/name args"sends that skill's prompt with the arguments filled in, and fails if it still needs a value. A skill made in lpm wins over an agent's own of the same name; any other/namereaches the agent as typed, and so does every--promptofduplicateandworktree.lpm close <tab> [-p proj] [--when-done | --force] [--json]— close a terminal tab, as its × does: Undo stays in the app for a few seconds, and an agent's conversation stays in Resume session.<tab>is its id, aslpm runandlpm statusprint it (found in any project), or its name in the tab strip. It refuses, exit1, a tab whose agent is working, waiting for an answer or just starting, one with a command still running, and one holding a message that hasn't been sent or is scheduled;reasonin--jsonsays which.--when-donecloses it once its agent's turn ends instead, and right afterlpm runit waits for that agent's first turn.lpm close --when-donewith no tab closes your own when your turn ends. A tab waiting to close stays open if the turn ends in an error or is interrupted, or if the user comes to look at it. A pinned tab is always refused, and so is your own without--when-done. No such tab, or several with that name, is exit2and lists the ones open. Close only a tab you opened, or one the user asks for; don't use--forceunless they ask.lpm when-done <tab> [-p proj] [--json] <prompt…>— have lpm send you<prompt>once another tab's agent finishes its turn, then end your turn: lpm keeps it in your tab's Send later and types it in when that turn ends and you're ready, so don't wait or poll for it.<tab>is its id, aslpm statusprints it (found in any project), or its name in the tab strip. A prompt can name another agent as"NAME" (AGENT agent in lpm tab ID: …)(lpm's @ menu inserts these); "when it finishes" meanslpm when-done ID "<what to do then>". If that agent isn't working, nothing is queued and the reply says to go ahead now. A turn that ends in an error holds the prompt for the user. Only from a terminal in lpm; not your own tab, not a tab without an agent (exit1); no such tab, or several with that name, is exit2and lists the ones open.lpm skills list [-p proj] [--global] [--json]— the prompts saved as/nameskills, run by typing/namein an agent's input. They are Agent Skills in.agents/skills, so agents read them outside lpm too. Lists only skills made in lpm: the project's and the global ones with each one's folder, description and the values it asks for.--jsonalso gives each list'sothers: skills not made in lpm, with the agents that read them, their folder,shared(a global one synced to the user's other computers) andlinked(read through a link to a folder elsewhere, such as a clone, so it can't be converted). lpm doesn't change their text; in the app they can be filed in folders or converted to lpm skills. Outside a project, the global list only.lpm skills show <name> [-p proj] [--global] [--json]— print a skill's prompt, the project's own before a global one of the same name.lpm skills add <name> (--prompt TEXT | --file PATH | --stdin) [--description TEXT] [--folder NAME] [--keep-out-of-git] [-p proj] [--global] [--json]— save one in the project's list, kept in git, or with--globalin the list every project shares.--keep-out-of-gitkeeps a project skill out of the repo: it stays in the project folder, is never committed, and syncs to connected computers that hold the same repository.--folder Parent/Childkeeps it in a folder inside another. Names are lowercase letters, numbers and single hyphens, and a name a skill not made in lpm already holds is refused. In a prompt{{name}}asks for a value (the last one takes the rest of the arguments),{{branch}},{{project}}and{{dir}}fill themselves in ({{dir}}is the skill's own folder, so a prompt can point at files kept beside itsSKILL.md; a global skill has no{{dir}}in an SSH project), and$ARGUMENTStakes every argument. Single-quote--promptor use--stdin, so the shell leaves$ARGUMENTSalone.lpm skills edit <name> [--prompt TEXT | --file PATH | --stdin] [--description TEXT] [--folder NAME] [--rename NEW] [--to project|global] [--keep-out-of-git | --in-git] [-p proj] [--global] [--json]— change only what is given. An empty--descriptionor--folderclears it;--tomoves the skill to the other list. Pass--globalto find it in the global list.--keep-out-of-giton a committed skill stages its removal for the user to commit: the file stays, past commits keep a copy, and computers that aren't connected lose it when they pull, so say so first.--in-gitlets Git see it again.lpm skills list --jsonreportskeptOutOfGitandtrackedfor each skill.lpm skills share <name> [--off] [--json]— share a global skill not made in lpm (installed bynpx skills add, linked in from a clone, or written by hand) with the user's other computers, or stop with--off. The choice is kept in lpm's own list, so an update that replaces the skill's folder keeps it shared; config sync carries its files, and a linked skill's files go out as a plain folder while the clone is never written to. Stopping leaves every computer's copy.lpm skills updates [--check] [--json]— where each global skill not made in lpm came from (skills.sh and its repository, or a git clone's folder) and whether its source has a newer version. The app asks the sources at most once an hour;--checkasks now. Only skills installed from GitHub can be checked among skills.sh's.lpm skills update <name>... | --all [--json]— get the newest version from the source:npx skills update <name> -gfor a skills.sh skill (needs Node 22 or later),git pull --ff-onlyin the clone for a linked one (which updates every skill from that clone). A clone with changes of its own is left as it was. Exits 1 when any skill wasn't updated, after naming why. The new files reach the user's other computers by config sync when the skill is shared. Run it only when the user asks.lpm skills rm <name> [-p proj] [--global] [--json]— delete one. Without--globalit looks only in the project's list. Delete only when the user asks.add,edit,rm,shareandupdaterefuse inside an automation run, since the next person to use the skill would send what the run wrote;list,showandupdateswork.- A project's duplicates and Git worktrees share its skills. A skill Git doesn't hold in a copy lives in the original project and is linked in, so
add,editandrmfrom any copy change it for all of them, a new one lands in the original, and removing a copy keeps its skills. Commit a new skill from the original. A skill Git holds in a copy stays at that branch's version until the change is merged or pulled. lpm set-status <key> <value>/lpm clear-status <key>— report an agent's status to the app UI. For the status a person sets on a project, uselpm work-status.lpm rename <name> [-p proj] [--json]/lpm rename --clear— rename a project or duplicate as lpm shows it, such asapp-sentry-7802475599-UAI-5401once a duplicate has a ticket. Its folder and its project id stay as they are, so keep using the id with-p. Two projects can't share a name.lpm about ["TEXT" | -] [-p proj] [--json]/lpm about --clear— set a project's About: a few lines on what it's for, with the links to its ticket or thread (the app shows each link's site icon beside the name). It's Markdown, and a link written[name](url)is listed by that name.-reads it from stdin; no text prints the current About and its links. Set it when you learn what a copy is for, such as the Jira or Slack link behind the task.lpm work-status <status> [--note TEXT] [--emoji E] [-p proj] [--json]/lpm work-status --clear— set the status a project or duplicate shows in the sidebar, as its Status menu does.<status>isin-progress,blocked,done,review,ready,waiting,needs-decision,paused, any status the user added, or a new name (give it an--emoji).--noteis the line under the project's name, such as a ticket or a pull request.- With no
-p, both change the current project; in an automation run that means the copy the run works in, never the original. Use them only when the user or the automation's prompt asks for it. lpm refresh-label [action] [-p proj]— rerun the$(…)commands in an action's labels and emoji (with its menu items' and options') now and redraw labels built from git; no action refreshes every label in the project. Use it after changing what a dynamic label shows, such as at the end of a release script.lpm update --check [--json]— installed and available lpm versions, an install waiting to start, and whether services still run on an older lpm (services.current: false).lpm update [--stable]installs the newest release (--stable: back from a Beta build to the latest stable one) once no agent is mid-turn and no background action runs — including you, so inside an lpm terminal it installs after your turn ends; it returns at once withstate: "scheduled". Never pass--nowfrom an lpm terminal: installing restarts lpm, which closes every terminal (agents reopen in their conversations, services keep running).lpm update --cancelcalls off a waiting install. Services stay on the lpm they started on through an update;lpm update --restart-servicesstops and starts them all on the current one — only when the user asks, since every dev server restarts. Update only when the user asks.lpm auto-pull [project] [--set on|off|default]/lpm auto-pull --all— whether the app fast-forwards a project from origin by itself, and why.--setchanges the project's ownautoPullkey through the running app, likestart/stop;defaultremoves it, so a duplicate or worktree follows its parent, else the Settings mode (Off / Chosen / All, changed only in the app). Change it only when the user asks.lpm awake [agents|on|off|TIME|HH:MM|+TIME] [--then TIME] [--json]— keep this machine from sleeping, as the app's Keep awake menu does:agentswhile any agent on it is working or waiting for an answer, then for a while after the last one finishes (--then 10m; 5 min by default); a time such as45m,2hor1h30m; a time of day such as18:00(tomorrow once it has passed today);+1hadds an hour to the time left (a set time, or the countdown after agents);onuntiloff. No argument says what is on now. Use it when the user asks, or before a long job they leave running unattended (lpm awake 2h), for no longer than the job needs. Closing a laptop's lid still puts it to sleep.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed · +1 lines 8324f5f30645
- 3d ago Changed · +4 lines 939241fedcba
- 5d ago Changed 043c5e772f11
- 7d ago Changed 28bc6bd3e337
- 10d ago Changed · +3 lines 81abf2a6b296
- 11d ago Changed 68fb8796df78
- 13d ago Changed 8791d3b02a73
- 14d ago Changed · +1 lines · +7 tokens per session 9283d4fa8866
- 17d ago Changed · +1 lines 2cc49c313352
- 24d ago First seen · 114 lines · 132 tokens per session scan A e9a918bd058a
lpm-cli is a skill published in the GitHub repository gug007/lpm (149 stars, last pushed yesterday), licensed MIT. It adds 139 tokens to every session and 7,721 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
lpm-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lpm-cligug007/lpm | Skill | 149 | yesterday | MIT | A | 139 | Claude Code, Codex |
| groom-readyagent-of-empires/agent-of-empires | Skill | 5.3k | today | MIT | A | 117 | Claude Code, Codex |
| aoe-sandbox-boundaryagent-of-empires/agent-of-empires | Skill | 5.3k | today | MIT | A | 85 | Claude Code, Codex |
| aoe-test-evidenceagent-of-empires/agent-of-empires | Skill | 5.3k | today | MIT | A | 75 | Claude Code, Codex |
| build-teaql-appteaql/teaql-agent-kit | Skill | 2.8k | 25d ago | MIT | A | 112 | Codex |
| context-exclusionteaql/teaql-agent-kit | Skill | 2.8k | 25d ago | MIT | A | 41 | Claude Code |
| eval-agentsFlorianBruniaux/claude-code-ultimate-guide | Skill | 7.6k | 3d ago | CC-BY-SA-4.0 | A | 80 | Claude Code |