github-readme

github-readme is a cursor rule for Cursor from thatrebeccarae/claude-marketing. It costs 59 tokens per session (2,829 once invoked), scanned A, original, MIT.

A tool for creating, checking, or updating the README file in a GitHub repository. A README is the main document that explains what a code project does and how to use it.

In plain words
What is it for?
Use it to write a README for a new repository, audit an existing one, or update it after the project’s files, dependencies, or features change.
Why use it?
It helps keep project documentation clear and useful as the code changes. It can also check an existing README for quality, discoverability, and security issues.

Cursor rule for Cursor

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

Good fit Use it to write a README for a new repository, audit an existing one, or update it after the project’s files, dependencies, or features change.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/thatrebeccarae/claude-marketing/github-readme
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/thatrebeccarae/claude-marketing

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 github-readme

README.md
[![agentmods](https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/github-readme/github.svg)](https://agentmods.dev/rules/thatrebeccarae/claude-marketing/github-readme)
Your own site
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/github-readme"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/github-readme/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 github-readme

Your own site · 80×15
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/github-readme"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/github-readme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,829 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 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.1 $0.00059 $0.02829
Opus 5.5 $0.00024 $0.01132
Sonnet 5.5 $0.00012 $0.00566
Haiku 4.5 $0.00006 $0.00283

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

Security

Grade A, and why

github-readme 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 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.

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.

integrations/cursor/github-readme.mdc · 262 lines

How it starts

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

GitHub README Generator

Generate, audit, or update repository READMEs with project-type detection, voice calibration, discoverability guidance, and scored quality audits.

When to Use

  • Starting a new public repo and need a solid README from scratch
  • Auditing an existing README for quality, discoverability, and security issues
  • Updating a README after the repo has evolved (new deps, features, structure)
  • Preparing a repo for public release and want discoverability optimized

Modes

/github:readme generate [repo-path]   # Scan repo, detect type, generate README
/github:readme audit [repo-path]      # Score existing README (read-only, 0-100)
/github:readme update [repo-path]     # Re-scan, silent audit, patch with approval

Default repo-path is the current working directory if omitted.

Step 0: Parse and Validate

Expect: /github:readme {mode} [repo-path]

  1. Extract mode — generate, audit, or update. Any other value or missing → error with usage hint. STOP.
  2. Extract repo-path — second argument, or current working directory if omitted.
  3. Validate — confirm path exists, is a directory, and contains .git. If not → error. STOP.

Store repo_path (absolute) and mode.

Step 1: Scan the Repo

Gather context by reading available files. Skip gracefully if a file does not exist.

Package/config files (tech stack detection):

  • package.json — Node/TypeScript/React
  • Cargo.toml — Rust
  • pyproject.toml, setup.py, requirements.txt — Python
  • go.mod — Go
  • tsconfig.json — TypeScript confirmation
  • Dockerfile, docker-compose.yml — containerization
  • Makefile, justfile — build system
  • .github/workflows/ — CI/CD

Directory structure:

  • Run ls at repo root for top-level layout
  • Note: src/, bin/, lib/, scripts/, docs/, tests/, skills/, templates/, plugins/, .github/

Existing docs:

  • README.md, CONTRIBUTING.md, SECURITY.md, LICENSE, ARCHITECTURE.md, CHANGELOG.md, CODE_OF_CONDUCT.md, llms.txt

Read the full file on GitHub · 262 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 · 262 lines · 59 tokens per session scan A 18670deed99f

Subscribe to this mod's changes

github-readme is a cursor rule published in the GitHub repository thatrebeccarae/claude-marketing (180 stars, last pushed 5mo ago), licensed MIT. It adds 59 tokens to every session and 2,829 once invoked, about $0.0002 per session on Opus 5.5. 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-30.