better-auth-polar

better-auth-polar is a cursor rule for Cursor from Omed0/convex-selfhost-starterkit. It costs 0 tokens per session (4,945 once invoked), scanned A, original, no licence file.

A Better Auth plugin that connects user authentication with Polar payments and subscriptions. Better Auth is a system for handling sign-in and user accounts, while Polar provides payment and subscription services.

In plain words
What is it for?
Use it in an application that uses Better Auth and needs to integrate Polar payments or subscriptions.
Why use it?
It helps keep account access and paid-plan handling within the authentication flow.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it in an application that uses Better Auth and needs to integrate Polar payments or subscriptions.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/omed0/convex-selfhost-starterkit/better-auth-polar
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/Omed0/convex-selfhost-starterkit

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 better-auth-polar

README.md
[![agentmods](https://agentmods.dev/badge/rules/omed0/convex-selfhost-starterkit/better-auth-polar.svg)](https://agentmods.dev/rules/omed0/convex-selfhost-starterkit/better-auth-polar)
Your own site
<a href="https://agentmods.dev/rules/omed0/convex-selfhost-starterkit/better-auth-polar"><img src="https://agentmods.dev/badge/rules/omed0/convex-selfhost-starterkit/better-auth-polar.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 4,945 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 unknown 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.1 $0.00000 $0.04945
Opus 5 $0.00000 $0.02472
Sonnet 5 $0.00000 $0.00989
Haiku 4.5 $0.00000 $0.00494

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

Security

Grade A, and why

better-auth-polar 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 7d 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/rules/better-auth-polar.mdc · 562 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 7d ago First seen · 562 lines · 0 tokens per session scan A 5acde30d02f2

Subscribe to this mod's changes

better-auth-polar is a cursor rule published in the GitHub repository Omed0/convex-selfhost-starterkit (2 stars, last pushed 10mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 4,945 tokens. 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-31.

Related

Other cursor rules, from other repositories

cursor

You are working on the checkout service. Preserve transaction integrity and auditability.

mrwogu/promptscript · 53 tokens

paddle-integration

Conventions for Paddle integration code.

PaddleHQ/paddle-agent-skills · 380 tokens

vtex-io-vtex-io-storefront-theme-app

Apply when designing or modifying a VTEX IO storefront theme app — the app that owns store/blocks.json, store/routes.json, store/templates/, store/contentSchemas.json, and the storefront page tree assembled from store.home, store.product, store.search, store.custom, and other native page templates. Covers how a theme…

vtex/skills · 3,594 tokens

faststore-faststore-storefront-ref-project-structure-routes-and-config

FastStore project structure, routes, CLI build pipeline, store configuration (discovery.config.js), and naming conventions. Use when understanding how a FastStore project is organized, how the @faststore/cli works, what files to create or modify, how routing works, or how to configure store settings like SEO, API…

vtex/skills · 70 tokens

faststore-faststore-storefront-ref-graphql-types-queries-and-mutations

Complete FastStore GraphQL BFF API reference including all built-in root queries, root mutations, and type definitions. Use when querying product, collection, search, cart, session, shipping, or user order data, when extending existing types with new fields, or when looking up available fields on types like…

vtex/skills · 78 tokens

medusa

Medusa rules and best practices. These rules should be used when building applications with Medusa.

XD3an/awesome-ai-coding-all-in-one · 449 tokens