Pddl plan output validation

From XuShuwenn/RedAct · View interactive version

Pddl plan output validation is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Use this skill to reliably generate, format, and verify PDDL plans for tasks defined by a domain/problem pair and a plan_output path in a JSON task list.

How to use this skill

Skill file

PDDL Plan Generation and Output Validation

This skill helps you avoid common failure modes when solving PDDL planning tasks defined via a JSON task list that provides domain, problem, and plan_output paths. It focuses on correct file handling, plan formatting, action/object consistency, and verifiable validation.

When to Use

Activate this skill when you need to:

Core Workflow

  1. Load task list
  1. File existence checks
  1. Plan generation
  1. Plan formatting
  1. Static validation (pre-checks)
  1. Semantic validation (if available)
  1. Write output
  1. Final confirmation

Verification

Use both static and, when possible, semantic validation:

Success criteria:

Common Pitfalls and How to Avoid Them

Optional Script Usage

Use the helper script to perform deterministic static checks on a generated plan:

Example usage:

Use this prior to finalizing or as a fallback when a semantic validator is unavailable.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.