Skip to content

massun-onibakuchi/yolobox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yolobox

a devcontainer for running claude code and codex in yolo mode.

Setup

Notification

For full telegram control of agents, use takopi. it bridges codex, claude code, opencode, and pi, streams progress, and supports resumable sessions so you can start a task on your phone and pick it up in the terminal later. install with uv tool install takopi and run it in your repo.

For simple completion notifications, use this codex notify script to send a telegram message at the end of each turn.

Setup Takopi

curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.14
uv tool install -U takopi
takopi --onboard

Devcontainer

running agents unattended (yolo mode) is best done in a devcontainer. it provides isolation and lets you skip permission prompts. you will need docker, i prefer orbstack as a drop-in replacement.

I made a handy devcontainer script:

./devcontainer/install.sh self-install
devc /path/to/repo # ← you are in tmux with claude and codex

Development

a more full-featured option. it closely matches the create → pr → merge → cleanup cycle and has nice extras like auto-running install scripts or generating commits with llm cli.

config

to match my naming structure, i put this in ~/.config/worktrunk/config.toml:

worktree-path = ".worktrees/{{ branch }}"

use

  • wt switch -c -x codex feat/branch — switch to a worktree and run codex
  • wt merge — squash, rebase, merge into master, remove worktree and branch
  • wt step commit — commit based on the diff and previous commit style
  • wt remove — remove worktree and prune branch
  • wt select — interactive switcher showing all worktrees and diff from master

relative worktrees

by default, git stores absolute paths in worktree metadata. this breaks if you use devcontainer. git 2.48+ added relative path support.

enable with git config --global worktree.useRelativePaths true

new worktrees will use relative paths in all repos. to migrate existing worktrees to relative paths git worktree repair

running agents unattended (yolo mode) is best done in a devcontainer. it provides isolation and lets you skip permission prompts. you will need docker, i prefer orbstack as a drop-in replacement.

I made a handy devcontainer script:

./devcontainer/install.sh self-install
devc /path/to/repo  # ← you are in tmux with claude and codex

read more devcontainer/readme.md.

plan and review

for architecture, refactors, debugging, or "tell me what to fix next" reviews, just give the model the repo.

most people reach for repomix / code2prompt and feed the model a giant xml/md. that's outdated practice.

upload a zip made directly by git:

git archive HEAD -o code.zip
# if you need only part of the repo:
git archive HEAD:src -o src.zip

this works with gpt pro, claude, and gemini.

if you want context from commit messages, prior attempts, regressions, gpt and claude can also understand a git bundle:

git bundle create repo.bundle --all

Special Thanks

Formed from agents by banteg

About

a devcontainer for running claude code and codex in yolo mode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors