- Scaffold app
- Add Shizuku
- Build tile
Android Quick Settings Tile for Toggling an eSIM via Shizuku
Build a small Android app that adds a Quick Settings tile to switch a downloaded eSIM on and off using Shizuku and ADB.
Via Hacker News · rabbiveesh ↗Let multiple Git worktrees reuse one build cache via block cloning so parallel agent runs skip redundant rebuilds.
“Share build caches across Git worktrees for parallel coding agents” is an intermediate Software & DevOps AI agent workflow from Software. It connects Claude Code and Other or custom in 5 steps. Setup takes about Not stated and running costs are about Not stated.
When reviewing or testing changes, switching between Git worktrees creates a separate build folder for each one, so the same dependencies get rebuilt repeatedly and disk space fills up fast. Running coding agents on two approaches in parallel makes this worse, since each worktree duplicates the build output and eats minutes of rebuild time before any real work starts.
Pick a single worktree as the source of truth and run a full build there so the dependency and build cache directories are fully populated. This becomes the template that every other worktree will share instead of rebuilding from scratch.
For each task or agent run, add a new Git worktree and configure its build cache path to point at the shared cache location rather than a fresh local folder. Use a tool that supports block cloning so the cache copies share disk blocks until a file is modified.
Launch each coding agent in its own worktree so two approaches can be tried at once without stepping on each other. Because the caches are shared, neither run pays the full dependency rebuild cost and disk usage stays close to a single build.
When a worktree modifies files, only those changed files take up extra disk space and only the affected build steps rerun. Verify the incremental build completes correctly before trusting the agent's output.
Remove finished worktrees and their cache references so stale branches and partial builds do not accumulate. Keep the original warm cache intact so the next round of parallel runs starts fast.
In my repository at [REPO PATH], I want multiple Git worktrees to share a single build cache instead of each creating its own. Inspect the project's build configuration and identify which directories hold dependency and build caches. Then write a script that, for each new worktree created under [WORKTREE PARENT DIR], points the build cache at [SHARED CACHE PATH] using a copy-on-write or block-cloning mechanism available on my filesystem. Do not modify source files. Print the exact commands and any config changes needed, and explain how to verify that disk blocks are actually shared until files change.
Using the repository at [REPO PATH] with the shared build cache already configured at [SHARED CACHE PATH], create two Git worktrees named [WORKTREE A] and [WORKTREE B] from the current branch. In each, start a coding agent task: in [WORKTREE A] implement [APPROACH ONE] and in [WORKTREE B] implement [APPROACH TWO]. Make sure each worktree uses the shared cache so neither triggers a full dependency rebuild. After both finish, report the build time and disk usage for each worktree and summarize the differences between the two approaches so I can pick one.
Let multiple Git worktrees reuse one build cache via block cloning so parallel agent runs skip redundant rebuilds.
You need Claude Code and Other or custom.
Plan for about Not stated. It is rated intermediate. The guide walks through 5 steps, starting with “Set up one warm build cache”.
Expect about Not stated in running costs (Free range).
When reviewing or testing changes, switching between Git worktrees creates a separate build folder for each one, so the same dependencies get rebuilt repeatedly and disk space fills up fast. Running coding agents on two approaches in parallel makes this worse, since each worktree duplicates the build output and eats minutes of rebuild time before any real work starts.
Build a small Android app that adds a Quick Settings tile to switch a downloaded eSIM on and off using Shizuku and ADB.
Via Hacker News · rabbiveesh ↗A Claude Code plugin that flashes Philips Hue lights when a coding task completes or the agent is waiting on you.
Via Hacker News · lurkingllama ↗A shell hook that turns command-not-found errors into coding-agent prompts while still catching typos.
Via Hacker News · quan ↗Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges