From fee46057a16f791b8bfa68f9f320634a6cf12868 Mon Sep 17 00:00:00 2001
From: m3tam3re
Date: Sat, 3 Oct 2026 13:15:13 +0200
Subject: [PATCH] chore: remove claude specific skills
---
agent-lib.lock.json | 8 +-
.../mattpocock/skills/claude-handoff/SKILL.md | 18 ----
.../skills/claude-handoff/agents/openai.yaml | 5 -
.../git-guardrails-claude-code/SKILL.md | 95 -------------------
.../agents/openai.yaml | 3 -
.../scripts/block-dangerous-git.sh | 25 -----
6 files changed, 5 insertions(+), 149 deletions(-)
delete mode 100644 external/mattpocock/skills/claude-handoff/SKILL.md
delete mode 100644 external/mattpocock/skills/claude-handoff/agents/openai.yaml
delete mode 100644 external/mattpocock/skills/git-guardrails-claude-code/SKILL.md
delete mode 100644 external/mattpocock/skills/git-guardrails-claude-code/agents/openai.yaml
delete mode 100755 external/mattpocock/skills/git-guardrails-claude-code/scripts/block-dangerous-git.sh
diff --git a/agent-lib.lock.json b/agent-lib.lock.json
index e398e05..bae51cd 100644
--- a/agent-lib.lock.json
+++ b/agent-lib.lock.json
@@ -9,17 +9,19 @@
"skills_dir": "skills"
},
"selection": {
- "mode": "all"
+ "mode": "all",
+ "exclude": [
+ "claude-handoff",
+ "git-guardrails-claude-code"
+ ]
},
"inventory": {
"skills": [
"ask-matt",
- "claude-handoff",
"code-review",
"codebase-design",
"diagnosing-bugs",
"domain-modeling",
- "git-guardrails-claude-code",
"grill-me",
"grill-with-docs",
"grilling",
diff --git a/external/mattpocock/skills/claude-handoff/SKILL.md b/external/mattpocock/skills/claude-handoff/SKILL.md
deleted file mode 100644
index 9ab14e3..0000000
--- a/external/mattpocock/skills/claude-handoff/SKILL.md
+++ /dev/null
@@ -1,18 +0,0 @@
----
-name: claude-handoff
-description: Hand the current conversation off to a fresh background agent that picks up the work immediately.
-argument-hint: "What will the next session be used for?"
-disable-model-invocation: true
----
-
-Write a handoff summary of the current conversation so a fresh agent can continue the work. Instead of saving it, launch a background agent seeded with the summary as its prompt: `claude --bg --name "" ""`. It starts in the current working directory and returns immediately; the user manages it with `claude agents`.
-
-Always pass `-n`/`--name` with a descriptive name (e.g. `--name "Fix login bug"`); it sets the display name shown in the job list, session picker, and terminal title.
-
-Include a "suggested skills" section in the summary, naming which skills the next agent should call the Skill tool for.
-
-Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
-
-Redact any sensitive information, such as API keys, passwords, or personally identifiable information, since the summary becomes the agent's prompt.
-
-If the user passed arguments, treat them as a description of what the next session will focus on and tailor the summary accordingly.
diff --git a/external/mattpocock/skills/claude-handoff/agents/openai.yaml b/external/mattpocock/skills/claude-handoff/agents/openai.yaml
deleted file mode 100644
index 0a7aa5d..0000000
--- a/external/mattpocock/skills/claude-handoff/agents/openai.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
-interface:
- display_name: "Claude Handoff"
- short_description: "Hand off to a background agent"
-policy:
- allow_implicit_invocation: false
diff --git a/external/mattpocock/skills/git-guardrails-claude-code/SKILL.md b/external/mattpocock/skills/git-guardrails-claude-code/SKILL.md
deleted file mode 100644
index 58bcdd8..0000000
--- a/external/mattpocock/skills/git-guardrails-claude-code/SKILL.md
+++ /dev/null
@@ -1,95 +0,0 @@
----
-name: git-guardrails-claude-code
-description: Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
----
-
-# Setup Git Guardrails
-
-Sets up a PreToolUse hook that intercepts and blocks dangerous git commands before Claude executes them.
-
-## What Gets Blocked
-
-- `git push` (all variants including `--force`)
-- `git reset --hard`
-- `git clean -f` / `git clean -fd`
-- `git branch -D`
-- `git checkout .` / `git restore .`
-
-When blocked, Claude sees a message telling it that it does not have authority to access these commands.
-
-## Steps
-
-### 1. Ask scope
-
-Ask the user: install for **this project only** (`.claude/settings.json`) or **all projects** (`~/.claude/settings.json`)?
-
-### 2. Copy the hook script
-
-The bundled script is at: [scripts/block-dangerous-git.sh](scripts/block-dangerous-git.sh)
-
-Copy it to the target location based on scope:
-
-- **Project**: `.claude/hooks/block-dangerous-git.sh`
-- **Global**: `~/.claude/hooks/block-dangerous-git.sh`
-
-Make it executable with `chmod +x`.
-
-### 3. Add hook to settings
-
-Add to the appropriate settings file:
-
-**Project** (`.claude/settings.json`):
-
-```json
-{
- "hooks": {
- "PreToolUse": [
- {
- "matcher": "Bash",
- "hooks": [
- {
- "type": "command",
- "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/block-dangerous-git.sh"
- }
- ]
- }
- ]
- }
-}
-```
-
-**Global** (`~/.claude/settings.json`):
-
-```json
-{
- "hooks": {
- "PreToolUse": [
- {
- "matcher": "Bash",
- "hooks": [
- {
- "type": "command",
- "command": "~/.claude/hooks/block-dangerous-git.sh"
- }
- ]
- }
- ]
- }
-}
-```
-
-If the settings file already exists, merge the hook into the existing `hooks.PreToolUse` array. Don't overwrite other settings.
-
-### 4. Ask about customization
-
-Ask if user wants to add or remove any patterns from the blocked list. Edit the copied script accordingly.
-
-### 5. Verify
-
-Run a quick test:
-
-```bash
-echo '{"tool_input":{"command":"git push origin main"}}' |
-```
-
-Should exit with code 2 and print a BLOCKED message to stderr.
diff --git a/external/mattpocock/skills/git-guardrails-claude-code/agents/openai.yaml b/external/mattpocock/skills/git-guardrails-claude-code/agents/openai.yaml
deleted file mode 100644
index 3f5d756..0000000
--- a/external/mattpocock/skills/git-guardrails-claude-code/agents/openai.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
-interface:
- display_name: "Git Guardrails for Claude Code"
- short_description: "Block dangerous git commands"
diff --git a/external/mattpocock/skills/git-guardrails-claude-code/scripts/block-dangerous-git.sh b/external/mattpocock/skills/git-guardrails-claude-code/scripts/block-dangerous-git.sh
deleted file mode 100755
index c40b59c..0000000
--- a/external/mattpocock/skills/git-guardrails-claude-code/scripts/block-dangerous-git.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-INPUT=$(cat)
-COMMAND=$(echo "$INPUT" | jq -r '.tool_input.command')
-
-DANGEROUS_PATTERNS=(
- "git push"
- "git reset --hard"
- "git clean -fd"
- "git clean -f"
- "git branch -D"
- "git checkout \."
- "git restore \."
- "push --force"
- "reset --hard"
-)
-
-for pattern in "${DANGEROUS_PATTERNS[@]}"; do
- if echo "$COMMAND" | grep -qE "$pattern"; then
- echo "BLOCKED: '$COMMAND' matches dangerous pattern '$pattern'. The user has prevented you from doing this." >&2
- exit 2
- fi
-done
-
-exit 0