Back to Skills

update-twoliter

Update all Bottlerocket repositories to a new Twoliter version

4stars11forksUpdated 3/1/2026

Security Assessment

Safe(100/100)
Security Score100/100

About update-twoliter

The 'update-twoliter' skill is designed to automate the process of updating all repositories in a given forest to a new version of Twoliter, a key component for projects built around Bottlerocket. This skill resolves the challenge of managing version upgrades across multiple repositories by ensuring that the necessary changes to version numbers and checksums are made consistently across core-kit, kernel-kit, and bottlerocket repositories. By streamlining this update process, it helps maintain compatibility and ensures that the latest stable or release candidate version of Twoliter is properly integrated into the environment.

Main features include the ability to fetch the necessary SHA256 checksums for both x86_64 and aarch64 architectures, edit the relevant Makefiles in each kit, and commit these changes to the repositories. The skill ensures that the versioning is correctly handled, with separate formatting requirements for each kit and the bottlerocket repository. Furthermore, the procedure offers detailed validation steps to ensure the commit process was successful, checking the correctness of the commit messages and the number of changes made. However, users must manually push commits and create pull requests after executing the skill.

This skill is ideal for users needing to integrate a new Twoliter release into their Bottlerocket-based projects. It is particularly useful for developers and engineers working on continuous integration (CI) testing, those preparing for a new stable release, or users testing release candidates. The skill is valuable in environments that rely on consistent versioning and SHA256 checksum validation across multiple repositories, simplifying the process of version upgrades and ensuring the latest version of Twoliter is always in use.

FAQ

How do I use this skill?

Simply follow the provided steps: fetch the SHA256 checksums for the new Twoliter version, update the Makefiles in all relevant kits, commit the changes, and validate that the commits were created.

Is this skill compatible with all Bottlerocket versions?

Yes, as long as the target Twoliter version is supported and available as a release on GitHub, this skill can be used.

What are the prerequisites for using this skill?

You need all repositories cloned in your worktree, Git configured with author information, and network access to GitHub releases to fetch the SHA256 checksums.

Can I automatically push commits or create pull requests with this skill?

No, this skill only creates commits within the local repositories. Pushing the commits and creating pull requests must be done manually.

What if I need to amend a commit after using this skill?

You can amend a commit using Git's 'git commit --amend' command, which will allow you to modify the commit message and content as needed.

Install update-twoliter

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill