linux-dev

Platform rules for software development on a specific Linux system, covering its operating system, tools, compilers, build flags, and Conan profiles.

In plain words
What is it for?
They are for choosing Linux build settings, compiler defaults, OpenSSL options, environment variables, and Conan profiles.
Why use it?
They keep build advice aligned with the machine’s environment and reduce problems caused by using the wrong compiler or dependency profile.

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/sparesparrow/mcp-project-orchestrator/linux-dev
Clone the repo
git clone --depth 1 https://github.com/sparesparrow/mcp-project-orchestrator

Made for: Cursor.

Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 420 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00007 $0.00420
Opus 5 $0.00003 $0.00210
Sonnet 5 $0.00001 $0.00084
Haiku 4.5 $0.00001 $0.00042

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

Security

Grade B, and why

linux-dev scanned grade B with 1 finding 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 3d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo make install
mcp-project-orchestrator/openssl/examples/example-workspace/.cursor/rules/linux-dev.mdc · 64 lines

What it actually says

Linux Development Environment

Environment Context

  • OS: Linux 5.4.0-74-generic
  • Architecture: x86_64
  • Python: 3.11.0 (CPython)
  • User: developer
  • Home: /home/developer
  • Shell: /bin/bash

Build System Rules

Compiler Defaults

When building OpenSSL on Linux:

  • Default Compiler: GCC unless clang is explicitly requested
  • Shared Libraries: Use -fPIC for position-independent code
  • Optimization: Enable -O2 optimization for release builds
  • Debug Symbols: Include -g debug symbols for debug builds
  • Warnings: Use -Wall -Wextra -Werror for strict compilation

Conan Profile Selection

Prefer these profiles in order:

  1. linux-gcc-release for production builds
  2. linux-gcc-debug for development
  3. linux-clang-release for alternative compiler testing
  4. linux-clang-debug for clang development

Environment Variables

Check these environment variables before suggesting build commands:

  • CONAN_USER_HOME (default: /home/developer/.conan2)
  • OPENSSL_ROOT_DIR for custom OpenSSL installation
  • CC, CXX for compiler overrides
  • PKG_CONFIG_PATH for library discovery
  • LD_LIBRARY_PATH for runtime library loading

Build Commands

Standard Build Process
# Configure with GCC
./Configure linux-x86_64 --prefix=/usr/local

# Build with parallel jobs
make -j$(nproc)

# Run tests
make test

# Install (may require sudo)
sudo make install
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. 3d ago First seen · 64 lines · 7 tokens per session scan B a655d502515c

Subscribe to this mod's changes

linux-dev is a cursor rule published in the GitHub repository sparesparrow/mcp-project-orchestrator (17 stars, last pushed 2mo ago), licensed MIT. It adds 7 tokens to every session and 420 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.