Harness Notes

Locations

Updated 2026-11-25,

On this page

Where each harness looks for definitions, grouped by scope. Numbers (#) give each path's place in the order; the Order row says what they mean. Paths are documented by the vendor unless marked undocumented.

Skills

Where it looksCursor Agent
Project
  • .agents/skills
    Portable
  • .cursor/skills
    Native
  • .claude/skills
    Compatibility
  • .codex/skills
    Compatibility
User
  • ~/.agents/skills
    Portable
  • ~/.cursor/skills
    Native
  • ~/.claude/skills
    Compatibility
  • ~/.codex/skills
    Compatibility
Plugins and packages
  • <enabled-plugin>/skills
Which skills are visibleEvery definition stays visible
When names collide
Not established
Order
  • Not established
Recorded from

Cursor Agent CLI documentation; paths documented unless marked

Primary reference
Cursor Agent, notes and evidence
  • Discovery is recursive.
  • User roots do not transfer to cloud agents or remote workers.
  • The documentation lists roots but does not establish duplicate-name precedence.

Evidence

Instructions

Where it looksCursor Agent
Project
  • .cursor/rules/**/*.mdc
    #2
  • <project-or-subdirectory>/AGENTS.md
    #2

    AGENTS.md is documented as a project instruction source; its placement in the project precedence layer is an inference.

User
  • <user-rules>
    #3
Team, admin and managed
  • <team-rules>
    #1
How instruction files combineMerge applicable
When instructions conflict
Earlier layer wins
Order
  • Priority: Team before project before user (numbered highest to lowest priority)
Recorded from

Cursor Agent CLI documentation; paths documented unless marked

Primary reference
Cursor Agent, notes and evidence
  • Project rules may activate always, by glob, by relevance, or manually.

Evidence

Hooks

Where it looksCursor Agent
Project
  • <project>/.cursor/hooks.json
User
  • ~/.cursor/hooks.json

    Only when local agents only

Team, admin and managed
  • <enterprise-managed-hooks>
  • <team-distributed-hooks>
Plugins and packages
  • <enabled-plugin>/hooks
How hooks from several places combineMerge all
When hooks conflict
All applicable sources
Order
  • Not established
Recorded from

Cursor Agent CLI documentation; paths documented unless marked

Primary reference
Cursor Agent, notes and evidence
  • The source list is not a guaranteed handler execution order.
  • Cloud agents omit user hooks and several event types; command hooks only.
  • Working directory differs by source scope.

Evidence

Subagents

Where it looksCursor Agent
Project
  • .cursor/agents
    #1
  • .claude/agents
    #2, Compatibility
  • .codex/agents
    #3, Compatibility
User
  • ~/.cursor/agents
    #4
  • ~/.claude/agents
    #5, Compatibility
  • ~/.codex/agents
    #6, Compatibility
Which definitions are visibleName precedence
When names collide
First precedence wins
Order
  • Priority: Project before user native before compatibility (numbered highest to lowest priority)
Recorded from

Cursor Agent CLI documentation; paths documented unless marked

Primary reference
Cursor Agent, notes and evidence
  • Project definitions take precedence over user definitions; native Cursor roots take precedence over compatibility roots for duplicate names.

Evidence

Plugins

Where it looksCursor Agent
User
  • ~/.cursor/plugins/local
    Local development
Team, admin and managed
  • <installed-cursor-plugin>
Configured or per run
  • <directory passed to --plugin-dir>
    Local development
Which plugins loadEnabled set
When names collide
Not established
Order
  • Not established
Recorded from

Cursor Agent CLI documentation; paths documented unless marked

Primary reference
Cursor Agent, notes and evidence
  • Plugin-relative paths use ${PLUGIN_ROOT}; do not persist author-machine absolute paths.

Evidence

MCP servers

No research recorded for Cursor Agent.