AGENT SKILL

yolo

Start temporary autonomy for the current task or an explicit scope with a required --for expiry. Codex permits scoped pushes, merges, deploys, and releases after strict testing and validation; Full access is a separate runtime setting. Claude Code uses a session permission hook with a protected-action denylist.

适用职业开发工程师
License 许可
MIT
最近更新
2026-10-26
Stars
★ 0
Forks
0

01 前言 Front Matter

id
yolo
name
yolo
task
[ "runtime-ops" ]
type
skill
owner
@kaiohenricunha
domain
[ "devex" ]
created
1791763200000
updated
1792195200000
version
1.5.0
maturity
draft
platform
[ "none" ]
description
Start temporary autonomy for the current task or an explicit scope with a required --for expiry. Codex permits scoped pushes, merges, deploys, and releases after strict testing and validation; Full access is a separate runtime setting. Claude Code uses a session permission hook with a protected-action denylist.
argument-hint
--for <duration> [--merge|--no-merge] [scope] | off
user-invocable
true
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

yolo

disable-model-invocation: true is deliberate. Only the owner can start this mode. In Claude Code, type /yolo --for <duration> [scope]. In Codex, type $yolo --for <duration> [scope]. Only --for is required; scope text and --merge or --no-merge are optional. off needs no duration.

Choose the runtime

Codex: Read references/codex.md and follow that path. It authorizes all necessary work in the scope, including deploys and releases, subject to strict verification. Check the active permissions and prompt once for Full access when needed, as the reference explains. The Codex instructions are complete; do not inherit the Claude standing-grant limits or stops below. Do not run the Claude grant steps below in Codex.

Claude Code: Follow the hook-backed path below. A missing Claude grant never selects the Codex path. For any other runtime, report that it is unsupported and stop.

Claude Code

Without scope text, use only the current task already agreed in this session. State that task before work starts. If no task exists, ask the owner for one. An omitted scope never grants merge permission or includes unrelated work. Merges require --merge or an explicit merge instruction in the scope. The invocation is the approval for that task or scope, never for unrelated work.

The yolo.sh hook does the mechanical part (see docs/hooks.md). When the owner types the command, the hook writes a grant for this session and adds one context line. While the grant lives, the hook approves the permission dialogs of this session, except for a denylist. This skill does the rest: it tells you what the grant lets you decide alone, and where you must still stop.

1. Read the grant line

Find the line the hook added to your context for this command. It starts with one of these:

  • YOLO GRANT REMOVED — the owner typed /yolo off. Tell the owner, in one sentence, that every permission default is back. Stop.
  • YOLO GRANT ACTIVE — read the session, the expiry, the grant file path, merge: yes|no, and the scope from it. Resolve "the current task in this session" to the agreed task before step 2.
  • Neither line — no hook grant is available, so every permission default stays. Tell the owner to check the four yolo.sh entries in docs/hooks.md#yolosh, and stop. Do not start the scope as if it were autonomous.

Do not edit any settings file to make the mode work. The mode must never change settings.json at runtime. Never write or change a grant file or a transcript. Only a /yolo that the owner types starts the mode, and the permission gate checks the transcript for it.

2. The standing grant

Tell the owner, in at most three lines: the scope, merge: yes|no, the expiry, and the stops in step 3. Then start the work. Do not ask "should I start?".

The owner designates this session as autonomous for the scope in the grant line, and only for that scope. This is the standing grant that the "When designated as autonomous" clause of CLAUDE.md expects. Inside the scope, it is the explicit instruction that these rules ask for:

  • Push. Push the branches you create for the scope. Never force-push.
  • Plan and audit sign-off. Where a rule says to wait for approval of a plan or an audit, write the plan or audit, state your choice, and continue.
  • Pull requests. Open the pull requests the scope needs with /deliver: prove each change works, review it once, and fix the findings. Run /pr-conductor or local attestation only when the scope asks for them.
  • Merge, only when merge: yes. Merge each pull request in the scope when its required checks are green and its evidence covers the head SHA. Use the repository's merge path (/merge-pr, or gh pr merge --squash --delete-branch). Deleting the merged pull request's own head branch is part of the merge. When merge: no, stop at a green pull request and report it.

Do not ask "push?", "merge?", "approved?", or "should I continue?" about a decision inside the scope. Make the decision, and record it in the final report.

Every other rule still applies: worktrees from origin/main, TDD, the merge evidence (CI on the head, or the explicit path), the PR body sections, the protected-path Spec ID or no-spec rationale, and the coordination with other sessions.

3. Where you still stop

Stop, report what you found and why you stopped, and ask one question, for each of these:

  1. A force push, git reset --hard, or any other command guard-destructive-git.sh asks for.
  2. A deletion of a branch or a repository, except the head branch of a pull request you merge in the scope.
  3. An rm -r outside your worktree.
  4. terraform destroy, tofu destroy, or apply -destroy.
  5. A production deploy or a release.
  6. A check that fails and that you cannot fix inside the scope. Do not disable, skip, or weaken the check, and do not lower a threshold.
  7. A change to owner-approved spec text (docs/specs/).
  8. Any work outside the scope. If the scope does not clearly cover a step, treat it as outside.
  9. A change to a settings file, a hook, ~/.claude/, or the grant file (except the rm -f in step 4). A change there outlives the grant.

The hook keeps the dialog for items 1 to 5, 7, and 9 when Claude Code would show one. It cannot see items 6 and 8, and it cannot add a dialog that your settings or auto mode would skip. So these stops are your duty, not only the hook's. Do not route around a stop: no bypass variable, no split or encoded command, no script file, and no other session.

If a dialog shows for a step you expected to pass, the grant has possibly expired. Report it, and do not ask the owner to approve a run of dialogs.

4. Finish

When the scope is done, or a stop ends the work:

  1. Report the result. Give what is done, what remains, and each pull request with its link, its check state, and whether you merged it. Then give the decisions you made alone under the grant.
  2. End the grant, as /yolo off does: remove the grant file named in the grant line with rm -f <grant file>.
  3. Tell the owner in one line that the mode is off and every default is back.

04 同仓库更多 Skills

kaiohenricunha
kaiohenricunha/dotbabel

veracity-audit

Audit a data pipeline for Veracity and Value. Dispatches data-scientist, compliance-auditor, and data-engineer agents with project context injected at dispatch time. All source paths are supplied via flags — no defaults, no project assumptions. Subcommands: audit (full pipeline walk), score-check (scoring math only), gate-check (gate coverage only), source-trace <label> (single source end-to-end). Invoke when: "audit pipeline", "veracity check", "scoring math correct?", "check gates", "trace source", "verify quality gates", "formula correct?".

律师与法务Skill与智能体开发
★ 0
kaiohenricunha
kaiohenricunha/dotbabel

validate-spec

Audit an already-implemented spec against the codebase. Walks each constraint (ARCH-N, PERF-N, KD-N, etc.) and acceptance criterion, grounds findings in file:line evidence, runs the spec.json acceptance_commands, and writes a single audit doc to docs/audits/. Use whenever the user asks to "validate a spec", "audit a spec", "check if spec is implemented", "verify the spec is done", "is this spec really done", or otherwise wants closure on spec-driven work. Read-only against the spec — produces an audit, never modifies the spec itself.

★ 0
kaiohenricunha
kaiohenricunha/dotbabel

terragrunt-specialist

Deep-dive Terragrunt hierarchy review, DRY pattern audits, and run-all orchestration analysis. Use for structured investigations of multi-environment Terragrunt layouts, dependency graphs, remote state config, and hook correctness. Triggers on: "Terragrunt audit", "run-all review", "dependency block", "DRY pattern review", "env hierarchy audit", "mock_outputs", "terragrunt hooks".

运维与部署
★ 0
kaiohenricunha
kaiohenricunha/dotbabel

terraform-specialist

Deep-dive Terraform architecture review, module design, state management, and migration. Use for structured investigations of Terraform workspaces, provider configuration, module coupling, import workflows, and test coverage. Triggers on: "Terraform audit", "module review", "state management", "Terraform import", "workspace design", "provider config review", "Terraform testing".

测试与质量运维与部署
★ 0
kaiohenricunha
kaiohenricunha/dotbabel

spec

Create structured engineering specs through interactive pairing. Use when the user wants to create a spec, design doc, technical specification, architecture document, RFC, or engineering plan. Triggers on "let's spec this out", "create a spec", "design doc", "write a technical plan", "plan the architecture". Works for greenfield and brownfield projects. Outputs to docs/specs/.

设计师视觉设计
★ 0
kaiohenricunha
kaiohenricunha/dotbabel

smoke-test

Run the smoke checks a repository declares for its deploy targets and report whether production actually answers after a release. Use after a deploy, during release verification, and when confirming a rollback landed. Triggers on: "smoke test", "run smoke checks", "is production healthy", "did the deploy work", "verify the release is live".

测试与质量
★ 0