Context Guard icon

Context Guard

Keeps requirements intact across Codex compaction, resume, and handoffs.

Long-running Codex tasks can lose constraints after compaction or resume. Context Guard keeps a private, task-local checklist of requirements and acceptance criteria, restores open items, and only allows completion when successful evidence matches the requested result. It works alongside Codex Plan, Goal, memories, subagents, worktrees, and the transcript; it does not replace them or grant permissions. Open source, local-first, and designed to fail closed when evidence is missing or ambiguous.

gerui-lv/context-guard · v0.14.2 · Development & Workflow

Gerui LvOwner verifiedsafe

Trust Score

89

Security

95

Surfaces

1

v0.13.3 Live launch

Keeps requirements intact across Codex compaction, resume, and handoffs.

Launched
Sep 2, 2026
Pricing
open source
Availability
available

What is Context Guard?

Context Guard is a published development & workflow plugin for AI coding agents in the codex ecosystem, developed by Gerui Lv and distributed through the HOL AI plugin registry. Preserves authoritative requirements and verification evidence across long-running Codex tasks and context compaction.

Canonical slug
gerui-lv/context-guard
Version
v0.14.2 · updated Sep 27, 2026

Trust & Reputation

HOL Trust Score
89

Factor Analysis

Per-metric points (0–100 each) combined via a weighted average into the overall score.

Installability
100pts
Maintenance
55pts
MCP Posture
100pts
Plugin Security
95pts
Provenance
70pts
Publisher Quality
75pts

Registry Snapshot

Publisher verification
No
Marketplace source
Unknown
Scanner
Broker fallback
Safety label
safe
Digest verified
Yes
1 bundled skill — copy or download SKILL.mdOpen skills

Trust & reputation

Trust & Reputation

HOL Trust Score
89

Factor Analysis

Per-metric points (0–100 each) combined via a weighted average into the overall score.

Installability
100pts
Maintenance
55pts
MCP Posture
100pts
Plugin Security
95pts
Provenance
70pts
Publisher Quality
75pts

Provenance

Plugin root
.
Source repo
https://github.com/GreenLv/codex-context-guard
Source commit
aea556d8ac65…
Publisher verified
No
Owner verified
@GreenLv

Continuous scanner CI detected

No action is required. This plugin receives the full trust score.

Verified badge detected

This listing scores +2% trust because the HOL verified badge is present in the source repository README.

Security Posture

safe
Safety label
95
Security score
0
High findings
Provider
registry-broker-fallback
Grade
A · safe
Version
Unknown
cisco-skill-scanner: unknown

Findings

lowoperational-securitysupply-chain.lockfile-missing

Repository snapshot does not include a lockfile.

infoskill-securityskill-scan.unavailable

Cisco skill scanner timed out after 60000 ms

Context Guard — Frequently asked questions

What is Context Guard?
Context Guard is an AI plugin in the HOL registry. Long-running Codex tasks can lose constraints after compaction or resume. Context Guard keeps a private, task-local checklist of requirements and acceptance criteria, restores open items, and only allows completion when successful evidence matches the requested…
How do I install Context Guard?
Install Context Guard in your harness: Codex — codex plugin marketplace add GreenLv/codex-context-guard; Any agent — npx skills add GreenLv/codex-context-guard. Full step-by-step guidance is on the HOL plugin page.
How do I install Context Guard in Codex?
To install Context Guard in Codex, start with codex plugin marketplace add GreenLv/codex-context-guard. The complete step-by-step install guide for Codex is on the HOL plugin page.
Is Context Guard free?
Context Guard is listed as open source on HOL.
Who publishes Context Guard?
Context Guard is published by Gerui Lv and listed on HOL.
Is Context Guard available now?
Context Guard is currently available according to its latest public launch.

Install Guidance

Install in Codex

Install through the Codex CLI plugin marketplace.

Codex plugin docs
  1. 1

    Register the marketplace

    Run in any terminal. Codex reads the marketplace entry from .agents/plugins/marketplace.json (or the legacy .claude-plugin path) in the repository. If the repository ships none, add the generated entry from the Advanced section below first.

    shell
  2. 2

    Install from the Plugins browser

    Open Codex, open the Plugins browser, choose the codex-context-guard marketplace, and install context-guard.

  3. 3

    Verify the marketplace registration

    shell
Context guard open source en
1 / 1

Context guard open source en

Full size
Loading reviews

Plugin Manifest

{
  "name": "context-guard",
  "version": "0.14.2",
  "description": "Preserve task requirements and verify evidence, scope, surfaces, and multimodal assets across compaction.",
  "author": {
    "name": "Gerui Lv",
    "url": "https://github.com/GreenLv"
  },
  "homepage": "https://github.com/GreenLv/codex-context-guard",
  "repository": "https://github.com/GreenLv/codex-context-guard",
  "license": "Apache-2.0",
  "keywords": [
    "context",
    "compaction",
    "recovery",
    "long-running"
  ],
  "skills": "./",
  "interface": {
    "displayName": "Context Guard",
    "developerName": "Gerui Lv",
    "shortDescription": "Preserve long-task context across Codex compaction.",
    "composerIcon": "./assets/icon.svg",
    "longDescription": "Journals authoritative task requirements locally, records hash-only multimodal assets, enforces deterministic verification contracts when available, falls back audibly when unavailable, restores bounded context after compaction, and exports explicit successor packs.",
    "category": "Productivity",
    "capabilities": [
      "Lifecycle hooks",
      "Local task state",
      "Verification contracts",
      "Hash-only multimodal assets",
      "Compaction recovery",
      "Bounded plan mirror",
      "Delegated-agent provenance",
      "Bounded successor packs"
    ],
    "websiteURL": "https://github.com/GreenLv/codex-context-guard",
    "privacyPolicyURL": "https://github.com/GreenLv/codex-context-guard/blob/main/docs/PRIVACY.md",
    "termsOfServiceURL": "https://github.com/GreenLv/codex-context-guard/blob/main/LICENSE",
    "defaultPrompt": "Use $context-guard to protect this long-running task from context loss."
  },
  "registryIndexVersion": 5
}

Marketplace Source

Repo URL
https://github.com/GreenLv/codex-context-guard
Marketplace path
Unknown
Source path
plugins/GreenLv/codex-context-guard
Install policy
AVAILABLE

Skills

Copy or download the SKILL.md files this plugin ships, then install them with the Skills CLI.

Share
skills-cli

context-guard

skills/context-guard/SKILL.md

Preserve authoritative task requirements, acceptance criteria, multimodal asset contracts, bounded native-plan state, delegated-agent results, and verified evidence across Codex context compaction. Use for long or complex tasks, Goal work, resumed sessions, subagent workflows, explicit context-guard controls, redacted or successor handoff exports, or whenever completion must be checked against an immutable local requirement ledger.

SKILL.md content is not in this snapshot. Open the raw file to copy it from the source repository.

File Inventory

.codex-plugin/plugin.json

plugin-manifest

1,508 bytes

8ba85f837f50a52d…

README.md

file

18,899 bytes

eb63d10bd91d9a16…

SECURITY.md

file

1,872 bytes

4204015c0394fce8…

AGENTS.md

file

13,951 bytes

c39d1438fb2e175f…

skills/context-guard/agents/openai.yaml

skill

209 bytes

d1c796d059e38392…

skills/context-guard/references/answer-review.md

skill

2,375 bytes

ed93d5e7105edbd7…

hooks/hooks.json

file

24,282 bytes

fec4c7fac22cbf5b…

skills/context-guard/SKILL.md

skill

8,017 bytes

271b41ac13a2135f…

skills/context-guard/references/advanced-completion.md

skill

4,348 bytes

6ba057a05bef1425…

skills/context-guard/references/authority-and-controls.md

skill

7,379 bytes

c847dd4ecd3667d3…

skills/context-guard/references/successor-pack.md

skill

1,740 bytes

29775e0a6d131ea8…

assets/icon.svg

asset

645 bytes

70f8bac9fbba1dc7…

History, reviews, and alternatives

Latest launch

User reviews

—from 0 reviews

The first substantive review can be added on this page.

Read or write reviews

Milestones and alternatives

Makers can publish releases and security milestones after claiming the plugin.