advanced-slide-techniques

advanced-slide-techniques is a cursor rule for Cursor from SwonVIP/mcp-server-talk. It costs 1,103 tokens per session, scanned A, original, MIT.

A guide to building Reveal.js slides, where each slide is an HTML section. It covers backgrounds, transitions, animation, and other presentation effects.

In plain words
What is it for?
Use it to create slides with colour, image, video, or gradient backgrounds, add transitions, and animate matching elements between slides.
Why use it?
It removes the need to remember the HTML attributes used for common slide effects. The examples show how to add visual changes directly to slides.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/swonvip/mcp-server-talk/advanced-slide-techniques
Clone the repo
git clone --depth 1 https://github.com/SwonVIP/mcp-server-talk

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 advanced-slide-techniques

README.md
[![agentmods](https://agentmods.dev/badge/rules/swonvip/mcp-server-talk/advanced-slide-techniques.svg)](https://agentmods.dev/rules/swonvip/mcp-server-talk/advanced-slide-techniques)
Your own site
<a href="https://agentmods.dev/rules/swonvip/mcp-server-talk/advanced-slide-techniques"><img src="https://agentmods.dev/badge/rules/swonvip/mcp-server-talk/advanced-slide-techniques.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,103 This file is loaded in full into every session.
When invoked 1,103 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01103 $0.01103
Opus 5 $0.00551 $0.00551
Sonnet 5 $0.00221 $0.00221
Haiku 4.5 $0.00110 $0.00110

Measured 4d ago against content hash 06e85d4d54d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

advanced-slide-techniques 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 4d 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/advanced-slide-techniques.mdc · 191 lines

How it starts

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

Advanced reveal.js Slide Techniques

Basic Slide Structure

  • Each slide is contained in a <section> element
  • Vertical slides are nested <section> elements
  • Use data attributes to control slide behavior

Advanced Visual Effects

1. Background Transitions

<section data-background-transition="zoom">
  <h2>Background Transition</h2>
</section>

2. Custom Backgrounds

<!-- Color background -->
<section data-background="#4d7e65">
  <h2>Color Background</h2>
</section>

<!-- Image background -->
<section data-background="image.jpg">
  <h2>Image Background</h2>
</section>

<!-- Video background -->
<section data-background-video="video.mp4,video.webm">
  <h2>Video Background</h2>
</section>

<!-- Gradient background -->
<section data-background="linear-gradient(to bottom, #283b95, #17b2c3)">
  <h2>Gradient Background</h2>
</section>

3. Auto-Animate

Add data-auto-animate to two consecutive slides with matching elements:

<section data-auto-animate>
  <h2 style="margin-top: 100px; font-size: 1.5em;">Auto Animate</h2>
</section>
<section data-auto-animate>
  <h2 style="margin-top: 200px; font-size: 3em;">Auto Animate</h2>
</section>

4. Advanced Fragments

<!-- Appear in sequence -->
<p class="fragment">Appears first</p>
<p class="fragment">Appears second</p>

<!-- Different animations -->
<p class="fragment fade-in">Fade in</p>
<p class="fragment fade-up">Fade up</p>
<p class="fragment fade-down">Fade down</p>
<p class="fragment fade-left">Fade left</p>
<p class="fragment fade-right">Fade right</p>
<p class="fragment zoom-in">Zoom in</p>
<p class="fragment highlight-red">Highlight red</p>
<p class="fragment highlight-blue">Highlight blue</p>
<p class="fragment highlight-green">Highlight green</p>

<!-- Custom order -->
<p class="fragment" data-fragment-index="3">Third</p>
<p class="fragment" data-fragment-index="1">First</p>
<p class="fragment" data-fragment-index="2">Second</p>

Read the full file on GitHub · 191 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. 4d ago First seen · 191 lines · 1,103 tokens per session scan A 06e85d4d54d8

Subscribe to this mod's changes

advanced-slide-techniques is a cursor rule published in the GitHub repository SwonVIP/mcp-server-talk (0 stars, last pushed 1y ago), licensed MIT. It adds 1,103 tokens to every session, about $0.0055 per session on Opus 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.