Agent skill

Summarize Document

by nirholas in nirholas/PAI

Summarize a document at a requested length. An agent skill from nirholas/PAI.

Custom licenceAuto-check passedAI & LLM Engineering

Install Summarize Document

skills CLI
$ npx skills add nirholas/PAI --skill summarize-document -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nirholas/PAI summarize-document --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nirholas/PAI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/summarize-document .claude/skills/summarize-document && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
summarize-document
GitHub stars
113
Token cost
~992 tokens
SKILL.md length
304 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
Custom licence

At a glance

Summarize a document at a requested length. An agent skill from nirholas/PAI.

  • Works in 6 steps: Purpose → Instructions → Guardrails → …
  • Tasks that involve LLM inference and serving
  • SKILL.md covers 1. Purpose, 2. Instructions, 3. Guardrails and 4. Example session, plus 2 more sections
  • Calls python3, pandoc and bash

What it does

Summarize Document is an agent skill from nirholas/PAI. Summarize a document at a requested length.

Its SKILL.md is about 990 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM inference and serving. It works with Ollama, Linux and Pandoc. The repository describes itself as: A complete private computer on a USB stick. PAI is a bootable Debian 12 Linux distro that runs Ollama locally on any x8664 or ARM64 machine — full desktop, local AI, hardened….

When your agent uses it

  • Tasks that involve LLM inference and serving

Example prompts

  • “/summarize-document”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Purpose
  2. Instructions
  3. Guardrails
  4. Example session
  5. Testing
  6. Changelog

What it can do on your machine

Read from SKILL.md and the folder at commit d97055d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • pandoc
    • bash
    • pdftotext

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Summarize Document loads about 992 tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 304 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~992

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 304 words (~992 tokens).

“Summarize a PDF, DOCX, ODT, MD, TXT, or HTML file locally with no network access. Uses a map-reduce chunking strategy so large documents are handled without truncation.”

— opening of SKILL.md by nirholas, Custom licence
name
summarize-document
version
0.1.0
status
stable
category
files
network
none
preferred_model
qwen2.5:3b
triggers
summarize this document, give me the tldr of this file, shorten this document to a paragraph, summarize this pdf, give me a summary of this file
outputs
summary text in the chosen style and length
constraints
must not upload the file, must refuse to process files > 50 MB without user_confirm

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/summarize-document of nirholas/PAI.

Open the folder on GitHubat commit d97055d

Compare with similar skills

Summarize Document next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Summarize Document compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Summarize Document this skillnirholas/PAI113—~992Automated safety check: PassCustom licence
Ollama Setupjeremylongshore/tons-of-skills-marketplace2.8k—~1.4kAutomated safety check: NotesMIT
Zedmajiayu000/claude-skill-registry6661 repos~2.4kAutomated safety check: NotesApache-2.0
Aider DelegateamElnagdy/delegate-skills2.3k3 repos~3kAutomated safety check: PassMIT
Perfupraullenchai/Rapid-MLX3.9k—~1.6kAutomated safety check: NotesCustom licence
Debug InferenceNVIDIA/OpenShell15k—~1.9kAutomated safety check: PassApache-2.0

Similar skills

  • Ollama Setup

    jeremylongshore/tons-of-skills-marketplace

    Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs.

    2.8k GitHub stars~1.4k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Zed

    majiayu000/claude-skill-registry

    Zed is a fast, GPU-accelerated code editor written in Rust, with built-in AI agent and edit predictions, real-time collaboration, Vim mode and WebAssembly extensions.

    666 GitHub starsUsed in 1 repo~2.4k tokens
    DevelopmentAuto-check: notes
  • Aider Delegate

    amElnagdy/delegate-skills

    Delegate a coding task to Aider (aider) as a background implementer, then review its diff and land it yourself.

    2.3k GitHub starsUsed in 3 repos~3k tokens
    AI & LLM EngineeringAuto-check passed
  • Perfup

    raullenchai/Rapid-MLX

    Autonomous performance optimization: research, PoC, benchmark, implement, review, PR

    3.9k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Debug Inference

    NVIDIA/OpenShell

    Official

    Debug inference clients that use an attached provider and its native endpoint, including hosted APIs and host-local Ollama, vLLM, SGLang, TRT-LLM, LM Studio, or NIM.

    15k GitHub stars~1.9k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • NanoClaw Ollama Provider

    nanocoai/nanoclaw

    Routes a NanoClaw agent group to a local Ollama model instead of the Anthropic API, using environment overrides and an optional block on Anthropic hosts.

    31k GitHub starsUsed in 1 repo~1.5k tokens
    AI & LLM EngineeringAuto-check passed

More from nirholas/PAI

  • Example Tool

    nirholas/PAI

    A template skill demonstrating the PAI SKILL.md format. An agent skill from nirholas/PAI.

    113 GitHub stars~919 tokensUpdated 23 days ago
    Auto-check passed
  • Pai Skills Root

    nirholas/PAI

    Index of all PAI skills.

    113 GitHub stars~333 tokensUpdated 23 days ago
    Auto-check passed

Questions about Summarize Document

What does Summarize Document do?

Summarize a document at a requested length. An agent skill from nirholas/PAI. Summarize Document is an agent skill from nirholas/PAI. Summarize a document at a requested length.

When should I use Summarize Document?

Summarize Document fits situations like: tasks that involve LLM inference and serving.

How do I install Summarize Document in Claude Code?

Run `npx skills add nirholas/PAI --skill summarize-document -a claude-code`. Or copy the skill folder (skills/summarize-document in nirholas/PAI) into .claude/skills/summarize-document in your project. Claude Code loads it when a task matches its description.

How do I install Summarize Document in Codex?

Run `npx skills add nirholas/PAI --skill summarize-document -a codex`. Or copy the skill folder (skills/summarize-document in nirholas/PAI) into .agents/skills/summarize-document in your project. Codex loads it when a task matches its description.

Can I use Summarize Document in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nirholas/PAI --skill summarize-document -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/summarize-document, .gemini/skills/summarize-document, .github/skills/summarize-document and .opencode/skills/summarize-document in your project.

What does Summarize Document need to run?

Going by SKILL.md and its folder, Summarize Document needs the command-line tools its instructions call (python3, pandoc, bash and pdftotext). Our summary lists: Python 3.

Does Summarize Document access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Summarize Document safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Summarize Document use?

Summarize Document has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Summarize Document use?

About 992 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Summarize Document?

Skills that share tags, products or a category with Summarize Document: Ollama Setup (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Zed (majiayu000/claude-skill-registry, 666 stars), Aider Delegate (amElnagdy/delegate-skills, 2.3k stars) and Perfup (raullenchai/Rapid-MLX, 3.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Summarize Document?

nirholas (a GitHub user) maintains it in nirholas/PAI, which has 113 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 15, 2026.

Source: nirholas/PAI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.