Overview
Cursor agent profiles are Markdown files. Project agents live in.cursor/agents/.
User agents live in ~/.cursor/agents/.
Cursor supports project and user installation scopes. MCP servers, hooks,
and agent profiles are managed under the .cursor configuration directory.
Supported capabilities
Setup
1. Install the Observal CLI
2. Authenticate
~/.observal/config.json.
3. Pull an agent into Cursor
.cursor/agents/{name}.md.
To install into your user configuration:
~/.cursor/agents/{name}.md.
Config paths
Cursor MCP configs use the
mcpServers key.
Hook spec
Event map
Session delivery and parsing
Cursor keeps its built-incursor parser. Its adapter resolves the transcript path supplied by Cursor, with project-directory discovery as a fallback, and discovers separately stored subagent transcripts.
Cursor hook timeouts require a split delivery path: the hook synchronously writes complete transcript records and Stop-event token usage into the durable SQLite outbox, then a detached shared worker performs network delivery. The local byte/line cursor is not advanced by the hook or worker launch; it advances only after the server acknowledges a contiguous checkpoint. A delayed finalizer captures records written after Cursor’s Stop event, restores stale local state from the server checkpoint, and performs the final hash audit. Audit mismatches rewind and replay the affected range.
Caveats
Default scope is project.observal agent pull <agent-name> --harness cursor
writes to .cursor/agents/ unless --scope user is specified.
Configuration lives under .cursor. Agent profiles, MCP configuration,
skills, and hooks are stored in the .cursor directory for project
installs and under ~/.cursor for user installs.
Auto model sentinel configuration is not available.
