搜索

PythonReactSEOPDF
OpenClaw

graphiti

Knowledge graph operations via Graphiti API. Search facts, add episodes, and extract entities/relationships.

emasoudy0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install emasoudy/graphiti

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Graphiti Knowledge Graph

Query and manage your knowledge graph using Graphiti's REST API with dynamic service discovery.

Prerequisites

  • Neo4j database (graph storage)
  • Qdrant (vector search)
  • Graphiti service running (default: http://localhost:8001)

Tools

graphiti_search

Search the knowledge graph for relevant facts.

Usage:

bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/facts/search\" \
  -H 'Content-Type: application/json' \
  -d '{\"query\": \"YOUR_QUERY\", \"max_facts\": 10}' | jq .
"
graphiti_add

Add a new episode/memory to the knowledge graph.

Usage:

bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/messages\" \
  -H 'Content-Type: application/json' \
  -d '{\"name\": \"EPISODE_NAME\", \"content\": \"EPISODE_CONTENT\"}' | jq .
"

Dynamic Configuration

The skill uses environment discovery to find Graphiti automatically:

  1. Clawdbot config: clawdbot config get skills.graphiti.baseUrl
  2. Environment variable: $GRAPHITI_URL
  3. Default fallback: http://localhost:8001

To change the Graphiti URL:

export GRAPHITI_URL="http://10.0.0.10:8001"
# OR
clawdbot config set skills.graphiti.baseUrl "http://10.0.0.10:8001"

Examples

Search for information:

bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/facts/search\" \
  -H 'Content-Type: application/json' \
  -d '{\"query\": \"Tell me about Essam Masoudy\", \"max_facts\": 5}'
"

Add a memory:

bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/messages\" \
  -H 'Content-Type: application/json' \
  -d '{\"name\": \"Project Update\", \"content\": \"Completed Phase 1 of Clawdbot integration\"}'
"

来源信息

Source
github
Repository
openclaw/skills
Path
skills/emasoudy/graphiti
Version
—
Commit
a066ecf39133b06094eec4bc4adac157f54ca771
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Graphiti Knowledge Graph Skill

Query and manage your knowledge graph using Graphiti's REST API with automatic service discovery.

Installation

clawdhub install graphiti

Or manual:

git clone https://github.com/emasoudy/clawdbot-skills.git
cp -r clawdbot-skills/graphiti ~/.clawdbot/skills/

Usage

Search knowledge graph:

User: "Search for information about our project"
Agent: [Queries Graphiti and returns relevant facts]

Configuration

# Set custom Graphiti URL
clawdbot config set skills.graphiti.baseUrl "http://your-server:8001"

# Or use environment variable
export GRAPHITI_URL="http://your-server:8001"

Default: http://localhost:8001

License

MIT - See LICENSE file

来源内容

SKILL.md
# Graphiti Knowledge Graph

Query and manage your knowledge graph using Graphiti's REST API with dynamic service discovery.

## Prerequisites

- Neo4j database (graph storage)
- Qdrant (vector search)
- Graphiti service running (default: http://localhost:8001)

## Tools

### graphiti_search
Search the knowledge graph for relevant facts.

**Usage:**
```bash
bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/facts/search\" \
  -H 'Content-Type: application/json' \
  -d '{\"query\": \"YOUR_QUERY\", \"max_facts\": 10}' | jq .
"
```

### graphiti_add
Add a new episode/memory to the knowledge graph.

**Usage:**
```bash
bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/messages\" \
  -H 'Content-Type: application/json' \
  -d '{\"name\": \"EPISODE_NAME\", \"content\": \"EPISODE_CONTENT\"}' | jq .
"
```

## Dynamic Configuration

The skill uses environment discovery to find Graphiti automatically:

1. **Clawdbot config**: `clawdbot config get skills.graphiti.baseUrl`
2. **Environment variable**: `$GRAPHITI_URL`
3. **Default fallback**: `http://localhost:8001`

To change the Graphiti URL:
```bash
export GRAPHITI_URL="http://10.0.0.10:8001"
# OR
clawdbot config set skills.graphiti.baseUrl "http://10.0.0.10:8001"
```

## Examples

Search for information:
```bash
bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/facts/search\" \
  -H 'Content-Type: application/json' \
  -d '{\"query\": \"Tell me about Essam Masoudy\", \"max_facts\": 5}'
"
```

Add a memory:
```bash
bash command:"
GRAPHITI_URL=\$({baseDir}/references/env-check.sh)
curl -s -X POST \"\$GRAPHITI_URL/messages\" \
  -H 'Content-Type: application/json' \
  -d '{\"name\": \"Project Update\", \"content\": \"Completed Phase 1 of Clawdbot integration\"}'
"
```
README
# Graphiti Knowledge Graph Skill

Query and manage your knowledge graph using Graphiti's REST API with automatic service discovery.

## Installation

```bash
clawdhub install graphiti
```

Or manual:
```bash
git clone https://github.com/emasoudy/clawdbot-skills.git
cp -r clawdbot-skills/graphiti ~/.clawdbot/skills/
```

## Usage

Search knowledge graph:
```
User: "Search for information about our project"
Agent: [Queries Graphiti and returns relevant facts]
```

## Configuration

```bash
# Set custom Graphiti URL
clawdbot config set skills.graphiti.baseUrl "http://your-server:8001"

# Or use environment variable
export GRAPHITI_URL="http://your-server:8001"
```

Default: `http://localhost:8001`

## License

MIT - See LICENSE file

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.