{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "davila7-claude-code-templates--monitor-claude-code-sessions",
 "repo": "davila7/claude-code-templates",
 "repo_url": "https://github.com/davila7/claude-code-templates",
 "repo_slug": "davila7-claude-code-templates",
 "title": "Monitor Claude Code sessions live, even from your phone",
 "page_title": "How to monitor Claude Code sessions live, even from your phone with Claude Code Templates",
 "summary": "Use the analytics dashboard and conversation monitor to watch what Claude Code is doing in real time.",
 "who": "Someone who leaves long Claude Code runs going and wants to check on them away from the desk.",
 "problem": "Long agent sessions are a black box until you go back to the terminal.",
 "outcome": "A local analytics view of sessions and a mobile-friendly conversation monitor, optionally reachable remotely.",
 "steps": [
  "Run `npx claude-code-templates@latest --analytics` for live state detection and performance metrics",
  "Run `npx claude-code-templates@latest --chats` for the local conversation monitor",
  "For remote access use `npx claude-code-templates@latest --chats --tunnel`, which goes through Cloudflare Tunnel",
  "Open the monitor on your phone to follow responses as they arrive"
 ],
 "agent_prompt": "Start the davila7/claude-code-templates analytics dashboard and the conversation monitor for my Claude Code sessions. Use the local monitor only, no tunnel, and tell me the URL to open.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Beginner",
 "time": "5 minutes",
 "basis": "readme",
 "caveat": "The README calls the remote access secure but does not explain the authentication, so check the docs before using --tunnel.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Claude Code installed",
  "Node.js with npx",
  "Accounts or keys for any external service an MCP integration connects to, such as GitHub or PostgreSQL"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "privacy",
   "notice": "The --tunnel option exposes your conversation monitor over the internet; your sessions may contain code and secrets, so use it only if you trust the setup."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/davila7-claude-code-templates/monitor-claude-code-sessions/",
 "md": "https://dedupedai.com/use-cases/davila7-claude-code-templates/monitor-claude-code-sessions/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/davila7-claude-code-templates--monitor-claude-code-sessions.json",
 "api_version": "v1"
}
