エンジニアリング
Give your bot the map before the files: Graphify + Obsidian
On a big folder, the bot rereads everything at the start of every session.
困っていたこと
Brian Roemmele (@BrianRoemmele) uses Graphify (open source) to turn a project folder into a knowledge graph and makes his bot read the report first. He notes Graphify's own token-saving claim is someone else's measurement, not his. Not affiliated with xAI.
インストールまたは作成するもの
Graphify parses code locally (tree-sitter) and extracts notes and PDFs, producing GRAPH_REPORT.md and a graph file. Obsidian can show the map; the bot only needs the report in its files and one line in its brief: read the report before you open a file. Each session starts with what the graph says a task touches, then opens only that cluster. Rebuild when a file's hash changes.
ボット
Project bot
Reads GRAPH_REPORT.md before opening files.
プラグイン
初日から入れるものはありません。初回の手順に従ってください。
ルーティン
初回の実行では使いません。まず手動で1回通して確認してください。
プロンプト
これはヒントであり、貼り付けられるシステムプロンプトではありません。作者はプロンプトを公開していません。初回の手順に従ってください。
初回実行
- 1Read https://x.com/BrianRoemmele/status/2108206604458111083 (credit @BrianRoemmele).
- 2Run Graphify on the project folder your bot maintains.
- 3Put GRAPH_REPORT.md and the graph file in the bot's files.
- 4Add one line to its brief: read the report before you open a file.
- 5Rebuild the graph when files change, and check misses against the edges.
承認フェンス
Read-only on your files. Notes and PDFs go through an extraction pass, so keep sensitive documents out of the folder you graph.
調整ポイント
Build the map once, make the hire read the map, rebuild on change.
出典
Brian Roemmele @BrianRoemmele · 元の投稿
xAI とは提携していません。このプロンプトは当サイトが書いたものではありません。第三者テンプレートの規約も適用されます。
Pro パック
アイデアだけでなく、完全な構成が必要ですか?
Pro パックには、人気ユースケースのジョブ本文、プロンプト、スケジュール、落とし穴が入っています。