projectatlas
Use ProjectAtlas before broad source reads, preferring the installed short atlas CLI for an exact checkout and MCP for registered…
Build, review, or fix ProjectAtlas plugin/runtime installer integration for Codex, Claude Code, and OpenCode, especially version convergence, stale ProjectAtlas cache repair, MCP config generation, skill artifacts, host smoke tests, and fake-host tests for ProjectAtlas releases.
$ npx -y skills add styler-ai/ProjectAtlas --skill codex-coding-plugin --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/codex-coding-pluginContext preview
The summary Claude sees to decide when to auto-load this skill.
Build, review, or fix ProjectAtlas plugin/runtime installer integration for Codex, Claude Code, and OpenCode, especially version convergence, stale ProjectAtlas cache repair, MCP config generation, skill artifacts, host smoke tests, and fake-host tests for ProjectAtlas releases.
name: codex-coding-plugin description: Build, review, or fix ProjectAtlas plugin/runtime installer integration for Codex, Claude Code, and OpenCode, especially version convergence, stale ProjectAtlas cache repair, MCP config generation, skill artifacts, host smoke tests, and fake-host tests for ProjectAtlas releases.
Make ProjectAtlas releases converge to one verified version across the repository release tag, ProjectAtlas plugin manifests, native runtime binary, generated MCP configs, Codex marketplace/plugin cache, Codex global MCP registry, packaged ProjectAtlas skill files, Claude Code config, OpenCode config, and any old ProjectAtlas information that can survive in a host cache.
This is a repo-local ProjectAtlas skill. Do not generalize these rules into product claims for unrelated plugins. The point is to keep this repository's supported host integrations from reintroducing stale ProjectAtlas versions or paths.
1. Treat the ProjectAtlas release tag and plugin manifest versions as the release contract, but verify them against the native runtime with `projectatlas --format json runtime-info` before writing configs. 2. Never trust one version signal alone. Check every ProjectAtlas surface that can keep stale data:
3. Prefer official host commands for host state. Inspect cache/source files only after the host reports the source path and after confirming it is the official ProjectAtlas source. 4. Make official ProjectAtlas paths work. If an official Codex marketplace/plugin cache is stale, repair it automatically with the supported remove/add, upgrade, or marketplace replacement flow, then re-read host state. Do not stop at a stale-cache warning unless the environment is intentionally managed or repair still cannot converge. 5. Preserve user-managed environments. If the marketplace/source is not clearly the official `styler-ai/ProjectAtlas` source, do not mutate it; report a concrete user-managed skip. 6. Claude Code and OpenCode do not use the Codex marketplace/cache model in this repo. For them, verify the generated project-local config with structured JSON parsing, then smoke the real host CLI when installed. 7. Pin generated MCP configs to absolute verified runtime, DB, and config paths. Avoid PATH-only fallbacks for ProjectAtlas-installed configs. 8. Compare canonical runtime paths, including symlink resolution where available. A shim path and resolved executable path must not create a false mismatch if they refer to the same verified runtime. 9. Keep installer output concrete: say which host, version, path, config, cache, registry entry, or workflow pin was verified, repaired, skipped, or still mismatched.
Use a single small helper for each host surface so the installer checks data the same way in implementation and tests. The common ProjectAtlas bug is checking one fresh surface, then installing from another stale surface: for example, `codex plugin list` reports the expected version while the reported source path still contains an old manifest or old ProjectAtlas skill.
Required guard for Codex ProjectAtlas plugin repair:
if plugin_list.version == expected
and marketplace_ref == expected_tag
and reported_source_manifest.version == expected:
no-op
else if official ProjectAtlas marketplace:
remove/add or upgrade the plugin
re-read plugin list and source manifest
require both to match expected
else:
skip mutation with clear user-managed messageRequired guard for ProjectAtlas generated host configs:
runtime_info.version == expected and command_path == canonical_verified_runtime and args include "--require-version", expected, "--db", selected_db, "mcp" and optional config path == selected_config and host-specific fields match the supported shape
OpenCode host-specific fields are `type = "local"`, `enabled = true`, command array shape, and project `cwd`. Claude Code uses an `.mcp.json`-compatible `mcpServers.projectatlas` shape and must not rely on `cwd` for project binding because DB/config arguments are absolute.
Use fake host commands for deterministic installer tests and real host CLI smoke tests when installed locally. The minimum regression matrix is:
Rust-native, high-performance local repository intelligence for coding agents and large codebases. A persistent SQLite map guides Codex, Claude Code, OpenCode, and other MCP-capable agents to the right code before they spend context reading the wrong files.
Use ProjectAtlas before broad source reads, preferring the installed short atlas CLI for an exact checkout and MCP for registered…