Obsidian Publish All
DevOps & Securityobsidian-publish-allObsidian 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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-runfirst so the user can review the changeset before publishing. - The script runs
ob publish --path <locale> --all --yesfor 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 editen/publish.jsorpublish-all.tsdirectly to add/remove locales; editlocales.jsonand runnpx tsx scripts/build-publish-js.tsto regenerate.