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.
npx skills add KunanonJ/ai-skills-hub --skill aside-pdfgit clone --depth 1 https://github.com/KunanonJ/ai-skills-hubWrote 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/skills/kunanonj/ai-skills-hub/aside-pdf)<a href="https://agentmods.dev/skills/kunanonj/ai-skills-hub/aside-pdf"><img src="https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/aside-pdf/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/skills/kunanonj/ai-skills-hub/aside-pdf"><img src="https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/aside-pdf.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.00094 | $0.00724 |
| Opus 5 | $0.00047 | $0.00362 |
| Sonnet 5 | $0.00019 | $0.00145 |
| Haiku 4.5 | $0.00009 | $0.00072 |
Grade A, and why
aside-pdf 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PDF Processing Guide
Reading PDFs
Use repl with aside.pdf API for visual inspection of PDFs.
interface PDFReadResult {
pages: {
/* Image path of the rendered page. */
path: string;
/* Width of the rendered page. */
width: number;
/* Height of the rendered page. */
height: number;
}[];
/** If there are form fields, it's metadata JSON path. Use `read_file` to read it. */
formFieldsPath: string | undefined;
}
interface AsidePdf {
/** Render PDF pages as images and inspect form fields using macOS native PDFKit. */
read(options: { filePath: string; outputDir?: string; maxDimension?: number }): Promise<PDFReadResult>;
/** Inspect AcroForm/XFA fields and return field descriptions when embedded in the PDF. */
inspectFormFields(options: { filePath: string }): Promise<Record<string, unknown>>;
/** Fill AcroForm fields into a new output PDF. */
fillFormFields(options: {
filePath: string;
outputPath: string;
fields: { field_id: string; value: boolean | number | string | null }[];
})
}
REPL Examples
// Reading a PDF (pages[].path is the image path of the rendered page- use either `read_file` tool or `display(await fs.readFile(path))` to read the PDF as image)
console.log(await aside.pdf.read({ filePath: './input.pdf' }));
// Inspecting form fields
console.log(await aside.pdf.inspectFormFields({ filePath: './input.pdf' }));
// Filling form fields
await aside.pdf.fillFormFields({
filePath: './input.pdf',
outputPath: './artifacts/filled.pdf',
fields: [
{ field_id: 'topmostSubform[0].Page1[0].f1_14[0]', value: 'John' },
{ field_id: 'topmostSubform[0].Page1[0].c1_1[0]', value: true }
]
});
Notes
Do not answer "the form is empty" when the user is asking what fields exist. Report the field meanings and separately say whether current values are blank.
If aside.pdf fails or the native helper cannot perform the requested operation, read fallback.md and use the fallback workflow.
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- fallback.md 2.4 KB
- forms.md 2.1 KB
- LICENSE.txt 1.4 KB
- reference.md 15 KB
- scripts/check_bounding_boxes.py 2.7 KB runs code
- scripts/check_fillable_fields.py 268 B runs code
- scripts/convert_pdf_to_images.py 1008 B runs code
- scripts/create_validation_image.py 1.2 KB runs code
- scripts/extract_form_field_info.py 11 KB runs code
- scripts/extract_form_structure.py 3.9 KB runs code
- scripts/fill_fillable_fields.py 4.4 KB runs code
- scripts/fill_pdf_form_with_annotations.py 3.2 KB runs code
- scripts/inspect_pdf.py 2.0 KB runs code
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.
- 7d ago First seen · 82 lines · 94 tokens per session scan A e1f1295c3f9e
aside-pdf is a skill published in the GitHub repository KunanonJ/ai-skills-hub (5 stars, last pushed today), licensed MIT. It adds 94 tokens to every session and 724 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
markitdown
A Python utility for converting various file formats (PDF, Word, Excel, PowerPoint, etc.) to Markdown. Use this skill to install and use MarkItDown for document conversion.
audit-dimensions
A review checklist for D1D25 specification files, covering the dimensions used to examine those documents.
generate-nda
Generate a non-disclosure agreement PDF with party names, effective date, and standard confidentiality terms.
document-generation-api
Generate PDF, DOCX, EPUB, and PPTX documents from structured content blocks.
generate-employee-offer-letter
Generate a professional offer letter PDF with role, compensation, start date, and company details.
generate-packing-slip
Generate a packing slip PDF with order details, item list, and shipping address.