meta-sync-template

meta-sync-template is a command for Claude Code from tboome33/obsidian-mcp-router. It costs 75 tokens per session (733 once invoked), scanned A, original, Apache-2.0.

An interactive command for copying plugins, snippets, and root documents from a reference Obsidian vault to other configured vaults. Obsidian vaults are folders that contain notes and related configuration.

In plain words
What is it for?
Use it to choose all or selected vaults to synchronize, inspect which ones need setup first, and optionally force a fresh copy.
Why use it?
It avoids manually repeating the same setup across vaults and includes checks for online status, the reference vault, and credentialed plugins that could expose API keys.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the obsidian-router plugin — 49 skills, 54 commands, 2 agents, 3 hooks, 1 MCP server shipped together

Good fit Use it to choose all or selected vaults to synchronize, inspect which ones need setup first, and optionally force a fresh copy.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/tboome33/obsidian-mcp-router/meta-sync-template
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.

Clone the repo
git clone --depth 1 https://github.com/tboome33/obsidian-mcp-router

Made for: Claude Code.

Or install obsidian-router, the plugin that ships this one along with the rest of its 49 skills, 54 commands, 2 agents, 3 hooks, 1 MCP server.

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 meta-sync-template

README.md
[![agentmods](https://agentmods.dev/badge/commands/tboome33/obsidian-mcp-router/meta-sync-template/github.svg)](https://agentmods.dev/commands/tboome33/obsidian-mcp-router/meta-sync-template)
Your own site
<a href="https://agentmods.dev/commands/tboome33/obsidian-mcp-router/meta-sync-template"><img src="https://agentmods.dev/badge/commands/tboome33/obsidian-mcp-router/meta-sync-template/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 meta-sync-template

Your own site · 80×15
<a href="https://agentmods.dev/commands/tboome33/obsidian-mcp-router/meta-sync-template"><img src="https://agentmods.dev/badge/commands/tboome33/obsidian-mcp-router/meta-sync-template.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 733 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00075 $0.00733
Opus 5 $0.00037 $0.00367
Sonnet 5 $0.00015 $0.00147
Haiku 4.5 $0.00007 $0.00073

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

Security

Grade A, and why

meta-sync-template scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/meta-sync-template.md · 35 lines

How it starts

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

meta-sync-template

Interactive bulk propagation of the reference vault (typically .template) to one or more configured vaults. Conversational picker over scripts/setup-vault.mjs's --sync-all and --sync-plugins modes.

The safety guarantees are enforced by the script itself (obsidian-mcp-router v0.11.2+): the reference vault is auto-skipped via a case-insensitive samePath() match (Windows NTFS / macOS APFS safe), and first-time copies of credentialed plugins (currently obsidian-local-rest-api) into vaults that don't have them yet are refused to prevent API-key leaks. The skill's job is purely UX.

Follow the steps in the meta-sync-template skill. The skill:

  1. Locates the cloned obsidian-mcp-router repo (CWD → npm root -gnpm ls -g --parseable → ask the user).
  2. Reads the active router config (list_vaults.configPath, respecting OBSIDIAN_ROUTER_CONFIG).
  3. Calls list_vaults to probe online status (informational — sync works offline too).
  4. Renders a picker table flagging targets that lack obsidian-local-rest-api/data.json with ⚠️ needs bootstrap so the user can prep them first. Asks: All vaults, subset, or cancel.
  5. Asks whether to pass --force (re-clone every plugin folder).
  6. Runs npm run setup-vault -- --sync-all [--force] for the all-vaults case (the script's bulk handler iterates safely). For a subset, loops node scripts/setup-vault.mjs "<path>" --sync-plugins [--force] over the user's selection.
  7. Aggregates per-vault results and reminds the user that any vault currently open in Obsidian needs a reload (Ctrl+R / Cmd+R) to pick up newly synced plugins.

The sync is filesystem-based — offline vaults are propagated too. Per-vault obsidian-local-rest-api/data.json (port + API key) is preserved across re-clones for vaults that already have the plugin (setup-vault.mjs:835-842); for vaults without it, the script refuses the copy with a clear "bootstrap first via setup-vault.mjs "<path>"" message.

Read the full file on GitHub · 35 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. 10d ago First seen · 35 lines · 75 tokens per session scan A 06b2c9f88b1d

Subscribe to this mod's changes

meta-sync-template is a command published in the GitHub repository tboome33/obsidian-mcp-router (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 75 tokens to every session and 733 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.