Context Guard icon

Context Guard

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

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

by Gerui LvOwner verifiedAwesome AI Plugins

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.

Follow0
Protect this install with HOL Guard

Guard checks the skills and MCP servers a plugin adds on your machine and asks you before a risky action runs. The scores above are free, and no plan changes them.

Is Context Guard a fit?

From the plugin's manifest and HOL's scan. Anything the plugin does not declare is shown as not declared.

Works with

  • Codex
  • 1 skill

Before you install

Sign-in
Asks you to sign in when you install it
Declared access
Not declared
License
Apache-2.0

Check before relying on it

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.17.2 · updated Nov 11, 2026

Registry snapshot

Owner verification
Verified on HOL as @GreenLv
Marketplace source
.agents/plugins/marketplace.json
Scanner
HOL plugin scanner
Security result
Partial scan
Digest verified
Yes
1 bundled skillRead, copy or download each SKILL.mdOpen skills

Trust and security

Trust & reputation

On-Chain Verified
94

HOL Trust Score

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

Installability
100/100
Maintenance
100/100
MCP server setup
100/100
Plugin Security
91/100
Provenance
80/100
Publisher Quality
100/100

Provenance

Plugin root
.
Source repo
https://github.com/GreenLv/codex-context-guard
Source commit
ca88c12237c8…
Publisher verified
Yes
Owner verified
@GreenLv
Agent Plugins 1.0
Not detected

Continuous scanner CI detected

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

README badge detected

The source repository README links to this HOL listing. Distribution, not security evidence. It adds a 2% engagement adjustment to the overall trust score and never changes the security result.

Partial scan
Security result
91
Score from finished checks
0
High findings

Some checks did not finish: Cisco skill scan. No blocking issue was found in the checks that did finish, but this is not a passed scan.

Provider
codex-plugin-scanner
Grade
A · Excellent
Version
3.24.2
cisco-skill-scanner: failedcisco-mcp-scanner: skipped

Manifest Validation

28/31

9 checks

Security

16/16

9 checks

Operational Security

3/6

5 checks

Best Practices

9/12

5 checks

Marketplace

15/15

3 checks

Skill Security

5/5

4 checks

Code Quality

10/10

2 checks

Published advisories

None matched in GitHub security advisories, checked . This covers published advisories only, not problems nobody has reported.

GitHub security advisories are those the source repository has published.

Findings

lowoperational-securityDEPENDABOT_MISSING

Automation or dependency surfaces exist, but .github/dependabot.yml is missing.

Add Dependabot updates for GitHub Actions and dependency manifests.

infomanifest-validationPLUGIN_JSON_INTERFACE_ASSET_SCREENSHOTS

The interface field "screenshots" must use HTTPS or point to a safe in-repo asset.

Update "screenshots" to use HTTPS or an existing relative asset path.

infobest-practicesCODEXIGNORE_MISSING

A .codexignore file helps prevent accidental inclusion of local artifacts and secrets.

Add a .codexignore file with generated assets, local state, and secret paths.

Install guidance

Install in Codex

Install through the Codex CLI plugin marketplace.

Codex plugin docs

Optional: install HOL Guard for Codex first, so it can check this plugin's tools on your machine before Codex uses them.

  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 the plugin

    Installs the context-guard entry from the codex-context-guard marketplace. You can also install it from the Plugins browser inside Codex.

    shell
  3. 3

    Check the marketplace is registered

    This confirms the marketplace source only. Confirm the plugin itself is enabled in the Plugins browser before relying on it.

    shell

To remove it later, run codex plugin remove context-guard@codex-context-guard.

Did setup work in Codex?

No setup reports for Codex yet. Self-reported by signed-in visitors. Copying a command is not counted, and most installs are never reported.

Attested installs: Fewer than 10 attested installs of this plugin in week 2026-W45, so no number is shown. Counted from opt-in HOL Guard install reports, once per machine and runtime, and never mixed with the answers above. How install reports work.

Context guard open source en
1 / 1

Context guard open source en

Full size
Loading reviews

Plugin manifest

{
  "name": "context-guard",
  "version": "0.17.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",
    "logo": "./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."
  },
  "holManifestOrigin": "repository",
  "registryIndexVersion": 9
}

Marketplace source

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

Skills

1 SKILL.md file ship with this plugin. Preview, copy, or download each one, then install them with the Skills CLI.

Share
skills-cli
  • context-guard

    skills/context-guard/SKILL.md

    Preserve requirements and verified evidence across Codex compaction, resume, and delegation. Use $context-guard, context-guard on, or for long, complex, or resumed tasks requiring an immutable private completion ledger.

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

File inventory

.agents/plugins/marketplace.json

file

367 bytes

1e8aef3fb39a949e…

.codex-plugin/plugin.json

plugin-manifest

1,568 bytes

6384667eec1455d6…

AGENTS.md

file

14,881 bytes

07e493bfd8eb6175…

assets/icon.svg

asset

645 bytes

70f8bac9fbba1dc7…

hooks/hooks.json

file

26,640 bytes

db76ebd977762c31…

LICENSE

file

15,148 bytes

aa2394ba214bcb33…

pyproject.toml

file

994 bytes

881d7c50e3ded57a…

README.md

file

17,763 bytes

611158ecea08f158…

SECURITY.md

file

2,469 bytes

9df8f033d08573ea…

skills/context-guard/agents/openai.yaml

skill

209 bytes

d1c796d059e38392…

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

skill

4,348 bytes

6ba057a05bef1425…

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

skill

2,375 bytes

ed93d5e7105edbd7…

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

skill

7,368 bytes

9cb88e010a8e0512…

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

skill

1,740 bytes

29775e0a6d131ea8…

skills/context-guard/SKILL.md

skill

4,602 bytes

8c1f1bc8e7b26449…

uv.lock

file

353,914 bytes

ecbad1d26cc5ca49…

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 [email protected] add GreenLv/codex-context-guard. Full step-by-step guidance is on the HOL plugin page.
How do I install Context Guard in HOL Guard?
To install Context Guard in HOL Guard, start with hol-guard plugin install gerui-lv/context-guard --apply. The complete step-by-step install guide for HOL Guard 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.
How is the Trust Score for Context Guard computed?
Context Guard has a HOL Trust Score of 94 out of 100. The score is a weighted sum of six components from a static scan of the source, capped for high-severity findings and adjusted by two disclosed policies. Memberships and payments are not inputs, and a scan is not a safety guarantee. Full breakdown: https://hol.org/registry/plugins/gerui-lv%2Fcontext-guard/trust
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.

Directory acceptance

Listed in 1 of 5 directory lists

Read from the list each directory publishes on GitHub. Being listed means the directory accepted the plugin; it is not a HOL security rating.

Lists last read . HOL re-reads them every day.

Submitting it? Check it against each directory's rules

Install signal

HOL cannot see every install. These are separate signals from different sources, so they are not added together. Counts under each floor show as <N.

Install commands issued here
<5
HOL Guard install commands issued from this listing, last 28 days.
Opt-in install reports
<10
Machines that reported installing it through HOL Guard in week 2026-W45. Reporting is opt-in, so most installs are not counted.
HOL Guard workspaces
<5
Workspaces that approved it or include it in an approved-plugin feed, as of today.
New GitHub stars
<5
From HOL's GitHub snapshots of the repository, 2026-10-16 to 2026-11-13.

History, reviews, and similar plugins

Latest launch