evo-tpp-solver

evo-tpp-solver is a skill for Claude Code, Codex from OpenLAIR/OpenSkill. It costs 82 tokens per session (1,057 once invoked), scanned A, original, Apache-2.0.

A planning-task solver for Travelling Purchase Problem scenarios written in PDDL, a format for describing actions, goals, and rules. It reads the task files, generates valid action plans, and writes them in text and serialized forms.

In plain words
What is it for?
Use it to solve PDDL Travelling Purchase Problems, format the resulting actions, and write plan files for later validation or use.
Why use it?
It removes the need to create a valid sequence of actions by hand for these formal planning problems. It also handles reading multiple configured tasks and saving their results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to solve PDDL Travelling Purchase Problems, format the resulting actions, and write plan files for later validation or use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openlair/openskill/evo-tpp-solver
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenLAIR/OpenSkill --skill evo-tpp-solver
Clone the repo
git clone --depth 1 https://github.com/OpenLAIR/OpenSkill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for evo-tpp-solver

README.md
[![agentmods](https://agentmods.dev/badge/skills/openlair/openskill/evo-tpp-solver/github.svg)](https://agentmods.dev/skills/openlair/openskill/evo-tpp-solver)
Your own site
<a href="https://agentmods.dev/skills/openlair/openskill/evo-tpp-solver"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-tpp-solver/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for evo-tpp-solver

Your own site · 80×15
<a href="https://agentmods.dev/skills/openlair/openskill/evo-tpp-solver"><img src="https://agentmods.dev/badge/skills/openlair/openskill/evo-tpp-solver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.01057
Opus 5 $0.00041 $0.00528
Sonnet 5 $0.00016 $0.00211
Haiku 4.5 $0.00008 $0.00106

Measured yesterday against content hash e0abcbd0aeca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

evo-tpp-solver scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/__init__.py, scripts/solve.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tasks-evolved/pddl-tpp-planning/environment/skills/evo-tpp-solver/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TPP PDDL Solver

Solves Travelling Purchase Problem (TPP) planning tasks encoded in PDDL using pyperplan via the unified_planning framework.

When to use this skill

  • You have a problem.json file listing TPP planning tasks
  • Each task specifies a PDDL domain file, problem file, and output path
  • You need to generate valid plans and write them as formatted text files
  • You need pickle-serialized plans for validation compatibility

Quick Start

Run the solver script directly:

cd /app
python -m environment.skills.evo-tpp-solver.scripts.solve

Or use the solver from Python:

from pathlib import Path
import sys
sys.path.insert(0, "/app/environment/skills/evo-tpp-solver")
from scripts.solve import solve_all_tasks

solve_all_tasks(Path("/app/problem.json"), Path("/app"))

Pipeline Overview

  1. Load config — Read problem.json to get the list of tasks (each has domain path, problem path, output filename)
  2. Parse PDDL — Use unified_planning.io.PDDLReader to parse domain + problem files into a Problem object
  3. Solve — Use OneshotPlanner(name="pyperplan") with configurable search/heuristic. Default: gbf/hff for speed. Falls back to wastar/hadd if the fast config fails.
  4. Format actions — Each action is formatted as action_name(arg1, arg2, ...) using str(action_instance) which already produces this format
  5. Write plan — One action per line to the output text file
  6. Serialize — Pickle the plan actions list for validation compatibility

Key Implementation Details

Action Format

The str() representation of a unified_planning ActionInstance already produces the required format:

drive(truck1, depot1, market1)
buy(truck1, goods1, market1, level0, level1, level0, level1)

All identifiers are lowercase (PDDL is case-insensitive; PDDLReader normalizes to lowercase).

Solver Configuration

pyperplan supports these search/heuristic combinations via OneshotPlanner params:

  • Search: gbf, astar, wastar, bfs, ehs, ids
  • Heuristic: hff, hadd, hmax, hsa, blind, lmcut, landmark

Read the full file on GitHub · 89 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 89 lines · 82 tokens per session scan A e0abcbd0aeca

Subscribe to this mod's changes

evo-tpp-solver is a skill published in the GitHub repository OpenLAIR/OpenSkill (90 stars, last pushed 2d ago), licensed Apache-2.0. It adds 82 tokens to every session and 1,057 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.