/oats-skills:oats-taurifrom oats-skills
Guides changes to the oats Tauri v2 backend: Rust commands, invoke contract, capabilities/permissions, plugins, multi-window setup, and macOS cargo test workarounds.
Ships in oats-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The backend is Rust in src-tauri/, exposing commands the Vue frontend calls via
invoke. Tauri v2, Apple-Silicon macOS only.
src-tauri/src/)main.rs — app setup, plugin registration, tray, window creation, invoke_handler.commands.rs — the bulk of #[tauri::command] functions (the frontend API surface).audio_capture.rs, transcribe.rs, model_manager.rs,
storage.rs, recording_state.rs, mic_monitor.rs, meeting_notifications.rs,
recorder_pill/ (the native floating pill's bridge; Win32 renderer in win32.rs,
Swift package in src-tauri/recorder-pill/macos, whose tests run with
swift test --package-path src-tauri/recorder-pill/macos), tray.rs /
tray_meeting.rs, update_manager.rs.Frontend → backend goes through typed wrappers in src/tauri.ts
(import { invoke } from '@tauri-apps/api/core'). To add a command:
#[tauri::command] async fn foo(...) in commands.rs (or a domain module).invoke_handler![...] in main.rs.src/tauri.ts; call that from views/composables.src-tauri/capabilities/default.json is the allowlist — it names the windows
(main, waveform, settings, update, library, onboarding, meeting-prompt,
silence-prompt, meeting-end-prompt) and the
permissions they get (core:window:*, store:default, opener:default,
notification:default, updater:default, plus a scoped opener:allow-open-url for
x-apple.systempreferences:*). A new window or plugin capability must be added here or
calls are rejected at runtime.
@tauri-apps/plugin-store (persisted settings), plugin-updater (R2-hosted auto-update,
configured under plugins.updater in tauri.conf.json), plugin-notification,
plugin-opener. The tauri-plugin-mcp server is gated behind --features mcp — see
oats-debugging.
npm run tauri:dev — run the app.npm run tauri:dev:debug — run with the MCP server (--features mcp).npm run tauri:build — bundle. Exits non-zero on the updater signing step
(TAURI_SIGNING_PRIVATE_KEY missing) but the .app is already built at
src-tauri/target/release/bundle/macos/oats.app and is fully usable.Default cargo test fails on this platform two ways. Full green command:
DYLD_LIBRARY_PATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx" \
cargo test --manifest-path src-tauri/Cargo.toml -- --test-threads=1
DYLD_LIBRARY_PATH fixes a missing libswift_Concurrency.dylib SIGABRT. A benign
objc[...] Class ... implemented in both warning still prints.--test-threads=1 avoids a pre-existing isolation flake (some rename_local_recording*
/ finalize* tests mutate process-wide state and collide in parallel).A fresh worktree is missing .gitignored build inputs; bootstrap before building/testing:
src-tauri/binaries/ is gitignored) — copy from the primary
checkout: cp -R <primary>/src-tauri/binaries/{ariso-stt-aarch64-apple-darwin,mlx-swift_Cmlx.bundle} src-tauri/binaries/.npm ci (repo uses npm + package-lock.json).npm run vite:build once — generate_context! needs dist/ to exist.Test TCC grants (system-audio etc.) on the bundled app (stable id ai.ariso.desktop),
not the adhoc-signed tauri:dev binary (unstable identity across rebuilds). System-audio
capture (Core Audio process taps) prompts on capture start and the grant lands under
"System Audio Recording Only" in Privacy → Screen & System Audio Recording. Reset a grant
with tccutil reset ScreenCapture ai.ariso.desktop; a leftover broad Screen Recording
grant silently satisfies the tap and suppresses the narrow prompt.
For frontend conventions see oats-vue; for the big picture see oats-architecture;
for driving the running app see oats-debugging.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ariso-ai/oats --plugin oats-skills6 skills in this plugin
/autopilotUse only when the user explicitly invokes autopilot./oats-architectureUse to orient in the oats codebase or plan cross-cutting features — the cloud-vs-offline backend split, the speech-to-text pipeline, window topology, and where specs live./oats-debuggingUse when reproducing or diagnosing runtime behavior in the running oats desktop app — driving and inspecting its windows via the oats-desktop MCP server (execute JS, read DOM, invoke backend commands). Pairs with systematic-debugging./oats-securityUse when changing oats code that touches auth/OAuth, session tokens, the capabilities allowlist, a Tauri invoke command, file paths, URL/deep-link opening, the sidecar, network calls, or the offline-mode privacy guarantee. Encodes this app's real attack surface and a pre-PR review checklist./oats-vueUse when building or changing oats frontend UI — Vue 3 components, views, composables, routing, Tailwind, or the TipTap notes editor. Encodes this repo's frontend conventions.Other plugins' skills for the same job