Logo vun Dutis

Dutis

Communautéit
tsonglew
dutis

Inspect or manage macOS default applications and file associations with Dutis. Use when asked which app opens a file type, to change its default app, find installed apps that support it, manage URL scheme handlers, or restore previous associations. Covers extensions, UTIs, MIME types, and URL schemes. Use for macOS 默认打开方式、文件关联、默认应用或链接的默认处理程序. Do not use just to open or edit one file without changing its default association.

Iwwersiicht

Editeurtsonglew
Repositorydutis
Skill-Nummdutis
Stären
255
Forks
9
Matgeliwwert Fichieren
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum tsonglew op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Dutis an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/tsonglew/dutis/tree/master/skills/dutis
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tsonglew/dutis.git /tmp/dutis
mkdir -p .claude/skills
cp -r /tmp/dutis/skills/dutis .claude/skills/dutis
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Dutis an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Dutis automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Dutis net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Dutis

Use Dutis for macOS Launch Services associations. Preserve its inspect -> plan -> policy check -> approval -> apply -> verify boundary.

Workflow

  1. Start read-only. Check readiness with dutis doctor --json and the effective policy with dutis policy show --json, then inspect the requested association targets and installed handlers. Use dutis get <extension> --json for the current default or dutis query <extension> --json for supporting apps. A restricted macOS shell can hide Launch Services associations and make dutis get report no default even when one exists. If that happens, try the read-only dutis_get or dutis_handler_defaults MCP tool when available; otherwise report the uncertainty instead of concluding that no default is set. Use dutis handler get or dutis_handler_get for UTIs, MIME types, URL schemes, and role-specific defaults. Use dutis handler query or dutis_handler_query to discover apps that explicitly register the requested kind and compatible role. Treat imported or exported UTI definitions as type evidence, not handler capability. When roles may differ, use dutis handler defaults or dutis_handler_defaults to inspect the native Launch Services role matrix before planning a change. If an event command reports a delivery failure, inspect events health (dutis_event_health over MCP), then inspect events pending only when event-level details are necessary. Use events replay only after confirming the configured sink is healthy. Preview events archive and events purge before using --yes; purge is permanent and applies only to events already moved into dead-letter storage.
  2. If the user asks for a general setup or is unsure which application to use, inspect dutis_profiles / dutis_profile, then use dutis_recommend (or the equivalent CLI commands). Present candidate evidence and treat the recommendation strictly as a proposal, never as approval. Treat profiles returned by Dutis as the effective catalog: local profiles.toml overlays may extend built-ins or add custom typed profiles. Never accept caller-supplied overlay contents through MCP. Treat candidate policy_eligible, policy_reasons, and source fields as required evidence; do not substitute caller-provided preferences for the effective local policy. For UTI, MIME, and URL-scheme recommendations, require declares_target = true; typed fleet preferences apply to every profile recommendation but never authorize a mutation.
  3. Express multi-target changes as version 2 TOML. Build a fresh plan and run the policy check. Treat unresolved selectors or policy violations as a stop condition.
  4. Show the user the exact changed kinds, identifiers, roles, target bundle IDs, plan digest, and any policy constraints. Run dry-run before requesting approval.
  5. Ask for explicit approval immediately before a write. Never infer approval from an earlier inspection request.
  6. Apply only the reviewed digest, include a meaningful requester identity, and report the resulting safety snapshot and audit IDs.
  7. Verify with dutis get, then use dutis audit when the user needs the full local record.

When the user requests integration with another local tool, prefer the global --event-log or --event-command sink. Treat an event command as executable code: require a user-chosen trusted absolute path, and never generate or enable one implicitly. Events may contain application paths, bundle IDs, requester identity, and complete plans, but never approval tokens.

For HTTPS delivery, prefer the packaged dutis-event-http external command. Keep DUTIS_HTTP_ENDPOINT and DUTIS_HTTP_BEARER_TOKEN out of Dutis TOML, plans, prompts, and audit records. Run dutis-event-http --check --json before enabling it, and use a Keychain-backed wrapper for a LaunchAgent rather than persisting transport credentials in its plist.

For monitoring requests, use dutis_drift or dutis watch <config> --once first. Explain whether the report is in_sync, drift_detected, or unresolved. Do not enable --remediate or install a remediating LaunchAgent without explicit user authorization for continuous system changes. A notification-only LaunchAgent is the safe default.

For CLI workflows, prefer dutis plan, dutis policy check, and dutis apply --dry-run before the confirmed dutis apply command with --yes, --plan-digest, and --requester. For rollback, preview with dutis rollback <id> --dry-run before the confirmed command.

For MCP workflows, use dutis_diff and dutis_policy_check before dutis_apply, or dutis_rollback_plan before dutis_rollback. Mutation tools must be advertised by the server and require a fresh digest, an approval token, and requester. Never invent, persist, echo, or request disclosure of a secret token; use only a token supplied through the authorized workflow.

Do not pass recommendation output directly to a write tool. Rebuild the plan from the reviewed proposed TOML so current state and policy are checked again.

Do not bypass Dutis with raw duti mutation commands. Do not weaken or rewrite the local policy unless the user explicitly asks to change that policy.

Heefeg gestallte Froen

Wat mécht de KI-Skill Dutis?

Inspect or manage macOS default applications and file associations with Dutis. Use when asked which app opens a file type, to change its default app, find installed apps that support it, manage URL scheme handlers, or restore previous associations. Covers extensions, UTIs, MIME types, and URL schemes. Use for macOS 默认打开方式、文件关联、默认应用或链接的默认处理程序. Do not use just to open or edit one file without changing its default association.

Firwat Dutis op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Dutis besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Dutis an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/tsonglew/dutis/tree/master/skills/dutis an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Dutis benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Dutis benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Dutis domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Dutis gratis?

De Skill gëtt vum tsonglew op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇