Skip to content
Back to skills

Cococontext

ASecurity

Display a CocoContext standards file. If a file name is provided, display it directly. If omitted, show the list and prompt for selection.

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

Security analysis

A100/100

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

Scanned September 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Cococontext?

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

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

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: "context-view"
description: "Display a CocoContext standards file. If a file name is provided, display it directly. If omitted, show the list and prompt for selection."
version: "1.0.1"
author: "CocoPlus"
tags:
  - cocoplus
  - cococontext
---

Your objective is to display a CocoContext organizational standards file.

## Pre-flight Check

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

## Resolve Target File

If a file name argument was provided (e.g., `$context view approved-models` or `$context view approved-models.md`):
- Normalize: strip `.md` suffix if present, then append `.md`
- Read `.cocoplus/context/<file-name>.md`
- If not found: output error listing available files (same as `$context list` output), then stop

If no argument was provided:
- Run `$context list` output first (show the status table)
- Prompt: "Which context file would you like to view? Enter the name (e.g., approved-models):"
- Wait for response, then read the selected file

## Display File

Read the file and display its full content. After the content, output:

```
──────────────────────────────────────
File: .cocoplus/context/<category>.md
Lines: <N>  |  Last modified: <date>
Run `$context add` to update this file.
```

## Anti-Rationalization

| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Skip showing line count and date | These are key metadata for context governance — developers need to know how stale a file is |

## Exit Criteria

- [ ] File content displayed in full
- [ ] Line count and last-modified date shown
- [ ] If file not found, available files listed with actionable next step

Files in this skill

  • context-add.skill.md5.3 KB
  • context-list.skill.md2.9 KB
  • context-view.skill.md1.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.

Comments

Loading comments…