omni-project-sync
Assign marketplace skills to projects, detect drift between a project's copies and the marketplace, and resolve it through Omni's previewed operations. Use when the user asks to install, add, sync, update or check skills in a project, or when a project's skills look out of date.
- License 许可
- MIT
- 所属仓库
- suarja/omni
- 最近更新
- 2026-10-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- omni-project-sync
- description
- Assign marketplace skills to projects, detect drift between a project's copies and the marketplace, and resolve it through Omni's previewed operations. Use when the user asks to install, add, sync, update or check skills in a project, or when a project's skills look out of date.
03 SKILL.md 正文
Keeping projects in sync with the marketplace
Projects carry copies of marketplace skills, one folder per harness. Omni knows which copies it wrote (bindings) and can tell when a copy drifted.
Steps
omni_status— list the registered projects and pick the one the user means (ask when several match).omni_list_project_assets { projectId }— managed skills with their binding state, unmanaged skills present only in the project, per harness.omni_drift_report { projectId }— for each managed skill:current,update(marketplace moved on),conflict(the project copy was edited locally).- To add a skill:
omni_preview_assign { artifactPath, sourceId, packageId, projectIds }, present the plan (which harness folders receive it, the commit), then use the consent rule below and callomni_apply. - To adopt a local edit into the marketplace:
omni_preview_capture { projectId, relativePath, target }— the project's version becomes the marketplace version — then use the consent rule below and callomni_apply. To take the marketplace version instead, tell the user to open the project in Omni and choose "Take the marketplace version" on the conflict. To update linked copies from the current marketplace, useomni_preview_sync_skill { sourceId, packageId, artifactPath, projectIds? }, thenomni_applyunder the same consent rule.omni_preview_update_skillincludes eligible linked copies by default; setsourceOnly: truefor an explicit marketplace-only update. Both keep local edits. - Unmanaged skills that exist in several projects are candidates for capture: say so, once.
Rules
- Never edit files in
.claude/skillsor.agents/skillsby hand: every write goes through a preview the user approves in Omni. - Report drift as facts (hashes differ), not as blame.
Use the packageId returned by omni_list_marketplace or omni_find_skill,
for example packages/<name>. The short package name also works. Previews and
receipts keep the canonical observed id.
Register a project
If omni_status does not list the intended project, call
omni_preview_register_project { path?, reason? }. Omit path for this session's
working folder; pass the project path when it is another folder. Absolute paths
work without a known working directory; relative paths resolve against the calling
agent's working directory. The target resolves to its Git root when present, else
the folder itself. Registering another project requires conversation consent under
the same approval rule. Do not ask the user to open Desktop just to register it.
Registration lets Omni read the folder; it writes no project files. Undo archives
it. Use the consent rule below: existing clear authorization counts for conversation
approval; when projects are configured for omni, approval happens in Desktop.
An active registration returns ready and projectId without a write. Otherwise
apply the preview with omni_apply; use the returned projectId directly in
omni_preview_assign. An archived registration is restored with the same id.
If blocked, report the refusal and recovery text; do not bypass the path guard.
Consent
<!-- Generated from packages/omni-skills/consent.md. -->
For ordinary skill changes, previously given clear approval for this exact plan counts; do not ask again. If approval is not already clear, present the plan and wait for a clear yes; no or unclear means do nothing. For approval: "omni": Approval happens in Omni for the reason returned with the preview. Tell the user in one line, then call omni_apply; it returns pending while the request waits. Call it again with the same requestId; the request does not expire. If the user approves in Omni later, omni_receipt shows the result. Route every write through Omni preview, omni_apply, and its receipt.
For sharing or publishing, follow omni-share; author and fix skills only in the active workshop, never in a storefront.
Install external skills through Omni using omni_list_external_library, omni_preview_install_external, omni_apply and its receipt; never run npx skills add directly.
Managed files
Never edit a skill folder, a plugin or marketplace manifest, or the personal marketplace
directly — Omni's guard refuses it. Use omni_preview_update_skill, omni_preview_capture, or
omni_preview_assign to plan the change, then omni_apply using the user's existing clear authorization for that exact change.
04 同仓库更多 Skills
review
暂无简介
omni-summarize
Summarize what an agent session did, or what a receipt changed, in one factual paragraph. Use when the user asks what an agent session did, or what a receipt changed.
omni-suggest
Suggest marketplace skills that fit this project's detected stack, add the chosen ones through Omni with consent, then offer to assign them to the project. Use when the user asks what skills would help this project, what to install, or how to improve the agent setup.
omni-skill-authoring
Create or update a skill in the user's Omni marketplace through the Omni MCP tools instead of writing SKILL.md files by hand. Use when the user asks to create, write, add, improve or update a skill, or to turn a lesson into a skill.
omni-share
Share a workshop plugin through a public storefront using Omni. Use when the user says "share this plugin", "share this skill", "publish", "make a marketplace for a person, team or vertical", "lead magnet", or "storefront".
omni-marketplace-routing
Decide which plugin of the user's Omni marketplace should own a new or moved skill, using the marketplace listing and identity findings. Use when creating a skill, when a skill seems misplaced, or when two skills overlap.