Skip to content
Back to skills

Execution Engine

ASecurity

Clear a declared human gate for a CocoFlow stage. Usage: $flow gate-clear <stage-id>

  • 726 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add Snowflake-Labs/cocoplus --skill flow-gate-clear --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Execution Engine?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Execution Engine
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snowflake-labs-execution-engine-f219e64e/badge)](https://www.skillsdirectory.com/skills/snowflake-labs-execution-engine-f219e64e)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flow-gate-clear
description: "Clear a declared human gate for a CocoFlow stage. Usage: $flow gate-clear <stage-id>"
version: "2.0.1"
author: "CocoPlus"
tags:
  - cocoplus
---

# CocoFlow Gate Clear

Use this skill when a stage declares `human_gate: true` and the operator intentionally allows dispatch.

## Procedure

1. Require `<stage-id>`.
2. Resolve the active run id from `.cocoplus/flow.json`, `.cocoplus/lifecycle/flow.json`, or `COCOPLUS_RUN_ID`.
3. Write or update `.cocoplus/lifecycle/cocoflow/<run-id>/gate-clearances.json` with:
   - `stage_id`
   - `cleared_at`
   - `operator`
   - `source: "$flow gate-clear"`
4. Append an audit entry to `.cocoplus/lifecycle/audit.md`.
5. Do not modify `.cocoplus/STEER.md`; gate clearance is never injected through steering.

## Success Criteria

- [ ] The stage clearance exists in the run clearance file.
- [ ] The audit trail records the operator action.
- [ ] Subsequent PreToolUse dispatch can proceed for that stage.

## Anti-Rationalization

| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Treat the skill as complete because the file exists | Skill contracts must describe observable behavior and verification, not just command names. |
| Skip artifact and safety checks for a small command | Small commands still mutate state or guide execution; preserve the same gates. |

## Exit Criteria

- [ ] Command behavior matches the owning feature contract.
- [ ] Required reads, writes, and user-visible outputs are described.
- [ ] Safety, governance, and artifact constraints are preserved.
- [ ] Missing state produces a clear, non-destructive result.

Files in this skill

  • flow-event-reader.skill.md3.1 KB
  • flow-gate-clear.skill.md1.6 KB
  • flow-gate-status.skill.md1.4 KB
  • flow-pause.skill.md1.2 KB
  • flow-research.skill.md1.9 KB
  • flow-resume.skill.md1.6 KB
  • flow-run.skill.md23.3 KB
  • flow-settle.skill.md2.1 KB
  • flow-status.skill.md3.4 KB
  • flow-template.skill.md3.4 KB
  • flow-view.skill.md4.3 KB
  • model-tier-resolve.skill.md1.6 KB
  • noop-check.skill.md1.5 KB
  • runtime-queue.skill.md3.3 KB
  • templates/drain-loop.md392 B
  • templates/hitl-gate.md358 B
  • templates/litmus-test.md398 B
  • templates/noop-workflow.md441 B
  • templates/per-project-working-directory.md408 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.