Logo Deep Links

Deep Links

Tổ chức
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.

Tổng quan

Nhà phát hànhallthingsida
Kho mãidasql-skills
Tên kỹ năngdeep-links
Sao
50
Bản fork
10
Tệp đi kèm
4
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được allthingsida công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Deep Links trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/allthingsida/idasql-skills/tree/main/plugins/idasql/skills/deep-links
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Deep Links trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Deep Links ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Deep Links không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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)

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Deep Links làm được gì?

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.

Vì sao nên dùng Deep Links trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Deep Links là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Deep Links trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/allthingsida/idasql-skills/tree/main/plugins/idasql/skills/deep-links. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Deep Links?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Deep Links với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Deep Links với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Deep Links có miễn phí không?

Kỹ năng này được allthingsida phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇