beefreeSDK

beefreeSDK is a cursor rule for Cursor from PatrickJS/awesome-cursorrules. It costs 3,982 tokens per session, scanned B, a copy of beefreeSDK-nocode-content-editor-cursorrules-prompt-file, CC0-1.0.

A set of coding guidelines for Beefree SDK, a software development kit for building and managing email editor applications and templates.

In plain words
What is it for?
Use it when adding Beefree SDK to a JavaScript application, setting up its dependencies and environment variables, configuring authentication, or managing templates.
Why use it?
It helps developers install and configure the SDK while keeping authentication credentials on a proxy server instead of exposing them in the client.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when adding Beefree SDK to a JavaScript application, setting up its dependencies and environment variables, configuring authentication, or managing templates.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/patrickjs/awesome-cursorrules/beefreesdk
About the project

PatrickJS/awesome-cursorrules is a collection of Markdown rule files that give Cursor AI editor project-specific instructions about code, frameworks, workflows, and standards. Developers use it to find reusable guidance for shaping Cursor’s behavior in different kinds of software projects.

PatrickJS/awesome-cursorrules · 40,914 stars · on GitHub

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/PatrickJS/awesome-cursorrules

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 beefreeSDK

README.md
[![agentmods](https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/beefreesdk/github.svg)](https://agentmods.dev/rules/patrickjs/awesome-cursorrules/beefreesdk)
Your own site
<a href="https://agentmods.dev/rules/patrickjs/awesome-cursorrules/beefreesdk"><img src="https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/beefreesdk/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 beefreeSDK

Your own site · 80×15
<a href="https://agentmods.dev/rules/patrickjs/awesome-cursorrules/beefreesdk"><img src="https://agentmods.dev/badge/rules/patrickjs/awesome-cursorrules/beefreesdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,982 This file is loaded in full into every session.
When invoked 3,982 The same file — it is already loaded in full.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% 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.03982 $0.03982
Opus 5.5 $0.01593 $0.01593
Sonnet 5.5 $0.00796 $0.00796
Haiku 4.5 $0.00398 $0.00398

Measured 1mo ago against content hash 36104de1c129, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

beefreeSDK scanned grade B with 2 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 1mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const token = await fetch('http://localhost:3001/proxy/bee-auth', { method: 'POST',

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await axios.post(
Origin

This is a copy

98% identical to beefreeSDK-nocode-content-editor-cursorrules-prompt-file — 10 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.

rules/beefreeSDK.mdc · 555 lines

How it starts

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

Beefree SDK Guidelines

Guidelines and best practices for building applications with Beefree SDK, including installation, authentication, configuration, customization, and template management.

Installation Guidelines

Package Installation

  • Install the Beefree SDK package using npm or yarn:
    npm install @beefree.io/sdk
    # or
    yarn add @beefree.io/sdk
    

Dependencies

  • Beefree SDK requires the following core dependencies:
    {
      "dependencies": {
        "@beefree.io/sdk": "^9.0.2-fix-optional-url-config.0",
        "axios": "^1.10.0",
        "express": "^5.1.0",
        "cors": "^2.8.5",
        "dotenv": "^17.2.0"
      }
    }
    

Environment Setup

  • Create a .env file in your project root with your Beefree credentials:
    BEE_CLIENT_ID=your_client_id_here
    BEE_CLIENT_SECRET=your_client_secret_here
    

Authentication Guidelines

Proxy Server Setup

  • ALWAYS use a proxy server for authentication to protect your credentials
  • Create a proxy server file (e.g., proxy-server.js) to handle authentication:
    import express from 'express';
    import cors from 'cors';
    import axios from 'axios';
    import dotenv from 'dotenv';
    
    dotenv.config();
    
    const app = express();
    const PORT = 3001;
    
    app.use(cors());
    app.use(express.json());
    
    const BEE_CLIENT_ID = process.env.BEE_CLIENT_ID;
    const BEE_CLIENT_SECRET = process.env.BEE_CLIENT_SECRET;
    
    // V2 Auth Endpoint
    app.post('/proxy/bee-auth', async (req, res) => {
      try {
        const { uid } = req.body;
        
        const response = await axios.post(
          'https://auth.getbee.io/loginV2',
          {
            client_id: BEE_CLIENT_ID,
            client_secret: BEE_CLIENT_SECRET,
            uid: uid || 'demo-user'
          },
          { headers: { 'Content-Type': 'application/json' } }
        );
        
        res.json(response.data);
      } catch (error) {
        console.error('Auth error:', error.message);
        res.status(500).json({ error: 'Failed to authenticate' });
      }
    });
    
    app.listen(PORT, () => {
      console.log(`Proxy server running on http://localhost:${PORT}`);
    });
    

Read the full file on GitHub · 555 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. 1mo ago First seen · 555 lines · 0 tokens per session scan B 36104de1c129

Subscribe to this mod's changes

beefreeSDK is a cursor rule published in the GitHub repository PatrickJS/awesome-cursorrules (40,914 stars, last pushed 4mo ago), licensed CC0-1.0. It adds 3,982 tokens to every session, about $0.0159 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). It is 98% identical to beefreeSDK-nocode-content-editor-cursorrules-prompt-file, differing in 10 lines, and is treated as a copy.