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 instructions/paulhkang94/markview/claude-mdgit clone --depth 1 https://github.com/paulhkang94/markviewWrote 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/instructions/paulhkang94/markview/claude-md)<a href="https://agentmods.dev/instructions/paulhkang94/markview/claude-md"><img src="https://agentmods.dev/badge/instructions/paulhkang94/markview/claude-md.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.1 | $0.01604 | $0.01604 |
| Opus 5 | $0.00802 | $0.00802 |
| Sonnet 5 | $0.00321 | $0.00321 |
| Haiku 4.5 | $0.00160 | $0.00160 |
Grade A, and why
markview CLAUDE.md scanned grade A with 1 finding 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 5d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
3. The npm package name is `mcp-server-markview`. Never curl the npm registry with a guessed name — always run the script. How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MarkView — AI Development Guide
Quick Reference
- Build:
swift build - Test:
swift run MarkViewTestRunner(304 Swift tests + 91 MCP tests + script tests) - Playwright e2e:
make playwright(66 tests — builds fixture binary, runs Playwright, installs MarkView.app) - Verify all:
python3 scripts/verify.py(writes verify stamp automatically on pass) - App bundle:
bash scripts/bundle.sh --install - MCP tests:
bash scripts/test-mcp.sh - PHK debug logging:
PHK_DEBUG=1 swift run MarkViewTestRunner(verbose HTML pipeline output)
Architecture
Hybrid SPM + Xcode (XcodeGen) — .xcodeproj is gitignored, regenerate with xcodegen generate.
| Target | Type | Purpose |
|---|---|---|
MarkViewCore |
SPM library | Rendering, file watching, linting — no UI deps |
MarkView |
Xcode app | SwiftUI app with WKWebView preview |
MarkViewQuickLook |
Xcode extension | Quick Look preview provider |
MarkViewMCPServer |
SPM executable | MCP server for AI tool integration |
MarkViewTestRunner |
SPM executable | Full test suite (no XCTest dependency) |
MarkViewHTMLGen |
SPM executable | CLI fixture generator for Playwright tests |
Key files:
Sources/MarkViewCore/MarkdownRenderer.swift— core GFM rendering via swift-cmarkSources/MarkViewCore/HTMLPipeline.swift— full injection pipeline (Prism → Mermaid → KaTeX → controls)Sources/MarkViewCore/template.html— preview HTML template with Prism.jsSources/MarkViewMCPServer/main.swift— MCP server (tools:preview_markdown,open_file)Sources/MarkViewHTMLGen/main.swift— Playwright fixture generator (used bymake playwright)Sources/MarkViewApp/— SwiftUI viewsproject.yml— XcodeGen config (source of truth for Xcode targets)tests/— Playwright e2e test suite (Node.js, Chromium)
MCP Tools (for AI integration)
The MarkViewMCPServer exposes two tools:
preview_markdown — render markdown content in MarkView:
{ "content": "# Hello\nThis is **markdown**" }
Writes to a temp file and opens in MarkView with live reload.
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.
- 5d ago First seen · 114 lines · 1,604 tokens per session scan A 9229127c9cbc
markview CLAUDE.md is an instructions file published in the GitHub repository paulhkang94/markview (38 stars, last pushed 13d ago), licensed MIT. It adds 1,604 tokens to every session, about $0.0080 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
mindle AGENTS.md
AGENTS.md instructions for nonatofabio/mindle, covering agents.md, what mindle is — and isn't, tenets, architecture in 60 seconds and coding style.
Peekaboo AGENTS.md
AGENTS.md instructions for openclaw/Peekaboo, covering repository guidelines, start here, project structure & modules, build, test, and development commands and coding style & naming conventions.
Applite CLAUDE.md
Instructions for milanvarady/Applite, covering claude.md, project overview, build & run, architecture and data flow.
scarf AGENTS.md
AGENTS.md instructions for awizemann/scarf: This repo carries its own agent memory — plain files in git, served by the in-repo memophant-mcp MCP server, managed by the Memophant macOS app. It works the same for every agent (Claude Code, Codex, Cursor, Gemini, Copilot). This block is regenerated between the memophant…
palmier-pro AGENTS.md
AGENTS.md instructions for palmier-io/palmier-pro, covering palmierpro, build, agents, engineering approach and code style.
scarf copilot-instructions.md
Copilot instructions for awizemann/scarf: File memory notes under one of six folders (architecture/conventions/decisions/operations/project/roadmap), never the root. When a note is grounded in code, pass sourcepaths (the repo files it depends on) so Memory Health can drift-check it — an unanchored code note can't be…