Harness-level selection and use of tools, agents, skills, prompts, and…

Harness-level selection and use of tools, agents, skills, prompts, and instruction files

2026-04-20 · agentic-ai tools-infrastructure knowledge-management llm-reasoning · medium · source → · wiki →
key claims
  1. (https://docs.github.com/en/copilot/concepts/agents/copilot-cli/comparing-cli-features), (https://code.claude.com/docs/en/features-overview), (https://developers.openai.com/codex/concepts/customization)] The decisive selection rule is artifact function rather than filename, because the surveyed harnesses consistently separate abilities, durable policy, reusable workflows, and specialist worker definitions into different layers
  2. (https://agents.md/), (https://docs.github.com/en/copilot/reference/custom-instructions-support), (https://opencode.ai/docs/rules), (https://developers.openai.com/codex/guides/agents-md), (https://docs.anthropic.com/en/docs/claude-code/memory)] `AGENTS.md` is the most portable repository-level instruction artifact across the surveyed harnesses, but Claude Code still requires a `CLAUDE.md` wrapper or import pattern for full always-on compatibility
  3. (https://docs.github.com/en/copilot/reference/custom-instructions-support), (https://code.visualstudio.com/docs/copilot/customization/custom-instructions), (https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-custom-instructions), (https://docs.github.com/en/copilot/how-tos/provide-context/use-copilot-spaces/create-copilot-spaces)] GitHub Copilot documents repository instructions, path-specific instructions, prompt files, skills, custom agents, and Copilot Spaces across its public surfaces, so teams still need to choose by surface because GitHub.com cloud agent, VS Code, CLI, and Spaces each load different files and apply different precedence rules
  4. (https://docs.github.com/en/copilot/concepts/about-organizing-and-sharing-context-with-copilot-spaces), (https://docs.github.com/en/copilot/how-tos/provide-context/use-copilot-spaces/create-copilot-spaces)] Copilot Spaces should be selected for shared retrieval context and curated question answering, while repository instruction files should still hold coding policy for cloud-agent or integrated development workflows
  5. (https://docs.anthropic.com/en/docs/claude-code/memory), (https://code.claude.com/docs/en/skills), (https://code.claude.com/docs/en/sub-agents)] A practical Claude Code operating model is `CLAUDE.md` for always-on facts, skills for reusable procedures or reference bundles, and subagents for isolated specialist work, so long procedural guidance should not remain in `CLAUDE.md`
  6. (https://opencode.ai/docs/rules), (https://opencode.ai/docs/commands), (https://opencode.ai/docs/skills), (https://opencode.ai/docs/agents), (https://opencode.ai/docs/tools)] OpenCode documents separate native artifacts for rules, commands, skills, agents, and tools, which makes it a useful public example of the layered selection framework this item recommends
  7. (https://developers.openai.com/codex/concepts/customization), (https://developers.openai.com/codex/guides/agents-md), (https://developers.openai.com/codex/skills), (https://developers.openai.com/codex/concepts/subagents)] Codex documents a disciplined order of adoption, `AGENTS.md` first, then skills, then external connectivity through MCP, then subagents only when explicit parallel specialist work is justified
  8. (https://agents.md/), (https://docs.anthropic.com/en/docs/claude-code/memory), (https://docs.github.com/en/copilot/reference/custom-instructions-support), (https://code.visualstudio.com/docs/copilot/customization/agent-skills), (https://developers.openai.com/codex/guides/agents-md)] The strongest cross-harness best practice is a short portable core in `AGENTS.md`, plus harness-native compatibility shims only where required, rather than trying to overload prompts, commands, or agent files with permanent repository policy

Research Question

When should teams choose tools, agent definition files, skills, prompts, instruction files, and AGENTS.md, and what verifiable best practices align with how major harnesses actually select and apply each artifact?

Findings

(Populated from section 6 Synthesis above.)

Executive Summary

Key Findings

  1. (GitHub Docs: Copilot CLI feature comparison Claude Code features overview, Codex customization] High confidence: The decisive selection rule is artifact function rather than filename, because the surveyed harnesses consistently separate abilities, durable policy, reusable workflows, and specialist worker definitions into different layers.
  2. (AGENTS.md specification GitHub custom instructions support matrix, OpenCode rules, Codex AGENTS.md guide, Anthropic Docs: Claude Code memory] High confidence: AGENTS.md is the most portable repository-level instruction artifact across the surveyed harnesses, but Claude Code still requires a CLAUDE.md wrapper or import pattern for full always-on compatibility.
  3. (GitHub Docs: Custom instructions support matrix VS Code custom instructions, GitHub Docs: Copilot CLI custom instructions, GitHub Docs: Create Copilot Spaces] High confidence: GitHub Copilot documents repository instructions, path-specific instructions, prompt files, skills, custom agents, and Copilot Spaces across its public surfaces, so teams still need to choose by surface because GitHub.com cloud agent, VS Code, CLI, and Spaces each load different files and apply different precedence rules.
  4. (GitHub Docs: About organizing and sharing context with Copilot Spaces GitHub Docs: Create Copilot Spaces] Medium confidence: Copilot Spaces should be selected for shared retrieval context and curated question answering, while repository instruction files should still hold coding policy for cloud-agent or integrated development workflows.
  5. (Anthropic Docs: Claude Code memory Claude Code skills, Claude Code subagents] Medium confidence: A practical Claude Code operating model is CLAUDE.md for always-on facts, skills for reusable procedures or reference bundles, and subagents for isolated specialist work, so long procedural guidance should not remain in CLAUDE.md.
  6. (OpenCode Docs: rules OpenCode commands, OpenCode skills, OpenCode agents, OpenCode tools] High confidence: OpenCode documents separate native artifacts for rules, commands, skills, agents, and tools, which makes it a useful public example of the layered selection framework this item recommends.
  7. (OpenAI Docs: Codex customization Codex AGENTS.md guide, Codex skills, Codex subagents] Medium confidence: Codex documents a disciplined order of adoption, AGENTS.md first, then skills, then external connectivity through MCP, then subagents only when explicit parallel specialist work is justified.
  8. (AGENTS.md specification Anthropic Docs: Claude Code memory, GitHub custom instructions support matrix, VS Code agent skills, Codex AGENTS.md guide] High confidence: The strongest cross-harness best practice is a short portable core in AGENTS.md, plus harness-native compatibility shims only where required, rather than trying to overload prompts, commands, or agent files with permanent repository policy.

Assumptions

Analysis

Risks, Gaps, and Uncertainties

Open Questions


sources

Starting points, papers, articles, videos, repos, docs.


Connected items

Loading…

View full knowledge graph →