pre-install-check

pre-install-check is a cursor rule for Cursor from FrigateCaptain/ElucidatingYourLLM. It costs 358 tokens per session, scanned A, original, MIT.

A pre-installation rule that checks whether software is compatible with the system before installation.

In plain words
What is it for?
It is for running a compatibility check whenever software or packages are being installed.
Why use it?
It helps catch compatibility problems before an application or package is installed.

Cursor rule for Cursor

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 rules/frigatecaptain/elucidatingyourllm/pre-install-check
Clone the repo
git clone --depth 1 https://github.com/FrigateCaptain/ElucidatingYourLLM

Made for: Cursor.

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 pre-install-check

README.md
[![agentmods](https://agentmods.dev/badge/rules/frigatecaptain/elucidatingyourllm/pre-install-check.svg)](https://agentmods.dev/rules/frigatecaptain/elucidatingyourllm/pre-install-check)
Your own site
<a href="https://agentmods.dev/rules/frigatecaptain/elucidatingyourllm/pre-install-check"><img src="https://agentmods.dev/badge/rules/frigatecaptain/elucidatingyourllm/pre-install-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 358 This file is loaded in full into every session.
When invoked 358 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.00358 $0.00358
Opus 5 $0.00179 $0.00179
Sonnet 5 $0.00072 $0.00072
Haiku 4.5 $0.00036 $0.00036

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

Security

Grade A, and why

pre-install-check 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 4d 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.

cursor/en/.cursor/rules/pre-install-check.mdc · 37 lines

What it actually says

Pre-Installation Compatibility Check [MANDATORY]

Before installing any application or package — verify compatibility with the target system.

When installing new software (via a package manager, downloading binaries, snap, flatpak, or manual installation):

  1. Determine application requirements:

    • Minimum OS version
    • Required libraries and their versions (GLIBC, libstdc++, etc.)
    • CPU architecture (x86_64, ARM, etc.)
    • Dependencies (runtime, frameworks)
  2. Determine target system parameters:

    • OS version: lsb_release -a or cat /etc/os-release
    • GLIBC version: ldd --version | head -1
    • Architecture: uname -m
    • Other dependencies as needed
  3. Compare and decide:

    • If requirements are compatible → proceed with installation
    • If incompatiblestop, inform the user of the conflict, and suggest alternatives:
      • An older / compatible application version
      • Installation via a container (Docker, Flatpak, AppImage)
      • System upgrade (if acceptable)
  4. Sources for requirement information:

    • Application release page (GitHub Releases, changelog)
    • Official documentation
    • If no explicit information — search the web: "[app name] [version] system requirements linux"

Reason: Installing incompatible software causes errors (e.g. GLIBC_2.36 not found), wastes time on diagnosis, and may require removal.

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. 4d ago First seen · 37 lines · 358 tokens per session scan A c52033d10f80

Subscribe to this mod's changes

pre-install-check is a cursor rule published in the GitHub repository FrigateCaptain/ElucidatingYourLLM (14 stars, last pushed today), licensed MIT. It adds 358 tokens to every session, about $0.0018 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.