harness-prompt

Generate CLAUDE.md, AGENTS.md, and copilot-instructions.md from a canonical system prompt.

12|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/madebywild/agent-harness --skill harness-prompt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: harness-prompt
Source: https://github.com/madebywild/agent-harness/tree/main/.claude/skills/harness-prompt
Command: npx skills add https://github.com/madebywild/agent-harness --skill harness-prompt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes and standardizes the system prompt for all AI coding providers, preventing drift and simplifying cross-provider instruction management.

Core Features & Use Cases

  • Scaffold and edit the canonical system prompt at .harness/src/prompts/system.md
  • Generate provider-native instruction files CLAUDE.md, AGENTS.md, and copilot-instructions.md via harness apply
  • Keep prompts in sync across CLAUDE, Codex, and Copilot; supports per-provider overrides via sidecar YAML

Quick Start

Scaffold the canonical system prompt with npx harness add prompt, then edit .harness/src/prompts/system.md and run npx harness apply to generate provider-specific instruction files.

Frequently Asked Questions about harness-prompt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep system prompts in sync across Claude, Codex, and Copilot?

To keep system prompts in sync across Claude, Codex, and Copilot, maintain a single canonical source file and render it into provider-native instruction files. This prevents configuration drift by generating CLAUDE.md, AGENTS.md, and copilot-instructions.md from one centralized prompt.

What is the best way to manage a canonical system prompt for multiple AI coding agents?

Managing a canonical system prompt for multiple AI coding agents involves centralizing the source text and applying it to generate provider-specific configurations. You can scaffold the prompt once and propagate it to generate the respective CLAUDE.md and AGENTS.md files automatically.

Can I apply per-provider overrides to my Copilot and Codex instruction files?

Yes, you can apply per-provider overrides to Copilot and Codex instruction files using sidecar YAML configurations. This allows you to maintain the canonical system prompt while injecting specific instructions for individual AI providers during the rendering process.

How do I scaffold and generate CLAUDE.md and copilot-instructions.md from a single source?

To scaffold and generate CLAUDE.md and copilot-instructions.md, run a prompt scaffolding command to create the canonical source, edit the markdown file, and execute an apply command to render the provider-native instruction files into your agent-harness workspace.

Why does my system prompt drift when switching between different AI coding providers?

System prompt drift occurs when switching between different AI coding providers because instruction files are maintained independently. Centralizing the source prompt and applying it to generate CLAUDE.md, AGENTS.md, and copilot-instructions.md prevents this drift.