
Description
Toggle Trajectory incognito mode for the current OpenCode session. Use when the user says "/incognito", "go incognito", "pause capture", "stop recording", "private mode", or asks to temporarily suppress Datadog publish for sensitive work.
SKILL.md
Incognito Mode
Toggle incognito mode for the current OpenCode session. When enabled:
- Local JSONL capture continues
- Publish to non-exempt Datadog destinations is suppressed
- Mode resets automatically when the session ends
Org-managed security destinations configured with incognito_exempt: true may still receive events. Do not describe incognito as a security or compliance bypass.
Toggle
- Decide the requested state.
- For
/incognito, "go incognito", "pause capture", "stop recording", or "private mode", enable incognito. - For "turn off incognito", "resume capture", or "resume publish", disable incognito.
- If the user explicitly asks to toggle, call the
trajectory_incognitoMCP tool withenable: trueunless you have already confirmed the active session is incognito, then call it withenable: false.
- For
- If the
trajectory_incognitoMCP tool is available, call it withenable,client: opencode, andproject_dirset to the current workspace; omitsession_idso the tool resolves the active session from Trajectory's active-session registry. - If the tool reports multiple matching active sessions, call
list_active_sessions, choose the active OpenCode session matching the current workspace, and retry with thatsession_id. - Worst-case fast lookup: check
TRAJECTORY_SESSION_ID,CODEX_SESSION_ID,GEMINI_SESSION_ID,CLAUDE_SESSION_ID,OPENCODE_SESSION_ID,PI_SESSION_ID,DROID_SESSION_ID, orCOPILOT_SESSION_ID; otherwise calllist_active_sessionsor runtrajectory mcp sessions --active --jsonfrom the workspace, select the row matching the current client/workspace with the newestlast_event, and retry withsession_id. - If MCP is not available, resolve the current session ID with
TRAJECTORY_SESSION_IDortrajectory mcp sessions --active --json, then call the HTTP endpoint directly:curl -fsS -X POST "http://localhost:19222/session/incognito?session_id=${session_id}&enable=${enable}" - Tell the user whether incognito is now enabled or disabled.
More from Datadog Labs
View publisheragent-install
install Datadog Agent on Kubernetes
agent-skills
Apr 15DatadogDeploymentKubernetesObservabilityagent-observability-auto-experiment
run iterative code improvements using Datadog data
agent-skills
Jul 31DatadogDebuggingEvalsLLM +1agent-observability-eval-bootstrap
bootstrap evaluators from production traces
agent-skills
Jun 19DatadogEvalsLLMObservabilityagent-observability-eval-pipeline
run agent observability and evaluation pipelines
agent-skills
Jun 19AgentsData PipelineDatadogEvals +1agent-observability-experiment-analyzer
analyze LLM experiment results
agent-skills
Jun 19AnalyticsDatadogEvalsLLM +1agent-observability-experiment-py-bootstrap
generate Python experiment clients for LLM observability
agent-skills
Jun 19DatadogJupyterLLMObservability +1