obsidian-publish-customize

obsidian-publish-customize is a skill for Claude Code, Codex from nweii/agent-stuff. It costs 90 tokens per session (2,808 once invoked), scanned A, original, MIT.

A customization guide for Obsidian Publish, a service that turns an Obsidian note collection into a website. It covers the site’s root CSS and JavaScript files.

In plain words
What is it for?
Use it when editing publish.css or publish.js, applying Publish themes, or adding frontmatter blocks, navigation, and widgets to a published site.
Why use it?
It explains how to change the site’s appearance and add page behavior beyond the built-in options, while noting that much of the scripting interface is undocumented.

Skill for Claude CodeCodex

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

Good fit Use it when editing publish.css or publish.js, applying Publish themes, or adding frontmatter blocks, navigation, and widgets to a published site.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nweii/agent-stuff/obsidian-publish-customize
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 nweii/agent-stuff --skill obsidian-publish-customize
Clone the repo
git clone --depth 1 https://github.com/nweii/agent-stuff

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 obsidian-publish-customize

README.md
[![agentmods](https://agentmods.dev/badge/skills/nweii/agent-stuff/obsidian-publish-customize/github.svg)](https://agentmods.dev/skills/nweii/agent-stuff/obsidian-publish-customize)
Your own site
<a href="https://agentmods.dev/skills/nweii/agent-stuff/obsidian-publish-customize"><img src="https://agentmods.dev/badge/skills/nweii/agent-stuff/obsidian-publish-customize/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 obsidian-publish-customize

Your own site · 80×15
<a href="https://agentmods.dev/skills/nweii/agent-stuff/obsidian-publish-customize"><img src="https://agentmods.dev/badge/skills/nweii/agent-stuff/obsidian-publish-customize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,808 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00090 $0.02808
Opus 5 $0.00045 $0.01404
Sonnet 5 $0.00018 $0.00562
Haiku 4.5 $0.00009 $0.00281

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

Security

Grade A, and why

obsidian-publish-customize 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 8d 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.

- `curl` against the live website may return a challenge page (HTTP 403). Probe site endpoints and JSON from the browser console with a same-origin `fetch`, not the shell.
skills/obsidian-publish-customize/SKILL.md · 129 lines

How it starts

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

Obsidian Publish customization

Obsidian Publish hosts a vault as a website. Two root files are the only hooks for changing it beyond the built-in site options: publish.css (custom styles) and publish.js (custom scripts). Both are supported insertion points, but almost everything past basic theming is undocumented — you script against Publish's rendered DOM and private globals, which can change without notice.

  • Both files live at the vault root (/publish.css, /publish.js). Hidden from the file explorer by default; publish them from the Publish changes dialog.
  • publish.js only runs on a custom domain. On the default publish.obsidian.md/<site-id> URL it's inert. publish.css works everywhere.

Scope. Theming via Publish CSS variables, and scripting the rendered page via publish.js. Out of scope, kept separate as three documentation domains:

  • Normal Publish operation — publishing notes, custom-domain setup, the Publish CLIs.
  • Obsidian desktop-app theming — themes and CSS snippets inside the app.
  • Plugin development — the developer API for community plugins.

CSS variables overlap between app and Publish (see Theming), but the app's theming workflow and the plugin API are separate references — don't conflate them.

Pushing and iterating

Publishing the root files needs an active Publish subscription and one of two CLIs, depending on the environment:

  • Desktop app available: the Obsidian app CLI publishes a file directly — obsidian publish:add path=publish.css (or path=publish.js); needs the desktop app running. Its publish:list/status/site commands may return no output, so there's no reliable confirmation a push landed — verify in the browser.
  • Headless / CI (no desktop app): the obsidian-headless CLI (ob via bun or npm install -g obsidian-headless) publishes from the command line. After ob login and ob publish-setup --site <slug>, run ob publish — by default it includes only publish: true notes, so add --all to include the root static assets, and --dry-run to preview. ob publish-site-options sets the site toggles non-interactively.

Read the full file on GitHub · 129 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. 8d ago First seen · 129 lines · 90 tokens per session scan A d388f25a52cb

Subscribe to this mod's changes

obsidian-publish-customize is a skill published in the GitHub repository nweii/agent-stuff (9 stars, last pushed 20d ago), licensed MIT. It adds 90 tokens to every session and 2,808 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

better-colors

Helps you build a color system and answer anything about color in your project. You can generate palettes, use semantic tokens, convert between formats, check contrast and more.

jakubkrehel/skills · 38 tokens