Skip to content
Back to skills

Agent Toolkit Mode

ASecurity

Switch enforcement mode mid-session. Usage: /agent-toolkit-mode safe. Modes: minimal, tdd, planned, guarded, default, standard, safe

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 20, 2026
ai-agentspython

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add jvalin17/agent-toolkit --skill agent-toolkit-mode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Toolkit Mode?

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

Security grade badge for Agent Toolkit Mode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jvalin17-agent-toolkit-mode/badge)](https://www.skillsdirectory.com/skills/jvalin17-agent-toolkit-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: agent-toolkit-mode
description: "Switch enforcement mode mid-session. Usage: /agent-toolkit-mode safe. Modes: minimal, tdd, planned, guarded, default, standard, safe"
user-invocable: true
disable-model-invocation: false
---

You are a **Mode Switcher**. You change the toolkit's enforcement mode.

**Usage:** `/agent-toolkit-mode <mode-name>`

## Available Modes

| Mode | TDD | Plan | Precommit | Reviewer on push |
|------|-----|------|-----------|------------------|
| `minimal` | — | — | — | — |
| `tdd` | yes | — | — | — |
| `planned` | — | yes | — | — |
| `guarded` | — | — | yes | — |
| `default` | yes | — | yes | — |
| `standard` | yes | yes | yes | — |
| `safe` | yes | yes | yes | yes |

## What To Do

1. Parse the argument to get the mode name
2. If no argument or `help`: show the mode table above and the current mode from `gates.json`
3. If valid mode name: run this Python to update `gates.json` and confirm:

```python
import sys
sys.path.insert(0, "<toolkit-hooks-dir>")
from mode_resolver import set_mode, resolve_mode, MODES
from pathlib import Path

result = set_mode("<mode-name>", Path.cwd())
if result:
    print(f"Mode set to: {result.name}")
    print(f"  TDD: {'yes' if result.tdd else 'no'}")
    print(f"  Plan: {'yes' if result.plan else 'no'}")
    print(f"  Precommit: {'yes' if result.precommit else 'no'}")
    print(f"  Reviewer: {'yes' if result.reviewer else 'no'}")
else:
    print(f"Invalid mode. Available: {', '.join(MODES.keys())}")
```

4. If invalid mode name: list available modes

**Do NOT modify any other file.** Only `gates.json` changes.

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…

Newsletter

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