ductor icon indicating copy to clipboard operation
ductor copied to clipboard

[Feature]: Add configuration to disable cross-tool skill sync per provider

Open yinzhou-jc opened this issue 6 months ago • 1 comments

Summary

Ductor currently starts watch_skill_sync automatically and periodically syncs skills across tool-specific directories, including ~/.codex/skills.

This is surprising for users who manage Codex skills separately. If a user deletes Ductor-created symlinks from ~/.codex/skills, the background watcher recreates them again after the next sync cycle, roughly every 30 seconds by default.

Why this is a problem

Cross-tool skill sync is useful as a default feature, but it can become an implicit side effect for users who already have an independent Codex skills setup.

In particular:

  • Ductor-created entries can appear under ~/.codex/skills without the user explicitly opting into Codex skill sync.
  • Deleting those links manually does not persist because the watcher recreates them.
  • Codex may then scan/load Ductor-managed skills, which can produce warnings or other side effects if those skills do not follow Codex's expected skill format.

Related example: #119 shows a nearby interaction where Codex warns about a Ductor workspace skill missing Codex YAML frontmatter.

Requested behavior

Please add a configuration option to disable skill sync globally, for example:

{
  "skills": {
    "sync_enabled": false
  }
}

Or provider-specific toggles, for example:

{
  "skills": {
    "sync": {
      "claude": true,
      "codex": false,
      "gemini": true
    }
  }
}

With provider-specific settings, users could keep Ductor's shared skill workflow for some tools while preventing writes or symlink recreation under ~/.codex/skills.

Current behavior observed

  • Ductor starts the skill sync watcher automatically.
  • The watcher periodically runs skill sync.
  • Removing Ductor-created links from ~/.codex/skills is temporary because they are recreated on the next sync.

Expected behavior

Users should be able to opt out of cross-tool skill sync, especially for codex, so Ductor does not modify ~/.codex/skills when that directory is managed separately.

yinzhou-jc avatar May 22 '26 07:05 yinzhou-jc

Shipped in v0.18.1. New skills config block: skills.sync_enabled (global) and skills.sync.{claude,codex,gemini} (per-provider). A disabled provider is left completely alone — nothing linked in, nothing recreated on the next sync tick — and it's read live from config.json, so no restart needed. That's exactly the ~/.codex/skills opt-out you asked for. Thanks for the well-scoped request.

Release: https://github.com/PleasePrompto/ductor/releases/tag/v0.18.1

PleasePrompto avatar Jun 13 '26 05:06 PleasePrompto