Skip to content
Back to skills

Cododream

ASecurity

List past CocoDream distillation sessions from .cocoplus/grove/dream-*.md files, showing timestamp, function count, and lesson candidate count for each session.

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

Security analysis

A100/100

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

Scanned June 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Cododream?

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

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

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: "dream-history"
description: "List past CocoDream distillation sessions from .cocoplus/grove/dream-*.md files, showing timestamp, function count, and lesson candidate count for each session."
version: "1.0.1"
author: "CocoPlus"
tags:
  - cocoplus
  - cododream
---

Your objective is to display a summary of past CocoDream distillation sessions.

## Pre-flight Check

Check that `.cocoplus/` exists. If not:
Output: "CocoPlus not initialized in this directory. Run `$pod init` to begin." Then stop.

## Find Dream Files

Scan `.cocoplus/grove/` for all files matching `dream-*.md`. Sort by timestamp, newest first.

If no dream files found:
Output: "No CocoDream sessions found. Run `$dream` to start your first distillation session." Then stop.

## Read Session Metadata

The `n` argument controls how many sessions to display (default: 3 if not provided).

For each of the most recent n dream files, read:
- Timestamp (from filename: `dream-<timestamp>.md`)
- Function count (from the "Analysed: N functions" line in the file)
- Total lesson candidates (from the "Lesson candidates: N" line)
- Promoted count (count of lessons marked as promoted in the file, if tracking exists; otherwise show as unknown)

## Output

```
CocoDream History (last <n> sessions)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
<timestamp>  <N> functions  <M> candidates  (<K> promoted)
  .cocoplus/grove/dream-<timestamp>.md

<timestamp>  <N> functions  <M> candidates  (<K> promoted)
  .cocoplus/grove/dream-<timestamp>.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
To promote a lesson, run: $patterns promote "<lesson title>"
```

## Anti-Rationalization

| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Show all sessions without a default limit | Long lists obscure the most recent and relevant sessions; default n=3 is intentional |

## Exit Criteria

- [ ] Sessions displayed newest-first
- [ ] Each session shows timestamp, function count, candidate count, and file path
- [ ] If no sessions exist, actionable message pointing to `$dream` is shown

Files in this skill

  • dream-history.skill.md2.3 KB
  • dream.skill.md4 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…