Install command
Provided
Sends progress updates to Slack channel for team visibility on Claude activities.
Open the source and read safety notes before installing.
Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.
Decision playbook
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
0
78
—
No baseline selected
No major trust-signal divergence detected in the current selection.
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Source provenance statusRequired
Marked as source-backed.
Metadata reviewed
Registry metadata indicates a reviewed listing.
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Trust level risk gateRequired
Trust level does not block evaluation.
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Package verification flag
No package verification flag provided.
Checksum metadata
No checksum provided for downloaded artifact.
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
Baseline comparison available
No baseline peer selected yet.
Diverging trust signals identified
No major trust-signal divergence found.
Setup at a glance
Copy-ready — paste the snippet to get started.
Install command
Provided
Config snippet
Provided
Copy snippet
Provided
Prerequisites
None
Platforms
1 listed
Difficulty
0/100
Adoption plan
Current risk score 16/100. Use staged verification before broader rollout.
Validate source and review signals before any execution.
Confirm source provenanceRequired
Source URL/provenance metadata is present.
Confirm metadata review state
Listing has review metadata.
Verify install payload
Install/config payload exists and can be inspected.
Confirm safety, privacy, and package integrity signals.
Review safety notesRequired
Safety notes are present.
Review privacy notesRequired
Privacy notes are present.
Verify package integrity metadata
No package verification/checksum metadata.
Adopt in controlled steps based on the selected plan.
Run in isolated sandbox firstRequired
Use a constrained sandbox and observe behavior across multiple tasks.
Roll out graduallyRequired
Roll out to a small cohort before wider usage.
Set monitoring and fallback
Define rollback path and monitor errors after adoption.
Evidence readiness
Required evidence gates are covered (5/6 signals complete).
Source repository/provenance is listed.
Required in this preset
Review metadata is present.
Required in this preset
Safety notes are present.
Required in this preset
Privacy notes are present.
Optional in this preset
Package integrity metadata is missing.
Optional in this preset
Install payload is available.
Required in this preset
Required evidence gates are covered for this preset.
Decision timeline
5/6 steps complete with no blocking gaps for this preset.
triage
Source/provenance metadata is available.
triage
Review metadata is available.
verify
Safety notes are available.
verify
Privacy notes are available.
verify
Package integrity metadata is missing.
rollout
Install payload is available.
No required blockers for this timeline preset.
Safety & privacy surface
3 safety and 3 privacy notes across 3 risk areas. Review closely: permissions & scopes, network access.
#!/bin/bash
# Read the tool input from stdin
INPUT=$(cat)
TOOL_NAME=$(echo "$INPUT" | jq -r '.tool_name')
FILE_PATH=$(echo "$INPUT" | jq -r '.tool_input.file_path // .tool_input.path // ""')
# Check if Slack webhook URL is configured
if [ -z "$SLACK_WEBHOOK_URL" ]; then
echo "ℹ️ Slack webhook URL not configured - skipping notification"
echo "💡 Set SLACK_WEBHOOK_URL environment variable to enable Slack notifications"
exit 0
fi
echo "📢 Slack Progress Notifier - Sending team notification..."
echo "🔧 Tool: $TOOL_NAME"
if [ -n "$FILE_PATH" ]; then
echo "📄 File: $(basename "$FILE_PATH")"
fi
# Determine appropriate emoji based on tool/activity type
EMOJI="📝" # Default emoji
case "$TOOL_NAME" in
*test*|*Test*)
EMOJI="🧪"
ACTIVITY="Testing"
;;
*build*|*Build*)
EMOJI="🏗️"
ACTIVITY="Building"
;;
*deploy*|*Deploy*)
EMOJI="🚀"
ACTIVITY="Deployment"
;;
*commit*|*Commit*|*git*)
EMOJI="📝"
ACTIVITY="Version Control"
;;
*edit*|*Edit*|*write*|*Write*)
EMOJI="✏️"
ACTIVITY="Code Editing"
;;
*lint*|*Lint*|*format*|*Format*)
EMOJI="🧹"
ACTIVITY="Code Quality"
;;
*install*|*Install*|*package*)
EMOJI="📦"
ACTIVITY="Package Management"
;;
*security*|*Security*|*audit*)
EMOJI="🔒"
ACTIVITY="Security"
;;
*debug*|*Debug*|*error*)
EMOJI="🐛"
ACTIVITY="Debugging"
;;
*doc*|*Doc*|*readme*)
EMOJI="📚"
ACTIVITY="Documentation"
;;
*)
EMOJI="⚡"
ACTIVITY="Development"
;;
esac
# Prepare the message
if [ -n "$FILE_PATH" ]; then
FILENAME=$(basename "$FILE_PATH")
MESSAGE="$EMOJI Claude Code: $ACTIVITY - $TOOL_NAME on $FILENAME"
else
MESSAGE="$EMOJI Claude Code: $ACTIVITY - $TOOL_NAME"
fi
# Get additional context
TIMESTAMP=$(date '+%H:%M:%S')
USER=$(whoami 2>/dev/null || echo "developer")
BRANCH="unknown"
if git rev-parse --git-dir >/dev/null 2>&1; then
BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
fi
# Create rich message payload
REPO_NAME=$(basename "$(pwd)" 2>/dev/null || echo "project")
# Construct JSON payload with proper escaping
PAYLOAD=$(cat <<EOF
{
"text": "$MESSAGE",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "$EMOJI *Claude Code Activity*\n*Action:* $TOOL_NAME\n*Time:* $TIMESTAMP\n*User:* $USER\n*Branch:* $BRANCH\n*Project:* $REPO_NAME"
}
}
]
}
EOF
)
echo "📤 Sending notification to Slack..."
# Send to Slack with proper error handling
if curl -X POST \
-H 'Content-type: application/json' \
--data "$PAYLOAD" \
--max-time 5 \
--retry 1 \
"$SLACK_WEBHOOK_URL" \
--silent \
--show-error 2>/dev/null; then
echo "✅ Slack notification sent successfully"
else
CURL_EXIT_CODE=$?
case $CURL_EXIT_CODE in
6)
echo "⚠️ Failed to send Slack notification - couldn't resolve host"
;;
7)
echo "⚠️ Failed to send Slack notification - couldn't connect to server"
;;
22)
echo "⚠️ Failed to send Slack notification - HTTP error (check webhook URL)"
;;
28)
echo "⚠️ Failed to send Slack notification - timeout"
;;
*)
echo "⚠️ Failed to send Slack notification - error code: $CURL_EXIT_CODE"
;;
esac
echo "💡 Verify SLACK_WEBHOOK_URL is correct and Slack service is accessible"
fi
echo ""
echo "💡 Slack Integration Tips:"
echo " • Get webhook URL from: https://api.slack.com/messaging/webhooks"
echo " • Set SLACK_WEBHOOK_URL environment variable"
echo " • Test webhook with: curl -X POST -H 'Content-type: application/json' --data '{\"text\":\"Test\"}' \$SLACK_WEBHOOK_URL"
echo " • Configure channel-specific webhooks for different notification types"
echo " • Consider rate limiting for high-activity periods"
echo ""
echo "🎯 Slack notification complete!"
exit 0{
"hooks": {
"notification": {
"script": "./.claude/hooks/slack-progress-notifier.sh",
"matchers": [
"*"
]
}
}
}.claude/settings.local.json~/.claude/settings.json.claude/settings.json{
"hooks": {
"notification": {
"script": "./.claude/hooks/slack-progress-notifier.sh",
"matchers": ["*"]
}
}
}
#!/bin/bash
# Read the tool input from stdin
INPUT=$(cat)
TOOL_NAME=$(echo "$INPUT" | jq -r '.tool_name')
FILE_PATH=$(echo "$INPUT" | jq -r '.tool_input.file_path // .tool_input.path // ""')
# Check if Slack webhook URL is configured
if [ -z "$SLACK_WEBHOOK_URL" ]; then
echo "ℹ️ Slack webhook URL not configured - skipping notification"
echo "💡 Set SLACK_WEBHOOK_URL environment variable to enable Slack notifications"
exit 0
fi
echo "📢 Slack Progress Notifier - Sending team notification..."
echo "🔧 Tool: $TOOL_NAME"
if [ -n "$FILE_PATH" ]; then
echo "📄 File: $(basename "$FILE_PATH")"
fi
# Determine appropriate emoji based on tool/activity type
EMOJI="📝" # Default emoji
case "$TOOL_NAME" in
*test*|*Test*)
EMOJI="🧪"
ACTIVITY="Testing"
;;
*build*|*Build*)
EMOJI="🏗️"
ACTIVITY="Building"
;;
*deploy*|*Deploy*)
EMOJI="🚀"
ACTIVITY="Deployment"
;;
*commit*|*Commit*|*git*)
EMOJI="📝"
ACTIVITY="Version Control"
;;
*edit*|*Edit*|*write*|*Write*)
EMOJI="✏️"
ACTIVITY="Code Editing"
;;
*lint*|*Lint*|*format*|*Format*)
EMOJI="🧹"
ACTIVITY="Code Quality"
;;
*install*|*Install*|*package*)
EMOJI="📦"
ACTIVITY="Package Management"
;;
*security*|*Security*|*audit*)
EMOJI="🔒"
ACTIVITY="Security"
;;
*debug*|*Debug*|*error*)
EMOJI="🐛"
ACTIVITY="Debugging"
;;
*doc*|*Doc*|*readme*)
EMOJI="📚"
ACTIVITY="Documentation"
;;
*)
EMOJI="⚡"
ACTIVITY="Development"
;;
esac
# Prepare the message
if [ -n "$FILE_PATH" ]; then
FILENAME=$(basename "$FILE_PATH")
MESSAGE="$EMOJI Claude Code: $ACTIVITY - $TOOL_NAME on $FILENAME"
else
MESSAGE="$EMOJI Claude Code: $ACTIVITY - $TOOL_NAME"
fi
# Get additional context
TIMESTAMP=$(date '+%H:%M:%S')
USER=$(whoami 2>/dev/null || echo "developer")
BRANCH="unknown"
if git rev-parse --git-dir >/dev/null 2>&1; then
BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
fi
# Create rich message payload
REPO_NAME=$(basename "$(pwd)" 2>/dev/null || echo "project")
# Construct JSON payload with proper escaping
PAYLOAD=$(cat <<EOF
{
"text": "$MESSAGE",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "$EMOJI *Claude Code Activity*\n*Action:* $TOOL_NAME\n*Time:* $TIMESTAMP\n*User:* $USER\n*Branch:* $BRANCH\n*Project:* $REPO_NAME"
}
}
]
}
EOF
)
echo "📤 Sending notification to Slack..."
# Send to Slack with proper error handling
if curl -X POST \
-H 'Content-type: application/json' \
--data "$PAYLOAD" \
--max-time 5 \
--retry 1 \
"$SLACK_WEBHOOK_URL" \
--silent \
--show-error 2>/dev/null; then
echo "✅ Slack notification sent successfully"
else
CURL_EXIT_CODE=$?
case $CURL_EXIT_CODE in
6)
echo "⚠️ Failed to send Slack notification - couldn't resolve host"
;;
7)
echo "⚠️ Failed to send Slack notification - couldn't connect to server"
;;
22)
echo "⚠️ Failed to send Slack notification - HTTP error (check webhook URL)"
;;
28)
echo "⚠️ Failed to send Slack notification - timeout"
;;
*)
echo "⚠️ Failed to send Slack notification - error code: $CURL_EXIT_CODE"
;;
esac
echo "💡 Verify SLACK_WEBHOOK_URL is correct and Slack service is accessible"
fi
echo ""
echo "💡 Slack Integration Tips:"
echo " • Get webhook URL from: https://api.slack.com/messaging/webhooks"
echo " • Set SLACK_WEBHOOK_URL environment variable"
echo " • Test webhook with: curl -X POST -H 'Content-type: application/json' --data '{\"text\":\"Test\"}' \$SLACK_WEBHOOK_URL"
echo " • Configure channel-specific webhooks for different notification types"
echo " • Consider rate limiting for high-activity periods"
echo ""
echo "🎯 Slack notification complete!"
exit 0
Complete hook script that sends Slack notifications on Claude activities
#!/bin/bash
INPUT=$(cat)
TOOL_NAME=$(echo "$INPUT" | jq -r '.tool_name')
FILE_PATH=$(echo "$INPUT" | jq -r '.tool_input.file_path // .tool_input.path // ""')
if [ -z "$SLACK_WEBHOOK_URL" ]; then
exit 0
fi
EMOJI="📝"
case "$TOOL_NAME" in
*test*|*Test*) EMOJI="🧪" ;;
*build*|*Build*) EMOJI="🏗️" ;;
*edit*|*Edit*) EMOJI="✏️" ;;
esac
MESSAGE="$EMOJI Claude Code: $TOOL_NAME"
if [ -n "$FILE_PATH" ]; then
MESSAGE="$MESSAGE on $(basename "$FILE_PATH")"
fi
jq -n --arg text "$MESSAGE" '{text: $text}' | curl -X POST -H 'Content-type: application/json' --data @- --max-time 3 --silent "$SLACK_WEBHOOK_URL" >/dev/null 2>&1 &
exit 0
Complete hook configuration for .claude/settings.json to enable Slack notifications
{
"hooks": {
"notification": {
"script": "./.claude/hooks/slack-progress-notifier.sh",
"matchers": ["*"]
}
}
}
Enhanced hook script with debouncing to prevent notification spam
#!/bin/bash
INPUT=$(cat)
TOOL_NAME=$(echo "$INPUT" | jq -r '.tool_name')
LAST_NOTIFY=$(cat /tmp/slack_last 2>/dev/null || echo 0)
NOW=$(date +%s)
if [ $((NOW - LAST_NOTIFY)) -lt 10 ]; then
exit 0
fi
echo $NOW > /tmp/slack_last
if [ -z "$SLACK_WEBHOOK_URL" ]; then
exit 0
fi
MESSAGE="⚡ Claude Code: $TOOL_NAME"
jq -n --arg text "$MESSAGE" '{text: $text}' | curl -X POST -H 'Content-type: application/json' --data @- --max-time 3 --silent "$SLACK_WEBHOOK_URL" >/dev/null 2>&1 &
exit 0
Enhanced hook script with Slack Block Kit formatting and Git context
#!/bin/bash
INPUT=$(cat)
TOOL_NAME=$(echo "$INPUT" | jq -r '.tool_name')
FILE_PATH=$(echo "$INPUT" | jq -r '.tool_input.file_path // .tool_input.path // ""')
BRANCH=$(git branch --show-current 2>/dev/null || git rev-parse --short HEAD 2>/dev/null || echo 'unknown')
REPO_NAME=$(basename "$(pwd)" 2>/dev/null || echo 'project')
TIMESTAMP=$(date '+%H:%M:%S')
jq -n --arg text "Claude Code Activity" --arg tool "$TOOL_NAME" --arg file "$(basename "$FILE_PATH" 2>/dev/null || echo 'N/A')" --arg branch "$BRANCH" --arg repo "$REPO_NAME" --arg time "$TIMESTAMP" '{"blocks": [{"type": "section", "text": {"type": "mrkdwn", "text": ("*Claude Code Activity*\n*Action:* " + $tool + "\n*File:* " + $file + "\n*Branch:* " + $branch + "\n*Repo:* " + $repo + "\n*Time:* " + $time)}}]}' | curl -X POST -H 'Content-type: application/json' --data @- --max-time 3 --silent "$SLACK_WEBHOOK_URL" >/dev/null 2>&1 &
exit 0
Example Slack notifier configuration for customizing notification behavior
{
"slack": {
"webhook_url": "$SLACK_WEBHOOK_URL",
"debounce_seconds": 10,
"emoji_mapping": {
"test": "🧪",
"build": "🏗️",
"deploy": "🚀",
"edit": "✏️"
},
"include_git_context": true,
"include_timestamp": true
}
}
Escape special characters in JSON payload. Use jq to construct payload: jq -n --arg msg "$MESSAGE" '{text: $msg}' | curl -d @- $SLACK_WEBHOOK_URL. Avoid shell variable expansion inside JSON strings. Verify JSON format. Test with various message content.
Run curl in background with & to avoid blocking: (curl --max-time 3 "$SLACK_WEBHOOK_URL" &) >/dev/null 2>&1. Add exit 0 immediately after background execution. Reduce timeout from 5s to 3s. Verify async execution. Test with various timeout values.
Webhook URL expired or was revoked. Generate new webhook at https://api.slack.com/messaging/webhooks. Update SLACK_WEBHOOK_URL environment variable. Check workspace permissions for incoming webhooks. Verify webhook URL. Test with new webhook URL.
Add fallback to commit SHA: BRANCH=$(git branch --show-current || git rev-parse --short HEAD || echo 'unknown'). Handle detached HEAD state gracefully with descriptive label like 'detached@SHA'. Verify Git state. Test with various Git states.
Implement debouncing with timestamp check: LAST_NOTIFY=$(cat /tmp/slack_last 2>/dev/null || echo 0); NOW=$(date +%s); [ $((NOW - LAST_NOTIFY)) -lt 10 ] && exit 0. Skip notifications within 10s window. Verify debouncing logic. Test with various activity frequencies.
Check network connectivity and Slack service status. Verify webhook URL is correct and accessible. Check curl exit codes for specific errors. Add retry logic for transient failures. Verify webhook configuration. Test with manual curl requests.
Review emoji mapping case statements. Add more activity type patterns. Use default emoji fallback. Verify activity type detection. Test with various activity types.
Use jq for safe JSON generation instead of heredoc. Validate JSON payload before sending. Use Slack Block Kit for rich formatting. Verify message format. Test with various message content.
Slack Progress Notifier - Hooks side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
Next steps differ across entries — use the actions in the table below to copy install commands and source links per resource.
| Field | Sends progress updates to Slack channel for team visibility on Claude activities. Open dossier | A Claude Code hook that flags files exceeding complexity thresholds after you edit them — estimating cyclomatic complexity, line and function counts, and nesting depth (via ESLint's complexity rule and Radon). Open dossier | A PostToolUse hook that reminds you to enable native query logging for PostgreSQL, Prisma, Sequelize, and TypeORM, and flags possible N+1 patterns when you edit SQL or data-access files. Open dossier | Alerts when files exceed size thresholds that could impact performance. This PostToolUse hook provides comprehensive file size monitoring when files are created or modified, automatically detecting files that exceed recommended size thresholds for different file types and providing optimization suggestions. Open dossier |
|---|---|---|---|---|
| Next stepsDiffers | ||||
| Trust | ||||
| Review status | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed |
| Package trust | Package not verified | Package not verified | Package not verified | Package not verified |
| Source provenance | Source-backed | Source-backed | Source-backed | Source-backed |
| Submitter | — | — | — | — |
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ |
| Brand | — | — | — | |
| Category | hooks | hooks | hooks | hooks |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | JSONbored | JSONbored | JSONbored | JSONbored |
| Added | 2025-09-19 | 2025-09-19 | 2025-10-19 | 2025-09-19 |
| Platforms | Claude Code | Claude Code | Claude Code | Claude Code |
| Source repo | — | — | — | — |
| Safety notes | ✓Runs on notification events and posts a formatted activity message to Slack when SLACK_WEBHOOK_URL is configured. Uses curl with a short timeout and retry, so failed network delivery may still delay hook completion briefly. High activity can create noisy Slack notifications unless users add their own filtering or rate limits. | ✓Runs after edits to JS/TS/Python files and prints advisory warnings only; the line/function/brace counts are heuristics, not a substitute for ESLint or Radon run on the full project. | ✓Runs automatically after bash, write, or edit activity and inspects files that look like query, model, repository, DAO, or SQL files. Creates .claude/logs/query-performance.log and appends database command or file-analysis events. Uses grep-based heuristics for query warnings and should not be treated as proof of a performance defect. | ✓Runs automatically on its configured Claude Code hook event and executes shell logic that can read, modify, or delete files in your project (and may run builds, installs, or network calls); review the script and scope it to expected paths before enabling. |
| Privacy notes | ✓Sends tool name, file basename, user name, git branch, project name, and timestamp to the configured Slack webhook. Uses the SLACK_WEBHOOK_URL environment variable and does not manage webhook rotation or channel permissions. Slack receives and retains the notification according to the workspace and webhook configuration. | ✓Reads the contents of files you edit to compute complexity locally; it prints warnings to hook output and does not transmit code, but those messages can reveal file structure. | ✓Reads query-related source files and may print file paths, query patterns, and database command strings to local hook output. Stores analyzed file paths and database command text in .claude/logs/query-performance.log. Database command text may include connection names, database names, or other operational details if typed directly into the command. | ✓Receives Claude Code hook input (session metadata, file paths, and tool output) and reads local project files; review what the script logs or forwards to external services and keep credentials out of its output. |
| Prerequisites | — none listed | — none listed | — none listed | — none listed |
| Install | | | — | |
| Config | | | | |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.