Agent skill

tauri-app-autostart

Configure Tauri v2 autostart plugin to launch the app on system login. Use when enabling or disabling autostart, handling platform-specific startup behavior, or adding a user-controlled autostart toggle.

Stars 254
Forks 41

Install this agent skill to your Project

npx add-skill https://github.com/partme-ai/full-stack-skills/tree/main/skills/tauri-skills/tauri-app-autostart

SKILL.md

When to use this skill

ALWAYS use this skill when the user mentions:

  • Enabling or disabling app autostart / launch at login
  • Platform-specific autostart behavior (macOS Login Items, Windows Registry, Linux XDG autostart)
  • User-controlled autostart toggle in app settings

Trigger phrases include:

  • "autostart", "startup", "login items", "boot launch", "launch on startup"

How to use this skill

  1. Install the autostart plugin and add it to Cargo.toml and tauri.conf.json:
    bash
    cargo add tauri-plugin-autostart
    
  2. Register the plugin in your Tauri builder with the desired macro type:
    rust
    use tauri_plugin_autostart::MacosLauncher;
    tauri::Builder::default()
        .plugin(tauri_plugin_autostart::init(
            MacosLauncher::LaunchAgent,
            Some(vec!["--minimized"]),
        ))
    
  3. Configure capabilities in src-tauri/capabilities/default.json:
    json
    { "permissions": ["autostart:allow-enable", "autostart:allow-disable", "autostart:allow-is-enabled"] }
    
  4. Toggle autostart from the frontend:
    typescript
    import { enable, disable, isEnabled } from '@tauri-apps/plugin-autostart';
    await enable();   // register autostart
    await disable();  // remove autostart
    const status = await isEnabled(); // check current state
    
  5. Handle platform differences: macOS uses LaunchAgent or AppleEvent, Windows uses the Registry, Linux uses XDG autostart directories
  6. Verify by restarting the system or checking platform-specific autostart entries

Outputs

  • Autostart plugin setup with platform-appropriate launcher type
  • User-facing toggle for enable/disable with status check
  • Platform-specific verification checklist

References

Keywords

tauri autostart, startup, login items, launch on boot, enable disable

Expand your agent's capabilities with these related and highly-rated skills.

partme-ai/full-stack-skills

ocrmypdf-batch

OCRmyPDF batch processing skill — process multiple PDFs, Docker automation, shell scripting, and CI/CD integration. Use when the user needs to OCR many PDFs, set up automated OCR pipelines, or integrate OCR into workflows.

254 41
Explore
partme-ai/full-stack-skills

ocrmypdf-optimize

OCRmyPDF optimization skill — compress PDFs, configure PDF/A output, JBIG2 encoding, and lossless optimization. Use when the user needs to reduce PDF file size, create archival PDF/A files, or optimize OCR output.

254 41
Explore
partme-ai/full-stack-skills

ocrmypdf-image

OCRmyPDF image processing skill — deskew, rotate, clean, despeckle, remove border from scanned documents. Use when the user needs to improve scanned PDF quality, fix skewed pages, remove noise, or clean up scanned documents before OCR.

254 41
Explore
partme-ai/full-stack-skills

ocrmypdf-api

OCRmyPDF Python API and plugin skill — use OCRmyPDF programmatically from Python, integrate with applications, and extend with plugins (EasyOCR, PaddleOCR, AppleOCR). Use when the user needs to call OCRmyPDF from Python code, build OCR pipelines, or use alternative OCR engines.

254 41
Explore
partme-ai/full-stack-skills

ocrmypdf

OCRmyPDF core skill — add searchable OCR text layer to scanned PDFs, convert images to searchable PDFs, support 100+ languages via Tesseract. Use when the user needs to OCR a PDF, make a scanned PDF searchable, or extract text from scanned documents.

254 41
Explore
partme-ai/full-stack-skills

svelte

Guides Svelte and SvelteKit development including reactive components, stores, transitions, lifecycle hooks, SSR, file-based routing, and deployment. Use when the user needs to build Svelte components, create SvelteKit applications, implement reactivity patterns, or configure Svelte with Vite.

254 41
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results