[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71NMYJRQPCHH54X2TM7FV4T":3,"skill-same:01M71NMYJRQPCHH54X2TM7FV4T":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M71NMYJRQPCHH54X2TM7FV4T","ln-013-config-syncer",null,"Use when installing or verifying this marketplace in Claude and Codex, aligning selected plugins, MCP settings, and Codex execution defaults.","vitalikpestov\u002FSkills-Catalog","vitalikpestov","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13882997?v=4","01M71N4QG0CWRXX4R24JQZXDDQ","Vitalik Pestov","01M71N4QGMSYRW607DDSE0CQMM",2,"MIT","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"ln","config","ln 013 config syncer","execution","MCP","use","when","codex","marketplace","settings","plugins","2026-11-10 10:56:23",false,"---\nname: ln-013-config-syncer\ndescription: \"Use when installing or verifying this marketplace in Claude and Codex, aligning selected plugins, MCP settings, and Codex execution defaults.\"\nlicense: MIT\n---\n\n> **Paths:** File paths (`references\u002F`) are relative to this skill directory.\n\n# Marketplace and Config Aligner\n\n**Type:** L3 Worker\n**Category:** 0XX Shared\n\nInstalls or verifies this repository's marketplace and selected plugins for Claude Code and Codex CLI without making either agent the source of truth for the other. `agile-workflow` is the default development plugin; optional plugins are installed only when explicitly requested or selected. MCP and Codex policy settings are aligned non-destructively after marketplace health is known.\n\n## MANDATORY READ\n\n**MANDATORY READ:** Load `references\u002Fcoordinator_summary_contract.md`, `references\u002Fenvironment_worker_runtime_contract.md`, and `references\u002Fworker_runtime_contract.md`\n**MANDATORY READ:** Load `references\u002Fagent_skill_roots_contract.md`\n\n---\n\n## Input \u002F Output\n\n| Direction | Content |\n|-----------|---------|\n| **Input** | OS info, `disabled` flags per agent, `targets` (`claude` \u002F `codex` \u002F `both` \u002F `all`), `plugins` (`agile-workflow` default, explicit list, or `all`), `dry_run` flag, optional `auto_install_providers` flag, optional `runId`, optional `summaryArtifactPath` |\n| **Output** | Structured summary envelope with `payload.status` = `completed` \u002F `skipped` \u002F `error`, plus per-target alignment outcomes in `changes` \u002F `detail` |\n\nIf `summaryArtifactPath` is provided, write the same summary JSON there. If not provided, return the summary inline and remain fully standalone. If `runId` is not provided, generate a standalone `run_id` before emitting the summary envelope.\n\n`dry_run=true` is detection-only: do not register marketplaces, install plugins, edit MCP\u002FCodex config, write `.bak` files, or auto-install providers. Return planned actions and drift details in the summary.\n\n## Runtime\n\nRuntime family: `environment-worker-runtime`\n\nPhase profile:\n1. `PHASE_0_CONFIG`\n2. `PHASE_1_DISCOVER_STATE`\n3. `PHASE_2_VERIFY_MARKETPLACE_INSTALLS`\n4. `PHASE_3_ALIGN_MCP_SETTINGS`\n5. `PHASE_4_ALIGN_CODEX_POLICY`\n5a. `PHASE_4A_MCP_PROVIDER_CHECK`\n6. `PHASE_5_WRITE_SUMMARY`\n7. `PHASE_6_SELF_CHECK`\n\nRuntime rules:\n- emit `summary_kind=env-marketplace-align`\n- standalone runs generate their own `run_id` and write the default worker-family artifact path\n- managed runs require both `runId` and `summaryArtifactPath` and must write the summary to the exact provided path\n- always write the validated summary artifact before terminal outcome\n\n## Output Contract\n\nAlways build a structured `env-marketplace-align` summary envelope per:\n- `references\u002Fcoordinator_summary_contract.md`\n- `references\u002Fenvironment_worker_runtime_contract.md`\n\nPayload fields:\n- `targets`\n- `plugin_alignment`\n- `marketplace_health`\n- `mcp_alignment`\n- `mcp_providers`\n- `codex_execution_defaults`\n- `status`\n\n---\n\n## Config Paths by OS\n\n| Agent | Windows | macOS \u002F Linux |\n|-------|---------|---------------|\n| **Claude** (primary) | `%USERPROFILE%\\.claude.json` | `~\u002F.claude.json` |\n| **Claude** (fallback) | `%USERPROFILE%\\.claude\\settings.json` | `~\u002F.claude\u002Fsettings.json` |\n| **Codex** | `%USERPROFILE%\\.codex\\config.toml` | `~\u002F.codex\u002Fconfig.toml` |\n\n---\n\n## Workflow\n\n```text\nDiscover State -> Verify Marketplace Installs -> Align MCP -> Align Codex Policy -> Verify & Report\n```\n\n### Phase 1: Discover State\n\n1. Read Claude settings:\n   - `~\u002F.claude.json` (primary) + `~\u002F.claude\u002Fsettings.json` (fallback)\n   - extract `mcpServers`, enabled marketplaces\u002Fplugins, and hook state\n2. Read Codex config:\n   - `~\u002F.codex\u002Fconfig.toml`\n   - extract `[mcp_servers.*]`, `[marketplaces.*]`, top-level `approval_policy`, and top-level `sandbox_mode`\n3. Inspect repo marketplace surfaces:\n   - Claude: `.claude-plugin\u002Fmarketplace.json`\n   - Codex: `.agents\u002Fplugins\u002Fmarketplace.json`\n   - Codex plugin manifests: `plugins\u002F*\u002F.codex-plugin\u002Fplugin.json`\n4. Resolve plugin selection:\n   - always include `agile-workflow`\n   - if `plugins=all`, include every plugin listed by the marketplace\n   - if an explicit list is provided, install `agile-workflow` plus the requested plugins\n   - if interactive and optional plugins are not specified, ask which optional plugins to install\n   - if non-interactive and optional plugins are not specified, install or verify only `agile-workflow`\n5. Display current state table with enabled targets, selected plugins, marketplace health, duplicate-risk findings, and Codex execution-default drift.\n\n### Phase 2: Verify Marketplace Installs\n\nFor each target where `disabled` is not `true`:\n\n| Target | Expected install model | Verification |\n|--------|------------------------|--------------|\n| Claude | Native Claude marketplace | Marketplace is registered through Claude plugin settings and selected plugins resolve from `.claude-plugin\u002Fmarketplace.json` |\n| Codex | Native Codex marketplace | Marketplace is registered through Codex plugin settings and selected plugins resolve from `.agents\u002Fplugins\u002Fmarketplace.json` \u002F `plugins\u002F*\u002F.codex-plugin\u002Fplugin.json` |\n\nInstall policy:\n- Claude marketplace: `\u002Fplugin marketplace add levnikolaevich\u002Fclaude-code-skills`\n- Claude plugin: `\u002Fplugin install {plugin}@levnikolaevich-skills-marketplace`\n- Codex marketplace: `codex plugin marketplace add levnikolaevich\u002Fclaude-code-skills`\n- Codex plugin selection: verify selected plugins exist in `.agents\u002Fplugins\u002Fmarketplace.json` and `plugins\u002F{plugin}\u002F.codex-plugin\u002Fplugin.json`; if the installed Codex version exposes plugin-level selection only through an interactive native flow, report that exact step instead of fabricating a non-existent CLI command\n\nRules:\n- If `dry_run=true`, do not run marketplace add\u002Finstall commands; report the exact commands that would run.\n- Do not symlink or junction Claude plugin roots into Codex discovery roots.\n- Do not expose both the Claude bridge surface and Codex native surface to the same Codex runtime at once; duplicate skill names are an alignment failure.\n- Do not delete user plugin roots. If duplicate active roots are detected, report the exact paths and ask for explicit cleanup approval.\n- Do not install optional plugins silently.\n- Run `node tools\u002Fmarketplace\u002Fvalidate.mjs` when the repo root is available. Report failure as marketplace drift.\n\n### Phase 3: Align MCP Settings\n\nMCP settings are aligned by server name. No target is the universal source of truth.\n\nMerge strategy:\n1. Build a union of Claude `mcpServers` and Codex `[mcp_servers.*]`.\n2. For matching names, preserve target-only fields and update only fields that are semantically equivalent.\n3. For missing servers, add them to the requested target after format conversion.\n4. Create `.bak` before modifying any config file.\n5. Preserve target-only servers and unrelated config sections.\n6. If `dry_run=true`, report the merge plan only; do not create `.bak` files or edit config.\n\nField mapping:\n\n| Semantic field | Claude JSON | Codex TOML |\n|---|---|---|\n| command | `command` | `command` |\n| args | `args` | `args` |\n| env | `env` | `[mcp_servers.{name}.env]` |\n| HTTP URL | `type: \"http\"` + `url` | `url` |\n| headers | `headers` | `http_headers` |\n\nCodex-only fields to preserve:\n`bearer_token_env_var`, `enabled_tools`, `disabled_tools`, `startup_timeout_sec`, `tool_timeout_sec`, `enabled`, `required`\n\n**Windows implementation note:** Config format conversions with regex or backslash escaping MUST use a temporary `.mjs` script file, not inline `node -e` or bash heredocs.\n\n### Phase 4: Align Hooks and Codex Policy\n\n**Claude hooks:**\n- Claude hook\u002Fstyle sync remains Claude-only.\n- Do not project Claude hooks into Codex (the wire formats differ).\n\n**Codex hooks:**\n\n- Do not project Claude hooks into Codex (the wire formats differ).\n- Do not install product-specific Codex hook shims from this marketplace. Runtime products that need Codex hooks own their own hook scripts, trust model, verification, and service lifecycle.\n- Do not write the legacy `[features] codex_hooks = true` alias. Current Codex uses the stable hooks feature and the canonical block is pure `[hooks.*]` TOML.\n- When removing stale hook blocks managed by older setup runs, write a `.bak` of each edited `config.toml` before any edit (same policy as the MCP merge).\n\n**Codex execution defaults:**\n\nManaged Codex defaults for low-friction setup:\n\n```toml\napproval_policy = \"never\"\nsandbox_mode = \"danger-full-access\"\n```\n\nDecision logic:\n\n| Condition | Action |\n|-----------|--------|\n| Codex target `disabled: true` | SKIP, report `disabled` |\n| defaults already present | SKIP, report `already aligned` |\n| one or both keys missing\u002Fdrifted | Patch only top-level managed keys, preserve unrelated keys\u002Ftables, create `.bak` first |\n\nRules:\n- Manage only top-level `approval_policy` and top-level `sandbox_mode`.\n- Do not rewrite `[windows].sandbox`; it is a different Windows-specific knob.\n- Preserve unrelated Codex config sections such as `model`, `projects`, `notice`, `[marketplaces.*]`, and `[mcp_servers.*]`.\n\n### Phase 4a: MCP Provider Check\n\n**MANDATORY READ:** Load `references\u002Fmcp_provider_requirements.md`.\n\nRuns once per project invocation after MCP alignment. Goal: ensure every MCP server referenced in any aligned config has its language-analyzer providers available for the languages the project actually uses.\n\n1. **Enumerate MCP servers.** Union of MCP servers across Claude and Codex configs. Deduplicate by name.\n2. **Detect project languages.** Probe in order, cheapest first: `pyproject.toml`, `package.json`, `tsconfig.json`, `Cargo.toml`, `go.mod`, `*.csproj`. Use `mcp__hex-line__inspect_path` to probe; do not shell out.\n3. **Look up provider requirements.** Read `references\u002Fmcp_provider_requirements.md`. For `hex-graph`, delegate to `mcp__hex-graph__install_graph_providers`.\n4. **Run provider check.** Call `mcp__hex-graph__install_graph_providers({ mode: \"check\", path: \u003Cproject_root> })`. Do NOT auto-install unless `auto_install_providers=true`.\n5. **Record result.** Write into `environment_state.json` under `mcp_providers`.\n\n### Phase 5: Verify & Report\n\nVerify:\n- Claude marketplace registration resolves the expected source\n- Codex marketplace registration resolves the expected source\n- Codex native plugin manifests validate against the Claude marketplace\n- No duplicate active Codex skill surfaces point to this repo\n- Codex `approval_policy = \"never\"`\n- Codex `sandbox_mode = \"danger-full-access\"`\n- MCP targets were merged without deleting target-only settings\n\n```text\nMarketplace and Config Alignment:\n| Action         | Target | Status                                              |\n|----------------|--------|-----------------------------------------------------|\n| Marketplace    | Claude | registered; agile-workflow installed               |\n| Marketplace    | Codex  | registered; native plugin manifests validated      |\n| MCP align      | Claude | 4 servers aligned (0 deleted)                       |\n| MCP align      | Codex  | 4 servers aligned (1 new)                           |\n| Execution mode | Codex  | approval_policy=never; sandbox_mode=danger-full-access |\n| Hooks          | Codex  | skipped (not supported)                             |\n```\n\n---\n\n## Critical Rules\n\n1. **Independent installs.** Claude and Codex install skills through their own native marketplace flows.\n2. **No agent is the source of truth for another agent's skill installs.**\n3. **Default plugin set.** `agile-workflow` is installed or verified by default because it contains the development workflow.\n4. **Optional plugins are explicit.** Install non-default plugins only when requested, selected, or `plugins=all`.\n5. **No project command copying.** Do not copy `.claude\u002Fcommands` into Codex; project-local commands are host-specific unless represented as marketplace skills\u002Fplugins.\n6. **Non-destructive merge.** Target-only servers and settings are preserved.\n7. **No duplicate active surfaces.** One runtime must not see the same skill names from both legacy bridge roots and native plugin roots.\n8. **No data loss.** Real directories at target paths -> warn and skip, never delete blindly.\n9. **Backup before write.** Create `.bak` before modifying any config file.\n10. **Dry run is read-only.** `dry_run=true` reports planned commands and config changes without mutating user or repo-tracked state.\n11. **Respect `disabled` flags.** Skip all operations for disabled agents.\n12. **Idempotent.** Safe to run multiple times. Already-aligned state is skipped.\n13. **Claude and Codex only.** Do not add unrelated agent branches.\n\n## Anti-Patterns\n\n| DON'T | DO |\n|-------|-----|\n| Treat Claude as Codex source of truth | Install each agent independently |\n| Symlink `.codex\u002Fskills` to `.claude\u002Fplugins` | Use Codex native marketplace registration |\n| Expose both bridge and native Codex surfaces at once | Keep exactly one active Codex install surface |\n| Install every marketplace plugin by default | Install `agile-workflow` by default and require explicit selection for the rest |\n| Copy project-local `.claude\u002Fcommands` to Codex | Represent reusable behavior as marketplace skills\u002Fplugins |\n| Overwrite target config from scratch | Read -> deep-merge -> backup -> edit |\n| Delete plugin\u002Fcache directories automatically | Report exact cleanup steps and require explicit approval |\n\n---\n\n## Definition of Done\n\n- [ ] Claude and Codex target configs discovered\n- [ ] Marketplace registrations verified or installed per target\n- [ ] `agile-workflow` verified or installed for enabled targets\n- [ ] Optional plugins installed only when explicitly requested or selected\n- [ ] `dry_run=true` performed no marketplace, plugin, config, backup, or provider mutations\n- [ ] Skill install surfaces verified without duplicate active roots\n- [ ] Codex native plugin manifests validated\n- [ ] MCP settings aligned without deleting target-only settings\n- [ ] Codex execution defaults aligned or explicitly reported as drift\n- [ ] Hooks handled only for supported targets (Claude hooks Claude-only; product-specific Codex hooks are left to the owning runtime)\n- [ ] MCP provider check completed or explicitly skipped\n- [ ] Structured summary returned\n- [ ] Summary artifact written to the managed or standalone runtime path\n\n---\n\n**Version:** 2.0.0\n**Last Updated:** 2026-04-14\n","> **Paths:** File paths (`references\u002F`) are relative to this skill directory.\n\n# Marketplace and Config Aligner\n\n**Type:** L3 Worker\n**Category:** 0XX Shared\n\nInstalls or verifies this repository's marketplace and selected plugins for Claude Code and Codex CLI without making either agent the source of truth for the other. `agile-workflow` is the default development plugin; optional plugins are installed only when explicitly requested or selected. MCP and Codex policy settings are aligned non-destructively after marketplace health is known.\n\n## MANDATORY READ\n\n**MANDATORY READ:** Load `references\u002Fcoordinator_summary_contract.md`, `references\u002Fenvironment_worker_runtime_contract.md`, and `references\u002Fworker_runtime_contract.md`\n**MANDATORY READ:** Load `references\u002Fagent_skill_roots_contract.md`\n\n---\n\n## Input \u002F Output\n\n| Direction | Content |\n|-----------|---------|\n| **Input** | OS info, `disabled` flags per agent, `targets` (`claude` \u002F `codex` \u002F `both` \u002F `all`), `plugins` (`agile-workflow` default, explicit list, or `all`), `dry_run` flag, optional `auto_install_providers` flag, optional `runId`, optional `summaryArtifactPath` |\n| **Output** | Structured summary envelope with `payload.status` = `completed` \u002F `skipped` \u002F `error`, plus per-target alignment outcomes in `changes` \u002F `detail` |\n\nIf `summaryArtifactPath` is provided, write the same summary JSON there. If not provided, return the summary inline and remain fully standalone. If `runId` is not provided, generate a standalone `run_id` before emitting the summary envelope.\n\n`dry_run=true` is detection-only: do not register marketplaces, install plugins, edit MCP\u002FCodex config, write `.bak` files, or auto-install providers. Return planned actions and drift details in the summary.\n\n## Runtime\n\nRuntime family: `environment-worker-runtime`\n\nPhase profile:\n1. `PHASE_0_CONFIG`\n2. `PHASE_1_DISCOVER_STATE`\n3. `PHASE_2_VERIFY_MARKETPLACE_INSTALLS`\n4. `PHASE_3_ALIGN_MCP_SETTINGS`\n5. `PHASE_4_ALIGN_CODEX_POLICY`\n5a. `PHASE_4A_MCP_PROVIDER_CHECK`\n6. `PHASE_5_WRITE_SUMMARY`\n7. `PHASE_6_SELF_CHECK`\n\nRuntime rules:\n- emit `summary_kind=env-marketplace-align`\n- standalone runs generate their own `run_id` and write the default worker-family artifact path\n- managed runs require both `runId` and `summaryArtifactPath` and must write the summary to the exact provided path\n- always write the validated summary artifact before terminal outcome\n\n## Output Contract\n\nAlways build a structured `env-marketplace-align` summary envelope per:\n- `references\u002Fcoordinator_summary_contract.md`\n- `references\u002Fenvironment_worker_runtime_contract.md`\n\nPayload fields:\n- `targets`\n- `plugin_alignment`\n- `marketplace_health`\n- `mcp_alignment`\n- `mcp_providers`\n- `codex_execution_defaults`\n- `status`\n\n---\n\n## Config Paths by OS\n\n| Agent | Windows | macOS \u002F Linux |\n|-------|---------|---------------|\n| **Claude** (primary) | `%USERPROFILE%\\.claude.json` | `~\u002F.claude.json` |\n| **Claude** (fallback) | `%USERPROFILE%\\.claude\\settings.json` | `~\u002F.claude\u002Fsettings.json` |\n| **Codex** | `%USERPROFILE%\\.codex\\config.toml` | `~\u002F.codex\u002Fconfig.toml` |\n\n---\n\n## Workflow\n\n```text\nDiscover State -> Verify Marketplace Installs -> Align MCP -> Align Codex Policy -> Verify & Report\n```\n\n### Phase 1: Discover State\n\n1. Read Claude settings:\n   - `~\u002F.claude.json` (primary) + `~\u002F.claude\u002Fsettings.json` (fallback)\n   - extract `mcpServers`, enabled marketplaces\u002Fplugins, and hook state\n2. Read Codex config:\n   - `~\u002F.codex\u002Fconfig.toml`\n   - extract `[mcp_servers.*]`, `[marketplaces.*]`, top-level `approval_policy`, and top-level `sandbox_mode`\n3. Inspect repo marketplace surfaces:\n   - Claude: `.claude-plugin\u002Fmarketplace.json`\n   - Codex: `.agents\u002Fplugins\u002Fmarketplace.json`\n   - Codex plugin manifests: `plugins\u002F*\u002F.codex-plugin\u002Fplugin.json`\n4. Resolve plugin selection:\n   - always include `agile-workflow`\n   - if `plugins=all`, include every plugin listed by the marketplace\n   - if an explicit list is provided, install `agile-workflow` plus the requested plugins\n   - if interactive and optional plugins are not specified, ask which optional plugins to install\n   - if non-interactive and optional plugins are not specified, install or verify only `agile-workflow`\n5. Display current state table with enabled targets, selected plugins, marketplace health, duplicate-risk findings, and Codex execution-default drift.\n\n### Phase 2: Verify Marketplace Installs\n\nFor each target where `disabled` is not `true`:\n\n| Target | Expected install model | Verification |\n|--------|------------------------|--------------|\n| Claude | Native Claude marketplace | Marketplace is registered through Claude plugin settings and selected plugins resolve from `.claude-plugin\u002Fmarketplace.json` |\n| Codex | Native Codex marketplace | Marketplace is registered through Codex plugin settings and selected plugins resolve from `.agents\u002Fplugins\u002Fmarketplace.json` \u002F `plugins\u002F*\u002F.codex-plugin\u002Fplugin.json` |\n\nInstall policy:\n- Claude marketplace: `\u002Fplugin marketplace add levnikolaevich\u002Fclaude-code-skills`\n- Claude plugin: `\u002Fplugin install {plugin}@levnikolaevich-skills-marketplace`\n- Codex marketplace: `codex plugin marketplace add levnikolaevich\u002Fclaude-code-skills`\n- Codex plugin selection: verify selected plugins exist in `.agents\u002Fplugins\u002Fmarketplace.json` and `plugins\u002F{plugin}\u002F.codex-plugin\u002Fplugin.json`; if the installed Codex version exposes plugin-level selection only through an interactive native flow, report that exact step instead of fabricating a non-existent CLI command\n\nRules:\n- If `dry_run=true`, do not run marketplace add\u002Finstall commands; report the exact commands that would run.\n- Do not symlink or junction Claude plugin roots into Codex discovery roots.\n- Do not expose both the Claude bridge surface and Codex native surface to the same Codex runtime at once; duplicate skill names are an alignment failure.\n- Do not delete user plugin roots. If duplicate active roots are detected, report the exact paths and ask for explicit cleanup approval.\n- Do not install optional plugins silently.\n- Run `node tools\u002Fmarketplace\u002Fvalidate.mjs` when the repo root is available. Report failure as marketplace drift.\n\n### Phase 3: Align MCP Settings\n\nMCP settings are aligned by server name. No target is the universal source of truth.\n\nMerge strategy:\n1. Build a union of Claude `mcpServers` and Codex `[mcp_servers.*]`.\n2. For matching names, preserve target-only fields and update only fields that are semantically equivalent.\n3. For missing servers, add them to the requested target after format conversion.\n4. Create `.bak` before modifying any config file.\n5. Preserve target-only servers and unrelated config sections.\n6. If `dry_run=true`, report the merge plan only; do not create `.bak` files or edit config.\n\nField mapping:\n\n| Semantic field | Claude JSON | Codex TOML |\n|---|---|---|\n| command | `command` | `command` |\n| args | `args` | `args` |\n| env | `env` | `[mcp_servers.{name}.env]` |\n| HTTP URL | `type: \"http\"` + `url` | `url` |\n| headers | `headers` | `http_headers` |\n\nCodex-only fields to preserve:\n`bearer_token_env_var`, `enabled_tools`, `disabled_tools`, `startup_timeout_sec`, `tool_timeout_sec`, `enabled`, `required`\n\n**Windows implementation note:** Config format conversions with regex or backslash escaping MUST use a temporary `.mjs` script file, not inline `node -e` or bash heredocs.\n\n### Phase 4: Align Hooks and Codex Policy\n\n**Claude hooks:**\n- Claude hook\u002Fstyle sync remains Claude-only.\n- Do not project Claude hooks into Codex (the wire formats differ).\n\n**Codex hooks:**\n\n- Do not project Claude hooks into Codex (the wire formats differ).\n- Do not install product-specific Codex hook shims from this marketplace. Runtime products that need Codex hooks own their own hook scripts, trust model, verification, and service lifecycle.\n- Do not write the legacy `[features] codex_hooks = true` alias. Current Codex uses the stable hooks feature and the canonical block is pure `[hooks.*]` TOML.\n- When removing stale hook blocks managed by older setup runs, write a `.bak` of each edited `config.toml` before any edit (same policy as the MCP merge).\n\n**Codex execution defaults:**\n\nManaged Codex defaults for low-friction setup:\n\n```toml\napproval_policy = \"never\"\nsandbox_mode = \"danger-full-access\"\n```\n\nDecision logic:\n\n| Condition | Action |\n|-----------|--------|\n| Codex target `disabled: true` | SKIP, report `disabled` |\n| defaults already present | SKIP, report `already aligned` |\n| one or both keys missing\u002Fdrifted | Patch only top-level managed keys, preserve unrelated keys\u002Ftables, create `.bak` first |\n\nRules:\n- Manage only top-level `approval_policy` and top-level `sandbox_mode`.\n- Do not rewrite `[windows].sandbox`; it is a different Windows-specific knob.\n- Preserve unrelated Codex config sections such as `model`, `projects`, `notice`, `[marketplaces.*]`, and `[mcp_servers.*]`.\n\n### Phase 4a: MCP Provider Check\n\n**MANDATORY READ:** Load `references\u002Fmcp_provider_requirements.md`.\n\nRuns once per project invocation after MCP alignment. Goal: ensure every MCP server referenced in any aligned config has its language-analyzer providers available for the languages the project actually uses.\n\n1. **Enumerate MCP servers.** Union of MCP servers across Claude and Codex configs. Deduplicate by name.\n2. **Detect project languages.** Probe in order, cheapest first: `pyproject.toml`, `package.json`, `tsconfig.json`, `Cargo.toml`, `go.mod`, `*.csproj`. Use `mcp__hex-line__inspect_path` to probe; do not shell out.\n3. **Look up provider requirements.** Read `references\u002Fmcp_provider_requirements.md`. For `hex-graph`, delegate to `mcp__hex-graph__install_graph_providers`.\n4. **Run provider check.** Call `mcp__hex-graph__install_graph_providers({ mode: \"check\", path: \u003Cproject_root> })`. Do NOT auto-install unless `auto_install_providers=true`.\n5. **Record result.** Write into `environment_state.json` under `mcp_providers`.\n\n### Phase 5: Verify & Report\n\nVerify:\n- Claude marketplace registration resolves the expected source\n- Codex marketplace registration resolves the expected source\n- Codex native plugin manifests validate against the Claude marketplace\n- No duplicate active Codex skill surfaces point to this repo\n- Codex `approval_policy = \"never\"`\n- Codex `sandbox_mode = \"danger-full-access\"`\n- MCP targets were merged without deleting target-only settings\n\n```text\nMarketplace and Config Alignment:\n| Action         | Target | Status                                              |\n|----------------|--------|-----------------------------------------------------|\n| Marketplace    | Claude | registered; agile-workflow installed               |\n| Marketplace    | Codex  | registered; native plugin manifests validated      |\n| MCP align      | Claude | 4 servers aligned (0 deleted)                       |\n| MCP align      | Codex  | 4 servers aligned (1 new)                           |\n| Execution mode | Codex  | approval_policy=never; sandbox_mode=danger-full-access |\n| Hooks          | Codex  | skipped (not supported)                             |\n```\n\n---\n\n## Critical Rules\n\n1. **Independent installs.** Claude and Codex install skills through their own native marketplace flows.\n2. **No agent is the source of truth for another agent's skill installs.**\n3. **Default plugin set.** `agile-workflow` is installed or verified by default because it contains the development workflow.\n4. **Optional plugins are explicit.** Install non-default plugins only when requested, selected, or `plugins=all`.\n5. **No project command copying.** Do not copy `.claude\u002Fcommands` into Codex; project-local commands are host-specific unless represented as marketplace skills\u002Fplugins.\n6. **Non-destructive merge.** Target-only servers and settings are preserved.\n7. **No duplicate active surfaces.** One runtime must not see the same skill names from both legacy bridge roots and native plugin roots.\n8. **No data loss.** Real directories at target paths -> warn and skip, never delete blindly.\n9. **Backup before write.** Create `.bak` before modifying any config file.\n10. **Dry run is read-only.** `dry_run=true` reports planned commands and config changes without mutating user or repo-tracked state.\n11. **Respect `disabled` flags.** Skip all operations for disabled agents.\n12. **Idempotent.** Safe to run multiple times. Already-aligned state is skipped.\n13. **Claude and Codex only.** Do not add unrelated agent branches.\n\n## Anti-Patterns\n\n| DON'T | DO |\n|-------|-----|\n| Treat Claude as Codex source of truth | Install each agent independently |\n| Symlink `.codex\u002Fskills` to `.claude\u002Fplugins` | Use Codex native marketplace registration |\n| Expose both bridge and native Codex surfaces at once | Keep exactly one active Codex install surface |\n| Install every marketplace plugin by default | Install `agile-workflow` by default and require explicit selection for the rest |\n| Copy project-local `.claude\u002Fcommands` to Codex | Represent reusable behavior as marketplace skills\u002Fplugins |\n| Overwrite target config from scratch | Read -> deep-merge -> backup -> edit |\n| Delete plugin\u002Fcache directories automatically | Report exact cleanup steps and require explicit approval |\n\n---\n\n## Definition of Done\n\n- [ ] Claude and Codex target configs discovered\n- [ ] Marketplace registrations verified or installed per target\n- [ ] `agile-workflow` verified or installed for enabled targets\n- [ ] Optional plugins installed only when explicitly requested or selected\n- [ ] `dry_run=true` performed no marketplace, plugin, config, backup, or provider mutations\n- [ ] Skill install surfaces verified without duplicate active roots\n- [ ] Codex native plugin manifests validated\n- [ ] MCP settings aligned without deleting target-only settings\n- [ ] Codex execution defaults aligned or explicitly reported as drift\n- [ ] Hooks handled only for supported targets (Claude hooks Claude-only; product-specific Codex hooks are left to the owning runtime)\n- [ ] MCP provider check completed or explicitly skipped\n- [ ] Structured summary returned\n- [ ] Summary artifact written to the managed or standalone runtime path\n\n---\n\n**Version:** 2.0.0\n**Last Updated:** 2026-04-14\n",{"name":5,"license":15,"description":7},"main","fbfb242f793fdf040f3a1a6b100896c188c228c8","_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer",1,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog","https:\u002F\u002Fgithub.com\u002Fvitalikpestov","Listing on crypto exchanges","2026-06-15 22:12:56",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add vitalikpestov\u002FSkills-Catalog --skill ln-013-config-syncer",{"tool":49,"command":50},"bunx","bunx skills add vitalikpestov\u002FSkills-Catalog --skill ln-013-config-syncer",{"tool":52,"command":53},"pnpm","pnpm dlx skills add vitalikpestov\u002FSkills-Catalog --skill ln-013-config-syncer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002FSKILL.md",true,[57,63,67,71,75,79,83,87,91],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fagent_skill_roots_contract.md","REFERENCE","参考文档",2572,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Fagent_skill_roots_contract.md",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Faudit_scoring.md",1117,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Faudit_scoring.md",{"path":68,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Faudit_summary_contract.md",2206,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Faudit_summary_contract.md",{"path":72,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Faudit_worker_core_contract.md",1851,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Faudit_worker_core_contract.md",{"path":76,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fcoordinator_summary_contract.md",1009,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Fcoordinator_summary_contract.md",{"path":80,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fenvironment_worker_runtime_contract.md",1665,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Fenvironment_worker_runtime_contract.md",{"path":84,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fmcp_provider_requirements.md",2030,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Fmcp_provider_requirements.md",{"path":88,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Ftemplates\u002Faudit_worker_report_template.md",1686,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Ftemplates\u002Faudit_worker_report_template.md",{"path":92,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fworker_runtime_contract.md",1712,"https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_AI-Automation\u002Fclaude-code-skills-levnikolaevich\u002Fplugins\u002Fsetup-environment\u002Fskills\u002Fln-013-config-syncer\u002Freferences\u002Fworker_runtime_contract.md",[96,123,148,165,188,215],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":122},"01M71V1MC994P553631JZSWVYD","solana-dev","Use when user asks to \"build a Solana dapp\", \"write an Anchor program\", \"create a token\", \"debug Solana errors\", \"set up wallet connection\", \"test my Solana program\", \"deploy to devnet\", or \"explain Solana concepts\" (rent, accounts, PDAs, CPIs, etc.). End-to-end Solana development playbook covering wallet connection, Anchor\u002FPinocchio programs, Codama client generation, LiteSVM\u002FMollusk\u002FSurfpool testing, and security checklists. Integrates with the Solana MCP server for live documentation search. Prefers framework-kit (@solana\u002Fclient + @solana\u002Freact-hooks) for UI, wallet-standard-first connection (incl. ConnectorKit), @solana\u002Fkit for client\u002FRPC code, and @solana\u002Fweb3-compat for legacy boundaries.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Web3\u002Fsolana-dev\u002Fskill\u002FSKILL.md",[],[103,104,105,106,107,108,109,110,23,111,112,113,114,115,116,117,118,119,120,121],"dev","solana dev","solana","Wallet","search","testing","solana cli","kit","web3","react","create","server","write","playbook","live","security","ui","concepts","toolchain","2026-11-10 13:02:02",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":122},"01M71TYQPHE2YGKTT7DG9QCW3K","generating-trading-signals","Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.).\nCombines multiple indicators into composite signals with confidence scores.\nUse when analyzing assets for trading opportunities or checking technical indicators.\nTrigger with phrases like \"get trading signals\", \"check indicators\", \"analyze for entry\",\n\"scan for opportunities\", \"generate buy\u002Fsell signals\", or \"technical analysis\".","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Trading-Finance\u002Fgenerating-trading-signals\u002FSKILL.md",[],[130,131,132,133,134,135,136,137,138,139,140,141,24,25,142,143,144,145,146,147],"generating trading signals","signals","trading signals","trading","get","technical indicators","for","scan","rsi","trigger","python","technical","Bash","analysis","code","io","check","analyze",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":122},"01M71TY4CR3GKGQ3M12X9WN95Y","prediction-monitor","Prediction Monitor - Auto-activating skill for ML Deployment.\nTriggers on: prediction monitor, prediction monitor\nPart of the ML Deployment skill category.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Trading-Finance\u002FAI Predictions\u002Fprediction-monitor\u002FSKILL.md",[],[155,156,157,136,158,159,115,160,161,162,163,164,142],"prediction","monitor","prediction monitor","deployment","read","edit","triggers","grep","auto","ml",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":122},"01M71TXD9MYXZC39HCPP909HTZ","strategy-advisor","High-level strategic thinking and business decision guidance for planning and direction-setting.\nUse when: making strategic decisions, evaluating business options, setting direction, analyzing\ntrade-offs, or when user mentions strategy, business planning, competitive analysis, or long-term planning.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Fstrategy-advisor\u002FSKILL.md",[],[172,173,174,175,176,177,178,179,180,136,181,182,183,24,184,185,25,186,143,187],"strategy advisor","strategy","advisor","competitive","setting","thinking","planning","direction","trade-offs","long","decision","strategic","business","apps","decisions","trade",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":192,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":122},"01M71TWHBT2R1P1FNWTW67ZREP","app-paywall-pilot","Design, audit, debug, and implement App Store-compliant mobile paywalls, subscription flows, pricing screens, trials, offers, feature gates, and subscription lifecycle UX. Use when the user asks to audit my paywall, fix App Store 3.1.2 rejection, improve trial-to-paid, choose plans\u002Fprices\u002Ftrials, review RevenueCat\u002FAdapty\u002FApphud\u002FSuperwall setup, calculate LTV\u002FROAS, or build paywall implementation.","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffrom-dosesync\u002Fapp-paywall-pilot\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffrom-dosesync\u002Fapp-paywall-pilot\u002FSKILL.md",[],[196,197,198,199,200,201,202,203,204,205,206,207,25,208,209,210,211,212,213,214],"app","paywall","app paywall pilot","paid","paywalls","prices","choose","flows","fix","improve","design","app store","review","audit","ux","subscription","mobile","my","calculate",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":219,"licenseFileUrl":220,"sourceHtmlUrl":221,"categories":222,"keywords":223,"publishedAt":122},"01M71TWET8GFKEB7ZHJPMQX29V","figma","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffigma\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fvitalikpestov\u002FSkills-Catalog\u002Fblob\u002Fmain\u002F_Product-Apps\u002Ffigma\u002FSKILL.md",[],[217,224,225,226,227,139,206,23,24,25,228,229,144,230,114,231,232,233,234,235],"fetch","ids","mcp setup","translate","mcp server","Variables","task","Nodes","figma mcp","code implementation","node","assets"]