Skip to content
Back to skills

Assist Mode

ASecurity

Deactivate Full Assist Mode — removes all CocoPlus feature flags. Data files (memory, meter history, grove patterns) are preserved. Idempotent.

  • 724 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 5, 2026
ai-agentsbashnodegit

Security analysis

A93/100
  • highPerforms destructive filesystem operations

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

Scanned June 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Assist Mode?

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

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

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: "cocoplus-off"
description: "Deactivate Full Assist Mode — removes all CocoPlus feature flags. Data files (memory, meter history, grove patterns) are preserved. Idempotent."
version: "1.0.0"
author: "CocoPlus"
tags:
  - cocoplus
  - assist-mode
---

Your objective is to deactivate Full Assist Mode.

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

## Check Which Flags Exist

Record which flags currently exist before removing them (for reporting).

## Remove All Feature Flags

Delete each of the following flag files if they exist (use the Bash tool with a cross-platform command, or the Write tool set to empty — do not assume `rm` is available on Windows):

Cross-platform deletion using Node.js via the Bash tool:
```
node -e "
  const fs=require('fs');
  const flags=[
    '.cocoplus/modes/memory.on',
    '.cocoplus/modes/inspector.on',
    '.cocoplus/modes/quality.on',
    '.cocoplus/modes/context-mode.on',
    '.cocoplus/modes/cocometer.on',
    '.cocoplus/modes/full-assist.on',
    '.cocoplus/modes/safety.strict',
    '.cocoplus/modes/safety.normal',
    '.cocoplus/modes/safety.off',
  ];
  flags.forEach(f=>{try{fs.unlinkSync(f)}catch(_){}});
  console.log('All feature flags removed.');
"
```

**DO NOT delete any data files.** Only flag files are removed. These data files are NEVER deleted:
- `.cocoplus/memory/` directory and all files
- `.cocoplus/meter/history.jsonl`
- `.cocoplus/grove/patterns/` and all files
- `.cocoplus/grove/cupper-findings.md`

## Update AGENTS.md

Update AGENTS.md (keep ≤200 lines).
Replace Active Modes section with:
```
## Active Modes
- FULL ASSIST MODE: OFF
- Safety: off (deactivated)
- Memory: off
- Inspector: off
- Context Mode: off
- CocoMeter: off
- Code Quality: off
```

## Create Git Commit

```
git add .cocoplus/modes/ .cocoplus/AGENTS.md
git commit -m "chore(cocopod): deactivate full assist mode"
```

## Output

```
Full Assist Mode deactivated.

Deactivated: [list of flags that were removed]

Preserved (not deleted):
- .cocoplus/memory/ — decisions, patterns, errors files
- .cocoplus/meter/history.jsonl
- .cocoplus/grove/patterns/
- .cocoplus/grove/cupper-findings.md

Run `$cocoplus on` to re-activate all features.
```

## Anti-Rationalization

| Shortcut / Temptation | Why It Fails |
|-----------------------|--------------|
| Only remove the `full-assist.on` flag and leave others | Stale feature flags cause incorrect mode detection on next session — remove all of them |
| Skip updating AGENTS.md | AGENTS.md is the hot context file read at every session start; stale mode info misleads the AI |
| Delete memory or meter history files "to clean up" | Data files are permanent records; this skill explicitly must NOT delete them |

## Exit Criteria

- [ ] All nine flag files (`memory.on`, `inspector.on`, `quality.on`, `context-mode.on`, `cocometer.on`, `full-assist.on`, `safety.strict`, `safety.normal`, `safety.off`) do NOT exist in `.cocoplus/modes/`
- [ ] `.cocoplus/AGENTS.md` `## Active Modes` section shows `FULL ASSIST MODE: OFF` with all features listed as `off`
- [ ] Git commit with message `chore(cocopod): deactivate full assist mode` exists in log
- [ ] `.cocoplus/memory/`, `.cocoplus/meter/history.jsonl`, and `.cocoplus/grove/` data files still exist (not deleted)

Files in this skill

  • cocoplus-off.skill.md3.3 KB
  • cocoplus-on.skill.md4.1 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…