Логотип Graph

Graph

Спільнота
alirezarezvani
graph

Use when the user wants to build, refresh, or visualize the repo's knowledge graph — code structure plus the committed wiki/ — via graphify. Produces an interactive graph + a GRAPH_REPORT.md of God Nodes, surprising connections, and suggested questions. Trigger on "/graph", "build the knowledge graph", "graph the repo", "map the codebase", "refresh the graph", "visualize the second brain".

Огляд

Видавецьalirezarezvani
Репозиторійgaios
Назва навичкиgraph
Зірки
50
Форки
9
Файли в пакеті
Лише інструкції
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем alirezarezvani. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Graph у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/alirezarezvani/gaios/tree/dev/.claude/skills/graph
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alirezarezvani/gaios.git /tmp/gaios
mkdir -p .claude/skills
cp -r /tmp/gaios/.claude/skills/graph .claude/skills/graph
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Graph в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Graph, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Graph не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Knowledge Graph (graphify)

Build a map of how this AIOS actually fits together — which code files and which wiki notes depend on, reference, and cluster with each other — so you can see the structure instead of guessing it. Powered by graphify (a knowledge-graph builder), scoped hard to what's safe to graph.

When to run

  • The user asks to see how the repo / second brain hangs together ("map the codebase", "graph the repo").
  • After meaningful structural change — new skills, tools, SOPs, or a /wiki loop that added entries — to refresh the picture.
  • As a thinking aid before a refactor, an audit, or a /weekly review: what's load-bearing, what's orphaned, what's surprisingly connected.
  • Before exploring with /graph-query (this builds/refreshes the graph it queries).

The output (always this shape)

graphify writes everything to graphify-out/ (git-ignored — a derived artifact, never committed):

## Knowledge graph — <date>
**Built from** — code (local AST) + committed wiki/. Excluded: raw/, .tmp/, .env, secrets.
**Artifacts** — graphify-out/graph.html (interactive) · graph.json · GRAPH_REPORT.md

**God Nodes** — the most-connected hubs (what everything leans on):
1. <node> — <why it's central, in a phrase>
2. … 3. …
**Surprising Connections** — edges you wouldn't expect (cross-domain links worth a look):
- <A> ↔ <B> — <what the link is>
**Suggested Questions** — what the graph invites you to ask next:
- <question> → run `/graph-query "<question>"`

Every edge carries graphify's honesty label — EXTRACTED (read directly), INFERRED (reasoned), or AMBIGUOUS — so claims about the graph cite their basis (cite-don't-invent).

Process

  1. Ensure graphify is installed. Run python tools/graphify_setup.py check. If missing, offer to install (uv tool install graphifyy, fallback pipx install graphifyy / pip install graphifyy, then graphify install --platform claude). No account or signup is needed. Gate: don't proceed until graphify --version resolves.
  2. Set the build scope — code + committed wiki/ ONLY. This is the hard line:
    • Include: source code (Python in tools/, etc.) and the committed wiki/.
    • EXCLUDE always: raw/ (may hold raw PHI/PII/financials before de-identification), .tmp/, .env, graphify-out/, and any sensitive/secret path. Never point graphify's document extraction at raw/.
    • Why this is safe: code is parsed locally by tree-sitter AST (no LLM, nothing leaves the machine); document extraction is limited to wiki/, which is already de-identified and non-confidential per the wiki admission policy. graphify also auto-skips sensitive files during detection — but scope, not that fallback, is your guardrail.
  3. Build the graph.
    • Full build (code + wiki): the heavy document pass runs through graphify's own pipeline using the host IDE session — invoke /graphify . (graphify's global skill), having confirmed scope. Non-code text in wiki/ is extracted by this session; graphify does not call any third party or read ANTHROPIC_API_KEY in-IDE.
    • Code-only refresh (no LLM, fast): run graphify update <path> — re-extracts the code AST deterministically, no model call. Prefer this when only code changed.
    • Gate: confirm graphify-out/graph.json and GRAPH_REPORT.md were written before reporting.
  4. Surface the highlights. Read graphify-out/GRAPH_REPORT.md and summarize into the output shape above — God Nodes, Surprising Connections, Suggested Questions — keeping the EXTRACTED/INFERRED/AMBIGUOUS labels. Point the user at graphify-out/graph.html for the interactive view.
  5. Offer the next move. Propose /graph-query "<question>" to explore (shortest paths, neighbors, communities), and — if the user wants it standing — graphify hook install for auto-rebuild on commit (a Cadence touch) or --watch for continuous rebuild while working.

Autonomy

L2 — drafts/refreshes the graph; the human reads it. Building is reversible and lands only in git-ignored graphify-out/, so it's safe to run on request. A code-only graphify update (deterministic, no LLM, no document pass) can run at L3 — e.g. via the commit hook — once trusted. Never commit graphify-out/; never widen scope beyond code + wiki/ without explicit approval.

Guardrails (from CLAUDE.md)

  • Never extract raw/ (or .env, .tmp/, secrets) — raw/ can hold pre-de-identified PHI/PII/financials. Document extraction is limited to the committed, de-identified wiki/. (Guardrails #1, #2, #7)
  • graphify-out/ is git-ignored — a derived artifact. No secrets, confidential figures, or sensitive data enter git via the graph.
  • Cite, don't invent. Carry graphify's honesty audit trail (EXTRACTED / INFERRED / AMBIGUOUS) into any claim about the graph. (Guardrail #6)
  • Code AST is parsed locally; the wiki document pass uses this host session only — no third-party call, no ANTHROPIC_API_KEY read.

Поширені запитання

Що робить навичка ШІ Graph?

Use when the user wants to build, refresh, or visualize the repo's knowledge graph — code structure plus the committed wiki/ — via graphify. Produces an interactive graph + a GRAPH_REPORT.md of God Nodes, surprising connections, and suggested questions. Trigger on "/graph", "build the knowledge graph", "graph the repo", "map the codebase", "refresh the graph", "visualize the second brain".

Навіщо використовувати Graph у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Graph — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Graph у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/alirezarezvani/gaios/tree/dev/.claude/skills/graph. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Graph?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Graph?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Graph — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Graph?

Навичку опубліковано на GitHub: alirezarezvani. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇