command-examples

command-examples is a cursor rule for Cursor from savagelysubtle/BIG-BRAIN-Memory-Bank. It costs 21 tokens per session (1,242 once invoked), scanned A, a copy of command-examples, MIT.

A reference file containing examples of how to document shell commands, their results, failures, alternatives, and task updates.

In plain words
What is it for?
It helps record commands used during development, explain failures, and track the follow-up work.
Why use it?
It reduces unclear or incomplete command records by showing the expected format and level of detail.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It helps record commands used during development, explain failures, and track the follow-up work.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/savagelysubtle/big-brain-memory-bank/command-examples
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.

Clone the repo
git clone --depth 1 https://github.com/savagelysubtle/BIG-BRAIN-Memory-Bank

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 command-examples

README.md
[![agentmods](https://agentmods.dev/badge/rules/savagelysubtle/big-brain-memory-bank/command-examples/github.svg)](https://agentmods.dev/rules/savagelysubtle/big-brain-memory-bank/command-examples)
Your own site
<a href="https://agentmods.dev/rules/savagelysubtle/big-brain-memory-bank/command-examples"><img src="https://agentmods.dev/badge/rules/savagelysubtle/big-brain-memory-bank/command-examples/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 command-examples

Your own site · 80×15
<a href="https://agentmods.dev/rules/savagelysubtle/big-brain-memory-bank/command-examples"><img src="https://agentmods.dev/badge/rules/savagelysubtle/big-brain-memory-bank/command-examples.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,242 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 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.1 $0.00021 $0.01242
Opus 5 $0.00010 $0.00621
Sonnet 5 $0.00004 $0.00248
Haiku 4.5 $0.00002 $0.00124

Measured 6d ago against content hash f5654b1009b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

command-examples 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 6d 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.

Origin

This is a copy

100% identical to command-examples — 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.

inspiration/related-implementations/Vanzan-memory-bank/.cursor/rules/Extended Details/command-examples.mdc · 224 lines

How it starts

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

Command Documentation Examples

⚠️ CORRECT COMMAND DOCUMENTATION EXAMPLES ⚠️

Example 1: Basic Command Documentation

### Command: Create Component Directory
Purpose: Creating a directory for React components

```bash
mkdir src/components

Result: Successfully created components directory Next step: Create individual component files

🔄 TASK UPDATE: Create component directory structure - [X] Complete

  • Updated in tasks.md ✓

🔄 IMPLEMENTATION UPDATE:

  • Added to activeContext.md: Component directory structure created following React best practices

### Example 2: Failed Command With Alternative

Command: Install React Router Package

Purpose: Adding routing capability to the React application

npm install react-router

Result: FAILED Error message: npm ERR! 404 Not Found - GET https://registry.npmjs.org/react-router - Not found

Alternative Approach

npm install react-router-dom

Resolution: Successfully installed react-router-dom v6.8.1 Next step: Set up router configuration

🔄 TASK UPDATE: Install routing package - [X] Complete

  • Updated in tasks.md ✓

🔄 IMPLEMENTATION UPDATE:

  • Added to activeContext.md: Installed react-router-dom as the routing solution

### Example 3: Platform-Specific Command

Command: Create Empty Configuration File

Purpose: Creating a configuration file for the application

Platform considerations:

  • Windows: Using echo.> command
  • Mac/Linux: Using touch command
  • Current platform: Windows
echo.> config.json

Result: Successfully created empty config.json file Next step: Add default configuration settings

🔄 TASK UPDATE: Create configuration file - [X] Complete

  • Updated in tasks.md ✓

🔄 IMPLEMENTATION UPDATE:

  • Added to activeContext.md: Empty configuration file created, will be populated with environment-specific settings

### Example 4: Multiple Step Command Sequence

Command: Create Project Directory

Purpose: Creating the main project directory

mkdir todo-app

Result: Successfully created todo-app directory Next step: Navigate to project directory

Command: Navigate to Project Directory

Purpose: Moving into the project directory to initialize the application

cd todo-app

Result: Successfully navigated to todo-app directory Next step: Initialize npm project

Command: Initialize NPM Project

Purpose: Setting up package.json for the project

npm init -y

Result: Successfully created package.json with default values Next step: Install core dependencies

🔄 TASK UPDATE: Set up project structure - [X] Complete

  • Updated in tasks.md ✓

🔄 IMPLEMENTATION UPDATE:

  • Added to activeContext.md: Project initialized with directory structure and package.json

Read the full file on GitHub · 224 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. 6d ago First seen · 224 lines · 1,242 tokens per session scan A f5654b1009b5

Subscribe to this mod's changes

command-examples is a cursor rule published in the GitHub repository savagelysubtle/BIG-BRAIN-Memory-Bank (5 stars, last pushed 1y ago), licensed MIT. It adds 21 tokens to every session and 1,242 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to command-examples, differing in 0 lines, and is treated as a copy.