OpenLMlib: Command for GitHub Copilot

.github/prompts/plan-lmlib.prompt.md

plan-lmlib is a command for GitHub Copilot from Vedant9500/OpenLMlib. It costs 0 tokens per session (8,070 once invoked), scanned A, original, MIT.

A plan for a local knowledge library that stores research findings, solutions, and design decisions in files and SQLite, a small database that runs on your computer. It includes ordinary text search and meaning-based search so AI models can retrieve earlier work across projects.

In plain words
What is it for?
Use it to plan a shared research and decision store, searchable by exact words or by related meaning, with checks for retrieval quality.
Why use it?
It addresses the problem of useful research and decisions being scattered across projects or lost between sessions.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

This is Vedant9500/OpenLMlib's own configuration. It tells GitHub Copilot how to work on OpenLMlib itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenLMlib configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Vedant9500/OpenLMlib. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Vedant9500/OpenLMlib/master/.github/prompts/plan-lmlib.prompt.md
Clone the repo
git clone --depth 1 https://github.com/Vedant9500/OpenLMlib

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for plan-lmlib

README.md
[![agentmods](https://agentmods.dev/badge/commands/vedant9500/openlmlib/plan-lmlib/github.svg)](https://agentmods.dev/commands/vedant9500/openlmlib/plan-lmlib)
Your own site
<a href="https://agentmods.dev/commands/vedant9500/openlmlib/plan-lmlib"><img src="https://agentmods.dev/badge/commands/vedant9500/openlmlib/plan-lmlib/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.

agentmods 80×15 button for plan-lmlib

Your own site · 80×15
<a href="https://agentmods.dev/commands/vedant9500/openlmlib/plan-lmlib"><img src="https://agentmods.dev/badge/commands/vedant9500/openlmlib/plan-lmlib.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,070 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.08070
Opus 5 $0.00000 $0.04035
Sonnet 5 $0.00000 $0.01614
Haiku 4.5 $0.00000 $0.00807

Measured yesterday against content hash 407edcb3fd6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-13, from the pricing page.

Security

Grade A, and why

plan-lmlib 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 yesterday.

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.

.github/prompts/plan-lmlib.prompt.md · 584 lines

How it starts

The opening of the file, as written. The whole thing — 584 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plan: LMlib — Cross-Project Knowledge & Research Library for LLMs

TL;DR

Build a local, filesystem-based knowledge library where AI models can store and retrieve research findings, solutions, and design decisions across projects. Start with a simple schema + SQLite + semantic search, then progressively add retrieval ranking, quality gates, and multi-index search. Integration with Glassbox as first proof-of-concept.

Research Recheck (Mar 2026)


Storage Architecture & Format Decision (Evidence-Based)

Read the full file on GitHub · 584 lines

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. yesterday First seen · 584 lines · 0 tokens per session scan A 407edcb3fd6b

Subscribe to this mod's changes

plan-lmlib is a command published in the GitHub repository Vedant9500/OpenLMlib (2 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 8,070 tokens. 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-09-11.