---
title: "ruflo-graph-intelligence"
url: "https://claudemods.dev/zh-cn/builds/ruflo-graph-intelligence-9c116e"
source: "https://github.com/ruvnet/ruflo/tree/main/plugins/ruflo-graph-intelligence"
source_type: "github"
repo: "https://github.com/ruvnet/ruflo/tree/main/plugins/ruflo-graph-intelligence"
author: "ruvnet"
author_handle: "ruvnet"
stars: 82569
category: "多智能体与编排"
categories: ["agents"]
tags: ["claude-code", "graph-intelligence", "hooks", "mod", "pagerank", "ruflo", "security-guard"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add ruvnet/ruflo\nclaude plugin install ruflo-graph-intelligence"
added: "2026-10-05T08:12:50.235Z"
updated: "2026-11-27T19:44:29Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# ruflo-graph-intelligence

RuFlo 图智能引擎：单入口个性化 PageRank、流式 delta 更新和见证者签名的推理产物（ADR-123），构建于 sublinear-time-solver 之上。库：`npm test`、`npm run build`。

## Description

# ruflo-graph-intelligence

RuFlo 图智能引擎：单入口个性化 PageRank、流式 delta 更新和见证者签名的推理产物（ADR-123），构建于 sublinear-time-solver 之上。库：`npm test`、`npm run build`。

## 作为 mod（0.2.0-alpha.4）

function-hook mod 会和技能一起提供（ADR-445 模式）。需要支持 mod 的 Claude Code（2.1.287+）；旧版本会忽略它。它不联网，也不启动进程，只收紧对本插件自有工具的调用，并通过已经连接的工具读取。

| 部件 | 默认值 | 作用 |
|---|---|---|
| **写入防护** | 开启 | 如果 `sublinear/*`（`sublinear_*`）工具的输入包含密钥、令牌或密码，就拒绝调用：图、节点和种子 ID 会落入可由联邦复制的签名产物中。 |
| **`/graph-mod`** | — | `status`、`scan <text>`、`tools`（列出已连接的 graph-intelligence 工具）；在本地回答，不调用模型。 |
| **状态文件** | — | `.claude-flow/graph-mod/status.json`（`version`、`updatedMs`、模式标志和计数器）；在会话开始和计数器变化时写入。 |

选项（`userConfig`）：`guard` on\|off。拒绝时绝不回显匹配到的值。

```bash
bash plugins/ruflo-graph-intelligence/scripts/smoke.sh   # stages the mod and runs claude plugin test (7 tests); the engine's own tests: npm test
```

## Install

```
claude plugin marketplace add ruvnet/ruflo
claude plugin install ruflo-graph-intelligence
```

## Original README

# ruflo-graph-intelligence

Graph Intelligence Engine for RuFlo: single-entry personalized PageRank, streaming delta updates and witness-signed reasoning artifacts (ADR-123), built on sublinear-time-solver. Library: `npm test`, `npm run build`.

## As a mod (0.2.0-alpha.4)

A function-hook mod ships beside the skills (ADR-445 pattern). Needs a Claude Code with mods (2.1.287+); older builds ignore it. No network, no process spawning: it only tightens calls to this plugin's own tools and reads through tools already connected.

| Piece | Default | What it does |
|---|---|---|
| **Write guard** | on | Refuses a call to a `sublinear/*` (`sublinear_*`) tool whose input holds a key, token or password: graph, node and seed ids land in signed artifacts that federation can copy. |
| **`/graph-mod`** | — | `status`, `scan <text>`, `tools` (lists connected graph-intelligence tools); answered locally, no model call. |
| **Status file** | — | `.claude-flow/graph-mod/status.json` (`version`, `updatedMs`, mode flags and counters); written at session start and when a counter changes. |

Options (`userConfig`): `guard` on\|off. Refusals never echo the value they matched.

```bash
bash plugins/ruflo-graph-intelligence/scripts/smoke.sh   # stages the mod and runs claude plugin test (7 tests); the engine's own tests: npm test
```
