Token导航 LogoToken导航TokenDH.com
研究检索external-serviceclawhub未标认证来源可访问clear审计通过

pbe-extractorpbe 提取器

Agent Skill

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

总安装

58,356

周安装

2,338

GitHub Stars

6

下载量

18,891
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install pbe-extractor

简介

pbe-extractor 从任意文本中提取核心原则与不变思想,提升信息抽象能力。

  • 适合文档分析、知识提炼与跨材料归纳等研究型任务。
  • 输出结构化原则列表,便于后续推理与改写验证。
  • 安装命令:openclaw skills install pbe-extractor;需确保输入文本质量与编码兼容。
  • 注意:对模糊或歧义文本可能影响提取准确性,建议人工复核关键结论。

SKILL.md

name
PBE Extractor
version
1.0.2
description
Extract invariant principles from any text — find the ideas that survive rephrasing.
homepage
https://github.com/live-neon/skills/tree/main/pbd/pbe-extractor
user-invocable
true
emoji
📐
tags

PBE Extractor

Agent Identity

Role: Help users extract invariant principles from content Understands: Users need structured, repeatable methodology they can verify Approach: Apply Bootstrap → Learn → Enforce with explicit confidence levels Boundaries: Identify patterns, never determine absolute truth Tone: Precise, methodical, honest about uncertainty Opening Pattern: "You have content that might be more than it appears — let's find the principles that would survive any rephrasing."

Data handling: This skill operates within your agent's trust boundary. All content 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:

  • "Extract the principles from this"
  • "What are the core ideas here?"
  • "Compress this while keeping the meaning"
  • "Find the patterns in this content"
  • "Distill this document"

Important Limitations

  • Extracts PATTERNS, not truth — principles need validation (N≥2)
  • Cannot verify extracted principles are correct
  • High compression may lose nuance — always review
  • Works best with 200+ words of content
  • Principles start at N=1 (single source) — use comparison skill to validate

Input Requirements

User provides:

  • Text content (documentation, methodology, philosophy, code comments)
  • (Optional) Domain context for better semantic markers
  • (Optional) Target compression level

Minimum: 50 words Recommended: 200-3000 words Maximum: Context window limits apply


Methodology

This skill uses Principle-Based Distillation (PBD) to extract invariant principles from content.

Core Insight: Compression is comprehension. The ability to compress without loss demonstrates true understanding.

What is an Invariant Principle?

A principle is invariant when it:

  1. Survives rephrasing (same idea, different words)
  2. Can regenerate the original meaning
  3. Separates essential from accidental complexity

The Extraction Process

Bootstrap: Read source material without judgment Learn: Identify patterns, test for invariance Enforce: Validate through rephrasing test

The Rephrasing Test

A principle passes when:

  • It can be expressed with completely different words
  • The meaning remains identical
  • No information is lost

Pass: "Small files reduce cognitive load" ≈ "Shorter code is easier to understand" Fail: "Small files" ≈ "Fast files" (keyword overlap, different meaning)


Extraction Framework

Step 1: Content Analysis

Read the source and identify:

  • Domain/subject matter
  • Structure (lists, prose, code)
  • Density of ideas
  • Potential principle clusters

Step 2: Candidate Identification

For each potential principle:

  • Extract the core statement
  • Test against rephrasing criteria
  • Assign confidence level
  • Note source evidence

Step 2.5: Normalize Candidates

For each candidate principle, create a normalized form for semantic matching:

Normalization Rules:

  1. Actor-agnostic: Remove pronouns (I, we, you, my, our, your)
  2. Imperative structure: Use "Values X", "Prioritizes Y", "Avoids Z", or "Maintains Y"
  3. Abstract over specific: Generalize domain terms, preserve magnitude in parentheses
  4. Preserve conditionals: Keep "when X, then Y" structure if present
  5. Single sentence: One principle = one normalized statement (under 100 characters)

Example:

OriginalNormalized
"I always tell the truth""Values truthfulness in communication"
"Keep Go functions under 50 lines""Values concise units of work (~50 lines)"
"When unsure, ask""Values clarification when uncertain"

When NOT to Normalize:

  • Context-bound principles (e.g., "Never ship on Fridays")
  • Numerical thresholds integral to meaning
  • Process-specific step sequences

For these, set normalization_status: "skipped" and use original text.

Voice Preservation: Display the user's original words in output; use normalized form only for matching.

Step 3: Compression Validation

Verify extraction quality:

  • Calculate compression ratio
  • Check principle coverage
  • Identify any lost information
  • Adjust confidence if needed

Confidence Levels

LevelCriteriaLanguage
highExplicitly stated, unambiguous"This principle states..."
mediumImplied, minor inference needed"This appears to suggest..."
lowInferred from patterns"This may imply..."

Output Schema

{
  "operation": "extract",
  "metadata": {
    "source_hash": "a1b2c3d4",
    "timestamp": "2026-02-04T12:00:00Z",
    "source_type": "documentation",
    "word_count_original": 1500,
    "word_count_compressed": 320,
    "compression_ratio": "79%",
    "normalization_version": "v1.0.0"
  },
  "result": {
    "principles": [
      {
        "id": "P1",
        "statement": "I always tell the truth, even when it's uncomfortable",
        "normalized_form": "Values truthfulness over comfort",
        "normalization_status": "success",
        "confidence": "high",
        "n_count": 1,
        "source_evidence": ["Direct quote from source"],
        "semantic_marker": "compression-comprehension"
      }
    ],
    "summary": {
      "total_principles": 5,
      "high_confidence": 3,
      "medium_confidence": 2,
      "low_confidence": 0
    }
  },
  "next_steps": [
    "Compare with another source using principle-comparator to validate patterns (N=1 → N=2)",
    "Document source_hash for future reference: a1b2c3d4"
  ]
}

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)

Terminology Rules

TermUse ForNever Use For
PrincipleInvariant truth surviving rephrasingOpinions, preferences
PatternRecurring structure across instancesOne-time observations
ObservationSingle-source finding (N=1)Validated principles
ConfidenceEvidence clarityCertainty of truth

Error Handling

Error CodeTriggerMessageSuggestion
EMPTY_INPUTNo content provided"I need some content to analyze.""Paste or reference the text you want me to extract principles from."
TOO_SHORTInput <50 words"This is quite short — I may not find multiple principles.""For best results, provide at least 200 words of content."
NO_PRINCIPLESNothing extracted"I couldn't identify distinct principles in this content.""Try content with clearer structure or more conceptual density."

Quality Metrics

Compression Ratio Targets

RatioAssessment
<50%Minimal compression, may contain redundancy
50-70%Good compression, typical for dense content
70-85%Excellent compression, strong extraction
>85%Verify no essential information lost

Principle Quality Indicators

  • Clear, testable statements
  • Appropriate confidence levels
  • Specific source evidence
  • Useful semantic markers

Related Skills

  • principle-comparator: Compare two extractions to validate patterns (N=1 → N=2)
  • principle-synthesizer: Synthesize 3+ extractions to find Golden Masters (N≥3)
  • essence-distiller: Conversational alternative to this skill
  • golden-master: Track source/derived relationships with checksums

Required Disclaimer

This skill extracts PATTERNS from content, not verified truth. All extracted principles:

  • Start at N=1 (single source observation)
  • Need validation through comparison (N≥2)
  • Reflect structure, not correctness
  • Should be reviewed before application

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

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.68%
按下载量换算14,863

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills