privacy. 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.
Who it is forSomeone who leaves long Claude Code runs going and wants to check on them away from the desk.
The problemLong agent sessions are a black box until you go back to the terminal.
The outcomeA local analytics view of sessions and a mobile-friendly conversation monitor, optionally reachable remotely.
What you need first
- Claude Code installed
- Node.js with npx
- Accounts or keys for any external service an MCP integration connects to, such as GitHub or PostgreSQL
Steps
- Run
npx claude-code-templates@latest --analyticsfor live state detection and performance metrics - Run
npx claude-code-templates@latest --chatsfor 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
Prompt for your agent
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.
Caveat. The README calls the remote access secure but does not explain the authentication, so check the docs before using --tunnel.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for davila7/claude-code-templates and "Monitor Claude Code sessions live, even from your phone"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer