Skip to content

Context and Specs

Harness edited this page May 19, 2026 · 5 revisions

Context and Specs

Context files

Add files or folders to the agent context:

  • Right-click in Explorer → Add to Harness Context
  • Or command Harness: Add to Context

Context chips appear above the composer. Click a chip to open the file; × removes one item.

Clear context removes all chips and clears the input field.

Context paths are sent to the CLI on each message — the daemon reads file contents (never the extension host).

Spec Manager

Ctrl+Shift+PHarness: Open Spec Manager

Browse, create, and edit spec files in .harness/specs/.

Specs are used automatically in Spec+Agent Copilot mode. See SDD Specs.

Workspace layout

your-project/
├── .harness/
│   ├── config.yaml
│   └── specs/
│       ├── my-skill.yaml
│       └── review-workflow.yaml
└── ...

Clone this wiki locally