common-fixes

common-fixes is a cursor rule for Cursor from alkoleft/mcp-bsl-platform-context. It costs 0 tokens per session (825 once invoked), scanned B, a copy of common-fixes, MIT.

A reference list of common fixes for problems found during VAN QA, a software-project validation process.

In plain words
What is it for?
It helps address missing Node.js packages, outdated npm, invalid JSON, React setup issues, TypeScript settings, and version mismatches.
Why use it?
It gives a direct response to typical dependency, configuration, and environment errors instead of leaving each problem open-ended.

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/alkoleft/mcp-bsl-platform-context/common-fixes
Clone the repo
git clone --depth 1 https://github.com/alkoleft/mcp-bsl-platform-context

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 common-fixes

README.md
[![agentmods](https://agentmods.dev/badge/rules/alkoleft/mcp-bsl-platform-context/common-fixes.svg)](https://agentmods.dev/rules/alkoleft/mcp-bsl-platform-context/common-fixes)
Your own site
<a href="https://agentmods.dev/rules/alkoleft/mcp-bsl-platform-context/common-fixes"><img src="https://agentmods.dev/badge/rules/alkoleft/mcp-bsl-platform-context/common-fixes.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 825 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00000 $0.00825
Opus 5 $0.00000 $0.00413
Sonnet 5 $0.00000 $0.00165
Haiku 4.5 $0.00000 $0.00082

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

Security

Grade B, and why

common-fixes 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 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.

Asks for rootmediumPrivilege escalation

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

| **Permission denied** | Run terminal as administrator (Windows) or use sudo (Mac/Linux) |
Origin

This is a copy

100% identical to common-fixes — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-utils/common-fixes.mdc · 92 lines

How it starts

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

VAN QA: COMMON VALIDATION FIXES

TL;DR: This component provides common fixes for issues that may arise during the QA validation process.

🧪 COMMON QA VALIDATION FIXES BY CATEGORY

Dependency Issues

Issue Fix
Missing Node.js Download and install Node.js from https://nodejs.org/
Outdated npm Run npm install -g npm@latest to update
Missing packages Run npm install or npm install [package-name]
Package version conflicts Adjust versions in package.json and run npm install
Dependency resolution issues Run npm cache clean -f and try installing again

Configuration Issues

Issue Fix
Invalid JSON Use a JSON validator (e.g., jsonlint) to check syntax
Missing React plugin Add import react from '@vitejs/plugin-react' and plugins: [react()] to vite.config.js
Incompatible TypeScript config Update tsconfig.json with correct React settings
Mismatched version references Ensure consistent versions across configuration files
Missing entries in config files Add required fields to configuration files

Environment Issues

Issue Fix
Permission denied Run terminal as administrator (Windows) or use sudo (Mac/Linux)
Port already in use Kill process using the port: netstat -ano | findstr :PORT then taskkill /F /PID PID (Windows) or lsof -i :PORT then kill -9 PID (Mac/Linux)
Missing build tools Install required command-line tools (git, node, etc.)
Environment variable issues Set required environment variables: $env:VAR_NAME = "value" (PowerShell) or export VAR_NAME="value" (Bash)
Disk space issues Free up disk space, clean npm/package cache files

Build Test Issues

Issue Fix
Build fails Check console for specific error messages
Test fails Verify minimal configuration is correct
Path issues Ensure paths use correct separators for the platform (\ for Windows, / for Mac/Linux)
Missing dependencies Make sure all required dependencies are installed
Script permissions Ensure script files have execution permissions (chmod +x on Unix)

Read the full file on GitHub · 92 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. 4d ago First seen · 92 lines · 0 tokens per session scan B 3e50ad19bce6

Subscribe to this mod's changes

common-fixes is a cursor rule published in the GitHub repository alkoleft/mcp-bsl-platform-context (191 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 825 tokens. A static security scan graded it B with 1 finding (asks for root). It is 100% identical to common-fixes, differing in 0 lines, and is treated as a copy.