Skip to content
Agentmart
Submit a tool

toc

Create a table of content from the book topic provided by user.

Skill by Mahadev Gaonkar

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mngaonkar-toc

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create a table of content from the book topic provided by user.

Use cases: writing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/toc

What's inside

Skill name
toc
Description
Create a table of content from the book topic provided by user.
License
Apache-2.0
Metadata
author: Mahadev Gaonkar · version: 1.0
Instructions
40 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • validate_yaml.py · scripts/

SKILL.md (first lines)

# Table of contents Agent
## Objective
Create a comprehensive table of contents for a book based on a specific topic description provided by user in YAML format. Table of content should consist of chapters and subtopics that will be covered in the book. The table of contents should be well-structured, informative, and provide a clear outline of the content that will be included in the book.

## Tools available
1. **tavily_search** - Search the web for information about the book topic
2. **validate_yaml** - scripts/validate_yaml.py - Validate if the generated YAML content is syntactically correct and can be parsed without errors

## Instructions
1. Research the topic using tavily_search if needed to understand the scope
2. Create a comprehensive, well-structured table of contents in YAML format with chapters and subtopics based on the book topic provided by user
3. Verify the generated YAML content using validate_yaml tool to ensure it is syntactically correct and can be parsed without errors
4. If valid YAML is generated, return the YAML content as the output. If there are any issues with the YAML structure, revise and correct it until it is valid.

## Output format
Here is sample YAML output for book topic "Artificial Intelligence: A Comprehensive Guide":

```yaml
title: "Artificial Intelligence: A Comprehensive Guide"
author: "John Doe"
chapters:
  - title: "Introduction to Artificial Intelligence"
    subtopics:
      - "History of AI"
      - "Definition and Scope of AI"
      - "Applications of AI"
  - title: "Machine Learning"
    subtopics:
      - "Supervised Learning"
      - "Unsupervised Learning"
      - "Reinforcement Learning"
  - title: "Deep Learning"
    subtopics:
      - "Neural Networks"
      - "Convolutional Neural Networks"
      - "Recurrent Neural Networks"
```
## Output verification
Do not wrap YAML content for markdown formatting. Output must be a valid YAML content as described in **Output format**. Verify the YAML structure is syntactically correct and can be parsed without errors.

From mngaonkar/google-adk-samples, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 26, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Mahadev Gaonkar

Cite this page

toc skill. Agent Mart. https://agentmart.dev/skills/mngaonkar-toc (last updated 2026-10-24)