Obsidian Project Sync
Purpose
Sync durable facts from real project files into an Obsidian-compatible Markdown wiki. Record project knowledge, not the agent's conversation or work narration.
Resolve the Wiki
Use the first available source:
- Path explicitly provided by the user.
- Existing project/vault instruction file such as
SCHEMA.md, AGENTS.md, CLAUDE.md, or a handoff note.
- Environment variables such as
OBSIDIAN_VAULT_PATH or WIKI_PATH.
- A clearly existing local Obsidian/Markdown wiki folder.
If the wiki path is still ambiguous, ask for it. If the wiki is inaccessible, include a compact Obsidian Memory Update block in the final response.
Scope Gate
Sync only project-type work tied to a real local project folder or repository. Do not store:
- ordinary agent chat content
- assistant status updates or process narration
- skill-installation discussions
- tool-operation history
- "what the agent did" logs
- secrets, tokens, passwords, API keys, private keys, full
.env contents, credentials, or noisy logs
Language
Honor the user's requested language. If none is specified, match the existing wiki's language. Keep project names, product names, framework/library names, programming language names, commands, paths, file names, API names, code identifiers, config keys, URLs, and error messages in their original form.
Workflow
- Orient first: read existing
SCHEMA.md, index.md, and recent log.md when present; search existing notes before creating new ones.
- Inspect real project files, repo state, docs, source code, tests, configs, and verification commands.
- Follow the wiki's existing schema. If no schema exists, use the default layout below.
- Write a sanitized raw project snapshot before or alongside compiled notes.
- Update the compiled project entity page with durable content: overview, architecture, tech stack, important paths, key files, current status, verification commands, open issues, and related projects.
- Append a project change log entry with modification time and modification content; when useful, include changed files, commands, verification results, and source notes.
- Update
index.md, log.md, wikilinks.md, and relevant index pages if they exist.
- Use Obsidian
[[wikilinks]] to connect projects, change logs, related projects, technologies, decisions, PRDs/specs, and reusable project/domain concepts.
- Keep
concepts/, comparisons/, and queries/ sparse; create pages there only for reusable project/domain knowledge, comparisons, or valuable query results.
Default Layout
Use this only when the target wiki has no stronger local convention:
raw/projects/<project-slug>/<YYYY-MM-DD>-<task-slug>.md
entities/<project-name>/<project-name>.md
entities/<project-name>/<project-name> <change-log-label>.md
Choose <change-log-label> in the user's/wiki's language, such as Change Log for English or 修改记录 for Chinese.
Source Project Docs
Read existing project guidance when present: AGENTS.md, CLAUDE.md, CONTRIBUTING.md, README.md, docs/HANDOFF.md, HANDOFF.md, or equivalent local files. Do not create or modify agent-specific project docs solely for wiki sync unless the user asks.
Verification
Before claiming completion, verify:
- expected notes exist in the wiki
- wikilinks are not broken
- sensitive-value scans do not reveal credentials
In the final response, briefly report which notes were created or updated.
1---2name: obsidian-project-sync3description: Use when the user asks to sync, store, update, or persist real local project content, project information, durable project memory, Obsidian notes, markdown wiki notes, or LLM Wiki notes.4metadata:5 source: https://skillmd.com/skills/jinhong270/obsidian-project-sync6---78# Obsidian Project Sync910## Purpose1112Sync durable facts from real project files into an Obsidian-compatible Markdown wiki. Record project knowledge, not the agent's conversation or work narration.1314## Resolve the Wiki1516Use the first available source:17181. Path explicitly provided by the user.192. Existing project/vault instruction file such as `SCHEMA.md`, `AGENTS.md`, `CLAUDE.md`, or a handoff note.203. Environment variables such as `OBSIDIAN_VAULT_PATH` or `WIKI_PATH`.214. A clearly existing local Obsidian/Markdown wiki folder.2223If the wiki path is still ambiguous, ask for it. If the wiki is inaccessible, include a compact `Obsidian Memory Update` block in the final response.2425## Scope Gate2627Sync only project-type work tied to a real local project folder or repository. Do not store:2829- ordinary agent chat content30- assistant status updates or process narration31- skill-installation discussions32- tool-operation history33- "what the agent did" logs34- secrets, tokens, passwords, API keys, private keys, full `.env` contents, credentials, or noisy logs3536## Language3738Honor the user's requested language. If none is specified, match the existing wiki's language. Keep project names, product names, framework/library names, programming language names, commands, paths, file names, API names, code identifiers, config keys, URLs, and error messages in their original form.3940## Workflow41421. Orient first: read existing `SCHEMA.md`, `index.md`, and recent `log.md` when present; search existing notes before creating new ones.432. Inspect real project files, repo state, docs, source code, tests, configs, and verification commands.443. Follow the wiki's existing schema. If no schema exists, use the default layout below.454. Write a sanitized raw project snapshot before or alongside compiled notes.465. Update the compiled project entity page with durable content: overview, architecture, tech stack, important paths, key files, current status, verification commands, open issues, and related projects.476. Append a project change log entry with modification time and modification content; when useful, include changed files, commands, verification results, and source notes.487. Update `index.md`, `log.md`, `wikilinks.md`, and relevant index pages if they exist.498. Use Obsidian `[[wikilinks]]` to connect projects, change logs, related projects, technologies, decisions, PRDs/specs, and reusable project/domain concepts.509. Keep `concepts/`, `comparisons/`, and `queries/` sparse; create pages there only for reusable project/domain knowledge, comparisons, or valuable query results.5152## Default Layout5354Use this only when the target wiki has no stronger local convention:5556```text57raw/projects/<project-slug>/<YYYY-MM-DD>-<task-slug>.md58entities/<project-name>/<project-name>.md59entities/<project-name>/<project-name> <change-log-label>.md60```6162Choose `<change-log-label>` in the user's/wiki's language, such as `Change Log` for English or `修改记录` for Chinese.6364## Source Project Docs6566Read existing project guidance when present: `AGENTS.md`, `CLAUDE.md`, `CONTRIBUTING.md`, `README.md`, `docs/HANDOFF.md`, `HANDOFF.md`, or equivalent local files. Do not create or modify agent-specific project docs solely for wiki sync unless the user asks.6768## Verification6970Before claiming completion, verify:7172- expected notes exist in the wiki73- wikilinks are not broken74- sensitive-value scans do not reveal credentials7576In the final response, briefly report which notes were created or updated.