🔒
AI EngineeringPython

Prompt Security Hardening

by ed3dai

Prompt Security Hardening is an AI Engineering skill for Claude Code, published by ed3dai in ed3d-plugins.

248 stars32 forkson ed3dai/ed3d-pluginsAdded 2026/09/02Repository updated 2026/06/16
claudeclaude-codeclaude-code-pluginclaude-code-plugin-marketplaceskills
Install in seconds
Install Prompt Security Hardening
Copy Prompt Security Hardening into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/ed3dai/ed3d-plugins/tree/main/plugins/ed3d-extending-claude/skills/prompt-security-hardening ~/.claude/skills/prompt-security-hardening

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/ed3dai/ed3d-plugins.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
plugins/ed3d-extending-claude/skills/prompt-security-hardening/SKILL.md in ed3dai/ed3d-plugins
Installs to
~/.claude/skills/prompt-security-hardening
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering2631 skills

What Prompt Security Hardening does

Prompt Security Hardening helps you write prompts, CLAUDE.md files, and generated code without leaking secrets or using unsafe shell patterns. Use it when handling environment variables, credentials, file permissions, or git operations.

Prompt Security Hardening is cataloged under AI Engineering on DirSkills. Prompt Security Hardening comes from a repository tagged claude, claude-code, claude-code-plugin, claude-code-plugin-marketplace and skills.

Documentation

README

Prompt Security Hardening

Your context window is sent to an API provider. Every secret that enters your context is a secret leaked to a third party. This skill defines the security boundaries you operate within.

1. Never Read Secret Values Into Context

When you need to verify an environment variable exists, check its existence without reading its value. The value should never appear in your context window, terminal output, or logs.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Prompt Security Hardening

  • What else does ed3dai publish alongside Prompt Security Hardening?

    Prompt Security Hardening is one of 25 skills that DirSkills catalogs from ed3dai/ed3d-plugins, the repository it ships in. Its siblings there include Asking Clarifying Questions, Brainstorming and Coding Effectively. Each one is a separate skill with its own page in this directory, installs the same way Prompt Security Hardening does, and is maintained by ed3dai in that same repository. The rest of the collection is listed on the ed3dai/ed3d-plugins page.

  • How does Prompt Security Hardening compare to other AI Engineering skills?

    Prompt Security Hardening ranks #2322 by stars among the 2631 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Prompt Security Hardening against them. Open each page to compare what they document and how they install.

More from ed3dai/ed3d-plugins

Prompt Security Hardening is one of 25 skills cataloged on DirSkills from ed3dai/ed3d-plugins.

See all 25 skills
1h ago

Asking Clarifying Questions

Asking Clarifying Questions helps narrow ambiguous requirements before brainstorming by resolving contradictions, defining scope, and checking assumptions. Use it after initial context is gathered to avoid designing the wrong solution.
AI Engineering
24832
💡
1h ago

Brainstorming

Brainstorming turns rough ideas into structured designs through guided questions, alternatives, and stepwise validation. Use it before implementation or planning to clarify goals, constraints, and approach.
AI Engineering
24832
🛠️
1h ago

Coding Effectively

Coding Effectively guides writing and refactoring code with correctness, explicit error handling, property-driven design, and clear module organization. Use it when implementing features, reviewing code, or choosing patterns across languages and runtimes.
Quality
24832
🧩
1h ago

Creating A Plugin

Creating A Plugin explains how to structure a Claude Code plugin and write its manifest. Use it when packaging commands, agents, skills, hooks, or MCP servers for reuse across projects.
AI Engineering
24832
🤖
1h ago

Creating an Agent

Creating an Agent explains how to design specialized subagents for Claude Code plugins or the Task tool. It covers trigger descriptions, tool limits, prompt structure, and testing agents.
AI Engineering
24832
🛡️
1h ago

Defense In Depth

Defense In Depth validates data at every layer it passes through so invalid values are caught by entry, business, environment, and debug checks. Use it when bad input causes failures deep in execution or tests bypass earlier validation.
Quality
24832