openkb-html-critic

openkb-html-critic is a skill for Claude Code, Codex from VectifyAI/OpenKB. It costs 132 tokens per session (1,392 once invoked), scanned A, original, Apache-2.0.

A review and repair guide for generated HTML slide decks or single-page web documents. HTML is the markup used to structure web pages, while CSS controls their appearance.

In plain words
What is it for?
Use it to inspect an existing HTML deck, find layout and styling bugs, and write back a corrected version.
Why use it?
It catches visual and structural problems, especially CSS rules that accidentally show several hidden slides at once.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

OpenKB is a command-line system that turns documents and other sources into a structured, linked wiki-style knowledge base using large language models. It is for organizing and retrieving information from long, varied documents, while the catalogue entries provide skills and instructions for working with it.

VectifyAI/OpenKB · 4,435 stars · on GitHub · pageindex.ai

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.

agentmods
npx agentmods add skills/vectifyai/openkb/openkb-html-critic
Any agent
npx skills add VectifyAI/OpenKB --skill openkb-html-critic
Clone the repo
git clone --depth 1 https://github.com/VectifyAI/OpenKB

Made for: Claude Code, 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 openkb-html-critic

README.md
[![agentmods](https://agentmods.dev/badge/skills/vectifyai/openkb/openkb-html-critic.svg)](https://agentmods.dev/skills/vectifyai/openkb/openkb-html-critic)
Your own site
<a href="https://agentmods.dev/skills/vectifyai/openkb/openkb-html-critic"><img src="https://agentmods.dev/badge/skills/vectifyai/openkb/openkb-html-critic.svg" alt="Measured on agentmods" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00132 $0.01392
Opus 5 $0.00066 $0.00696
Sonnet 5 $0.00026 $0.00278
Haiku 4.5 $0.00013 $0.00139

Measured 6d ago against content hash 16f547511860, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

openkb-html-critic 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 6d 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.

skills/openkb-html-critic/SKILL.md · 141 lines

How it starts

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

HTML deck critic

You are a senior front-end designer reviewing an already-generated single-file HTML deck. You did NOT write the deck — someone else did, and your job is to patch it for visual correctness without rewriting the content.

How this skill is invoked

The user (CLI: openkb deck new --critique, chat: /critique <path>) points you at a single HTML file under output/. Read it, find issues from the checklist below, and write the corrected version back in one atomic write_file call (full file contents, never partial).

The path is in the user intent block above.

Checklist (run in order, report what you found)

1. CSS specificity — the #1 bug source

LLM-written deck CSS typically has:

.slide        { display: none; ... }
.slide.active { display: flex; }    /* or display: grid */

But then later defines slide-modifier classes:

.divider { display: flex; ... }    /* ← BUG */
.center  { display: flex; ... }    /* ← BUG */
.q       { display: flex; ... }    /* ← BUG */
.hero    { display: grid; ... }    /* ← BUG */

Because .divider and .slide have the same specificity but the modifier comes LATER in source order, .divider wins. Result: any slide with class="slide divider" always displays, regardless of the active class. Multiple slides stack on top of each other, the deck appears to "not paginate".

Fix: strip display: <foo>; from any single-class selector that matches a slide modifier (anything that appears in a <section class="slide X"> where X is the modifier name). The remaining declarations (flex-direction, gap, alignment, background) stay. After the patch, only .slide and .slide.active (or .active) control the display property.

Quick scan: list every <section class="slide ..."> and collect the extra class names. For each, find that class's CSS rule; if it has a display: declaration, that's the bug. Fix all of them in one pass.

2. Navigation works

There should be JS that:

Read the full file on GitHub · 141 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. 6d ago First seen · 141 lines · 132 tokens per session scan A 16f547511860

Subscribe to this mod's changes

openkb-html-critic is a skill published in the GitHub repository VectifyAI/OpenKB (4,435 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 132 tokens to every session and 1,392 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

rag-retrieval

Retrieval-Augmented Generation patterns for grounded LLM responses. Use when building RAG pipelines, embedding documents, implementing hybrid search, contextual retrieval, HyDE, agentic RAG, multimodal RAG, query decomposition, reranking, or pgvector search.

yonatangross/orchestkit · 58 tokens

release-sync

Syncs latest release content to NotebookLM and HQ Knowledge Base after version tagging. Reads CHANGELOG, CLAUDE.md, and hook README, updates notebook sources, and ingests release digest. Optionally generates podcast from updated knowledge base. Use after tagging a new version to propagate release knowledge.

yonatangross/orchestkit · 62 tokens

tailwind-v4

Tailwind CSS v4 usage guide and v3-to-v4 differences. This skill should be used when writing, reviewing, or refactoring any Tailwind CSS code in this repo. Triggers on tasks involving Tailwind classes, @theme blocks, CSS-first configuration, or cleanup of v3-era syntax.

mastra-ai/mastra · 67 tokens

apply-mantel-styles

Provides guidelines for applying Mantel's brand styles to diagrams and frontend components. Use when asked to create visuals that need to align with Mantel's branding.

sammcj/agentic-coding · 37 tokens

chat-formatting-widgets

Governs the custom markdown widgets rendered in the QuantumByte chat interface. This includes the inline highlight-mark span (use on every question the user must answer). You must check this skill on every reply to format highlights.

QuantumByteOSS/quantumbyte · 50 tokens

web-sprinkles

Build static multipage websites enhanced with small, self-contained ES modules — progressive enhancement, where every page is complete and usable with zero JavaScript and scripts only add behavior to markup that already exists. Composes with web-static (CSS-only patterns, structure, verification loop), web-conventions…

AdamBien/airails · 224 tokens