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.
git clone --depth 1 https://github.com/haojing8312/WorkClawWrote 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.
[](https://agentmods.dev/agents/haojing8312/workclaw/table-of-contents-generator)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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 |
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.
- 11d ago First seen · 126 lines · 0 tokens per session scan A 4f08a2080735
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.
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…
ijfw-accessibility-reviewer
Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.
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…
design
Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.
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…
frontend-reviewer
Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.