Skip to content
Agentmart
Submit a tool

hooks-disable

[yka-code] Disable a yka-code hook persistently (state file).

Skill by youssefKadaouiAbbassi

IndexedMIT
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/youssefkadaouiabbassi-hooks-disable

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

[yka-code] Disable a yka-code hook persistently (state file). Use "all" for kill-switch. Usage: /hooks-disable pre-pr-gate

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/hooks-disable

Tools it pre-approves 1

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash

What's inside

Skill name
hooks-disable
Description
[yka-code] Disable a yka-code hook persistently (state file). Use "all" for kill-switch. Usage: /hooks-disable pre-pr-gate
License
MIT
Allowed tools
Bash
Instructions
26 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves any shell command

Files (1)

  • SKILL.md

SKILL.md (first lines)

# /hooks-disable

Disable the named hook by appending it to `~/.claude/yka-hooks-disabled`. Persists until re-enabled.

**Hook name:** `$ARGUMENTS`

If `$ARGUMENTS` is empty, tell the user to provide a hook name (e.g. `pre-pr-gate`) or `all`, then stop.

Otherwise run:

```bash
if command -v yka-code-setup >/dev/null 2>&1; then
  yka-code-setup hooks disable $ARGUMENTS
else
  echo "yka-code-setup not on PATH. Install it globally: cd <yka-code repo> && bun link"
  exit 1
fi
```

Show the output verbatim. No further action.

## One-shot alternative (when the user wants bypass for a single command, no persistent state)

Suggest: `YKA_HOOKS_BYPASS=<name> <their-command>` — hook exits 0 for that invocation only.

From youssefKadaouiAbbassi/yka-code, MIT.

More from youssefKadaouiAbbassi/yka-code

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
May 13, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from youssefKadaouiAbbassi

Cite this page

hooks-disable skill. Agent Mart. https://agentmart.dev/skills/youssefkadaouiabbassi-hooks-disable (last updated 2026-10-24)