obsidian-publish-customize

obsidian-publish-customize is a skill for Claude Code, Codex from nweii/agent-stuff. It costs 45 tokens per session (2,763 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 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,763 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.00045 $0.02763
Opus 5.5 $0.00018 $0.01105
Sonnet 5.5 $0.00009 $0.00553
Haiku 4.5 $0.00005 $0.00276

Measured 2mo ago against content hash efc9d3965f43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo ago Changed · -45 tokens per session efc9d3965f43
  2. 3mo 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 (10 stars, last pushed 15d ago), licensed MIT. It adds 45 tokens to every session and 2,763 once invoked, about $0.0002 per session on Opus 5.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

obsidian-publish-customize compared with skills from other repositories

obsidian-publish-customize next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
obsidian-publish-customizenweii/agent-stuffSkill1015d agoMITA45Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34kyesterdayMITA52Codex
baseline-uivercel-labs/open-agentsSkill5.9kyesterdayMITA48Claude Code, Codex
prototype-webnexu-io/html-anythingSkill17k4d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9kyesterdayMITA67Claude Code, Codex