Evergreen

Logo

Local-first deprecation intelligence for software repositories.

View the Project on GitHub arminazimi/evergreen

Codex plugin installation and management

Evergreen ships as a portable Agent Plugins package with a Codex compatibility manifest. It bundles the canonical Evergreen Skill and a local, read-only stdio MCP server. No Evergreen account or hosted Evergreen service is required.

Requirements

Dependency guard

The plugin ships a PostToolUse hook (hooks/hooks.json, matched to apply_patch) and the Skill carries the same instruction for sessions where hooks are off. When a patch adds a dependency that Evergreen’s lifecycle rules mark as deprecated, Codex receives a warning with the evidence and the replacement, and you see a one-line notice.

It reads the patch Codex applied and checks only what the patch added or changed, in package.json, requirements*.txt, constraints*.txt, pyproject.toml, GitHub workflows, and action.yml. Existing dependencies never produce repeated warnings.

Evergreen: pkg:npm/request@2.88.2 — request is deprecated (high, deprecated).
The package is fully deprecated and no new changes are expected.
Replacement: Native fetch or a maintained HTTP client.
Evidence: https://www.npmjs.com/package/request

The script is generated from integrations/dependency-guard/guard.mjs, shared with the Claude plugin. Set EVERGREEN_CHECK_COMMAND to use another Evergreen command, for example a local build.

Install from this repository

The repository marketplace is discovered from .agents/plugins/marketplace.json and exposes the package as evergreen@evergreen-codex:

codex plugin add evergreen@evergreen-codex

For a remote checkout, add or refresh the repository marketplace first:

codex plugin marketplace add arminazimi/evergreen --ref main
codex plugin add evergreen@evergreen-codex

Restart the current Codex session after installation so the packaged Skill and MCP server are discovered together.

Verify the installation

List the installed plugin:

codex plugin list --json

Then ask Codex to run the packaged workflow:

Scan this repository for supported lifecycle risks.
Explain the highest-severity Evergreen finding.
Create migration context for this deprecation.
Verify that the finding is gone after my change.

The installed workflow must expose scan, list, explain, context, and verify. Suggested migration commands are returned as guidance and are never executed by Evergreen.

Maintainers can run the same end-to-end check against an installed cache path:

npm run validate:codex-plugin -- --plugin-root /absolute/path/to/installed/evergreen

Update

For the repo-local marketplace, reinstall the plugin so the cache is rebuilt from the current package:

codex plugin remove evergreen@evergreen-codex
codex plugin add evergreen@evergreen-codex

For a Git-backed marketplace added from arminazimi/evergreen, refresh its snapshot before reinstalling:

codex plugin marketplace upgrade evergreen-codex

The package pins its MCP runtime to the same semantic version as the plugin manifest, preventing a silent mix of plugin metadata and runtime versions.

Remove

codex plugin remove evergreen@evergreen-codex

If the repository marketplace was added explicitly and is no longer needed:

codex plugin marketplace remove evergreen-codex

Removal deletes the installed plugin cache. It does not modify the repository being scanned.

Local data and permissions

See Privacy for the complete data boundary and Codex submission for public-directory review status.