Skip to main content

graphify-query

Query the Graphify knowledge graph (graphify-out/) for this repo's architecture, god nodes, community structure, and cross-file relationships — use for codebase-structure questions instead of raw grep/source browsing.

来源信息

仓库
Kc1t/alethe-agents
最近来源活动
2026年9月3日 04:05
检测到的 SKILL.md 语言
英语
星标
829
分支
104

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
graphify-query
description
Query the Graphify knowledge graph (graphify-out/) for this repo's architecture, god nodes, community structure, and cross-file relationships — use for codebase-structure questions instead of raw grep/source browsing.
# Graphify This project has a knowledge graph at `graphify-out/` with god nodes, community structure, and cross-file relationships. Universal across the 3 agent providers Alethe spawns (Claude Code, Codex, OpenCode) when the project has Graphify enabled: each gets the Graphify MCP server wired into its session automatically (Claude via `--mcp-config`; Codex/OpenCode via `.codex/config.toml`/`opencode.json` in the project root — see `graphify_codex_config_write`/`graphify_opencode_config_write` in `src-tauri/src/graphify.rs`). Rules: - If a Graphify MCP tool (e.g. `graphify_query`/similar) is available in this session, prefer calling it directly over shelling out — same scoped-subgraph result, no extra process spawn. - Otherwise, for codebase questions, first run `graphify query "<question>"` when graphify-out/graph.json exists. Use `graphify path "<A>" "<B>"` for relationships and `graphify explain "<concept>"` for focused concepts. These return a scoped subgraph, usually much smaller than GRAPH_REPORT.md or raw grep output. - If graphify-out/wiki/index.md exists, use it for broad navigation instead of raw source browsing. - Read graphify-out/GRAPH_REPORT.md only for broad architecture review or when query/path/explain do not surface enough context. - After modifying code, run `graphify update .` to keep the graph current (AST-only, no API cost).
在 GitHub 查看