Логотип Deep Links

Deep Links

Организация
allthingsida
deep-links

Make IDA answers clickable with ida:// deep links. Use whenever an answer names functions, addresses, strings, types or imports the user may want to open in IDA; whenever query results carry a deep_links uri or an ida:// link, including rows the user pasted and wants turned into a table or list to click through; when asked for links, to 'show me' or 'open it in IDA'; or to jump the user's IDA to a result. Each link is written [exact_name](uri), outside code.

Обзор

Издательallthingsida
Репозиторийidasql-skills
Название навыкаdeep-links
Звёзды
50
Форки
10
Встроенные файлы
4
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 4

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: allthingsida. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Deep Links в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/allthingsida/idasql-skills/tree/main/plugins/idasql/skills/deep-links
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/allthingsida/idasql-skills.git /tmp/idasql-skills
mkdir -p .claude/skills
cp -r /tmp/idasql-skills/plugins/idasql/skills/deep-links .claude/skills/deep-links
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Deep Links в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Deep Links, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Deep Links не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

The Contract (read first, apply every time)

  1. Generate links only with SQL — from deep_links, alone or joined to the table you are listing. Never assemble an ida:// string by hand: the table validates the target and produces exactly IDA's own format. If deep_links is not in pragma_table_list, this idasql build has no deep links (they need IDA 9.4): emit none.
  2. Write each link as [label](uri) in prose, a list or a table cell. The label is the exact symbol from the same row (sub_401130, aCmdExe), never a paraphrase and never "click here". Escape [, ] and | in a label with a backslash. Never put a link inside a code block or backticks — it will not be clickable there. Keep the address beside it as plain text (0x401130).
  3. Links open code. Function links use view = 'pseudocode' ('disasm' when there is no decompiler); addresses, call sites, strings, imports and data use 'disasm'. Open a list window ('functions', 'strings', 'imports') only when the user asks for that window. Left out, view defaults to exactly this.
  4. Link what the answer is about — the functions, strings or types you name. Do not link every row of a large dump.
  5. Navigate only when asked ("open it", "jump there", "show me in IDA"): SELECT ida_open_link(...), or idasql link open -- '<uri>' from a shell. When you cannot run it yourself, hand the user that exact command with the uri filled in; a link to click is a fine extra, not the answer.
  6. When two databases may share a basename, say which one: add sha256 or idb_path from the binary table.

Answer Template

FunctionAddressWhy it matters
sub_4011300x401130opens the mixer device
_main0x401330entry point

Click a name to open it in IDA.

When no handler is registered, add one line: "Run idasql link register once to make these links open IDA."


Generate

One link: give the resource and its target in the WHERE clause.

sql
SELECT uri FROM deep_links
WHERE resource = 'functions' AND addr = 0x401130 AND view = 'pseudocode';

Many links: JOIN, so each row feeds its own address in.

sql
SELECT f.name, f.addr, dl.uri
FROM funcs f
JOIN deep_links dl ON dl.resource = 'functions' AND dl.addr = f.addr AND dl.view = 'pseudocode'
ORDER BY f.size DESC LIMIT 10;

Every view of one function (CROSS JOIN keeps the list of views outer, so each row hands deep_links its view), or local types by name:

sql
WITH v(view) AS (VALUES ('disasm'), ('graph'), ('pseudocode'), ('functions'))
SELECT v.view, dl.uri
FROM v CROSS JOIN deep_links dl
WHERE dl.resource = 'functions' AND dl.view = v.view
  AND dl.addr = (SELECT addr FROM funcs WHERE name = 'main');

SELECT t.name, dl.uri
FROM types t
JOIN deep_links dl ON dl.resource = 'types' AND dl.name = t.name
WHERE t.name LIKE 'tag%';

More recipes (strings, imports, names, segments, bookmarks, a given list of addresses): references/recipes.md.

deep_links rows:

ColumnMeaning
urithe ida:// link: IDA's Copy Link format, plus the database's full path last (&idb_path=; IDA ignores it, a click uses it to launch IDA on the right file)
resourcefunctions addresses strings segments names imports exports types bookmarks
addr / rvathe target (give one); the other is computed from image_base
namethe type name, for resource = 'types'
viewdisasm graph pseudocode hexdump or a list view; omitted = pseudocode for functions (disasm without a decompiler), disasm for other addresses, types for types
idb_namedefaults to this database; '' makes a link for "whatever IDA has open"
sourceoptional named source (leave it out unless the user uses sources)
addr_modeauto (default: rva=), rva, or ea (absolute ea=)
valid / diagnostic0 + IDA's reason when the target does not resolve (then uri is NULL)

An unconstrained SELECT * FROM deep_links is refused: always give the resource and its target. IN (...) lists do not reach the table; JOIN against a list instead (see recipes).


Navigate (only when asked)

sql
-- inside IDA (plugin HTTP/MCP): opens right there. The idasql CLI returns an error
-- until the gate below is on and an IDA 9.4 has the database open.
SELECT ida_open_link(dl.uri) FROM deep_links dl
WHERE dl.resource = 'functions' AND dl.addr = 0x401130 AND dl.view = 'pseudocode';
  • In the IDA plugin the gate enable_deep_link_navigation is on. Under the idasql CLI it is off; turn it on with UPDATE runtime_settings SET value='1' WHERE key='enable_deep_link_navigation'. The CLI then steers the running IDA 9.4 that has the database open.
  • From a shell: idasql link open -- 'ida:///...' (quote it: & separates commands in every shell; in cmd.exe use double quotes). If no IDA has the database open, link open starts IDA on it, waits for analysis, then navigates.
  • idasql link list shows the running IDA 9.4 instances and their databases.

Failure and recovery

SymptomCauseDo
deep_links missing from pragma_table_listidasql built for IDA before 9.4emit no links; say deep links need IDA 9.4
valid = 0, "No function at address"the address is not in a functionuse resource = 'addresses'
"is not compatible with entity type"view not allowed for that resourceuse the resource's default_view / allowed_views
ida_open_link: "navigation is disabled"CLI gate offrun the UPDATE above, if the user wants navigation
"no running IDA 9.4 instance has X open"nothing to steeridasql link open (launches), or tell the user
"several IDA instances have a matching database open"same basename twice, neither the link's exact file--pid, or close one
"IDA PID N does not answer and may have this database open"an IDA is busy (modal dialog, long script)retry, --pid, or --launch-anyway
"... looks open in another IDA (... .id0 exists)"the database's unpacked .id0 is next to itclose that IDA, or --launch-anyway
"not an IDA database (.i64/.idb)"the link names some other filefix the link; only .i64 / .idb are launched
"link contains control characters"a decoded part holds %00, %0A, ...the link is malformed; emit it from deep_links
"database path contains Unicode direction controls"the path could display as another filethe link is not trustworthy; do not open it
"... cannot be verified (elevated?)"that IDA runs elevated or as another useropen it from an idasql running as the same user
clicking does nothingno handler for the schemereferences/handler-setup.md

See also

  • references/uri-grammar.md — the link format, resources and views
  • references/handler-setup.md — idasql link register, coexisting with hcli, links without a handler
  • connect — the Output Contract these links belong to
  • ui-context — what the user is looking at now (the other direction)

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Deep Links?

Make IDA answers clickable with ida:// deep links. Use whenever an answer names functions, addresses, strings, types or imports the user may want to open in IDA; whenever query results carry a deep_links uri or an ida:// link, including rows the user pasted and wants turned into a table or list to click through; when asked for links, to 'show me' or 'open it in IDA'; or to jump the user's IDA to a result. Each link is written [exact_name](uri), outside code.

Зачем использовать Deep Links в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Deep Links — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Deep Links в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/allthingsida/idasql-skills/tree/main/plugins/idasql/skills/deep-links. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Deep Links?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Deep Links?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Deep Links: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Deep Links?

Навык опубликован на GitHub автором allthingsida. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇