
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Claude Code Remote: approve prompts from Discord, auto-continue sessions after quota resets, and schedule quota windows around your workday.
Claude Code Remote
Approve prompts from Discord Approve Claude Code prompts (file edits, shell commands) from Discord, so sessions don't stall when you're away.
Continue sessions after quota resets Detect when a session stops due to quota limits, wait until the 5-hour window resets, then automatically continue.
Align quota windows with your workday Schedule an early dummy command (e.g. 5 AM) so quota windows align with your workday → effectively 3 usable windows instead of 2.
Get notified when tasks complete Receive Discord notifications when Claude finishes a task and is ready for new input (no more checking back every few minutes).
Remote session monitoring
View current session output directly in Discord with the /output command - see what Claude is working on from anywhere.
# Install globally (recommended)
npm install -g ccremote
# Initialize configuration interactively
ccremote init
# Keep ccremote up to date
npm update -g ccremote
Note: ccremote automatically checks for updates once per day and displays a notification if a newer version is available.
# Start with auto-attach to Claude Code
ccremote
# Or with custom session name
ccremote start --name "my-session"
💡 Pro tip: ccremote without arguments is the same as ccremote start - just replace claude with ccremote in your workflow!
That's it! You'll be automatically attached to a Claude Code session with monitoring active.
Initialize Configuration:
ccremote init # Interactive setup (creates ~/.ccremote.env by default)
The interactive setup will:
Start a Monitored Session:
ccremote start --name "my-session"
This automatically:
Work Normally:
# Initialize configuration (interactive)
ccremote init # Interactive setup (global by default)
# Start a new monitored session
ccremote # Default command (same as 'ccremote start')
ccremote start # Auto-generated name
ccremote start --name "my-session" # Custom name
# Schedule daily quota window alignment
ccremote schedule --time "5:00" # Schedule daily 5 AM quota window
ccremote schedule --time "7:30am" # Schedule daily 7:30 AM quota window
# Resume sessions
ccremote resume --session ccremote-1 # Resume a specific session
ccremote resume --dry-run # Preview what would be resumed
# Manage sessions
ccremote list # List sessions for current project
ccremote list --all # List sessions from all projects
ccremote status --session ccremote-1 # Show session details
ccremote stop --session ccremote-1 # Stop session
ccremote stop --session ccremote-1 --force # Force stop even if active
# Maintenance commands
ccremote clean # Clean up current project's dead sessions
ccremote clean --all # Clean up dead sessions from all projects
ccremote clean --dry-run # Preview what would be cleaned
ccremote setup-tmux # Configure tmux settings for ccremote
# Manual tmux access (if needed)
tmux attach -t ccremote-1 # Attach to existing session
tmux list-sessions # List all tmux sessions
/output commandccremote supports multiple configuration methods with the following priority (highest to lowest):
CCREMOTE_)./ccremote.env./.env~/.ccremote.env# Required: Discord Bot Configuration
CCREMOTE_DISCORD_BOT_TOKEN=your_discord_bot_token
CCREMOTE_DISCORD_OWNER_ID=your_discord_user_id
# Optional: Additional authorized users (comma-separated)
CCREMOTE_DISCORD_AUTHORIZED_USERS=user_id1,user_id2
# Optional: Monitoring Configuration
CCREMOTE_MONITORING_INTERVAL=2000 # Polling interval in milliseconds
CCREMOTE_MAX_RETRIES=3 # Max retry attempts on error
CCREMOTE_AUTO_RESTART=true # Auto-restart monitoring on failure
ccremote.env in each project directory~/.ccremote.env for personal/default settingsCreate Bot: Go to Discord Developer Portal → New Application → Bot
Enable Intent: In Bot section, enable "Message Content Intent" (required for approval commands)
Get Token: Copy the bot token from the Bot section
Get User ID: Enable Developer Mode in Discord → Right-click your profile → Copy User ID
Invite Bot: Use OAuth2 → URL Generator to create invite link with these permissions:
OR for minimal permissions:
💡 Note: If your bot lacks Manage Channels permission, ccremote will gracefully fall back to DMs
Once your bot is set up and sessions are running, you can interact with ccremote through Discord:
In Session Channels:
/output or output - View current session output (last 50 lines, formatted in code blocks)status - Show session status information1, 2, 3 - Respond to approval dialogs with numbered optionsSession Channels:
#ccremote-session-1)clean commandbrew install tmux# Clone and install
git clone <repo>
cd ccremote
bun install
# Development commands
bun run dev start --name test # Run in development mode
bun run check # Run all checks (lint + typecheck + test + build)
bun run build # Build for production
bun run test # Run tests with vitest
bun run lint # Lint code with ESLint
bun run typecheck # Type check with TypeScript
bun run format # Format code (lint --fix)
bun run release # Full release workflow (check + version bump)
bun run release:test # Test package without releasing
# Global development installation (recommended approach)
bun run release:test # Build, package, and install globally
# After making changes, simply run:
bun run release:test # Rebuilds, repackages, and reinstalls globally
npm pack + local install) on feature branchesmain branch after PR mergebun run release
bun run releaseBig thanks to the authors and maintainers of:
MIT
FAQs
Claude Code Remote: approve prompts from Discord, auto-continue sessions after quota resets, and schedule quota windows around your workday.
The npm package ccremote receives a total of 1 weekly downloads. As such, ccremote popularity was classified as not popular.
We found that ccremote demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.