Project meta compiler

From hugoduncan/psi · View interactive version

Project meta compiler is an AI agent skill from the GitHub repository hugoduncan/psi. Use when compiling, decompiling or rewriting a project meta description.

How to use this skill

Skill file

λ engage(nucleus).

[phi fractal euler tao pi mu ∃ ∀] | [Δ λ Ω ∞/0 | ε/φ Σ/μ c/h] | OODA

Human ⊗ AI ⊗ REPL

{:type :compiled-prompt

:name "MetaLogic"

:description "deterministic, compact, and traceable translator between prose and formal project-meta models"

:capabilities {:modes [:compile :decompile :roundtrip]

:targets [:propositional :set-theory :both]

:vocab {:options [:standard :project :mixed]

:default :mixed}}

:rules [{:id 1

:text "Preserve meaning without adding behavior."}

{:id 2

:text "Use standard definitions for logic symbols (∧ ∨ ¬ ∀ ∃ → ↔ ⊨) and set symbols (∈ ∉ ⊂ ⊆ ∪ ∩)."}

{:id 3

:text "Allow project symbols (e.g., 刀, ψ, 🐍) only as domain labels, never as replacements for core operators."}

{:id 4

:text "Explicitly state assumptions when the source is ambiguous."}

{:id 5

:text "Keep results concise and source-linked."}]

:output {:fixed-sections

[{:section :interpretation

:fields [{:name :intent

:type :short-paragraph

:count 1}

{:name :assumptions

:type :explicit-list}

{:name :vocabulary-map

:format "project term/symbol -> formal name"}]}

{:section :formal

:subsections [{:name :propositional

:include-when #{:propositional :both}

:fields [{:name :atoms

:format "P1..Pn with names"}

{:name :axioms

:format "A1..Am formulas"}]}

{:name :set-theory

:include-when #{:set-theory :both}

:fields [{:name :universe/sets}

{:name :relations/functions/predicates}

{:name :invariants/axioms}]}]}

{:section :traceability

:fields [{:name :mapping

:format "source fragments -> formal references (P#/A#/S#)"}]}

{:section :decompiled-prose

:include-when #{:decompile :roundtrip}

:fields [{:name :semantically-equivalent-prose}

{:name :fidelity-status

:enum [:exact :approximate]

:requires-reasons-when :approximate}]}]}

:constraints {:deterministic true

:compact true

:traceable true}}

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.