markdown-organization

markdown-organization is a cursor rule for Cursor from Stramp/Lost-Mines-Phandelver. It costs 3,406 tokens per session, scanned A, original, MIT.

A set of rules for organizing Markdown documents with collapsible HTML sections such as details and summary.

In plain words
What is it for?
It guides the structure, nesting, indentation, styling, and headings of collapsible sections in Markdown files.
Why use it?
It keeps long technical documents, reports, guides, and analyses easier to scan without showing every section at once.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It guides the structure, nesting, indentation, styling, and headings of collapsible sections in Markdown files.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/stramp/lost-mines-phandelver/markdown-organization
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/Stramp/Lost-Mines-Phandelver

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 markdown-organization

README.md
[![agentmods](https://agentmods.dev/badge/rules/stramp/lost-mines-phandelver/markdown-organization/github.svg)](https://agentmods.dev/rules/stramp/lost-mines-phandelver/markdown-organization)
Your own site
<a href="https://agentmods.dev/rules/stramp/lost-mines-phandelver/markdown-organization"><img src="https://agentmods.dev/badge/rules/stramp/lost-mines-phandelver/markdown-organization/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 markdown-organization

Your own site · 80×15
<a href="https://agentmods.dev/rules/stramp/lost-mines-phandelver/markdown-organization"><img src="https://agentmods.dev/badge/rules/stramp/lost-mines-phandelver/markdown-organization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,406 This file is loaded in full into every session.
When invoked 3,406 The same file — it is already loaded in full.
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.03406 $0.03406
Opus 5.5 $0.01362 $0.01362
Sonnet 5.5 $0.00681 $0.00681
Haiku 4.5 $0.00341 $0.00341

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

Security

Grade A, and why

markdown-organization 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 3mo 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/markdown-organization.mdc · 471 lines

How it starts

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

Markdown Organization Rules

🎯 Objetivo

ALWAYS usar sistema de colapse (<details> e <summary>) para organizar arquivos Markdown, especialmente:

  • Relatórios longos
  • Documentação técnica
  • Análises de código
  • Guias e tutoriais
  • Arquivos com múltiplas seções

📋 Regras Obrigatórias

1. Sempre Usar Colapsos em Seções Principais

ALWAYS organizar seções principais com <details>:

<details>
<summary style="background-color: #e8e8e8; padding: 4px 8px; border-radius: 4px;"><b>Título Principal</b></summary>

> Descrição ou conteúdo principal aqui...
>
> Mais conteúdo se necessário...

</details>

Padrão de Estilo para Títulos:

  • Títulos principais: background-color: #e8e8e8; padding: 4px 8px; border-radius: 4px;
  • Sub-seções: background-color: #d8d8d8; padding: 3px 6px; border-radius: 3px;
  • Usar <b> para negrito nos títulos principais

2. Estrutura Hierárquica com Tabulação Visual

ALWAYS usar colapsos aninhados com blocos de citação (>) para criar hierarquia visual:

<details>
<summary style="background-color: #e8e8e8; padding: 4px 8px; border-radius: 4px;"><b>⚠️ Problemas Encontrados</b></summary>

> Descrição geral dos problemas...
>
> <details>
> <summary style="background-color: #d8d8d8; padding: 3px 6px; border-radius: 3px;">🔴 Crítico (Alta Prioridade)</summary>
>
> > Conteúdo de problemas críticos...
> >
> > - Item 1
> > - Item 2
>
> </details>
>
> <details>
> <summary style="background-color: #d8d8d8; padding: 3px 6px; border-radius: 3px;">🟡 Médio (Média Prioridade)</summary>
>
> > Conteúdo de problemas médios...
> >
> > - Item 1
> > - Item 2
>
> </details>

</details>

Hierarquia Visual:

  • Nível 1 (Principal): Fundo #e8e8e8 + Bloco de citação >
  • Nível 2 (Sub-seção): Fundo #d8d8d8 + Bloco de citação aninhado >>
  • Nível 3 (Itens): Dentro de >> para manter hierarquia

3. Emojis no Summary

ALWAYS usar emojis descritivos no <summary> para melhor visualização:

Read the full file on GitHub · 471 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. 3mo ago First seen · 471 lines · 3,406 tokens per session scan A a5495baaf3c0

Subscribe to this mod's changes

markdown-organization is a cursor rule published in the GitHub repository Stramp/Lost-Mines-Phandelver (2 stars, last pushed 12mo ago), licensed MIT. It adds 3,406 tokens to every session, about $0.0136 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-31.

Related

markdown-organization compared with cursor rules from other repositories

markdown-organization next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
markdown-organizationStramp/Lost-Mines-PhandelverCursor rule212mo agoMITA3,406Cursor
ponytailDietrichGebert/ponytailCursor rule203k10d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Codex, Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Codex, Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Codex, Cursor