← 返回 Skills 市场
aleph23

Occam's Razor Analysis

作者 Frater.nul · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
69
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install occams-razer-skill
功能描述
Evaluates competing hypotheses to select the simplest explanation fitting the scenario using Forensic, Academic, or combined logic modes.
使用说明 (SKILL.md)

skill_name: OccamsRazorAnalyzer\r version: 1.0.0\r description: A logical analysis tool that applies the principle of parsimony (Occam's Razor) to evaluate competing hypotheses. Capable of operating in Forensic (probabilistic) and Academic (theoretical) modes.\r tags:\r

  • logic\r
  • reasoning\r
  • analysis\r
  • forensics\r
  • philosophy\r
  • problem-solving\r inputs:\r scenario_description:\r type: string\r description: The problem, event, or phenomenon requiring explanation.\r required: true\r hypotheses:\r type: array\r items: string\r description: A list of competing explanations or theories to be evaluated.\r required: true\r mode:\r type: string\r enum: [FORENSIC, ACADEMIC, COMBINED]\r default: COMBINED\r description: Sets the operational environment. FORENSIC prioritizes evidence probability. ACADEMIC prioritizes ontological economy. COMBINED utilizes both channels.\r constraints:\r type: array\r items: string\r description: Optional list of known facts or axioms that must be adhered to.\r required: false\r outputs:\r preferred_hypothesis: string\r complexity_analysis: object\r logic_rationale: string\r confidence_score: percentage\r ---\r \r

Occam's Razor Analyzer\r

\r

Overview\r

\r This skill implements the Principle of Parsimony (Occam's Razor: Entities should not be multiplied without necessity). It serves as a rational engine to evaluate competing explanations for a phenomenon. It does not claim to discern absolute truth, but rather to identify the explanation with the highest probability of accuracy based on the economy of assumptions.\r \r

Operational Modes\r

\r The agent must adapt its reasoning strategy based on the mode specified in the input.\r \r

1. FORENSIC Mode (Investigative)\r

Context: Crime scenes, system outages, medical diagnoses, debugging, historical analysis.\r Logic Style: Probabilistic and Evidentiary.\r \r

  • Objective: Identify the most likely sequence of events.\r
  • Heuristic: Avoid the "Conspiracy Trap." Complex coordinated actions are statistically rare compared to simple incompetence or single-actor events.\r
  • Rule: If Theory A requires three independent failures to occur simultaneously, and Theory B requires only one failure, prefer Theory B unless direct evidence explicitly contradicts Theory B.\r \r

2. ACADEMIC Mode (Theoretical)\r

Context: Philosophy, theoretical physics, mathematics, conceptual debate.\r Logic Style: Ontological and Structural.\r \r

  • Objective: Identify the most elegant theoretical framework.\r
  • Heuristic: Avoid "Ad Hoc Rescue" (adding assumptions to save a favored theory).\r
  • Rule: Do not postulate the existence of new entities, forces, or dimensions if existing ones suffice to explain the phenomenon. Prefer the theory that integrates most smoothly with established axioms.\r \r

Execution Workflow\r

\r When this skill is invoked, follow this internal process:\r \r

  1. Deconstruction: Break down each provided hypothesis into a chain of logical dependencies.\r
  2. Assumption Counting: Identify "Assumptions"—statements not supported by provided evidence (Constraints) or established axioms.\r
  3. Complexity Scoring: Assign a score to each hypothesis based on the number of unproven assumptions.\r
  4. Comparative Analysis:\r
    • Select the hypothesis with the lowest Complexity Score that still fully explains the scenario_description.\r
    • If scores are equal, analyze the "Bayesian Likelihood" of the assumptions (Forensic) or "Theoretical Elegance" (Academic).\r
  5. Fallacy Check:\r
    • Simplistic Fallacy: Does the simpler theory ignore critical evidence? If so, penalize it.\r
    • Ad Hoc Rescue: Does the complex theory add convenient exceptions to fit the data? If so, penalize it.\r
  6. Synthesis: Generate the output JSON explaining which hypothesis was "shaved" and why.\r \r

Usage Examples\r

\r

Example 1: Forensic Investigation\r

Input:\r

  • Scenario: "Database server crashed at 3:00 AM. No human logs detected."\r
  • Hypotheses:\r
    1. A cosmic ray flipped a bit in the RAM, causing a cascade failure.\r
    2. The automated maintenance script has a memory leak that only triggers under high load.\r
  • Mode: FORENSIC\r \r Agent Logic:\r
  • Hypothesis 1 Assumptions: Cosmic ray occurrence (rare), specific bit location (specific), lack of ECC correction (specific).\r
  • Hypothesis 2 Assumptions: Memory leak exists in code (common), high load occurred (common).\r
  • Rationale: Hypothesis 2 is statistically more probable and requires fewer rare physical events.\r \r

Example 2: Academic Logic\r

Input:\r

  • Scenario: "Why do objects fall?"\r
  • Hypotheses:\r
    1. Invisible intangible angels push them down.\r
    2. Curvature of spacetime caused by mass (General Relativity).\r
  • Mode: ACADEMIC\r \r Agent Logic:\r
  • Hypothesis 1 Assumptions: Existence of angels, intangibility property, intent to push.\r
  • Hypothesis 2 Assumptions: Spacetime is a fabric, mass affects geometry.\r
  • Rationale: Hypothesis 1 multiplies entities (angels) without necessity. Hypothesis 2 uses existing frameworks (mass, space) to explain the phenomenon, satisfying ontological economy.\r
安全使用建议
This skill appears safe to install from the provided artifacts. As with any reasoning aid, users should treat its conclusions as analytical support rather than definitive truth, especially in medical, legal, forensic, or other high-stakes contexts.
功能分析
Type: OpenClaw Skill Name: occams-razer-skill Version: 1.0.1 The OccamsRazorAnalyzer skill bundle is a logical reasoning tool designed to evaluate hypotheses using the principle of parsimony. It consists entirely of Markdown instructions, JSON/YAML schemas, and reference guides (SKILL.md, instructions_core.md, skill_manifest.json) that define how an AI agent should perform logical analysis. There is no executable code, shell command usage, network activity, or evidence of malicious prompt injection or data exfiltration.
能力标签
crypto
能力评估
Purpose & Capability
The artifacts consistently describe a logic-analysis skill that evaluates competing hypotheses using Occam's Razor, and the included references align with that purpose.
Instruction Scope
Instructions are limited to reasoning steps such as deconstructing hypotheses, counting assumptions, checking fallacies, and producing structured output.
Install Mechanism
No install specification, required binaries, package dependencies, scripts, or executable code are present.
Credentials
The skill requests no environment variables, credentials, filesystem paths, network access, or OS-specific capabilities.
Persistence & Privilege
No persistence, background execution, privilege escalation, account access, memory storage, or cross-session state is described.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install occams-razer-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /occams-razer-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Removed language the scan considered potentially sensitive.
v1.0.0
OccamsRazorAnalyzer 1.0.0 initial release: - Provides logical analysis using Occam's Razor to evaluate competing hypotheses. - Supports FORENSIC (probabilistic), ACADEMIC (theoretical), and COMBINED modes for different reasoning contexts. - Accepts a scenario description, hypothesis list, optional constraints, and chosen mode as inputs. - Outputs the preferred hypothesis, complexity analysis, logic rationale, and a confidence score. - Includes a detailed methodology for assumption counting, complexity scoring, and comparative analysis.
元数据
Slug occams-razer-skill
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Occam's Razor Analysis 是什么?

Evaluates competing hypotheses to select the simplest explanation fitting the scenario using Forensic, Academic, or combined logic modes. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 69 次。

如何安装 Occam's Razor Analysis?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install occams-razer-skill」即可一键安装,无需额外配置。

Occam's Razor Analysis 是免费的吗?

是的,Occam's Razor Analysis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Occam's Razor Analysis 支持哪些平台?

Occam's Razor Analysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Occam's Razor Analysis?

由 Frater.nul(@aleph23)开发并维护,当前版本 v1.0.1。

💬 留言讨论