new-coder
Create a software factory (kinby package `coder`) on the playground hub for a GitHub repository, behaving like the kinby coder. Takes the repository URL.
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- new-coder
- description
- Create a software factory (kinby package `coder`) on the playground hub for a GitHub repository, behaving like the kinby coder. Takes the repository URL.
- disable-model-invocation
- true
02 资源文件 2
- 参考文档agents/openai.yaml167 B
- 脚本create_coder.py7.3 KB
03 SKILL.md 正文
New coder
Create one more instance of package coder on the hub at kinby.jorgesolerrr.dev (SSH host playground, hub container kinby-hub-1, hub directory /hub inside it). It works issues labeled ready-for-agent in the given repository and behaves like the kinby coder at /hub/coder: same secrets, commit identity and factory settings. Only the repository, its check commands and its webhook differ. The model is the MODEL constant in create_coder.py.
create_coder.py does the hub side inside the hub container. It copies GH_TOKEN, CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_API_KEY (sent as the built-in api_key field), GIT_USER_NAME and GIT_USER_EMAIL from /hub/coder/.env and generates a fresh webhook secret, so no secret passes through this machine or your output. It prepares the image, creates the instance, writes the checks, starts the instance and adds the webhook.
Steps
Run every command below in the Bash tool: they rely on POSIX quoting and redirection.
-
Resolve the repository. Take the URL as
https://github.com/<owner>/<repository>. Rungh repo view <owner>/<repository>. The coder's token must reach it too:ssh playground 'docker exec kinby-hub-1 sh -c ". /hub/coder/.env; curl -s -o /dev/null -w %{http_code} -H \"Authorization: Bearer \$GH_TOKEN\" https://api.github.com/repos/<owner>/<repository>"'prints200. Done when both succeed. -
Choose the checks. Find the commands the repository's own gate runs before a merge: its
AGENTS.md/CLAUDE.md, CI workflows,package.jsonscripts,pyproject.toml,Makefile. List them in order, the way the kinby coder hasbun install --frozen-lockfilethenbun run check. A repository with no code yet gets an empty list. Note whether it has.claude/skills; if so, the instance loads them (--workspace-skills), as the kinby coder does. Done when every check is traced to the file that runs it in CI or the docs. -
Confirm. Show the user the instance name (default
<repository in lower case>-coder, which must not already exist:ssh playground 'docker exec kinby-hub-1 sh -c "grep -h ^id /hub/instances/*/kinby.toml"'), the check list, and whether workspace skills load. Proceed on their answer. -
Labels. Make sure the repository has
ready-for-agent,ready-for-humanandmerge-ready. Create each missing one withgh label create <name> -R <owner>/<repository>(merge-readywith--color 0E8A16). -
Run the script. Preparing the image can take several minutes; give the command a 10-minute timeout. The working directory resets between calls, so feed the script by its absolute path:
ssh playground "docker exec -i kinby-hub-1 python - https://github.com/<owner>/<repository> <name> kinby.jorgesolerrr.dev --check '<command 1>' --check '<command 2>' --workspace-skills" < <skill-dir>/create_coder.pyPass one
--checkper command from step 2, in order (none for an empty list), and--workspace-skillsonly when the repository has.claude/skills. Inside the double quotes, write each$in a command as\$.It prints each hub step and ends with
DONE <instance-id>. OnFAILED, the message says what the hub holds by then. A failure afterinstance:leaves a created instance: fix the cause, then remove that instance from the web app before running again, or finish the remaining steps by hand. -
Verify.
ssh playground 'docker ps --filter name=<instance-id>'shows it healthy, and the webhook's ping delivery succeeded:gh api repos/<owner>/<repository>/hooks --jq '.[] | [.config.url, .last_response.code] | @tsv'shows the new URL with200. Anullcode right after creation means the ping is not delivered yet: check again after a few seconds. Done when both hold. -
Report the instance ID, name, checks and webhook URL. Say that babysitting is off, as on the kinby coder, so there is no babysit webhook and the Codex sign-in stays pending in the web app until babysitting is wanted.
04 同仓库更多 Skills
explainroo
Make an explainer video (MP4) with a voice-over using explainroo. The voice is made on this computer and no API key is needed. Use when the user asks for an explainer, how-to, walkthrough, launch or tutorial video, an animated diagram with a voice-over, or a short for YouTube, Reels or TikTok.
unslop
Cut AI tells from prose a human will read. Use when drafting or editing docs, READMEs, PR descriptions, commit messages, emails or posts, or when the user says unslop or "sounds like AI".
technical-writing
Layered technical-writing standard (Diátaxis, Google style, STE, Global English) for docs, RFCs, READMEs, PR descriptions and commit messages.
no-comments
Spawn Comment Sicko, fix accepted findings, and offer encodings for claimed constraints.
ponytail
Lazy senior dev mode: the smallest change that fully solves the task, and a reply a busy human understands in one read. Use on any coding task (writing, fixing, refactoring, reviewing, choosing dependencies) and when the user says "ponytail", "be lazy", "simplest solution", "yagni", or complains about over-engineering or bloat. Levels: lite, full (default), ultra.
ponytail-review
Quality review of a change: is the logic right, is it safe, does it hold under real load, is risky code tested, is it fast enough, and is every line needed. Reads the connected code, not only the diff. Each finding is explained in plain English. Use for "review this", "code review", "review the last commit", "review my PR", "is this over-engineered", /ponytail-review.