#3116·ECC

Home installs copy .agents/ into ~/.claude and ~/.codex (unread); exclusions miss it; Codex install skips framework-language via Claude-only deps

Author: mattgdrums-cloudCreated Sep 14, 2026Updated Sep 14, 2026

Summary

With ECC 2.2.1 (c9aa19a), a home-target install (--target claude or --target codex, --profile full) has three related problems.

1. .agents/ is copied verbatim into each harness home folder

agents-core lists .agents in paths for every target (manifests/install-modules.json). PLATFORM_SOURCE_PATH_OWNERS in scripts/lib/install-targets/helpers.js doesn't list .agents, so claude-home and codex-home copy it as-is:

  • ~/.claude/.agents/{skills/…(39 skills), plugins/marketplace.json}
  • ~/.codex/.agents/{skills/…, plugins/marketplace.json}

Neither location is read. Claude Code loads skills from ~/.claude/skills. Codex loads user skills from $HOME/.agents/skills (https://developers.openai.com/codex/skills#where-codex-loads-local-skills), and it reads a repo-scope .agents/skills only when it is launched inside a git repo. The copies can't be removed by hand either, because ecc doctor flags them as drift and ecc repair / auto-update restore them.

Suggested fix: treat .agents as foreign for home targets. Either skip it, or map .agents/skills to $HOME/.agents/skills for codex-home.

2. Component exclusions don't reach .agents/skills/

--without skill:deep-research removes skills/deep-research, but .agents/skills/deep-research is still installed in both homes.

3. Codex installs silently skip Codex-capable modules through Claude-only dependencies

framework-language, orchestration and machine-learning all list codex in targets. They depend on rules-core / commands-core, which don't list codex, so the Codex install records all six in skippedModules. The result is that 74 skills available to Claude (for example python-patterns, python-testing, frontend-patterns, mle-workflow) are missing from Codex, and no warning is shown.

Related stale comment: scripts/sync-ecc-to-codex.sh:342 says Codex skills come from ~/.agents/skills/ "installed by ECC installer". The installer writes to ~/.codex/skills/ and never to ~/.agents/skills/.

Environment: macOS, ECC 2.2.1 installed from the plugin cache, Claude Code 2.1.270, Codex CLI (current).