一键导入
cloud-coding-agent
Run long-running coding tasks in cloud environments (Claude Code or Codex), with session teleporting and automatic PR creation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run long-running coding tasks in cloud environments (Claude Code or Codex), with session teleporting and automatic PR creation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Argus — all-in-one information gathering & reconnaissance toolkit. 135 modules covering network infrastructure, web app analysis, and security/threat intelligence. Use for domain recon, subdomain enum, SSL analysis, tech stack detection, vulnerability scanning, and OSINT.
Manage secrets via Bitwarden CLI (bw). Use when pulling secrets into a shell session, creating/updating Secure Notes from .env files, listing vault items, or setting up Bitwarden on a new machine. Secrets live in Bitwarden, get loaded into memory on demand, and die with the shell session — no files on disk.
Develop a thorough, step-by-step specification for a given idea
Set up a recurring build tracker cron job for any GitHub repo. Runs a zero-LLM shell script to detect stale PRs, stale assigned issues, and phase progress, then posts to a Discord channel only when there's something actionable. Use when asked to "track this build every N hours", "prod agents on a project", "set up a build monitor", "watch this repo for stale work", or similar. The tracker is cheap to run — script does all the work, the agent only speaks when findings exist.
Delegate coding tasks to subagents or run Claude Code/Codex in tmux sessions. Use the Task tool for focused multi-step coding work. Use tmux for long-running interactive sessions, parallel worktree-based fixes, and PR reviews. NOT for simple single-file edits — do those directly.
Create well-formatted git commits for changes made during the session
基于 SOC 职业分类
| name | cloud-coding-agent |
| description | Run long-running coding tasks in cloud environments (Claude Code or Codex), with session teleporting and automatic PR creation. |
| user-invocable | true |
| metadata | {"clawdbot":{"emoji":"☁️","requires":{"anyBins":["claude","codex"]}}} |
Patterns for running coding tasks in cloud environments using Claude Code and Codex, with session teleporting and PR workflows.
Use THIS skill (cloud-coding-agent) when:
Use coding-agent skill instead when:
pty:true)--yolo mode for CodexFor local execution patterns, see the
coding-agentskill which covers:
- PTY mode (
pty:true) for interactive CLIs- Bash tool parameters (workdir, background, timeout)
- Process tool actions (list, poll, log, write, submit, kill)
- Git worktree patterns for parallel local work
- Progress updates and auto-notify patterns
For local Claude Code sessions with PTY support (recommended for interactive CLI):
# Simple task with --print mode (non-interactive)
claude --print "Add error handling to the API calls in src/api.ts"
# In a git repo (required for context)
cd ~/project && claude --print "Refactor the database queries"
# Create persistent tmux session
SESSION="claude-task-$(date +%s)"
tmux new-session -d -s "$SESSION" -c ~/project "bash"
# Run claude in the tmux session
tmux send-keys -t "$SESSION" "claude --print 'Your long-running task here' 2>&1 | tee task.log" C-m
# Monitor progress
tmux attach -t "$SESSION"
# Or check log: tail -f ~/project/task.log
# Resume most recent session in current directory
claude --continue
# Resume specific session by ID
claude --resume <session-id>
Claude Code on the web runs tasks asynchronously on Anthropic's secure cloud infrastructure.
Requirements:
From inside Claude Code (interactive session):
# Prefix message with & to send to cloud
& Fix the authentication bug in src/auth/login.ts
From command line:
claude --remote "Fix the authentication bug in src/auth/login.ts"
The task runs in the cloud while you continue working locally.
# Inside Claude Code
/tasks # List all background/cloud tasks
# Press 't' to teleport into a task
# Select which environment to use for cloud tasks
/remote-env
From inside Claude Code:
/teleport # Interactive picker of cloud sessions
/tp # Shorthand
From command line:
claude --teleport # Interactive picker
claude --teleport <session-id> # Specific session
Requirements for teleporting:
1. Start task: & Your task description
2. Monitor: /tasks (or claude.ai/code or iOS app)
3. Cloud executes: clones repo, runs task, pushes branch
4. Review: diff view on web, iterate with comments
5. Complete: teleport back OR create PR from web
Plan locally, execute remotely:
# Start in plan mode to collaborate on approach
claude --permission-mode plan
# Once plan is ready, send to cloud
& Execute the migration plan we discussed
Run tasks in parallel:
& Fix the flaky test in auth.spec.ts
& Update the API documentation
& Refactor the logger to use structured output
# Each creates independent cloud session
For local Codex sessions (similar patterns to Claude):
# Non-interactive execution with auto-approval (--full-auto)
codex exec --full-auto "Add input validation to the form handlers"
# In a git repo
cd ~/project && codex exec --full-auto "Refactor the database layer"
Note: Use --full-auto for automatic file writes without confirmation prompts.
SESSION="codex-task-$(date +%s)"
tmux new-session -d -s "$SESSION" -c ~/project "bash"
tmux send-keys -t "$SESSION" "codex exec --full-auto 'Your long-running task' 2>&1 | tee task.log" C-m
# Resume most recent session
codex resume --last
# Interactive picker
codex resume
Codex has cloud execution capabilities (marked EXPERIMENTAL in v0.77.0).
# Login required for cloud features
codex login
# Browse available environments
codex cloud
# Submit task using repo name as environment
codex cloud exec --env owner/repo "Build REST API for user management"
# Returns: https://chatgpt.com/codex/tasks/task_e_XXXXX
# Specify branch
codex cloud exec --env owner/repo --branch feature/my-feature "Implement OAuth2"
# Check task status (use task ID from exec output)
codex cloud status task_e_XXXXX
# View diff from cloud task
codex cloud diff task_e_XXXXX
# Apply cloud task changes locally
codex cloud apply task_e_XXXXX
@codex fix this bug on GitHub issues| Feature | Claude Code | Codex |
|---|---|---|
| Local exec | claude --print "task" | codex exec --full-auto "task" |
| Resume session | claude --continue | codex resume |
| Send to cloud | & task or claude --remote | codex cloud exec --env X |
| Monitor cloud | /tasks or claude.ai/code | codex cloud status <id> |
| Bring to local | claude --teleport | codex cloud apply <id> |
| @mention on GitHub | @claude (via Action) | @codex |
# Create persistent tmux session for long task
SESSION="feature-$(date +%s)"
tmux new-session -d -s "$SESSION" -c ~/project "bash"
# Run Claude or Codex
tmux send-keys -t "$SESSION" "claude --print 'Implement user dashboard per docs/dashboard.md' 2>&1 | tee dashboard.log" C-m
# Check progress anytime
tail -f ~/project/dashboard.log
# Or attach: tmux attach -t "$SESSION"
# Create multiple sessions for parallel work
for task in "auth-tests" "db-refactor" "api-docs"; do
SESSION="task-$task-$(date +%s)"
tmux new-session -d -s "$SESSION" -c ~/project "bash"
done
# Start different tasks in each
tmux send-keys -t task-auth-tests-* "claude --print 'Add unit tests for auth module' | tee auth-tests.log" C-m
tmux send-keys -t task-db-refactor-* "codex exec 'Refactor database queries' | tee db-refactor.log" C-m
# Monitor all with: tmux ls
# Fetch issue context and run task
ISSUE=$(gh issue view 789 --json title,body --jq '"\(.title)\n\n\(.body)"')
claude --print "Fix this GitHub issue: $ISSUE" 2>&1 | tee issue-789.log
Codex cloud requires environment setup through the web UI or API:
# Login first (required)
codex login
# Browse available environments interactively
codex cloud
# Environments are linked to GitHub repos
# Verify CLI works
claude --version
# For cloud features, visit claude.ai/code
# and connect your GitHub account
Located in scripts/ directory:
Routes tasks to Claude or Codex based on preference:
./scripts/auto-cloud-task.sh "Your task description" [claude|codex]
Polls Codex cloud task until completion:
./scripts/poll-cloud-completion.sh <task-id> [--auto-apply]
For future Claude teleport support:
./scripts/teleport-and-pr.sh [session-id] --title "PR Title"
| Command | Status | Notes |
|---|---|---|
claude --print "task" | ✅ Works | Non-interactive, writes files |
claude --continue | ✅ Works | Resume previous session |
claude --resume <id> | ✅ Works | Resume specific session |
claude --remote "task" | ✅ Works | Creates cloud session, returns URL |
claude --teleport | ✅ Works | Interactive picker of cloud sessions |
claude --teleport <id> | ✅ Works | Teleport specific session |
& task (inside Claude) | 🔬 Untested | Send to cloud from interactive |
/tasks | 🔬 Untested | Lists cloud/background tasks |
codex exec "task" | ⚠️ Partial | Shows code but may not write |
codex exec --full-auto "task" | ✅ Works | Auto-approves file writes |
codex resume | ✅ Works | Interactive session picker |
codex cloud | ✅ Works | TUI for browsing cloud tasks |
codex cloud exec --env owner/repo | ✅ Works | Submits task, returns URL |
codex cloud status <task_id> | ✅ Works | Shows task status |
codex cloud diff <task_id> | ✅ Works | Shows task diff |
codex cloud apply <task_id> | ✅ Works | Applies diff locally |
| tee logfile.logtail -f or tmux attach