SkillTrust

← All skills

protect-agent-config

100 / 100 · Low risk

Fine to try.

By open-coder-ai/chock (GitHub) · coding · 10 stars · scanned at commit 9fe0a59

Guard against an agent hand-editing its own guardrails. Agent instruction files (AGENTS.md and the per-agent wrappers), permission files (.claude/settings.json, .mcp.json), the dependency allowlist (.chock/dependency-allowlist.txt) and vendored enforcement (.chock/bin/, .chock/compiled/) define what the agent may do -- so a shell command that rewrites them is the agent modifying its own authority (MITRE ATLAS AML.T0081). The guard refuses shell writes to those paths -- a redirect, rm/mv/tee/sed…

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'protect-agent-config' ] || [ -L ~/.agents/skills/'protect-agent-config' ]; then echo 'A skill folder named protect-agent-config already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/open-coder-ai/chock' "$d" && git -C "$d" checkout --quiet '9fe0a59174384230f02faeecbe4a837ff3e96b9a' -- '.agents/policies/protect-agent-config/skills/protect-agent-config' && mkdir -p ~/.agents/skills && cp -R "$d"/'.agents/policies/protect-agent-config/skills/protect-agent-config' ~/.agents/skills/'protect-agent-config' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'protect-agent-config' ~/.claude/skills/'protect-agent-config' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for open-coder-ai/chock shows the score of its lowest-scoring skill.

SkillTrust badge for open-coder-ai/chock

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/open-coder-ai/chock.svg)](https://zalavijaysinh.github.io/skilltrust/repos/open-coder-ai/chock/)

Score history

DateVersionScore
2026-11-129fe0a59100
2026-11-08936cf91100