Use when setting up Skill Gate in a project — check MCP health with doctor, validate SKILL.md packs, or scaffold a new skill or starter eval cases. Requires pip install "skillgate-ai[mcp]".
3 stars
0 votes
0 copies
5 views
Added November 24, 2026
ai-agentsbash
Works with
claude code
cli
mcp
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Skillgate Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vigneshm1995personal-skillgate-setup)
---
name: skillgate-setup
description: Use when setting up Skill Gate in a project — check MCP health with doctor, validate SKILL.md packs, or scaffold a new skill or starter eval cases. Requires pip install "skillgate-ai[mcp]".
license: Apache-2.0
metadata:
author: skillgate-ai
version: "1.0"
---
# Skill Gate setup (MCP)
Install the MCP extra once per machine:
```bash
pip install "skillgate-ai[mcp]"
```
The **skillgate** MCP server runs `skillgate mcp --root .` against the **workspace root** (where `skills/` lives). Override with client env `SKILLGATE_ROOT` if needed.
## Primary tools
### `doctor`
Call first when checks fail to start or harness auth is unclear. Returns agent availability and **boolean** key presence (never secret values).
### `validate_skill`
Arguments: `skill` — pack folder name, path, or `SKILL.md`. Strict validation of frontmatter and cases. Use before `check_start`.
### `dataset_scaffold`
Arguments: `skill` (existing) or `name` (new skill under `skills/`), optional `force`. Creates starter cases or a new skill directory.
## Workflow
1. `doctor` — confirm MCP and agents can run checks.
2. `validate_skill` on the target pack.
3. `dataset_scaffold` when adding a new skill or empty dataset.
## All fifteen MCP tools
| Tool | Purpose |
| --- | --- |
| `validate_skill` | Strict SKILL.md + cases validation |
| `dataset_scaffold` | Create a new skill or starter cases |
| `dataset_get` | Compact dataset view (paths, sizes, tool_checks); `include_files: true` for file text |
| `case_get` | One case in full (file text, expected output, tool_checks) |
| `case_add` | Add one check (optional `tool_checks`) |
| `case_edit` | Edit a check; `tool_checks`: omit = unchanged, `{}` = clear, object = replace |
| `case_remove` | Remove a check |
| `case_import` | Bulk import CSV / JSONL / YAML |
| `pack_tool_checks_set` | Replace pack-level `tool_checks` (`{}` clears) |
| `check_start` | Start a check (one at a time) |
| `check_poll` | Poll run status (includes `run_gate`) |
| `check_cancel` | Kill or skip a running check |
| `report_latest` | Latest saved run for a skill |
| `report_get` | One history run (`history show --json` shape) |
| `doctor` | Agents, key presence (booleans), version |
Headless Claude Code: `claude -p "..." --allowedTools mcp__skillgate` (or per-tool `mcp__skillgate__doctor`).