harness-interactive-setup
How to automatically configure, install, and sync HarnessOS to any host (Gemini, Cursor, Copilot, Windsurf) without human intervention.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to automatically configure, install, and sync HarnessOS to any host (Gemini, Cursor, Copilot, Windsurf) without human intervention.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Rules and strategies for managing agent context window size, avoiding bloat, and preserving signal-to-noise ratio.
Standard patterns for error handling, retry logic, circuit breakers, and graceful degradation.
Detect and remove contradictions across agent policies before execution.
Multi-step tool workflows via code orchestration to reduce latency, context pollution, and token overhead.
Bind project-specific prompts to local schema and workflow artifacts while keeping the harness core generic and globally reusable.
Operational session protocol for task-scoped leases, reconciliation, checkpoints, inspection, queue promotion, and handoff across long-running work.
| name | harness-interactive-setup |
| description | How to automatically configure, install, and sync HarnessOS to any host (Gemini, Cursor, Copilot, Windsurf) without human intervention. |
When a user requests to "install", "setup", or "link" HarnessOS to their current environment or multiple environments, you can achieve this fully autonomously.
HarnessOS uses a central config file at ~/.agent-harness/config.json to keep track of Hosts (absolute paths to workspace/IDE global locations where skills should be synchronized).
You have two ways to set this up for the user:
~/.agent-harness/config.json exists. If not, create an empty structure: {"hosts": []}~/.gemini, /Users/username/.cursor) to the hosts array. Ensure there are no duplicates.npx harness-sync to push the skills to all registered hosts.If you prefer to use the interactive menu:
npx harness-setup using your terminal control system.send_command_input).npx harness-sync.After running the sync command, verify that the skill directories were correctly copied to <host-path>/skills/ (e.g., ~/.gemini/skills/session-lifecycle).
This makes HarnessOS truly "plug and play" across any tooling capable of reading standard .md skill files.