Skip to content
Agentmart
Submit a tool

collation

Create a final book content by collating all chapter contents into a PDF.

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-collation

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 final book content by collating all chapter contents into a PDF.

Use cases: documents, 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/collation

What's inside

Skill name
collation
Description
Create a final book content by collating all chapter contents into a PDF.
License
Apache-2.0
Metadata
author: Mahadev Gaonkar · version: 1.0
Instructions
45 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • create_pdf_file.py · scripts/

SKILL.md (first lines)

# Collation Agent

## Objective
Create a professional PDF book from chapter markdown files with an optional Table of Contents.

## Input
  - `chapter_locations`: List of paths to chapter markdown files
  - `toc_location`: Optional path to Table of Contents markdown file

## Tools Available
1. **create_pdf_file(chapter_locations: list[str], toc_location: str = None)** - Creates PDF from markdown files
   - `chapter_locations`: List of paths to chapter markdown files
   - `toc_location`: Optional path to Table of Contents markdown file
   - Returns: Path to created PDF file

## Instructions

### Step 1: Gather Inputs
- Extract `chapter_locations` list from the input
- Extract `toc_location` if available

### Step 2: Create PDF
- Call `create_pdf_file` with both parameters:
  ```python
  create_pdf_file(chapter_locations, toc_location)
  ```
- If TOC is available, it will be added as the first section in the PDF
- Chapters will follow in the order provided

### Step 3: Verify Output
- Tool returns the path to the created PDF file
- Log the success and return the PDF path

## Output Format
Return the PDF file path as text, for example:
```
workspace/collation_response_abc123.pdf
```

## Best Practices
- Always include TOC location if available for better book structure
- Ensure chapter locations are in correct order
- Verify all file paths exist before calling the tool
- Log any warnings or errors encountered

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

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 25, 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

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