# 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.

- Skill name: `obsidian-publish-all`
- Category: [DevOps & Security](https://www.openparable.com/skill/devops-security/1)
- Source: https://github.com/obsidianmd/obsidian-help/blob/HEAD/.claude/skills/obsidian-publish-all/SKILL.md
- Repository: obsidianmd/obsidian-help (1,841 GitHub stars when collected)

## SKILL.md

Publish all active locales to Obsidian Publish.

The working directory is the obsidian-help repo root.

## Commands

```bash
# 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.

---

Source: https://www.openparable.com/skill/devops-security/obsidian-publish-all (OpenParable). Cite the canonical URL above.
