OpenParable
Skip to content
← Back to skills

Obsidian Publish All

DevOps & Security
obsidian-publish-all

Obsidian Publish All is an Agent Skill for devops & security published in the obsidianmd/obsidian-help repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Publish all active obsidian-help locales (en, ja, pt-br, es, zh, fr) via ob publish. Use this skill whenever the user wants to publish or deploy the help site, push locale changes live, or run ob publish across all locales.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/obsidianmd/obsidian-help/blob/HEAD/.claude/skills/obsidian-publish-all/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/obsidian-publish-all, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Publish all active locales to Obsidian Publish.

The working directory is the obsidian-help repo root.

Commands

# Preview what would be published (no changes made)
npx tsx scripts/publish-all.ts --dry-run

# Publish all active locales
npx tsx scripts/publish-all.ts

# Publish specific locales only
npx tsx scripts/publish-all.ts fr ja zh

Notes

  • Always run --dry-run first so the user can review the changeset before publishing.
  • The script runs ob publish --path <locale> --all --yes for each locale sequentially.
  • If a locale fails, the script continues with the remaining locales and exits with a non-zero code at the end.
  • To publish a single locale manually: ob publish --path <locale> --all --yes
  • Active locales are defined in scripts/locales.json — this is the single source of truth. Do not edit en/publish.js or publish-all.ts directly to add/remove locales; edit locales.json and run npx tsx scripts/build-publish-js.ts to regenerate.