Skip to content
Back to skills

Cocosentinel

ASecurity

Consume CocoSentinel per-stage external coach requests and produce stage quality scores.

  • 724 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agents

Security analysis

A100/100

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

Scanned September 5, 2026

npx -y skills add Snowflake-Labs/cocoplus --skill cocosentinel --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cocosentinel?

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

Security grade badge for Cocosentinel
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snowflake-labs-cocosentinel-c860fcbe/badge)](https://www.skillsdirectory.com/skills/snowflake-labs-cocosentinel-c860fcbe)

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: "stage-coach"
description: "Consume CocoSentinel per-stage external coach requests and produce stage quality scores."
version: "1.0.0"
author: "CocoPlus"
tags:
  - cocoplus
  - cocosentinel
  - quality
---

Use this skill for queued per-stage coach reviews from `.cocoplus/sentinel/coach-requests.jsonl`.

## Objective

Evaluate completed CocoFlow stages with a separate coach model so generator and critic remain structurally separated.

## Workflow

1. Verify `.cocoplus/` exists.
2. Read `.cocoplus/sentinel/coach-requests.jsonl`.
3. For each queued request, collect:
   - stage role and task brief from `.cocoplus/flow.json`
   - declared `artifacts.reads` and `artifacts.writes`
   - produced artifact paths under `.cocoplus/flow/artifacts/<run-id>/`
   - downstream missing artifact status
4. Verify `coach_model` differs from the executor model. If not, write `.cocoplus/sentinel/known-gaps.jsonl` and skip the request.
5. Run an external coach evaluation using the configured coach model.
6. Write `.cocoplus/sentinel/stage-quality.jsonl`:

```json
{
  "ts": "...",
  "stage_id": "function-designer",
  "score": 7,
  "reasoning": "Specific evidence-backed rationale.",
  "attributed_to": "function-designer",
  "coach_model": "haiku"
}
```

7. Mark consumed requests as processed by writing `.cocoplus/sentinel/coach-requests.processed.jsonl`.

## Scoring

- `8-10`: usable output with clear artifact handoff
- `5-7`: core output exists but a declared contract, evidence item, or handoff is incomplete
- `<5`: missing required output, ungrounded result, or downstream blocker attributable to this stage

## Exit Criteria

- [ ] Each score cites produced or missing artifacts.
- [ ] The coach never evaluates its own generation.
- [ ] Missing artifacts are attributed to the stage that declared them.
- [ ] Console-readable `stage-quality.jsonl` is updated.

## 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. |

Files in this skill

  • sentinel-approve.skill.md3.4 KB
  • sentinel-pregate.skill.md1.5 KB
  • sentinel-report.skill.md2.6 KB
  • sentinel.skill.md9 KB
  • stage-coach.skill.md2.2 KB

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.

Comments

Loading comments…