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 agentmods add skills/manhvann/codexkit/markdown-novel-viewernpx skills add manhvann/codexkit --skill markdown-novel-viewergit clone --depth 1 https://github.com/manhvann/codexkitWrote 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/manhvann/codexkit/markdown-novel-viewer)<a href="https://agentmods.dev/skills/manhvann/codexkit/markdown-novel-viewer"><img src="https://agentmods.dev/badge/skills/manhvann/codexkit/markdown-novel-viewer.svg" alt="Measured on agentmods" 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 | $0.00041 | $0.02347 |
| Opus 5 | $0.00020 | $0.01174 |
| Sonnet 5 | $0.00008 | $0.00469 |
| Haiku 4.5 | $0.00004 | $0.00235 |
Grade A, and why
ck:markdown-novel-viewer 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 4d 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 — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.
markdown-novel-viewer
Background HTTP server rendering markdown files with calm, book-like reading experience.
⚠️ Installation Required
This skill requires npm dependencies. Run one of the following:
# Option 1: Install via Codex Kit CLI (recommended)
ck init # Runs install.sh which handles all skills
# Option 2: Manual installation
cd .agents/skills/markdown-novel-viewer
npm install
Dependencies: marked, highlight.js, gray-matter
Without installation, you'll get Error 500: Error rendering markdown.
Purpose
Universal viewer - pass ANY path and view it:
- Markdown files → novel-reader UI with serif fonts, warm theme
- Directories → file listing browser with clickable links
Quick Start
# View a markdown file
node .agents/skills/markdown-novel-viewer/scripts/server.cjs \
--file ./plans/my-plan/plan.md \
--open
# Browse a directory
node .agents/skills/markdown-novel-viewer/scripts/server.cjs \
--dir ./plans \
--host 0.0.0.0 \
--open
# Background mode
node .agents/skills/markdown-novel-viewer/scripts/server.cjs \
--file ./README.md \
--background
# Stop all running servers
node .agents/skills/markdown-novel-viewer/scripts/server.cjs --stop
Skill Command
Use $preview for quick access:
$preview plans/my-plan/plan.md # View markdown file
$preview plans/ # Browse directory
$preview --stop # Stop server
Features
Novel Theme
- Warm cream background (light mode)
- Dark mode with warm gold accents
- Libre Baskerville serif headings
- Inter body text, JetBrains Mono code
- Maximum 720px content width
Mermaid.js Diagrams
- Auto-renders
mermaidcode blocks as diagrams - Theme-aware (light/dark mode support)
- Full-width toggle: Click diagram to expand/collapse
- Error display with source preview for debugging
Directory Browser
- Clean file listing with emoji icons
- Markdown files link to viewer
- Folders link to sub-directories
- Parent directory navigation (..)
- Light/dark mode support
What ships with it
29 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.
- assets/directory-browser.css 2.9 KB
- assets/favicon.png 1.8 KB
- assets/novel-theme.css 612 B
- assets/reader.js 25 KB runs code
- assets/styles/novel-theme-base.css 1013 B
- assets/styles/novel-theme-components.css 3.4 KB
- assets/styles/novel-theme-content.css 2.8 KB
- assets/styles/novel-theme-header.css 3.9 KB
- assets/styles/novel-theme-mermaid.css 3.1 KB
- assets/styles/novel-theme-overlays.css 3.6 KB
- assets/styles/novel-theme-responsive.css 4.5 KB
- assets/styles/novel-theme-sidebar.css 6.2 KB
- assets/styles/novel-theme-variables.css 1.4 KB
- assets/template.html 6.0 KB
- bun.lock 2.5 KB
- package.json 419 B
- scripts/lib/http-server.cjs 11 KB runs code
- scripts/lib/markdown-renderer.cjs 9.7 KB runs code
- scripts/lib/plan-navigator.cjs 20 KB runs code
- scripts/lib/port-finder.cjs 1.1 KB runs code
- scripts/lib/process-mgr.cjs 3.2 KB runs code
- scripts/server.cjs 12 KB runs code
- scripts/tests/server.test.cjs 9.4 KB runs code
- tests/dashboard-assets.test.cjs 11 KB runs code
- tests/dashboard-renderer.test.cjs 11 KB runs code
- tests/http-server.test.cjs 7.9 KB runs code
- tests/run-tests.cjs 1.0 KB runs code
- tests/test-framework.cjs 3.2 KB runs code
- tests/verify-xss.cjs 3.4 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.
- 4d ago First seen · 315 lines · 41 tokens per session scan A 4e57cdef3a18
ck:markdown-novel-viewer is a skill published in the GitHub repository manhvann/codexkit (88 stars, last pushed 5d ago), licensed MIT. It adds 41 tokens to every session and 2,347 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
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…