Search curated wisdom and the session-log lexical index together.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add Snowflake-Labs/cocoplus --skill cocowisdom --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cocowisdom?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/snowflake-labs-cocowisdom-d0dc255a)More formats (shields.io, HTML) on the badges page.
---
name: "wisdom-recall"
description: "Search curated wisdom and the session-log lexical index together."
version: "2.0.2"
author: "CocoPlus"
tags:
- cocoplus
- cocowisdom
- recall
---
Your objective is to implement `$wisdom recall "<query>"`.
Before proceeding, verify that `.cocoplus/` exists. If not, output: "CocoPlus is not initialized. Run `$pod init` first." Then stop.
## Behavior
Perform two-tier lexical recall:
1. Search curated wisdom files under `.cocoplus/wisdom/`, including `do-not-use.md`.
2. Search `.cocoplus/lifecycle/wisdom-index/` built by `$wisdom index`.
3. Return results from both tiers together, labeled by source and confidence: exact phrase, all terms, or close term overlap.
If no session index exists, output: "No session index found. Run `$wisdom index` first." Still search curated wisdom files.
Lexical search is the baseline. Do not add semantic, embedding, or LLM retrieval unless the lexical result quality has been measured and the gap is documented.
## Negative Memory Rule
`do-not-use.md` matches must be surfaced before positive wisdom matches when confidence is equal. Rejected approaches are universal constraints, not optional suggestions.
## Exit Criteria
- [ ] Results identify whether they came from curated wisdom or session-log index.
- [ ] `do-not-use.md` results are visible and prioritized.
- [ ] Missing index guidance is explicit.
## 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. |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!