wu-xiaochen

ontology-clawra

AI 智能体v5.1.0
作者:wu-xiaochen更新于 2026-09-12共 29 个版本 · 最新版本发布于 2026-03-25@clawhub_wu-xiaochen/ontology-clawra
上下文管理记忆增强#Ontology#Knowledge Graph#Reasoning#Self Evolution#笔记

据 AlphaMoat 统计,截至 2026-09,ontology-clawra 累计下载 1,784 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 4,586 位,在「AI 智能体」分类(969 个)中排名第 902 位。

累计安装
215
累计下载
1,784
星标
1
全站排名
#4,586
全站前 91% · 「AI 智能体」前 94%
平台累计安装累计下载星标评论
ClawHub ↗301,5111-
SkillHub ↗2151,7841—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该技能描述了结构化知识存储、置信度计算、规则学习和用户工作区记忆读取。文件访问范围受到说明中的目录限制,并明确不进行跨技能调度或自动网络请求;不表示已读取或修改本机文件。本体文件可能持久保存工作区上下文;检查拟写入内容,未经授权不要存入敏感信息。

资料发布于 2026-10-27

可以用来做什么

  • 整理本地知识图谱与规则
  • 依据工作区记忆进行上下文检索

什么时候用

  • 需要设计本地结构化记忆与推理流程时
  • 需要检查文件访问范围和能力边界时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

为这组概念整理本地知识图谱
说明该技能可访问哪些记忆文件及其限制

月度数据趋势

累计下载1,784
3681,1291,8892026-03 · 累计下载 4732026-05 · 累计下载 1,0242026-06 · 累计下载 1,1172026-07 · 累计下载 1,2722026-08 · 累计下载 1,3782026-09 · 累计下载 1,78426-0326-09
星标1
0112026-03 · 星标 -2026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,784—1
2026-081,378+8.3%1
2026-071,272+13.9%1
2026-061,117+9.1%1
2026-051,024—1
2026-03473—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.6 KB · ClawHub v5.1.0
---
name: ontology-clawra
description: |
  ontology-clawra v5.0 - Local Ontology Reasoning Engine

  A local structured reasoning engine with confidence management and automatic learning.
  Reads user workspace memory files for context. No cross-skill scheduling or network communication.

  Core Capabilities:
  - Ontology knowledge graph storage and reasoning
展开全部(共 148 行)
  - Confidence calculation and meta-cognition
  - Local memory search and rule learning

  File Access: Read/write only ~/.openclaw/skills/ontology-clawra/memory/ for ontology files;
  Read only ~/.openclaw/workspace/memory/*.md for user context.
  No cross-skill scheduling, no automatic network requests.

metadata:
  {
    "openclaw": {
      "emoji": "🧠",
      "version": "5.1.0",
      "last_updated": "2026-03-25",
      "changelog": [
        "v5.0.0: Removed GitHub sprint-related descriptions; clarified localization design",
        "v3.8.0: Added Skill ecosystem documentation",
        "v3.7.0: Enabled automatic learning"
      ]
    }
  }
---

# ontology-clawra v5.0 - Local Ontology Reasoning Engine

## 1. Core定位 (Accurate Description)

**This is a local reasoning engine, not a cross-skill coordinator.**

```
Actual Capabilities:
✅ Local ontology knowledge graph storage and reasoning
✅ Confidence calculation and meta-cognition
✅ Local memory file search
✅ Automatic learning (write to local memory directory)

Actual Limitations:
❌ No skill scheduling (no Event Router)
❌ No cross-skill communication
❌ No automatic network requests
❌ No agent-to-agent RPC
```

## 2. File Access Permissions

| Operation | Path | Description |
|-----------|------|-------------|
| Read | `~/.openclaw/skills/ontology-clawra/memory/` | Ontology files |
| Read | `~/.openclaw/workspace/memory/*.md` | User context |
| Write | `~/.openclaw/skills/ontology-clawra/memory/` | Learning results |
| Write | GitHub (via git push) | Requires user confirmation |
| ❌ | Other directories | Never accessed |

**Network Behavior**:
- No automatic network requests
- network_fetch.py only searches local files, returns acquisition suggestions
- No requests/sockets/subprocess external calls

## 3. Core Reasoning Capabilities

### Confidence Levels

- `CONFIRMED`: Multi-source verified, trustworthy
- `ASSUMED`: Single source, requires user confirmation
- `SPECULATIVE`: High uncertainty, assumptions marked

### Reasoning Output Format

```
## Reasoning Result

### User Requirement
[Paraphrased original text]

### Rule Basis
- Rule-Law-[ID]: [Rule content]

### Reasoning Process
[Specific derivation steps]

### Confidence Annotation
| Conclusion | Confidence | Basis |
|------------|------------|-------|
| [Conclusion] | CONFIRMED/ASSUMED/SPECULATIVE | [Basis] |
```

## 4. Ontology File Format

**Directory**: `~/.openclaw/skills/ontology-clawra/memory/`

| File | Purpose |
|------|---------|
| `graph.jsonl` | Entities (Concept/Entity) |
| `rules.yaml` | Rules (Rule/Law) |
| `laws.yaml` | Patterns (inductive patterns) |
| `confidence_tracker.jsonl` | Confidence tracking |
| `reasoning.jsonl` | Reasoning log |

## 5. Automatic Learning

### Trigger Conditions

| Event | Action | Write Location |
|-------|--------|----------------|
| User confirms reasoning is correct | Extract to ontology | `graph.jsonl` |
| Confidence can be upgraded | Update confidence | `confidence_tracker.jsonl` |
| Reasoning fails | Suggest ontology addition | Prompt only |

### Write Rules

- Inform user before all write operations
- Write only to `~/.openclaw/skills/ontology-clawra/memory/`
- Do not upload any data to external services

## 6. Security Statement

1. **No external network calls**: Code contains no requests/urllib/sockets external calls
2. **No credential access**: Does not read environment variables or API keys
3. **Privacy isolation**: Workspace memory files used only for context, not synced
4. **Localization**: All learning results stored only in local memory directory

## 7. Version History

| Version | Date | Description |
|---------|------|-------------|
| v5.0 | 2026-03-25 | Removed GitHub sprint-related descriptions |
| v3.9 | 2026-03-24 | Removed exaggerated descriptions, clarified localization |
| v3.8 | 2026-03-20 | Added Skill ecosystem documentation |
| v3.7 | 2026-03-16 | Enabled automatic learning |
| v3.6 | 2026-03-16 | Initial version |

## 8. Supported Domain Ontologies

Supply chain procurement, healthcare, finance banking, cybersecurity,
automotive manufacturing, human resources, photography, furniture,
elderly care, childcare, tea culture, moving services, dating,
aerospace, and 50+ domains.

Ontology files located in: corresponding yaml files under `~/.openclaw/skills/ontology-clawra/memory/`

「AI 智能体」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。