Core context and guardrails for OpenWork native app
Installation
$skills install @different-ai/openwork-core
Claude Code
Cursor
Copilot
Codex
Antigravity
Details
Repositorydifferent-ai/openwork
Path.opencode/skill/openwork-core/SKILL.md
Branchmain
Scoped Name@different-ai/openwork-core
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
name: openwork-core description: Core context and guardrails for OpenWork native app
Quick Usage (Already Configured)
Orientation
- Read
AGENTS.mdanddesign-prd.mdbefore changing behavior. - Ensure
vendor/opencodeexists for self-reference. - Use the
tauri-solidjsskill for stack-specific guidance.
Update the OpenCode mirror
git -C vendor/opencode pull --ff-only
Development workflow
pnpm tauri dev # Desktop development
pnpm tauri ios dev # iOS development
pnpm tauri android dev # Android development
OpenCode Integration
Spawn OpenCode CLI
opencode -p "your prompt" -f json -q
Read OpenCode database
~/.opencode/opencode.db # SQLite database
Key tables
sessions— Task runsmessages— Chat messages and tool callshistory— File change tracking
Common Gotchas
- OpenWork must stay within OpenCode's tool surface; avoid inventing new capabilities.
- Always expose plans, permissions, and progress for non-technical users.
- Use Tauri commands for all system access (file, shell, database).
- Keep UI at 60fps; avoid blocking the main thread.
- Mobile builds require platform-specific setup (Xcode, Android Studio).
UI Principles
- Slick and fluid: animations, transitions, micro-interactions.
- Mobile-first: touch targets, gestures, adaptive layouts.
- Transparency: show plans, steps, and tool calls.
- Progressive disclosure: hide advanced controls until needed.
First-Time Setup (If Not Configured)
Clone the OpenCode mirror
git clone https://github.com/anomalyco/opencode vendor/opencode
Initialize Tauri project
pnpm create tauri-app . --template solid-ts
Add mobile targets
pnpm tauri ios init
pnpm tauri android init
Common Gotchas
- OpenWork must stay within OpenCode’s tool surface; avoid inventing new capabilities.
- Always expose plans, permissions, and progress for non-technical users.
First-Time Setup (If Not Configured)
Clone the OpenCode mirror
git clone https://github.com/anomalyco/opencode vendor/opencode
