Skip to content

Cross-machine sync: share everything that isn't machine-specific #823

Open

Description

@ndeybach

Problem

Git sync carries skill, agent and extra files. Everything else lives in config.yaml, which stays on each machine, so a new machine needs hand wiring after pull. Most of that config is the same on every machine.

Goal: on a new machine, pull and you're done.

Not synced today

Item Current behavior
Tracked repos pull only runs sync. Clones are missing until you run skillshare install.
MCP servers Shareable only through an opt-in sources.mcp file.
Extras definitions Which folders and files (rules, commands, AGENTS.md…) go to which tool directories.
Plugins, hooks Documented as not moved by push / pull.
Mode, include/exclude filters Preferences, not paths.

Proposal

  1. Split the config. A shared file in the repo holds what is the same on every machine. A local file keeps only what differs per machine: which tools are installed. pull applies the shared file.
  2. Portable paths by default. Today paths are saved absolute (/home/alice/...) unless preserve_tilde_on_save is turned on. Save ~/... for home paths and relative paths for anything inside the repo, so the shared file works on any username.
  3. Install tracked repos on pull. Add pull --install (or make it the default) to re-clone missing tracked repos, plus an "Install missing repos" button next to Pull on the Git Sync page.
  4. Choose what to sync per machine. Let each machine opt in or out by category, for example skills and MCP but no agents, hooks or plugins, with a persistent setting such as sync: [skills, mcp]. Today you pick a git scope (one directory) and choose categories per run.

skillshare 0.30.1

Activity

  1. self-assigned this
    on Nov 9, 2026
  2. added
    feature
    on Nov 9, 2026
  3. runkids commented on Nov 11, 2026

    @runkids
    Owner

    Thanks for laying this out! The goal of avoiding manual setup on another machine makes sense. Before settling on an approach, I would like to understand where the friction is greatest for you.

    Is the most time-consuming part reinstalling tracked repos, or recreating the MCP, extras, and other configuration that stays local today?

    Also, is this mainly a one-time problem when setting up a new machine, or an ongoing problem where you change something on one machine and have to repeat that change on the others?

    Those point to different solutions: a setup export/import might help with the first, while ongoing synchronization would need a clearer shared/local configuration model. Nothing is decided yet; knowing which part hurts most would help us keep the solution focused.

  4. ndeybach commented on Nov 11, 2026

    @ndeybach
    Author

    Hi @runkids ,

    Thanks for the interest in implementing this !

    Indeed I think my issue was too focused on the first part of the problem I encountered first: importing on another machine a setup.
    Obviously I encountered this aspect of export/import first and that has maybe focused this issue too much on this aspect 😅.

    But my real long term goal would be (if possible) to keep everything (that makes sense to at least) in sync between multiple machines.

    So that if a mcp, an agent configuration, or a skill or anything that skillshare handles is added on one machine, ... it is easy to pick up on another and accept or not the changes there too without figuring out manually what you did on another and trying not to drift.


    The main (finicky for some) points I could see to implement are :

    • how to deal with the fact that you may WANT DRIFT to appear. Like maybe on computer 1 you want an MCP that you don't want on computer 2 and vice versa.
    • how to have a UI/UX that makes it able to deal with both easily when you want it fast and in the detail when you want granularity of control on what is kept in sync or not. Probably close to what a version control like git is even ahah.
    • maybe an option to auto sync without review, for those who agree on having exactly the same non machine specific things synced
    • is git the best / easiest method for everyone ? Is it same to use for possibly concurent write / reads ? And some other multi actors common (but not easy to deal with) questions..

    To answer your questions directly :

    The initial import / export currently is time consuming since manual. But even with that dealt with, using skillshare actively would then become the main pain point since you would need to go back to all manual aspects if there is no sync mechanism later on.

  5. salmonumbrella commented on Nov 13, 2026

    @salmonumbrella
    Contributor

    Ongoing, and mostly the settings rather than the tracked repos.

    Tracked repos are the small part. Their records already travel
    (.metadata.json is in the skills repository) and skillshare install with
    no arguments re-clones them. What is missing is that pull does not do it,
    so the second machine has records without clones.

    The large part is that hooks, plugins and extras definitions have no file
    that travels at all, and MCP has one only if every machine sets
    sources.mcp by hand. Each change on one machine has to be repeated on the
    others, and nothing shows what is out of step. That is a problem on every
    change, not once per machine.

    So this needs the shared/local model you described, and an export/import
    would not cover it. Proposed model: one optional config.shared.yaml inside
    the synced repository, same shapes as config.yaml, limited to settings
    that are not machine-specific. config.yaml stays local and untracked, as
    today, and gains a pointer to the shared file plus a per-machine skip list.
    A machine can skip a shared entry, override it, or keep an entry local only.
    A config without the pointer behaves exactly as it does now.

    It falls into steps that are each useful alone: pull installs what the
    pulled records name; the shared file for extras definitions; then hooks,
    MCP and plugins. Choosing whole categories per machine (your item 4,
    sync: [skills, mcp]) is a separate setting I have left out for now. I can
    write this up under proposals/ if that helps you decide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions