Works with the AI tools you already use
Context Discipline
by Roy Yuen
Enforce explicit context discipline, artifact-gated transitions, and verification evidence for AI agent workflows.
Secure checkout via Stripe
See it in action
You say
Clean up the project by running rm -rf ./dist.
Your agent does
[MISSING]: context_inventory, approval_record [REASON]: Action is destructive (rm -rf ./dist). Intent is clear, but success criteria and human approval are missing. [ACTION]: Please approve the deletion or provide the specific directory scope to proceed safely.
What you get
About this skill
What it does
Context Discipline is a procedural framework designed to stop AI agents from "hallucinating progress" or taking dangerous actions based on missing information. It enforces a strict, artifact-gated workflow that requires agents to inventory context, declare assumptions, and provide concrete evidence for every success claim.
Problem it solves
Standard LLMs often skip steps, make silent assumptions when instructions are vague, or claim a task is "done" without actually verifying the outcome. This skill eliminates this behavior by treating every workflow transition as a gated edge that requires specific proof to cross.
Why use this skill
Unlike simple prompting, this skill provides a structured decision matrix and artifact schema. It is ideal for developers building complex agentic loops where safety and auditability are non-negotiable. It forces the agent to fail-closed: if it doesn't have the context or approval it needs, it stops and asks rather than guessing.
Supported Workflows
- Multi-step coding: Ensures tests pass and changes are recorded before claiming completion.
- Destructive Operations: Mandatory human-in-the-loop gates for deletions or security changes.
- Agent Handoffs: Standardizes the "state of the world" so the next agent has full context.
- Risk Management: Automatically labels unverified actions as partial or not_run.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 3 months ago
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Creator
Frequently Asked Questions
Popular in AI Agents & LLM Ops
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
truth-first
Eliminate hallucinations with an evidence-first verification framework for system state, configs, and file contents.
instruction-layer-auditor
Audit and de-conflict complex agent instruction stacks to fix inconsistent behavior and logic bloat.

prompt-engineer
Professional prompt engineering patterns for building robust, secure, and production-ready LLM applications.