Logo van Deep Links

Deep Links

Organisatie
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.

Overzicht

Uitgeverallthingsida
Repositoryidasql-skills
Skillnaamdeep-links
Sterren
50
Forks
10
Meegeleverde bestanden
4
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 4 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door allthingsida op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Deep Links in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/allthingsida/idasql-skills/tree/main/plugins/idasql/skills/deep-links
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Deep Links in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Deep Links automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Deep Links niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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)

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill 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.

Waarom Deep Links gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Deep Links bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Deep Links in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/allthingsida/idasql-skills/tree/main/plugins/idasql/skills/deep-links. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Deep Links gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Deep Links gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Deep Links ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Deep Links gratis?

Deze skill is door allthingsida op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇