Logo di Dutis

Dutis

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

Panoramica

Pubblicato datsonglew
Repositorydutis
Nome della skilldutis
Stelle
255
Fork
9
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da tsonglew su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Dutis in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/tsonglew/dutis/tree/master/skills/dutis
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Dutis in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Dutis non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Dutis non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Dutis su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Dutis è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Dutis in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/tsonglew/dutis/tree/master/skills/dutis. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Dutis?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Dutis?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Dutis: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Dutis è gratuita?

È pubblicata su GitHub da tsonglew. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇