# Scan LLM-generated code before use with CodeShield

> Run CodeShield on model-produced code or command suggestions before they reach a user, a repo, or an execution step, so insecure patterns get blocked or warned on first.

- Skill: `agentskillexchange/scan-llm-generated-code-before-use-with-codeshield` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/scan-llm-generated-code-before-use-with-codeshield`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/scan-llm-generated-code-before-use-with-codeshield/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/scan-llm-generated-code-before-use-with-codeshield

---


# Scan LLM-generated code before use with CodeShield

Run CodeShield on model-produced code or command suggestions before they reach a user, a repo, or an execution step, so insecure patterns get blocked or warned on first.

## Prerequisites

CodeShield integrated into an LLM output pipeline or coding assistant workflow

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://github.com/meta-llama/PurpleLlama/tree/main/CodeShield

## Documentation

- https://github.com/meta-llama/PurpleLlama/tree/main/CodeShield

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/scan-llm-generated-code-before-use-with-codeshield/)

