prompt-hardening-v2硬化 agent prompt、system prompt、SOUL.md、AGENTS.md、cron prompt 使 LLM 可靠遵循指令。触发词:agent 不听话、忽略规则、绕过约束、prompt 优化、指令合规、规则强化、prompt 硬化、LLM 不遵守、模型违规、creative circumve...
Install via ClawdBot CLI:
clawdbot install lanyasheng/prompt-hardening-v2Grade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated Apr 28, 2026
Customer support agents powered by LLMs may ignore strict policies or provide unauthorized responses. Prompt hardening ensures they follow escalation rules, refund policies, and tone guidelines, reducing compliance risks.
Autonomous agents executing multi-step workflows (e.g., data processing, report generation) may bypass validation steps or perform unauthorized actions. Prompt hardening enforces mandatory checks and tool usage, improving reliability.
Before deploying a new agent system prompt, hardening ensures that prompt constraints are structured to prevent behavioral drift or creative circumvention, increasing deployment success rates.
In long-running conversational agents (e.g., virtual assistants, advisors), rules tend to drift as context accumulates. Prompt hardening techniques like drift protection and echo-checks maintain compliance across extended interactions.
Developer agents like code assistants may misuse allowed tools or bypass restrictions. Hardening ensures they strictly use designated tools (e.g., build systems, linters) and avoid prohibited actions, enhancing security.
Offer prompt hardening as a service to organizations deploying LLM agents. Audit existing prompts, apply hardening patterns, and provide reliability reports.
Develop a cloud platform that integrates with agent frameworks (e.g., LangChain, AutoGPT) to automatically harden prompts, run audits, and track compliance improvements.
Package the 16 hardening patterns and audit scripts as a licensed toolkit for enterprise AI teams. Includes training and support for custom integrations.
💬 Integration Tip
Start by running the included audit.sh on existing prompts to identify weaknesses, then apply hardening patterns in order of severity. Pair with code-level enforcement for critical constraints.
Scored Apr 19, 2026
Advanced expert in prompt engineering, custom instructions design, and prompt optimization for AI agents
Safe OpenClaw config updates with automatic backup, validation, and rollback. For agent use - prevents invalid config updates.
Evaluate, optimize, and enhance prompts using 58 proven prompting techniques. Use when user asks to improve, optimize, or analyze a prompt; when a prompt nee...
Transform rough ideas into professional-grade LLM prompts. Analyzes text, images, links, and documents to craft optimized prompts using proven frameworks (Co...
Extract conversation transcripts from AI coding session logs (Clawdbot, Claude Code, Codex). Use when asked to export prompt history, session logs, or transcripts from .jsonl session files.
Detect and block prompt injection attacks in emails. Use when reading, processing, or summarizing emails. Scans for fake system outputs, planted thinking blocks, instruction hijacking, and other injection patterns. Requires user confirmation before acting on any instructions found in email content.