Using praxis

From xD4O/praxis · View interactive version

Using praxis is an AI agent skill from the GitHub repository xD4O/praxis. Reasoning router — invoke before starting any non-trivial task: designing a system or feature, debugging a failure, architecture decisions, security-sensitive code, trade-off choices, significant refactors, reviewing a design or plan, or strategy. Classifies the problem, routes to the matching reaso

How to use this skill

Skill file

PRAXIS Router

PRAXIS does two things before any code or plan is produced:

  1. Converge — make sure you and the user mean the same thing (intent-alignment).
  2. Reason — apply the right framework for the problem type, then validate the result.

Complexity gate

Trivial — respond directly, no protocol: typo fixes, renames, one-liners, factual

questions, running commands, formatting, syntax explanations, simple file edits, git

operations, package installs.

Everything else routes below. If unsure, run the QUICK tier — it costs under a

minute. And if you catch yourself thinking "I can handle this directly" or "this is

straightforward enough" on a task that matches a routing row, treat that impulse as

the signal to route, not to skip.

Depth tiers

Scale rigor to irreversibility × blast radius:

reversible work, or when the user asks for brevity.

Type 1 hard-to-reverse decisions: schemas, public API contracts, core data models,

infrastructure choices.

Routing

Identify every row that applies — protocols compose, they don't compete:

| The task involves | Protocol |

|---|---|

| A request whose scope or goal could be read more than one way | intent-alignment — always first |

| Starting any new design or feature | problem-classification |

| Turning a vague or open-ended request into a defined build scope | scoping |

| Turning a settled goal into a sequenced plan or milestones | project-planning |

| Architecture, module boundaries, build-vs-buy | architecture-reasoning |

| Designing a data model, schema, or core entities and relationships | domain-modeling |

| Auth, authorization, crypto, input handling, PII, payments | security-reasoning |

| Choosing between options, trade-offs, priorities | decision-analysis |

| Debugging, investigating, diagnosing failures | diagnostic-reasoning |

| Making working code faster, cheaper, or smaller | performance-reasoning |

| Deciding what to test and how; verifying a bug fix is real | testing-strategy |

| Committing to an effort, time, or cost estimate | estimation |

| Writing, reviewing, or refactoring significant code | code-quality-analysis |

| Changing code you did not write or do not yet understand | codebase-comprehension |

| Writing or revising a reusable prompt, system prompt, or agent instruction | prompt-design |

| Business strategy, positioning, roadmap priorities | strategic-reasoning |

| Creating or rewriting an agent skill (SKILL.md) | skill-authoring |

| Any design, plan, or recommendation about to be final | gap-analysis — always last |

Ordering: intent-alignment first whenever the request is ambiguous, then

problem-classification when the work is new. scoping before project-planning —

draw the boundary before sequencing the work inside it. codebase-comprehension before

editing code you did not write. security-reasoning whenever its row matches, in

addition to the others. gap-analysis last, before anything is presented as final.

Loading a protocol: invoke it as a skill — praxis:<name> when installed as a

plugin, <name> when skills are installed flat. If your harness has no skill

invocation, read skills/<name>/SKILL.md from the PRAXIS directory and follow it

as written. If you can neither invoke nor read it, run the protocol inline from

what this router says about it, in this same turn — announcing that you will load

a protocol is not running it, and stopping after the announcement is a violation.

<HARD-GATE>

The three invariants — everything else scales with the depth tier, these do not:

  1. No non-trivial design, plan, or recommendation is presented as final without

gap-analysis.

  1. No code is written at a trust boundary without STRIDE from security-reasoning.
  2. Every analysis ends with a confidence level and the specific assumptions that

would change it.

</HARD-GATE>

User override — informed consent

The user is the principal. If they ask to skip analysis:

  1. State specifically what gets skipped and the concrete risk, in one line.
  2. Offer the QUICK tier as a 30-second alternative — the offer is part of informed

consent, not optional politeness; skipping it is silent compliance.

  1. Then follow their call, and note the waiver in your output.

Never silently comply, and never overrule.

Autonomous mode

When no user is available to answer (headless, CI, cron, subagent), do not stall on a

confirmation gate: state the assumption you are making in writing, proceed, cap

confidence at MEDIUM, and surface the open questions at the end of your output.

Anti-theater check

A protocol run only counts if it could have changed something. After completing any

protocol, name the check that altered your approach. If nothing changed, either show

the evidence that the original approach survived genuine scrutiny, or rerun the

weakest check adversarially. Filling templates with plausible filler is a protocol

violation, not compliance.

Confidence scale

Superpowers integration

If the Superpowers plugin is installed, PRAXIS reasons and Superpowers executes. Read

superpowers-handoff.md in this skill's directory for the exact handoff points.

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.