lpm AGENTS.md

A project guide for lpm, a macOS app and command-line tool that manages local development projects and runs AI coding agents beside their services.

In plain words
What is it for?
Use it when changing lpm's desktop app, Rust command-line tool, iOS companion, or website, especially when adding files or platform-specific code.
Why use it?
It keeps contributors aligned on the project's layout, coding rules, platform boundaries, and versioning requirements.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/gug007/lpm/agents-md
Clone the repo
git clone --depth 1 https://github.com/gug007/lpm

Made for: Codex, OpenCode.

Per session 413 This file is loaded in full into every session.
When invoked 413 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00413 $0.00413
Opus 5 $0.00206 $0.00206
Sonnet 5 $0.00083 $0.00083
Haiku 4.5 $0.00041 $0.00041

Measured 2d ago against content hash 1f6fde5def6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lpm AGENTS.md 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.

AGENTS.md · 28 lines

What it actually says

Agent Guide — lpm

lpm starts, stops, duplicates, and switches between local dev projects, with a built-in terminal for running AI coding agents alongside services. macOS only.

Layout

  • desktop/frontend/ — Tauri 2 desktop app: React/TypeScript UI in src/, Rust backend in src-tauri/
  • cli/ — Rust CLI (lpm)
  • mobile/ — iOS companion app (SwiftUI); .xcodeproj is generated — run xcodegen generate after adding files
  • website/ — Next.js marketing site (lpm.cx)

Conventions

  • Clean code and best practices; no comments unless the reasoning isn't clear from the code itself
  • The desktop UI ships on macOS only — don't add Windows code paths. Linux is a supported host target (a headless server running the same binary, controlled from a Mac), so core modules must stay portable: gate platform calls with #[cfg(target_os = "macos")] and give non-macOS a working path or a clear error, never an unconditional scutil/lsof/pbcopy/Keychain call
  • One React component per file
  • Keep files focused: don't grow a file past ~400 lines — put new features in their own module
  • Bump version in cli/Cargo.toml on any cli/ change — patch for fixes, minor for new commands/flags — so stale installed binaries stay detectable via lpm --version
  • Never commit or push any changes

Analytics

Changes

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.

  1. 2d ago First seen · 28 lines · 413 tokens per session scan A 1f6fde5def6a

Subscribe to this mod's changes

lpm AGENTS.md is an instructions file published in the GitHub repository gug007/lpm (156 stars, last pushed 4d ago), licensed MIT. It adds 413 tokens to every session, about $0.0021 per session on Opus 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.