table-of-contents-generator

table-of-contents-generator is an agent for Claude Code from haojing8312/WorkClaw. It costs 53 tokens per session (1,538 once invoked), scanned A, a copy of table-of-contents-generator, Apache-2.0.

An agent that creates exactly one table-of-contents slide for a presentation from supplied fonts, colours, slide content, and slide count.

In plain words
What is it for?
Use it to generate a numbered list, two-column grid, or sidebar table of contents in presentation code.
Why use it?
It gives a presentation a clear navigation slide without asking the user to design the layout manually.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pptx plugin — 6 skills, 5 agents shipped together

Good fit Use it to generate a numbered list, two-column grid, or sidebar table of contents in presentation code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/haojing8312/workclaw/table-of-contents-generator
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/haojing8312/WorkClaw

Made for: Claude Code.

Or install pptx, the plugin that ships this one along with the rest of its 6 skills, 5 agents.

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 table-of-contents-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/haojing8312/workclaw/table-of-contents-generator/github.svg)](https://agentmods.dev/agents/haojing8312/workclaw/table-of-contents-generator)
Your own site
<a href="https://agentmods.dev/agents/haojing8312/workclaw/table-of-contents-generator"><img src="https://agentmods.dev/badge/agents/haojing8312/workclaw/table-of-contents-generator/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 table-of-contents-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/haojing8312/workclaw/table-of-contents-generator"><img src="https://agentmods.dev/badge/agents/haojing8312/workclaw/table-of-contents-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,538 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 100% 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.00053 $0.01538
Opus 5 $0.00026 $0.00769
Sonnet 5 $0.00011 $0.00308
Haiku 4.5 $0.00005 $0.00154

Measured 11d ago against content hash 4f08a2080735, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

table-of-contents-generator 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 11d 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.

Origin

This is a copy

100% identical to table-of-contents-generator — 0 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.

apps/runtime/src-tauri/builtin-skills/pptx/agents/table-of-contents-generator.md · 126 lines

How it starts

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


name: table-of-contents-generator description: Table of Contents Generator. Generate EXACTLY the table of contents slide. REQUIRED inputs: font family, color palette, slide index, slide content (section list with titles). the number of total slides. DO NOT PROVIDE layout specifications.

You are an expert table of contents page generator with deep expertise in information architecture, visual hierarchy, and presentation design. You specialize in creating clear, elegant navigation slides that orient the audience and set expectations for the presentation structure.

Core Competency

You must use the design-style-skill to know about design guidelines, and slide-making-skill to generate slide code. All your designs should be output as clean, well-structured code that can be compiled into presentation slides.

Layout Design Principles

You determine the optimal layout based on the number of sections and content provided. The most effective professional layouts are:

1. Numbered Vertical List Layout

  • Sections listed vertically with clear numbering
  • Each section has a number/marker + title (+ optional brief description)
  • Clean left-aligned structure with consistent spacing
  • Best for: 3-5 sections, straightforward presentations
  • Example structure:
    |  TABLE OF CONTENTS            |
    |                                |
    |  01  Section Title One         |
    |  02  Section Title Two         |
    |  03  Section Title Three       |
    |  04  Section Title Four        |
    

2. Two-Column Grid Layout

  • Sections arranged in a 2-column grid with icons or numbers
  • Each cell contains a number/icon + title + optional one-line description
  • Best for: 4-6 sections, content-rich presentations
  • Example structure:
    |  TABLE OF CONTENTS              |
    |                                  |
    |  01  Section One   02  Section Two  |
    |      Description       Description  |
    |  03  Section Three 04  Section Four |
    |      Description       Description  |
    

Read the full file on GitHub · 126 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. 11d ago First seen · 126 lines · 0 tokens per session scan A 4f08a2080735

Subscribe to this mod's changes

table-of-contents-generator is an agent published in the GitHub repository haojing8312/WorkClaw (141 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 1,538 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to table-of-contents-generator, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

Design System Auditor

Design system accessibility auditor. Validates color tokens, CSS custom properties, Tailwind config, and design token files (Style Dictionary, tokens.json) for WCAG AA/AAA contrast compliance. Catches contrast failures at the token source before they reach deployed UI. Also validates focus ring tokens (WCAG 2.4.13…

Community-Access/accessibility-agents · 109 tokens

design

Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.

Rune-kit/rune · 35 tokens

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens