Command Reference
Authentication
login
Authenticate with AgentLogs using device authorization.logout
Remove stored authentication credentials.status
Show current authentication status and account info.Claude Code
claudecode sync
Sync all local Claude Code transcripts to AgentLogs.claudeDir- Optional. Path to Claude data directory. Defaults to~/.claude
--cwd <path>- Only upload transcripts from sessions in a specific working directory
- Scans for transcript files in the Claude directory
- Skips already-uploaded transcripts (deduplication via SHA256)
- Respects your allow/deny settings
claudecode upload
Upload a specific transcript file.transcript- Path to the JSONL transcript file
claudecode hook
Hook entry point for Claude Code integration. Called automatically by Claude Code hooks.Codex (Experimental)
codex upload
Upload a Codex transcript file.transcript- Path to the JSONL transcript file
mcp
Run as an MCP server for Codex integration.- Ensures the background service is running
- Connects to the service to keep it alive
- Exposes no tools or prompts (lifecycle management only)
service start
Start the background service.~/.codex/sessions for transcript changes and uploads them automatically.
service stop
Stop the background service.service status
Show background service status.service logs
Tail the watcher event logs.Ctrl+C to stop.
OpenCode
opencode upload
Upload an OpenCode session.sessionId- The OpenCode session ID to upload
~/.local/share/opencode/storage/.
Example:
opencode hook
Hook entry point for OpenCode plugin integration. Called automatically by the OpenCode plugin.- tool.execute.before - Intercepts git commits to add transcript links
- tool.execute.after - Tracks commit metadata (SHA, branch, title)
- session.idle - Uploads the complete transcript
Settings
settings
View or modify repository settings.--mode <mode>- Set capture mode:denylistorallowlist--json- Output settings as JSON
allow
Allow a repository to be captured.path- Path to the repository
--visibility <level>- Set visibility:private,team, orpublic
deny
Deny a repository from being captured.path- Path to the repository
Global Options
These options work with any command:| Option | Description |
|---|---|
--help | Show help for a command |
--version | Show CLI version |
--env <env> | Use environment: production or development |