Skip to content
Agentmart
Submit a tool

agent-skill-gate

MANDATORY before code changes, debugging, planning, or multi-step implementation in ANY repository.

Skill by mihazs

IndexedMIT★ 11
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/mihazs-agent-skill-gate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

MANDATORY before code changes, debugging, planning, or multi-step implementation in ANY repository. Discover skills via grok inspect, Read every SKILL.md whose description matches the task, then use tools. Hooks block mutating tools until at least one catalog skill was Read. superpowers skills ship bundled in oh-my-grok (vendor/superpowers/skills).

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-skill-gate

What's inside

Skill name
agent-skill-gate
Description
MANDATORY before code changes, debugging, planning, or multi-step implementation in ANY repository. Discover skills via grok inspect, Read every SKILL.md whose description matches the task, then use tools. Hooks block mutating tools until at least one catalog skill was Read. superpowers skills ship bundled in oh-my-grok (vendor/superpowers/skills).
License
MIT
Instructions
27 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Agent Skill Gate

## When this applies

Every Grok Composer session where you might call `grep`, `Read` (for implementation context),
`Write`, `StrReplace`, `Shell` (mutating), or delegate `task()` for implementation.

## Workflow

1. Trust the skill catalog from `grok inspect`, SessionStart, or **UserPromptSubmit** `<AGENT_SKILL_GATE_PROACTIVE>` (paths matched to the message).
2. For the user's request, list which catalog skills plausibly apply (by description).
3. **`Read` each applicable skill file** before other tools (Grok Composer has no Skill tool; ignore superpowers text that says otherwise).
4. If the prompt shows `<skill_information>`, treat it as hints only — still **Read** full `SKILL.md` content.
4. Say `Using <name> to <purpose>` for each skill loaded.
5. Only then run mutating or broad search tools.

## Hook enforcement

The **oh-my-grok** plugin (`grok plugin install github:mihazs/oh-my-grok --trust`) registers
hooks via `hooks/hooks.json`. They deny mutating tools when the catalog is non-empty and
no skill was Read yet. Satisfy the gate by Reading any applicable catalog entry, or this
meta-skill file (path from `grok inspect`).

## Rules reference

Bundled at `rules/00-agent-skill-gate.md` inside the oh-my-grok plugin install directory.

From mihazs/oh-my-grok, MIT.

More from mihazs/oh-my-grok

Signals

Stars
11
Forks
5
Open issues
0
Last commit (this folder)
Jun 3, 2026 (4 months ago)
Last release
Jun 3, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mihazs

Cite this page

agent-skill-gate. Agent Mart. https://agentmart.dev/skills/mihazs-agent-skill-gate (last updated 2026-10-24)