Skip to content
Back to skills

Cocowisdom

ASecurity

Build or refresh CocoWisdom's local lexical index over existing session JSONL transcripts.

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

Works with

  • api

Security analysis

A100/100

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

Scanned September 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Cocowisdom?

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

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

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: "wisdom-index"
description: "Build or refresh CocoWisdom's local lexical index over existing session JSONL transcripts."
version: "2.0.2"
author: "CocoPlus"
tags:
  - cocoplus
  - cocowisdom
  - recall
---

Your objective is to implement `$wisdom index [--harness <harness-name>]`.

Before proceeding, verify that `.cocoplus/` exists. If not, output: "CocoPlus is not initialized. Run `$pod init` first." Then stop.

Build a searchable local index under `.cocoplus/lifecycle/wisdom-index/` from session JSONL transcripts already on disk. This is retroactive: first run indexes all available sessions, including sessions predating CocoWisdom.

## Procedure

1. Read `[wisdom]` config from `cocoplus.toml` when present. Respect `session_index_enabled`, `session_index_path`, and `redact_credentials_at_index`.
2. Use `.cocoplus/lifecycle/sessions/` as the default session source.
3. If `--harness` is supplied, index only matching harness sessions.
4. Redact credential patterns before storing indexed text when `redact_credentials_at_index` is not explicitly false: API tokens, bearer tokens, password/key material, Snowflake connection strings, and credential-adjacent role, warehouse, or account names.
5. Preserve raw JSONL transcripts unchanged.
6. Write index metadata with session count, redaction count, indexed timestamp, and harness filter.

## Exit Criteria

- [ ] The index exists under `.cocoplus/lifecycle/wisdom-index/`.
- [ ] Raw transcripts are not modified.
- [ ] Indexed content is credential-redacted.
- [ ] Re-running updates the index deterministically.

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

  • wisdom-consolidation-log.skill.md1.3 KB
  • wisdom-distill.skill.md3.4 KB
  • wisdom-forget.skill.md1.3 KB
  • wisdom-get.skill.md2.1 KB
  • wisdom-index.skill.md1.9 KB
  • wisdom-insights.skill.md4.7 KB
  • wisdom-keep.skill.md1.3 KB
  • wisdom-learn.skill.md1.3 KB
  • wisdom-learnings.skill.md1.2 KB
  • wisdom-list.skill.md2.5 KB
  • wisdom-recall.skill.md1.8 KB
  • wisdom-reject.skill.md1.8 KB
  • wisdom-review.skill.md1.7 KB
  • wisdom-route.skill.md1.5 KB
  • wisdom-search.skill.md2 KB
  • wisdom-status.skill.md1.3 KB
  • wisdom-writer.skill.md1.5 KB
  • wisdom.skill.md6.8 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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