@ayagmar/summarize
Fetch a URL or convert a local file (PDF, DOCX, HTML, and more) into Markdown with markitdown, optionally summarizing it.
Package details
Install @ayagmar/summarize from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@ayagmar/summarize- Package
@ayagmar/summarize- Version
0.1.3- Published
- Oct 12, 2026
- Downloads
- 981/mo · 70/wk
- Author
- ayagmar
- License
- Apache-2.0
- Types
- skill
- Size
- 23.7 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"skills": [
"./skills"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
summarize
Convert a URL or local document into Markdown and optionally summarize it. Privacy: fetches URLs you give it (via markitdown) and runs local tools (uvx markitdown, and pi for the optional summary). Converted content and summaries pass through your agent and model provider.
Requirements
- Node.js >= 22.19
uvx(from uv) to runmarkitdownpiCLI, only for the optional summary step
Install
Pi
# pinned (versions are listed in the changelog linked below)
pi install npm:@ayagmar/summarize@<version>
# unpinned
pi install npm:@ayagmar/summarize
# remove
pi remove npm:@ayagmar/summarize
skills CLI
npx skills add ayagmar/agents-skills --skill summarize --agent pi
Other agent ids: claude-code, codex, cursor.
Claude Code
claude plugin marketplace add ayagmar/agents-skills
claude plugin install summarize@ayagmar-skills
Codex
codex plugin marketplace add ayagmar/agents-skills
codex plugin add summarize@ayagmar-skills
Usage
Prompt example: "Convert https://example.com/report.pdf to Markdown and summarize it." The agent runs the bundled script itself.
Run from the installed skill directory:
node to-markdown.mjs <url-or-path> --tmp
See SKILL.md for the full option list.
Credits
Based on summarize from https://github.com/mitsuhiko/agent-stuff (Apache-2.0), modified by Abdeslam Yassine Agmar.