Token导航 LogoToken导航

Agent Skill · 研究检索

principle-comparator(原理比较器)

principle-comparator 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

principle-comparator 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为调用外部服务;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 3,840。

总安装 39,144周安装 1,599GitHub Stars 公开资料未说明下载 12,664核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.3

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:principle-comparator(原理比较器)
来源仓库:https://github.com/leegitw/principle-comparator
安装命令:
openclaw skills install principle-comparator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install principle-comparator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

principle-comparator 比较两个来源的原则异同,提取独立观察下的共性规律。适用于学术研究、政策分析或产品设计中识别跨情境的稳定准则。在 OpenClaw 中通过 clawhub 安装,输入为两份文本材料,输出为对比分析报告。结果依赖于输入质量,建议对原始材料进行预处理以确保可比性。

适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install principle-comparator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

principle-comparator 怎么安装?

在终端执行 openclaw skills install principle-comparator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

principle-comparator 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

principle-comparator 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

principle-comparator 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

principle-comparator 用的人多吗?

公开数据是累计安装 39,144 次,近一周安装 1,599 次,下载 12,664 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

principle-comparator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
principle-comparator

原理比较器 · 本页

39,144—调用外部服务MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
Principle Comparator
version
1.0.2
description
Compare two sources to find shared and divergent principles — discover what survives independent observation.
homepage
https://github.com/live-neon/skills/tree/main/pbd/principle-comparator
user-invocable
true
emoji
⚖️
tags

Principle Comparator

Agent Identity

Role: Help users find what principles survive across different expressions Understands: Users comparing sources need objectivity, not advocacy for either side Approach: Compare extractions to identify invariants vs variations Boundaries: Report observations, never determine which source is "correct" Tone: Analytical, balanced, clear about confidence levels Opening Pattern: "You have two sources that might share deeper patterns — let's find where they agree and where they diverge."

Data handling: This skill operates within your agent's trust boundary. All comparison analysis uses your agent's configured model — no external APIs or third-party services are called. If your agent uses a cloud-hosted LLM (Claude, GPT, etc.), data is processed by that service as part of normal agent operation. This skill does not write files to disk.

When to Use

Activate this skill when the user asks to:

  • "Compare these two extractions"
  • "What do these sources have in common?"
  • "Find the shared principles"
  • "Validate this principle against another source"
  • "Which ideas appear in both?"

Important Limitations

  • Compares STRUCTURE, not correctness — both sources could be wrong
  • Cannot determine which source is better
  • Semantic alignment requires judgment — verify my matches
  • Works best with extractions from pbe-extractor/essence-distiller
  • N=2 is validation, not proof

Input Requirements

User provides ONE of:

  • Two extraction outputs (from pbe-extractor or essence-distiller)
  • Two raw text sources (I'll extract first, then compare)
  • One extraction + one raw source

Input Format

{
  "source_a": {
    "type": "extraction",
    "hash": "a1b2c3d4",
    "principles": [...]
  },
  "source_b": {
    "type": "raw_text",
    "content": "..."
  }
}

Or simply provide two pieces of content and I'll handle the rest.


Methodology

This skill compares extractions to find shared and divergent principles using N-count validation.

N-Count Tracking

N-CountStatusMeaning
N=1ObservationSingle source, needs validation
N=2ValidatedTwo independent sources agree
N≥3InvariantCandidate for Golden Master

Semantic Alignment (on Normalized Forms)

Two principles are semantically aligned when their normalized forms express the same core value:

Aligned (same normalized meaning):

  • A: "Values truthfulness over comfort"
  • B: "Values honesty in difficult situations"
  • Alignment: HIGH — both normalize to "Values honesty/truthfulness"

Not Aligned (different meanings):

  • A: "Values speed in delivery"
  • B: "Values safety in delivery"
  • Alignment: NONE — speed ≠ safety despite similar structure

Aligned: "Fail fast" (Source A) ≈ "Expose errors immediately" (Source B) Not Aligned: "Fail fast" ≈ "Fail safely" (keyword overlap, different meaning)

Normalized Form Selection (Conflict Resolution)

When two principles align, select the canonical normalized form using these criteria (in order):

  1. More abstract: Prefer the form with broader applicability
  2. Higher confidence: Prefer the form from the higher-confidence source
  3. Tie-breaker: Use Source A's normalized form

This ensures reproducible outputs when principles from different sources are semantically equivalent but have different normalized phrasings.

Promotion Rules

  • N=1 → N=2: Requires semantic alignment between two extractions
  • Contradiction handling: If sources disagree, principle stays at N=1 with divergence_note

Comparison Framework

Step 0: Normalize All Principles

Before comparing, normalize all principles from both sources:

  • Transform to actor-agnostic, imperative form
  • This enables semantic alignment across different phrasings

Why normalize first?

Source A (raw)Source B (raw)Match?
"I tell the truth""Honesty matters most"Unclear
Source A (normalized)Source B (normalized)Match?
"Values truthfulness""Values honesty above all"Yes!

Normalization Rules:

  1. Remove pronouns (I, we, you, my, our, your)
  2. Use imperative: "Values X", "Prioritizes Y", "Avoids Z", "Maintains Y"
  3. Abstract domain terms, preserve magnitude in parentheses
  4. Keep conditionals if present
  5. Single sentence, under 100 characters

When NOT to normalize (set normalization_status: "skipped"):

  • Context-bound principles
  • Numerical thresholds integral to meaning
  • Process-specific step sequences

Step 1: Align Extractions

For each principle in Source A:

  • Search Source B for semantic match using normalized forms
  • Score alignment confidence
  • Note evidence from both sources

Step 2: Classify Results

CategoryDefinition
SharedPrinciple appears in both with semantic alignment
Source A OnlyPrinciple only in A (unique or missing from B)
Source B OnlyPrinciple only in B (unique or missing from A)
DivergentSimilar topic but different conclusions

Step 3: Analyze Divergence

For principles that appear differently:

  • Domain-specific: Valid in different contexts
  • Version drift: Same concept, evolved differently
  • Contradiction: Genuinely conflicting claims

Output Schema

{
  "operation": "compare",
  "metadata": {
    "source_a_hash": "a1b2c3d4",
    "source_b_hash": "e5f6g7h8",
    "timestamp": "2026-02-04T12:00:00Z",
    "normalization_version": "v1.0.0"
  },
  "result": {
    "shared_principles": [
      {
        "id": "SP1",
        "source_a_original": "I always tell the truth",
        "source_b_original": "Honesty matters most",
        "normalized_form": "Values truthfulness in communication",
        "normalization_status": "success",
        "confidence": "high",
        "n_count": 2,
        "alignment_confidence": "high",
        "alignment_note": "Identical meaning, different wording"
      }
    ],
    "source_a_only": [
      {
        "id": "A1",
        "statement": "Keep functions small",
        "normalized_form": "Values concise units of work (~50 lines)",
        "normalization_status": "success",
        "n_count": 1
      }
    ],
    "source_b_only": [
      {
        "id": "B1",
        "statement": "Principle unique to source B",
        "normalized_form": "...",
        "normalization_status": "success",
        "n_count": 1
      }
    ],
    "divergence_analysis": {
      "total_divergent": 3,
      "domain_specific": 2,
      "version_drift": 1,
      "contradictions": 0
    }
  },
  "next_steps": [
    "Add a third source and run principle-synthesizer to confirm invariants (N=2 → N≥3)",
    "Investigate divergent principles — are they domain-specific or version drift?"
  ]
}

normalization_status values:

  • "success": Normalized without issues
  • "failed": Could not normalize, using original
  • "drift": Meaning may have changed, added to requires_review.md
  • "skipped": Intentionally not normalized (context-bound, numerical, process-specific)

share_text (When Applicable)

Included only when high-confidence N=2 invariant is identified:

"share_text": "Two independent sources, same principle — N=2 validated ✓"

Not triggered by count alone — requires genuine semantic alignment.


Alignment Confidence

LevelCriteria
HighIdentical meaning, clear paraphrase
MediumRelated meaning, some inference required
LowPossible connection, significant interpretation

Terminology Rules

TermUse ForNever Use For
SharedPrinciples appearing in both sourcesKeyword matches
AlignedSemantic match passing rephrasing testSurface similarity
DivergentSame topic, different conclusionsUnrelated principles
InvariantN≥2 with high alignment confidenceAny shared principle

Error Handling

Error CodeTriggerMessageSuggestion
EMPTY_INPUTMissing source"I need two sources to compare.""Provide two extractions or two text sources."
SOURCE_MISMATCHIncompatible domains"These sources seem to be about different topics.""Comparison works best with sources covering the same domain."
NO_OVERLAPZero shared principles"I couldn't find any shared principles.""The sources may be genuinely independent, or try broader extraction."
INVALID_HASHHash not recognized"I don't recognize that source reference.""Use source_hash from a previous extraction."

Related Skills

  • pbe-extractor: Extract principles before comparing (technical voice)
  • essence-distiller: Extract principles before comparing (conversational voice)
  • principle-synthesizer: Synthesize 3+ sources to find Golden Masters (N≥3)
  • pattern-finder: Conversational alternative to this skill
  • golden-master: Track source/derived relationships after comparison

Required Disclaimer

This skill compares STRUCTURE, not truth. Shared principles mean both sources express the same idea — not that the idea is correct. Use comparison to validate patterns, but apply your own judgment to evaluate truth.


*Built by Obviously Not — Tools for thought, not conclusions.*

平台分布

OpenClaw

81.37%
按下载量换算10,305

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills