literature-gallery

literature-gallery is a skill for Codex from newsun-boki/literature-gallery-skill. It costs 69 tokens per session (655 once invoked), scanned A, original, MIT.

A static website template for organising academic papers into a searchable gallery with cards, tags, cover images, and detail pages.

In plain words
What is it for?
It helps build paper libraries and research databases from structured metadata, including paper covers, abstracts, notes, links, and filters.
Why use it?
It gives a research paper collection a clear browsing interface instead of leaving metadata in scattered files or a plain list.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps build paper libraries and research databases from structured metadata, including paper covers, abstracts, notes, links, and filters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/newsun-boki/literature-gallery-skill/literature-gallery
Install

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.

Any agent
npx skills add newsun-boki/literature-gallery-skill --skill literature-gallery
Clone the repo
git clone --depth 1 https://github.com/newsun-boki/literature-gallery-skill

Made for: Codex.

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 literature-gallery

README.md
[![agentmods](https://agentmods.dev/badge/skills/newsun-boki/literature-gallery-skill/literature-gallery/github.svg)](https://agentmods.dev/skills/newsun-boki/literature-gallery-skill/literature-gallery)
Your own site
<a href="https://agentmods.dev/skills/newsun-boki/literature-gallery-skill/literature-gallery"><img src="https://agentmods.dev/badge/skills/newsun-boki/literature-gallery-skill/literature-gallery/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 literature-gallery

Your own site · 80×15
<a href="https://agentmods.dev/skills/newsun-boki/literature-gallery-skill/literature-gallery"><img src="https://agentmods.dev/badge/skills/newsun-boki/literature-gallery-skill/literature-gallery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 655 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.00069 $0.00655
Opus 5 $0.00034 $0.00328
Sonnet 5 $0.00014 $0.00131
Haiku 4.5 $0.00007 $0.00065

Measured 12d ago against content hash 868d96cd6154, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

literature-gallery 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.

The scan reads SKILL.md. This mod also ships 3 executable files (assets/frontend-template/data/papers.js, assets/frontend-template/src/app.js, scripts/create_gallery.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

literature-gallery/SKILL.md · 61 lines

How it starts

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

Overview

Build a static paper gallery from structured paper metadata. Prefer the bundled template in assets/frontend-template/ unless the user already has an existing app that should be modified.

Workflow

  1. Inspect the current workspace and preserve existing user files.
  2. If starting a new project, run scripts/create_gallery.py <destination> to copy the template.
  3. Store papers in data/papers.js as window.PAPER_LIBRARY.
  4. Each paper should include id, title, authors, year, venue, area, keywords, cover, description, abstract, notes, links, and status.
  5. Use real paper visuals for covers when possible:
    • Prefer an official project teaser image when it is easy to identify and save locally.
    • Otherwise use the first page of the paper PDF, cropped to the gallery card ratio.
    • Store local cover files under assets/covers/papers/ and point cover to that path.
  6. Keep the frontend minimalist and light by default: clear grid, narrow borders, good whitespace, searchable filters, and a modal/detail view.
  7. Validate with npm run check when package.json exists, or at least node --check src/app.js and node --check data/papers.js.
  8. For deployment, use Vercel for static hosting when requested. Add or keep vercel.json and run vercel --prod --yes after the user is authenticated.

Template

Use:

python3 /path/to/literature-gallery/scripts/create_gallery.py /path/to/new-project

The template is static HTML/CSS/JS and has no build step. It includes:

  • index.html
  • src/app.js
  • src/styles.css
  • data/papers.js
  • package.json
  • vercel.json
  • placeholder SVG covers

Cover Generation

When generating covers from PDFs on macOS, Quick Look is a reliable fallback:

qlmanage -t -s 1800 -o /tmp/out paper.pdf

Then crop/resize the generated PNG to 1200x900 using Pillow. Keep the top of page 1 when no teaser is clear; this usually captures title/authors and often the first figure.

Read the full file on GitHub · 61 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. 12d ago First seen · 61 lines · 69 tokens per session scan A 868d96cd6154

Subscribe to this mod's changes

literature-gallery is a skill published in the GitHub repository newsun-boki/literature-gallery-skill (2 stars, last pushed 4mo ago), licensed MIT. It adds 69 tokens to every session and 655 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

cli-ux

Use for packages/cli changes that affect command UX, prompts, help, output layout, progress, success, warnings, errors, JSON/stdout/stderr contracts, non-interactive/agent behavior, copy, or tests for those surfaces. Do not load for implementation-only refactors with unchanged CLI surface.

vercel/vercel · 65 tokens

tastemaker

Generate genuinely beautiful, on-brand UI instead of generic "AI slop" — use whenever the user asks to build, design, style, or improve a UI, landing page, dashboard, app screen, or component, whenever a PRD/spec needs a design pass before implementation, whenever the user pastes reference images/Pinterest/Dribbble…

codeswithroh/tastemaker · 202 tokens

json-render-catalog

Skill "json-render-catalog" from yonatangross/orchestkit, covering json-render component catalogs, storybook → catalog import (#1529, 2026-04), new in 2026-04 → 2026-08 (json-render 0.14 → 0.20), directives — @json-render/directives (0.19) and registration.

yonatangross/orchestkit · 99 tokens

julilaoshi-design

Public-safe julilaoshi-design workflow for official Pencil MCP execution and the free browser-first julilaoshi-design Web 2.0 editor. Use when a task needs Pencil handshake/canvas edits, .pen execution, screenshot review, or lightweight HTML design-to-web tweaking without redistributing official Pencil or leaking…

julilaoshi/julilaoshi-design · 68 tokens

oil-frontend

A set of instructions for building and reviewing product front ends, meaning the visible part of an application that users interact with. It covers pages, components, forms, data flow, layout, styling, responsive behavior, and animations.

oil-oil/oil-frontend · 115 tokens

ai-elements

Build AI chat interfaces using ai-elements components — conversations, messages, tool displays, prompt inputs, and more. Use when the user wants to build a chatbot, AI assistant UI, or any AI-powered chat interface.

vercel/ai-elements · 46 tokens