Cg security config
Configure Context Guard security settings — mode, toggles, allowlistFrom its SKILL.md
npx -y skills add jlceaser/context-guard --skill cg-security-configAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, as published. Nobody here has run it
Context Guard — Security Configuration
Manage security layer settings interactively.
Usage
/cg-security-config— show current settings/cg-security-config mode warn|block|log— set security mode/cg-security-config toggle injection|leakage|file_guard|manipulation on|off— toggle a scanner/cg-security-config allowlist add tool:pattern:reason— add allowlist entry/cg-security-config allowlist remove pattern— remove allowlist entry/cg-security-config reset— reset to defaults
Steps
Show settings (no args)
- Read
~/.claude/context-guard/security/config.sh - Display all current values in a table
- Show allowlist entries
Set mode
- Validate value is
warn,block, orlog - Update
CG_SEC_MODEin~/.claude/context-guard/security/config.sh - Confirm the change
Toggle scanner
- Map scanner name to variable:
injection→CG_SEC_INJECTION_SCANleakage→CG_SEC_LEAKAGE_SCANfile_guard→CG_SEC_FILE_GUARDmanipulation→CG_SEC_MANIPULATION_SCAN
- Update the value to
trueorfalse - Confirm the change
Allowlist management
- For
add: append entry to~/.claude/context-guard/security/allowlist.txt - For
remove: remove matching line from allowlist - Show updated allowlist
Reset
- Copy default config from plugin's
config/security-config.shto~/.claude/context-guard/security/config.sh - Clear allowlist (keep header comments)
- Confirm reset