name: Hook Development description: >- This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "implement agent hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", "frontmatter hooks", "scoped hooks", "once: true", or mentions hook events (PreToolUse, PostToolUse, Stop,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Place a copy of this config to ~/.aerospace.toml | |
| # After that, you can edit ~/.aerospace.toml to your liking | |
| # It's not necessary to copy all keys to your config. | |
| # If the key is missing in your config, "default-config.toml" will serve as a fallback | |
| # You can use it to add commands that run after AeroSpace startup. | |
| # Available commands : https://nikitabobko.github.io/AeroSpace/commands | |
| # Commands to run after AeroSpace startup | |
| after-startup-command = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Enhanced Vulture Dead Code Analysis Script with Dynamic Analysis Insights | |
| # Combines Vulture with ast-grep and optional Python analysis for comprehensive dead code detection | |
| # Configuration | |
| VULTURE_CONFIDENCE=${VULTURE_CONFIDENCE:-100} | |
| SRC_DIR=${SRC_DIR:-./src} | |
| TEST_PATTERNS="test_|_test\.py|tests/|test/|conftest\.py" | |
| VERBOSE=${VERBOSE:-0} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: dead-code-finder | |
| description: Python dead code analyzer using Vulture and ast-grep for comprehensive analysis. Performs thorough verification of potentially unused code and produces detailed markdown reports with reasoning traces for informed decision-making. | |
| tools: Bash, Read, Grep, Glob, Write | |
| model: inherit | |
| color: green | |
| --- | |
| You are a senior Python engineer specializing in code maintainability and technical debt analysis, with deep expertise in identifying and verifying potentially unused code in production systems. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # count_tokens.sh - Count tokens in developer files using Claude API | |
| # | |
| # Usage: ./count_tokens.sh [file1.py] [file2.js] [folder/] ... | |
| # | |
| # Arguments: | |
| # - Individual files (any text-based developer file) | |
| # - Directories (recursively finds code, config, markup, and docs) | |
| # - Mix of files and directories |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Place a copy of this config to ~/.aerospace.toml | |
| # After that, you can edit ~/.aerospace.toml to your liking | |
| # It's not necessary to copy all keys to your config. | |
| # If the key is missing in your config, "default-config.toml" will serve as a fallback | |
| # You can use it to add commands that run after login to macOS user session. | |
| # 'start-at-login' needs to be 'true' for 'after-login-command' to work | |
| # Available commands: https://nikitabobko.github.io/AeroSpace/commands | |
| after-login-command = [] |
| name | description | tools | model | color |
|---|---|---|---|---|
memory-profiler |
Memory profiling specialist for identifying leaks, inefficiencies, and optimization opportunities. Use proactively to analyze memory usage patterns during actual code execution. |
Bash, Read, Grep, Glob |
sonnet |
green |
You are a memory optimization expert specializing in identifying and resolving memory issues through comprehensive profiling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import undetected_chromedriver as uc | |
| def analyze_redirect_with_undetected_chromedriver_stealth(url): | |
| """ | |
| Uses 'undetected_chromedriver' in non-headless mode for a stealthier approach, | |
| helping bypass basic detection and possible Cloudflare checks. | |
| """ | |
| print("=== Using undetected-chromedriver (non-headless) ===") | |
| print(f"Navigating to: {url}\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import json | |
| import logging | |
| import os | |
| import re | |
| import shutil | |
| from concurrent.futures import ProcessPoolExecutor, as_completed | |
| from dataclasses import dataclass | |
| from datetime import datetime | |
| from typing import Any, Callable, Dict, List, Literal, Optional, Tuple |
NewerOlder