pre-action

Generate a PREFLIGHT plan with goals, constraints, and risk assessment before tool use.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/baphled/dotopencode --skill pre-action
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pre-action
Source: https://github.com/baphled/dotopencode/tree/main/skills/pre-action
Command: npx skills add https://github.com/baphled/dotopencode --skill pre-action

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures deliberate and structured decision-making by requiring a clear plan, identified constraints, and risk assessment before executing any action or tool call.

Core Features & Use Cases

  • Mandatory Planning: Enforces a "PREFLIGHT" check before any tool usage.
  • Structured Decision Framework: Provides specific schemas for different agent roles to define goals, constraints, plans, and risks.
  • Use Case: Before deploying code to production, an agent uses this skill to clarify the deployment goal, list any rollback procedures, and identify potential risks, ensuring a safer release.

Quick Start

Use the pre-action skill to generate a PREFLIGHT before proceeding with any task.

Frequently Asked Questions about pre-action

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce a pre-action planning framework for AI agents?

This skill enforces structured decision-making by requiring a PREFLIGHT check, ensuring agents clarify goals, identify constraints, and assess risks before executing any actions or tool calls.

What is a pre-action risk assessment for agentic workflows?

A pre-action risk assessment is a structured evaluation where an agent identifies potential risks and constraints before executing a task, mitigating unintended consequences during autonomous workflows.

How do I add a mandatory preflight check before AI tool usage?

You can add a mandatory preflight check by applying this framework to generate a structured plan, ensuring the agent consciously chooses actions and defines rollback procedures before proceeding.

Does this decision making framework support structured planning for production deployments?

Yes, the decision making framework supports production deployments by enabling agents to clarify deployment goals, list rollback procedures, and identify risks to ensure a safer release.

Why do AI agents need structured planning before executing actions?

AI agents need structured planning to ensure deliberate behavior, consciously evaluate options against defined constraints, and mitigate unintended consequences before executing irreversible actions.