Set up, understand, and change a Tessl factory on a repository: pick automations that fit how you work, such as shipping tickets as pull requests, answering reviews and fixing checks on those pull requests, code review, and scheduled jobs; prepare the repository for agents; write issues for the factory to build; then see what the factory has done, find out why a run failed or never started, and change or extend it.
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
The run's instructions name a branch that adds or changes the repository's
setup hook, .tessl/cloud-launch-setup.sh. Run that hook on this machine and
say what happened. Change nothing: no commits, no pushes, no pull requests, and
no comments.
.cloud-launch/setup-hook-env.json at the clone root before anything
else. It holds the AGENT and WORKDIR that preparing this run gave the
hook; null means the variable was not set. When the file is missing,
the values are unavailable.git fetch origin <branch> and git checkout <branch>. Preparing this run
can write files the branch also adds, such as AGENTS.md and CLAUDE.md.
If the checkout refuses because untracked files would be overwritten,
delete the files it names, check out again, and list them in the summary.CI=true bash .tessl/cloud-launch-setup.sh < /dev/null twice from the
clone root, keeping each run's full output and exit status. On both runs,
set AGENT and WORKDIR to the file's values and unset any that is
null; when the file is missing, run the hook as it is. The second run
shows the hook is safe to run more than once.node --version, python3 --version, go version, bun --version,
and docker --version, plus the version command of each tool the hook
installs, and keep each output or error.launch-result.json at the clone root. When both hook runs exit 0,
use status: succeeded with a summary listing each tool and its version.
Otherwise use status: failed, a one-sentence summary naming the step
that failed, and a reason with the last 20 lines of the failing run's
output. Either summary also names the hook's AGENT and WORKDIR, as
AGENT=codex, WORKDIR="", writing unset for a null value, or says the
values were unavailable when the file was missing.