ailang-parse: Skill for Claude Code

.claude/skills/add-format/SKILL.md

add-format is a skill for Claude Code from sunholo-data/ailang-parse. It costs 183 tokens per session (3,600 once invoked), scanned A, original, Apache-2.0.

A checklist for adding support for a new file format to AILANG Parse, a document-parsing project.

In plain words
What is it for?
Use it when adding an extension or parser for a new format, and when checking what remains before release.
Why use it?
It helps developers update parser code, generated files, documentation, software packages, and deployments without missing a required part.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is sunholo-data/ailang-parse's own configuration. It tells Claude Code how to work on ailang-parse itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ailang-parse configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./bin/docparse data/test_files/<sample>.$FMT.

Reuse

Borrowing it

Nothing to install: this file belongs to sunholo-data/ailang-parse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sunholo-data/ailang-parse/main/.claude/skills/add-format/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sunholo-data/ailang-parse

Made for: Claude Code.

Wrote 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.

agentmods badge for add-format

README.md
[![agentmods](https://agentmods.dev/badge/skills/sunholo-data/ailang-parse/add-format/github.svg)](https://agentmods.dev/skills/sunholo-data/ailang-parse/add-format)
Your own site
<a href="https://agentmods.dev/skills/sunholo-data/ailang-parse/add-format"><img src="https://agentmods.dev/badge/skills/sunholo-data/ailang-parse/add-format/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.

agentmods 80×15 button for add-format

Your own site · 80×15
<a href="https://agentmods.dev/skills/sunholo-data/ailang-parse/add-format"><img src="https://agentmods.dev/badge/skills/sunholo-data/ailang-parse/add-format.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,600 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00183 $0.03600
Opus 5.5 $0.00073 $0.01440
Sonnet 5.5 $0.00037 $0.00720
Haiku 4.5 $0.00018 $0.00360

Measured 2mo ago against content hash 0c6dd3af74a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-format 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 2mo 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.

.claude/skills/add-format/SKILL.md · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add a new format to AILANG Parse

When to Use

Invoke this skill any time a new input or output format is being added to AILANG Parse — no matter how the request is phrased. The cost of forgetting a surface (Pages deploys failing silently, registry out of sync with docs, SDK READMEs stale) is far higher than the cost of running through the checklist. Also use it when the user asks "what's left?" mid-rollout, to audit which surfaces are still missing.

Quick Start

  1. Confirm scope with user (see Before you start).
  2. Work through phases 1→7 in order. Do not batch phases 3+ before phases 1–2 type-check and smoke-test cleanly.
  3. Use the Files checklist at the end as the final PR audit.

Workflow

Adding a format hits ~20 distinct files across parser code, WASM bundle, docs, SDKs, release manifests, and deployment messaging. Skipping any one of them breaks something silently — the LaTeX/v0.15.0 rollout missed the vendor script and two Pages deploys failed before anyone noticed. Work through this list in order; do not batch steps 6-8 before 1-5 are green.

Before you start

Confirm with the user:

  1. Extension(s) — e.g. .tex, .latex, .ltx
  2. Parser strategy — deterministic (XML/text → Block ADT) or AI-assisted (PDF/image)?
  3. Archive wrapper? — some formats ship as .tar.gz/.zip bundles. If yes, flag which archive tooling is missing (see std/tar/std/gzip blocker tracked as ailang-core#156).
  4. Will the WASM demo support it? — pure parser with no FS/AI effect = yes. FS-dependent (like multi-file \input resolution) = server-side only, WASM gets a single-file subset.

Set a working variable — $FMT in examples below is the lowercase short name (tex, epub, etc.).


Phase 1 — Parser (AILANG source)

  1. Write the parser → docparse/services/${FMT}_parser.ail
    • Export a pure entry point: export pure func parse${Fmt}(content: string) -> [Block]
    • Match block ADT variants from docparse/types/document.ail; don't add new variants unless absolutely necessary.
    • Follow the foldl + reverse pattern from markdown_parser.ail — see feedback_ailang_string_perf.md — never concat(xs, [x]) in foldl.

Read the full file on GitHub · 267 lines

Changes

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.

  1. 2mo ago First seen · 267 lines · 183 tokens per session scan A 0c6dd3af74a1

Subscribe to this mod's changes

add-format is a skill published in the GitHub repository sunholo-data/ailang-parse (0 stars, last pushed 4d ago), licensed Apache-2.0. It adds 183 tokens to every session and 3,600 once invoked, about $0.0007 per session on Opus 5.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-08-31.

Related

Other skills, from other repositories

document-converter

Convert Office documents (PPTX, DOCX, XLSX, PDF, HTML, CSV, JSON, XML, images) to Markdown using Microsoft MarkItDown. Provides the agent with conversion strategies for academic and research workflows.

wentorai/Research-Claw · 50 tokens

document-processing

Use this skill when processing documents programmatically — PDF manipulation (extract, merge, split, rotate, watermark, form-fill, OCR), DOCX creation and editing (templates, mail-merge, style management), XLSX spreadsheet handling (formulas, charts, pivot tables, data analysis), PPTX presentation generation (layouts…

JPeetz/agent-skills · 120 tokens

doc-converter

Universal document format converter - DOCX, PDF, Markdown, HTML, TXT.

chainlesschain/chainlesschain · 19 tokens

anywrite

Compiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed.

ranbot-ai/awesome-skills · 37 tokens

office-router

Route Office requests into the correct xlsx, docx, or pptx workflow, while preferring Slidev for new presentation drafts unless .pptx is explicitly required.

matingai/crab · 38 tokens

document-generation

Generate Word (.docx), Excel (.xlsx) and PowerPoint (.pptx) documents and fill existing PDF forms, from real NetClaw data, with per-element provenance and no fabrication. This is the generic document-writing engine (tool surface, tagged-value shapes, fabrication rules). For the four standard NetClaw report…

automateyournetwork/netclaw · 118 tokens