Skip to content

hraness/semantic-algos

v0.2.1LicenseRef-Permission-Rob-Cheung

Run explicit semantic transforms or inspectable Sem computations from Rob Cheung's work, adapted with permission.

analogy-transfer

Explicitly invoked semantic transform that imports mechanisms from structurally similar domains and checks where each analogy breaks. Use only when the user invokes $analogy-transfer. Do not use for ordinary repository analysis, coding, delivery, or orchestration.

assumption-audit

Explicitly invoked semantic audit of the load-bearing factual, causal, capability, people, continuity, and definitional assumptions in a claim or plan. Use only when the user invokes $assumption-audit. Do not route coding, repository review, delivery, or operations through this skill.

counterfactual

Explicitly invoked counterfactual reasoning that changes one fact, propagates consequences, and separates robust implications from speculation. Use only when the user invokes $counterfactual. Do not use for future planning, repository coding, delivery, or operational changes.

decision-matrix

Explicitly invoked semantic comparison of two to six named options using weighted criteria, reasoned scores, sensitivity, and a gut check. Use only when the user invokes $decision-matrix. Do not use to make repository, delivery, or operational changes.

dp-solve

Explicitly invoked semantic decomposition of a problem into overlapping subproblems whose answers can be reused and synthesized. Use only when the user invokes $dp-solve. This is a reasoning operator, not a request to write dynamic-programming code or perform repository delivery.

explanation-ladder

Explicitly invoked five-level explanation in which each level corrects, deepens, or reframes the prior one. Use only when the user invokes $explanation-ladder. Do not route documentation work, repository analysis, coding, delivery, or operations through this skill.

first-principles-thinking

Explicitly invoked semantic reconstruction from fundamental facts and hard constraints after removing inherited defaults and analogies. Use only when the user invokes $first-principles-thinking. Do not route ordinary coding, repository analysis, delivery, or operations through this skill.

golden-circle

Explicitly invoked semantic separation of purpose, method, and output into Why, How, and What, followed by a consistency check. Use only when the user invokes $golden-circle. Do not use for ordinary product implementation, repository delivery, or operations.

inversion

Explicitly invoked semantic inversion that derives safeguards by first asking how to guarantee failure. Use only when the user invokes $inversion. Do not use for repository, delivery, or operational changes.

joke

Explicitly invoked semantic transform from a topic or contradiction into an original compact joke with a compatible frame switch. Use only when the user invokes $joke. Do not route ordinary writing, coding, delivery, or operations through this skill.

ladder-of-abstraction

Explicitly invoked semantic movement between concrete instances, middle-level patterns, and governing principles. Use only when the user invokes $ladder-of-abstraction. Do not use for repository maps, code analysis, implementation, delivery, or operations.

lyric

Explicitly invoked semantic transform from a question, memory, or tension into an original poem or song lyric whose meaning emerges through image, sound, voice, and recurrence. Use only when the user invokes $lyric. Do not route ordinary writing, coding, delivery, or operations through this skill.

n-whys

Explicitly invoked why-chain exactly n levels deep across causal, conceptual, motivational, or philosophical explanations. Use only when the user invokes $n-whys; depth 5 replaces the former five-whys preset. Do not use for repository root-cause debugging, coding, delivery, or operations.

nietzche-ladder

Explicitly invoked three-stage Nietzschean explanation through Camel, Lion, and Child: inheritance, refusal, and creation. Use only when the user invokes $nietzche-ladder. Do not route coding, repository delivery, or operations through this semantic form.

parable

Explicitly invoked semantic transform from a question into a short original parable that embodies its tension without stating or settling it. Use only when the user invokes $parable. Do not route ordinary writing, coding, delivery, or operations through this skill.

question-forge

Explicitly invoked semantic transform that diagnoses a loaded, misplaced, or self-protective question and returns the harder question worth asking. Use only when the user invokes $question-forge. Do not use it to answer the question or perform repository coding, delivery, or operations.

sem-compile

Explicitly invoked compiler from a natural-language request, loose semantic pipeline, or existing program.md into an inspectable Sem program without executing it. Use only when the user invokes $sem-compile. Do not use it for repository coding, delivery, orchestration, shell, messaging, or other external effects.

sem-present

Explicitly invoked projection of one named existing Sem run into a bounded, validated view manifest without executing, resuming, or rendering the run. Use only when the user invokes $sem-present with an exact run directory. Do not use for repository visualization, coding, delivery, or operations.

sem-run

Explicitly invoked execution of a Sem program as isolated semantic applications with inspectable Markdown artifacts and a linked final result. Use only when the user invokes $sem-run and the host supports fresh no-history subagents. Do not use for repository coding, delivery, orchestration, shell work, messaging, or other external effects.