#Skills

coterm ships skills that teach coding agents how to use coterm CLI control, current-workspace automation, settings, customization, diagnostics, browser surfaces, and markdown panels.

#Install

Use Vercel's skills CLI for the standard multi-agent install flow, or use skills.sh when you only need the Codex skills directory.

Install with Vercel skills
# Install all coterm skills
npx skills add emergent-inc/coterm -g -y

# Or install just diagnostics
npx skills add emergent-inc/coterm --skill coterm-diagnostics -g -y
Install with skills.sh
curl -fsSL https://raw.githubusercontent.com/mana-am/coterm/main/skills.sh | bash
By default, skills.sh installs into ~/.codex/skills, or $CODEX_HOME/skills when CODEX_HOME is set. Pass --dest when your agent reads skills from another directory.

#Install from a checkout

From a cloned coterm checkout, the script uses the local skills directory.

Local commands
./skills.sh
./skills.sh --list
./skills.sh --skill coterm --skill coterm-browser
./skills.sh --dest ~/.codex/skills
./skills.sh --dry-run

Use --ref to install from a specific branch, tag, or commit when the script downloads from GitHub.

curl -fsSL https://raw.githubusercontent.com/mana-am/coterm/main/skills.sh | bash -s -- --ref main

#Included skills

Each skill has a SKILL.md file, optional references, and an OpenAI metadata file under agents/openai.yaml.

SkillUseTypical command
coterm Core
skills/coterm/SKILL.md

Controls windows, workspaces, panes, surfaces, focus, moves, reorder, and routing with the coterm CLI.

Use it when an agent needs deterministic placement or navigation in a multi-pane coterm layout.

coterm identify --json
coterm Workspace
skills/coterm-workspace/SKILL.md

Keeps automation scoped to the current caller workspace, caller surface, panes, sidebar metadata, and socket context.

Use it when an agent should add panes, send input, inspect state, or open helper surfaces without disrupting another workspace.

coterm current-workspace --json
coterm Settings
skills/coterm-settings/SKILL.md

Inspects, edits, validates, and opens ~/.config/coterm/coterm.json with a bundled helper script.

Use it when changing appearance, sidebar, notification, browser, automation, or shortcut settings by JSON path.

skills/coterm-settings/scripts/coterm-settings list-supported
coterm Customization
skills/coterm-customization/SKILL.md

Customizes coterm.json actions, plus-button behavior, tab bar buttons, workspace layouts, Dock controls, Feed hooks, sidebar settings, Command Palette entries, shortcuts, and Ghostty-owned terminal preferences.

Use it to make coterm open a user's worktrees, multiple checkouts, SSH sessions, dev tools, or project layout from the exact UI entrypoints they want.

coterm reload-config
coterm Diagnostics
skills/coterm-diagnostics/SKILL.md

Runs support-safe checks for coterm CLI health, socket access, hooks, session restore, settings, and agent binaries.

Use it when notifications, hooks, restore, or automation are not behaving as expected.

skills/coterm-diagnostics/scripts/coterm-diagnostics
coterm Browser
skills/coterm-browser/SKILL.md

Automates coterm webview surfaces with snapshot refs, DOM actions, waits, screenshots, and session state.

Use it for browser tasks that should run inside coterm instead of a separate browser automation tool.

Coterm browser surface:2 snapshot --interactive
coterm Markdown Viewer
skills/coterm-markdown/SKILL.md

Opens markdown files in a formatted coterm panel with live reload.

Use it to show plans, docs, notes, and task lists beside the terminal while work is happening.

coterm markdown open plan.md

#What the skills cover

The top-level SKILL.md files stay short. Deeper command details live in references, scripts, and templates next to each skill.

SkillScopeReference coverage
coterm Core
coterm
Topology control for windows, workspaces, panes, surfaces, focus, moves, reorders, split-off flows, and attention flashes.Handle syntax, caller targeting, window and workspace lifecycle, pane and surface routing, trigger flash, and health checks.
coterm Workspace
coterm-workspace
Current-workspace automation rules for caller context, additive panes, helper surfaces, sidebar metadata, input, and socket selection.Workspace command reference covering context, windows, workspaces, panes, surfaces, input, sidebar state, notifications, docs, and tagged reloads.
coterm Settings
coterm-settings
coterm.json settings reads and writes, key lookup, JSONC parsing, safe atomic updates, validation, editor opening, and shortcut binding edits.Generated settings key list, shortcut action ids, schema URL, supported path detection, and the bundled coterm-settings helper.
coterm Customization
coterm-customization
End-user customization across coterm.json settings, actions, commands, workspace layouts, plus-button click and right-click menus, surface tab bar buttons, Dock controls, Feed and notification hooks, sidebar metadata, Command Palette entries, shortcuts, and Ghostty config boundaries.Config-surface selection, what can be customized, global versus project-local scope, action examples, plus-button wiring, tab bar button examples, Dock examples, Feed hooks, workspace layout examples, reload steps, validation rules, and safety constraints.
coterm Diagnostics
coterm-diagnostics
Read-only health checks for CLI reachability, socket access, coterm environment, settings validation, hook installation markers, session stores, auto-resume settings, and supported agent binaries.Bundled support-safe diagnostic script, hook setup commands, session restore interpretation, notification checks, and rules for redacting sensitive files.
coterm Browser
coterm-browser
Browser automation inside coterm webview surfaces, including navigation, DOM actions, waits, state capture, screenshots, and snapshots.Command mapping, snapshot ref lifecycle, authentication, session persistence, video status, proxy behavior, and reusable automation templates.
coterm Markdown Viewer
coterm-markdown
Formatted markdown panels that live beside terminals and reload as files change.Command syntax, routing options, live reload behavior, atomic file replacement, and markdown rendering coverage.

#Customization examples library

These are reusable workflow patterns that a user can ask an agent to apply with coterm Customization.

ExampleCustomizesGood for
Worktree agents
worktree-agents
Plus-button click, plus-button right-click menu, Command Palette, workspace layoutOpening a dedicated worktree or checkout with paired Codex, Claude, SSH, or helper terminals.
Full-stack dev
full-stack-dev
Workspace command, browser preview, Dock controlsStarting frontend, backend, tests, logs, and preview panes in the same repeatable layout.
SSH devbox
ssh-devbox
Workspace command, remote terminal, browser surfaceConnecting to a remote environment while keeping local previews, notes, and navigation in coterm.
Review PR
review-pr
Workspace command, browser surface, markdown or terminal notesOpening GitHub status, the pull request, and review notes in a single workspace.
Docs workspace
docs-workspace
Workspace command, markdown panel, browser previewEditing documentation with the rendered page, local dev server, and source notes visible.
CI watch
ci-watch
Dock controls, Feed TUI, notification hooksWatching GitHub Actions, CircleCI, release monitors, and agent hook events without losing the main workspace.
Quick agent buttons
quick-agent-buttons
Surface tab bar buttons, actions, Command Palette entriesAdding one-click Codex, Claude, or custom-agent launchers while keeping built-in tab buttons visible.
Detailed snippets live in skills/coterm-customization/references/examples.md. Agents load that file only when an examples-library pattern is needed.
Example prompts
Use $coterm-customization to set up the worktree-agents example.
Use $coterm-customization to create a project-local full-stack-dev layout with Dock controls.
Use $coterm-customization to add quick-agent-buttons for Codex and Claude.

#Help menu

The macOS Help menu mirrors this docs sidebar and includes Skills. Use the Skills item in Help to open this page from the app.

#Skill layout

Keep the main SKILL.md concise. Put deeper command tables, scripts, and reusable templates next to the skill.

skills/<name>/SKILL.md
skills/<name>/agents/openai.yaml
skills/<name>/references/*.md
skills/<name>/scripts/*
skills/<name>/templates/*
When adding a new skill, include agents/openai.yaml so the installer exposes a clear name, short description, and default prompt.

#Suggested future skills

These are good candidates if the skill set grows beyond the current installed list.

Skill ideaUse caseWhy it helps
Coterm SSH
coterm-ssh
Drive remote workspaces, SSH URL launches, browser routing through remote networks, and reconnect behavior.Remote sessions are a major coterm surface with behavior that differs from local terminal workflows.
coterm Cloud VM
coterm-cloud-vm
Operate Cloud VM create, attach, exec, SSH endpoint, billing, and provider troubleshooting flows.Cloud VM work crosses the web app, database, provider APIs, and smoke tests.
coterm Vault
coterm-vault
Manage vault-backed agent configuration, credentials, and restore behavior without leaking secrets into prompts.Vault workflows need stricter handling than normal settings because they affect secrets and agent startup.
Keep future skills focused on repeatable workflows with real command sequences. If a skill would only restate product docs, add it to docs instead.