Borrowing it
Nothing to install: this file belongs to ZimoLiao/scholaraio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ZimoLiao/scholaraio/main/.claude/skills/publish/SKILL.mdgit clone --depth 1 https://github.com/ZimoLiao/scholaraioWrote 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/zimoliao/scholaraio/publish)<a href="https://agentmods.dev/skills/zimoliao/scholaraio/publish"><img src="https://agentmods.dev/badge/skills/zimoliao/scholaraio/publish/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/zimoliao/scholaraio/publish"><img src="https://agentmods.dev/badge/skills/zimoliao/scholaraio/publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00038 | $0.00666 |
| Opus 5 | $0.00019 | $0.00333 |
| Sonnet 5 | $0.00008 | $0.00133 |
| Haiku 4.5 | $0.00004 | $0.00067 |
Grade A, and why
publish 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 12d 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 — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Published Paper Archive And Site Generation
Use this skill only after the user clearly says the deliverable is final, audited, or ready to publish. Drafts should stay under workspace/.
Architecture
The publishing workflow has three separate layers:
scholaraio/: upstream code and thescholaraio publish-sitegeneratorpublished/: local audited deliverable archive, git-ignored by this repository- an optional separate GitHub Pages repository: generated static site files
Do not put user deliverables in the repository root except under published/, and do not commit published/ to the ScholarAIO repo.
Safety Gate
Before creating or changing a published archive:
- Confirm with the user that the deliverable is final enough to archive.
- Recommend a backup for important outputs, especially before replacing an existing archive directory.
- Never delete source files from
workspace/; publishing is a copy/archive step.
Archive Layout
Use one folder per final deliverable:
published/<YYYY-MM-DD>-<short-title>/
├── metadata.json
├── main.pdf
├── main.tex
├── images/
└── misc/
Recommended metadata.json:
{
"title": "Full title",
"date": "YYYY-MM-DD",
"keywords": ["keyword"],
"subject": "field or topic",
"pdf_filename": "main.pdf",
"tex_files": ["main.tex"],
"images_dir": "images",
"misc_dir": "misc",
"authors": ["Author", "Claude (AI Assistant)"],
"note": "Final audited deliverable."
}
The site generator reads published/*/metadata.json, builds a source ZIP beside each archive, and writes a static site.
Generate The Site
Explicit output directory:
scholaraio publish-site --out-dir ~/generated-report
Configured output directory:
publish:
site_output_dir: ~/generated-report
Then:
scholaraio publish-site
Default mode copies PDFs and source ZIPs into assets/papers/, producing a self-contained site suitable for a separate GitHub Pages repository.
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.
- 12d ago First seen · 96 lines · 38 tokens per session scan A 1a72c338d258
publish is a skill published in the GitHub repository ZimoLiao/scholaraio (571 stars, last pushed 13d ago), licensed MIT. It adds 38 tokens to every session and 666 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
infrastructure-validation
Skill for the validation infrastructure module providing PDF validation, markdown validation, output integrity checks, link verification, documentation audits, issue categorization, and repository scanning. Use when validating research outputs, checking document quality, running audits, or verifying cross-references.
infrastructure-steganography
Skill for the steganography infrastructure module providing QR code generation with dynamic mailto links, hash manifests, metadata payloads, and document-wide overlay processing. Use this module to insert opt-in cryptographic and steganographic provenance data onto PDFs.
template-pitch-deck
Pitch-deck generation exemplar — short/medium/long PDF+PPTX decks from one token-resolved, diligence-cited content source.
infrastructure-documentation
Skill for the documentation infrastructure module providing figure management, image handling, markdown integration, and API glossary generation. Use when managing research figures, inserting images into manuscripts, auto-numbering figures, or generating API documentation.
template-validation-quality
Run validation CLI, prerender, markdown/PDF/integrity gates, and QA workflows for the Research Project Template. USE WHEN validate manuscript, check PDF for ?? refs, prerender gate, link checker, output integrity, or pre-commit validation — even without validationquality prompt.
template-storybook
Full-page illustrated storybook exemplar — symbolic shape-family characters, page-level raster scenes, text overlays, deterministic PDF assembly.