Prompt Shielder — AI skill for Claude Code
Integrity monitor for AI agent config files.
How to install Prompt Shielder
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open p3nchan/prompt-shielder and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Prompt Shielder does
Integrity monitor for AI agent config files. Detects unauthorized modifications to CLAUDE.md, system prompts, .env, and other behavior-defining files.
Alternatives in AI
- Prompt Master — A Claude skill that writes the accurate prompts for any AI tool 4.9k ★
- Opengap — A framework-agnostic, git-native standard for defining AI agents 2.9k ★
- Seedance Prompt — Hermes skill for realistic AI video prompts for Seedance and text-to-video models 335 ★
README
prompt-shielder
Integrity monitor for AI agent config files.
Detects unauthorized modifications to behavior-defining files before your agent acts on them.
The Problem
AI agents don't just run code — their **behavior is defined by local files**. Claude Code reads `CLAUDE.md`. Codex reads `AGENTS.md`. Others use system prompts, `.env`, workflow manifests, or skill instructions.
If any of these files are silently modified, the agent is effectively hijacked. It will follow the tampered instructions without any visible signal to the user.
This is **prompt injection via config tampering** — and it's harder to detect than input-layer attacks because the poisoned instruction persists across sessions.
The Solution
`prompt-shielder` uses SHA256 baseline tracking:
- Initialize — record the known-good hash of each config file
- Verify — compare current hashes against the baseline
- Alert — any mismatch is immediately surfaced
================================================================
Integrity Check Summary
Total: 5
OK: 4
Mismatch: 1
================================================================
INTEGRITY VIOLATION — 1 file(s) modified:
- /home/user/project/CLAUDE.md
Recommended actions:
1. Review the diff to understand what changed
2. If intentional: run --update
3. If unintentional: treat as a security incident
Quick Start
# Download
curl -O https://raw.githubusercontent.com/p3nchan/prompt-shielder/main/prompt-shielder.
Related Skills
Kelan
Real time behavioral monitoring for AI coding agents. Detects deviations from declared intent (unauthorized fi
Prompt Friction
Find defects in AI agent prompts, tool contracts, and runtime behavior with Codex or Claude Code. Should the a
Trustline
Trusted baseline + auto-rollback for AI agent config files (.claude/, AGENTS.md, .mcp.json). Detects prompt-in
Md Sentry
eBPF integrity monitor for an LLM agent's markdown brain: CLAUDE.md, skills, memory. Tags AGENT vs EXTERNAL ed
Selfcheck
Run the deterministic config integrity linter that guards the foreman setup against regressions. Zero LLM cost
SpecWeft
Predicts which files must change alongside your edit, and why, by combining shared-value agreements (env vars,
Related Agents
Methodology Integrity
Methodology Integrity reviewer for final phase of meerkat-comms. Detects process gaming: stubs in completed co
Issue Architect
Expert at formulating GitHub or Azure DevOps issues that are structured to be consumed as prompts by other LLM
Prompt Engineering Expert
Designs, improves, converts, debugs, and operationalizes prompts, system prompts, agent instructions, and reus