GraphFlow
Token-First Surgical Code Engine for AI Coding Agents (true AST for TS/JS via @babel/parser and for Python/Go/Rust/C/C++/C# via optional tree-sitter grammars, receiver-aware Blast-Radius Guard, Output Dehydrator, Habit & Git Co-Change Macros)
一句话定位
Token-First Surgical Code Engine for AI Coding Agents (true AST for TS/JS via @babel/parser and for Python/Go/Rust/C/C++/C# via optional tree-sitter grammars, receiver-aware Blast-Radius Guard, Output Dehydrator, Habit & Git Co-Change Macros)
安装方式
在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。
$ dsh plugin --profile web add @roarpeng/graphflow@3.9.2
兼容的 DSH 版本
未声明
作者与热度
Roarpeng · ★ 29 · 更新于 2026-11-05
关于这个插件
GraphFlow
English | 简体中文
Token-first surgical code engine for coding agents (v3.9.2). Four deterministic MCP tools plus a 0-LLM prompt reflex — all local, no LLM in the engine loop. The Four Surgical Tools Prompt Reflex (0-LLM Local Reaction)
A short command-like prompt (e.g. 启动项目) that matches a macro trigger executes the macro locally and blocks the prompt from reaching the model; longer prompts get an injected hint; anything else passes through. Kill switch: GRAPHFLOW_PROMPT_REFLEX=0. Tier 1 — full block (auto-registered): ZCode, Claude Code, Codex CLI, Gemini CLI, Cursor, Windsurf, Trae, Qoder, Kimi Code, Continue CLI. Tier 2 — inject/rewrite: OpenCode, Kilo Code, Cline (Unix), DeepSeek Harness. Tier 3 — fallback (gf_macro MCP): VS Code Copilot, Zed, Claude Desktop, PearAI, Antigravity, Roo Code (archived).
Details, per-host config and security notes: docs/prompt-reflex.md. Quick Start
Skill-only entry: npx skills add Roarpeng/GraphFlow. Manual MCP block for hosts that read mcpServers JSON: { "mcpServers": { "graphflow": { "command": "graphflow-mcp" } } }. Supported Languages Runtime deps: @babel/parser, @modelcontextprotocol/sdk, tree-sitter + optional grammars. tree-sitter is syntax-only; cross-file type inference stays heuristic with documented limits. 22-Agent Auto-Installer
graphflow install detects agents and registers MCP + Skill + Rules + Hooks — hook merges are idempotent and preserve user entries; graphflow uninstall removes only GraphFlow-owned registrations. Scope with --agents / --all / --workspace.
Covers: Cursor, VS Code, Windsurf, Trae, Zed, Claude Code, Codex, Gemini CLI, Antigravity, Kimi Code, DeepSeek Harness, OpenCode, ZCode, Cline, Roo Code, Kilo Code, Continue, PearAI, Qoder, Claude Desktop, Amazon Q, WorkBuddy. DeepSeek Harness (DSH)
DSH reads Cordis patches, not mcp.json. graphflow install writes a managed block (# GRAPHFLOW-DSH-BEGIN/END) into ~/.dsh/cordis.patch.yml with cwd pinned to your workspace — run it from the workspace so relative targets resolve. Alternative: the configuration-only @roarpeng/graphflow-dsh bundle (use one or the other; both = duplicate row). VS Code Extension
Marketplace / Open VSX: search "GraphFlow" (roarpeng.graphflow) — prebuilt launcher with Install / Mine-git / Status commands. Manual VSIX steps: VSIX-INSTALL.md. CLI Reference Environment & Tuning Measured on a synthetic 9 902-file workspace: single-symbol read with blast radius 0.62–0.69 s, knowledge graph rebuild with no changes 0.17–0.28 s, with one file changed ~1.7 s, full cold build ~30 s. Development
Docs Prompt Reflex — host matrix & config VSIX install
相似插件
archify
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
nuwa-skill
女娲:把任何人蒸馏成可运行的思维 Skill。
distilly
Distill source material into reusable Person Profiles for AI agents.