Skip to content
Back to skills

Context Mode

ASecurity

Enable Context Mode. When on, every developer prompt is prepended with a CocoPlus context block showing the current phase, active modes, and recent checkpoints. Helps the AI maintain project awareness across prompts.

  • 724 stars
  • 0 votes
  • 0 copies
  • 11 views
  • Added September 5, 2026
ai-agents

Security analysis

A100/100

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

Scanned September 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Context Mode?

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

Security grade badge for Context Mode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snowflake-labs-context-mode-cocoplus/badge)](https://www.skillsdirectory.com/skills/snowflake-labs-context-mode-cocoplus)

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-on"
description: "Enable Context Mode. When on, every developer prompt is prepended with a CocoPlus context block showing the current phase, active modes, and recent checkpoints. Helps the AI maintain project awareness across prompts."
version: "1.0.0"
author: "CocoPlus"
tags:
  - cocoplus
  - context-mode
---

Your objective is to enable Context Mode.

Before proceeding, verify that `.cocoplus/` exists.
If not: output "CocoPlus not initialized in this directory. Run `$pod init` to begin." Then stop.

Create mode flag: create the file `.cocoplus/modes/context-mode.on` with empty content using the Write tool (cross-platform: do not use `touch`)
Update AGENTS.md (keep ≤200 lines): replace Context line with `- Context Mode: ON (phase context prepended to prompts)`

Output: "✓ Context Mode enabled. Each prompt will be prepended with current phase, active modes, and recent checkpoints. This helps maintain project context across conversation turns."

## Anti-Rationalization

| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Skip updating AGENTS.md if the flag already exists (idempotent re-enable) | AGENTS.md might still show "Context Mode: off" from a previous disable; always sync it regardless |

## Exit Criteria

- [ ] `.cocoplus/modes/context-mode.on` flag exists
- [ ] `.cocoplus/AGENTS.md` Context line reads `- Context Mode: ON (phase context prepended to prompts)`

Files in this skill

  • context-off.skill.md1.2 KB
  • context-on.skill.md1.4 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…