groove-admin-claude-hooks
Install groove's Claude Code native shell hooks into .claude/settings.json.
Skill by andreadellacorte
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/andreadellacorte-groove-admin-claude-hooks
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.
About
Use cases: agent-building
Reviews
Write a reviewNo 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/groove-admin-claude-hooks
Tools it pre-approves 8
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
ReadWriteEditGlobBash(git:*)Bash(mkdir:*)Bash(chmod:*)AskUserQuestion
What's inside
- Skill name
groove-admin-claude-hooks- Description
- Install groove's Claude Code native shell hooks into .claude/settings.json. Enables deterministic session-end reminders, git activity capture, automatic session-capture drafts, and managed-path protection.
- License
- MIT
- Allowed tools
- Read, Write, Edit, Glob, Bash(git:*), Bash(mkdir:*), Bash(chmod:*), AskUserQuestion
- Metadata
- author: andreadellacorte
- Instructions
- 234 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
<!-- groove:managed — do not edit; changes will be overwritten by groove update -->
# groove-admin-claude-hooks
Install groove's Claude Code native shell hooks. These run outside the model — deterministic, unconditional — and complement groove's advisory markdown hooks (`.groove/hooks/start.md`, `end.md`).
Use `--disable <hook>` to remove a specific hook. Use `--list` to show current status.
## Outcome
Selected hooks are registered in `.claude/settings.json` and shell scripts are written to `.groove/hooks/claude/`. Hooks fire automatically on Claude Code lifecycle events without any model involvement.
## Available hooks
| Name | Event | Matcher | What it does |
|---|---|---|---|
| `daily-end-reminder` | `Stop` | — | If hour is 16–21 local time and `.groove/index.md` exists, prints a reminder to run `/groove-daily-end` |
| `git-activity-buffer` | `PostToolUse` | `Bash` | If the Bash command contains `git commit`, appends a timestamped line to `.groove/.cache/git-activity-buffer.txt` |
| `block-managed-paths` | `PreToolUse` | `Write`, `Edit` | If `file_path` starts with `.agents/skills/groove` or `skills/groove`, exits non-zero to block the write with an explanatory message |
| `context-reprime` | `SessionStart` | `startup\|compact` | Runs the prime script directly — ensures full workflow context is loaded after every session start and compaction |
| `version-check` | `PostToolUse` | — | Checks for a new groove version once per hour; calls `groove-utilities-check` |
| `session-capture` | `Stop` | — | If there is git activity this session (commits since midnight, working changes, or buffered commits), stages a capture draft to `.groove/.cache/pending-capture.md` for next-session review. Silent. |
## Steps
### `--list`
Read `.claude/settings.json` if it exists. Report which groove hooks are registered and which scripts exist in `.groove/hooks/claude/`. Exit.
### `--disable <hook>`
Remove the named hook's entry from `.claude/settings.json` (leave the script in place). Report removed / not found. Exit.
### Default (install)
1. Ask which hooks to enable (default: all six):
```
Which hooks to install? (all / comma-separated: daily-end-reminder, git-activity-buffer, block-managed-paths, context-reprime, version-check, session-capture)
Press enter for all.
```
2. Read `.claude/settings.json` if it exists; parse as JSON (default `{}`). Never discard existing non-groove entries.
3. Create `.groove/hooks/claude/` directory if absent. Make each script executable (`chmod +x`).
4. For each selected hook: write the shell script and merge the hook entry into `.claude/settings.json`.
5. Write `.claude/settings.json` with the merged result.
6. Report summary:
```
✓ daily-end-reminder — Stop hook → .groove/hooks/claude/daily-end-reminder.sh
✓ git-activity-buffer — PostToolUse/Bash hook → .groove/hooks/claude/git-activity-buffer.sh
✓ block-managed-paths — PreToolUse/Write+Edit hook → .groove/hooks/claude/block-managed-paths.sh
✓ context-reprime — SessionStart hook → groove-utilities-prime.sh
✓ version-check — PostToolUse hook → .groove/hooks/claude/version-check.sh
✓ session-capture — Stop hook → .groove/hooks/claude/session-capture.sh
✓ .claude/settings.json updated
```
## Shell script templates
Write these verbatim to `.groove/hooks/claude/`. Never overwrite an existing script without showing a diff and confirming.
### `daily-end-reminder.sh`
```bash
#!/usr/bin/env bash
# groove: Stop hook — remind about /groove-daily-end during work hours
hour=$(date +%H)
if [ -f "$CLAUDE_PROJECT_DIR/.groove/index.md" ] && [ "$hour" -ge 16 ] && [ "$hour" -le 21 ]; then
echo "groove: end of work hours — consider running /groove-daily-end"
fi
```
### `git-activity-buffer.sh`
```bash
#!/usr/bin/env bash
# groove: PostToolUse/Bash hook — buffer git commits for memory log
input=$(cat)
command=$(echo "$input" | python3 -c "import sys,json; d=json.load(sys.stdin); print(d.get('tool_input',{}).get('command',''))" 2>/dev/null)
if echo "$command" | grep -q "git commit"; then
msg=$(echo "$command" | grep -oP '(?<=-m ")[^"]+' | head -1)
mkdir -p "$CLAUDE_PROJECT_DIR/.groove/.cache"
echo "$(date '+%Y-%m-%d %H:%M') | ${msg:-<no message>}" >> "$CLAUDE_PROJECT_DIR/.groove/.cache/git-activity-buffer.txt"
fi
```
### `block-managed-paths.sh`
```bash
#!/usr/bin/env bash
# groove: PreToolUse/Write+Edit hook — block edits to managed groove paths
input=$(cat)
path=$(echo "$input" | python3 -c "import sys,json; d=json.load(sys.stdin); print(d.get('tool_input',{}).get('file_path',''))" 2>/dev/null)
if echo "$path" | grep -qE '^(\.agents/skills/groove|skills/groove)'; then
echo "groove: blocked — '$path' is managed by groove update. Edit under skills/ and rsync to .agents/skills/." >&2
exit 1
fi
```
### `version-check.sh`
```bash
#!/usr/bin/env bash
# groove: PostToolUse hook — check for new groove version (once per hour)
CACHE="$CLAUDE_PROJECT_DIR/.groove/.cache/last-version-check-ts"
mkdir -p "$CLAUDE_PROJECT_DIR/.groove/.cache"
now=$(date +%s)
if [ -f "$CACHE" ]; then
last=$(cat "$CACHE")
diff=$((now - last))
[ "$diff" -lt 3600 ] && exit 0
fi
echo "$now" > "$CACHE"
bash "$CLAUDE_PROJECT_DIR/.agents/skills/groove-utilities-check/scripts/check.sh" 2>/dev/null || true
```From andreadellacorte/groove, MIT.
More from andreadellacorte/groove
- 0.534score
groove-admin-claude-statusline
andreadellacorte
Install a rich Claude Code statusline into ~/.claude/hooks/ and ~/.claude/settings.json.
SkillCFreshness: C★ 6Claude Code +9 - 0.534score
pdf-to-markdown
andreadellacorte
[Document Processing] Convert PDF files to Markdown with support for native text PDFs and scanned documents (OCR).
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
groove-utilities-memory-graduate
andreadellacorte
Graduate a workflow insight from learned/<topic>.md into AGENTS.md as a permanent constraint.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
groove-daily-start
andreadellacorte
Start the workday: review yesterday, create today's daily memory, load tasks, prepare agenda.
SkillCFreshness: C★ 6Claude Code +9 - 0.531score
groove-daily-end
andreadellacorte
End the workday: write memory, analyse tasks, run end hook.
SkillCFreshness: C★ 6Claude Code +9 - 0.529score
groove-admin-cursor-hooks
andreadellacorte
Install groove's Cursor native hooks into .cursor/hooks.json.
SkillCFreshness: C★ 6Claude Code +9 - 0.529score
groove-groovebook-publish
andreadellacorte
Publish a workflow learning to the groovebook shared commons as a GitHub PR.
SkillCFreshness: C★ 6Claude Code +9 - 0.528score
groove-utilities-check
andreadellacorte
Check if a newer version of groove is available on GitHub.
SkillCFreshness: C★ 6Claude Code +9 - 0.526score
groove-utilities-memory-log-daily
andreadellacorte
Write the daily memory log entry.
SkillCFreshness: C★ 6Claude Code +9 - 0.526score
groove-admin-doctor
andreadellacorte
Run all groove health checks: config, backends, companions, AGENTS.md.
SkillCFreshness: C★ 6Claude Code +9 - 0.526score
groove-admin-help
andreadellacorte
Display all groove skills and commands with live config values.
SkillCFreshness: C★ 6Claude Code +9 - 0.526score
groove-admin-install
andreadellacorte
Install groove backends, companions, and AGENTS.md bootstrap.
SkillCFreshness: C★ 6Claude Code +9
Signals
- Stars
- 6
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 3, 2026 (4 months ago)
- Last release
- Jul 4, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/andreadellacorte/groove
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from andreadellacorte
- 0.534score
pdf-to-markdown
andreadellacorte
[Document Processing] Convert PDF files to Markdown with support for native text PDFs and scanned documents (OCR).
SkillCFreshness: C★ 6Claude Code +9 - 0.534score
groove-admin-claude-statusline
andreadellacorte
Install a rich Claude Code statusline into ~/.claude/hooks/ and ~/.claude/settings.json.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
groove-daily-start
andreadellacorte
Start the workday: review yesterday, create today's daily memory, load tasks, prepare agenda.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
groove-utilities-memory-graduate
andreadellacorte
Graduate a workflow insight from learned/<topic>.md into AGENTS.md as a permanent constraint.
SkillCFreshness: C★ 6Claude Code +9 - 0.531score
groove-daily-end
andreadellacorte
End the workday: write memory, analyse tasks, run end hook.
SkillCFreshness: C★ 6Claude Code +9 - 0.529score
groove-admin-cursor-hooks
andreadellacorte
Install groove's Cursor native hooks into .cursor/hooks.json.
SkillCFreshness: C★ 6Claude Code +9
Cite this page
groove-admin-claude-hooks skill. Agent Mart. https://agentmart.dev/skills/andreadellacorte-groove-admin-claude-hooks (last updated 2026-10-24)