MCPcopy Create free account

hub / github.com/CaptainCrouton89/.claude / functions

Functions204 in github.com/CaptainCrouton89/.claude

↓ 1 callersFunctiongenerateProtocolRecommendations
* Generate protocol recommendations based on effort
hooks/user-prompt-observers/observer-registry.js:233
↓ 1 callersFunctiongenerateReport
* Generate report
hooks/state-tracking/benchmark/run-benchmark.js:238
↓ 1 callersFunctiongetAgentFiles
(agentResponsesDir)
hooks/lifecycle/agent-monitor.mjs:55
↓ 1 callersFunctiongetArchivePath
(cwd)
hooks/lifecycle/history-mcp.mjs:24
↓ 1 callersFunctiongetAssistantText
* Extract text content from assistant messages
hooks/validation/feature-validator.mjs:347
↓ 1 callersFunctiongetClaudeMdHierarchy
* Collect parent CLAUDE.md files
hooks/lifecycle/claude-md-manager.mjs:232
↓ 1 callersFunctiongetCurrentAgentId
()
hooks/lifecycle/agent-monitor.mjs:40
↓ 1 callersFunctiongetDirectoryInfo
* Get directory info for CLAUDE.md analysis
hooks/lifecycle/claude-md-manager.mjs:91
↓ 1 callersFunctiongetFileSignature
(filePath)
hooks/lifecycle/claude-md-manager.mjs:55
↓ 1 callersFunctiongetLogFile
()
hooks/validation/validation-monitor.mjs:8
↓ 1 callersFunctiongetLogPath
()
hooks/validation/claude-md-validator.mjs:79
↓ 1 callersFunctiongetMemoryDir
(cwd)
hooks/lifecycle/history-mcp.mjs:28
↓ 1 callersFunctiongetMessageText
(message)
hooks/validation/feature-validator.mjs:34
↓ 1 callersFunctiongetRecentAssistantMessages
* Extract assistant messages since last user message
hooks/validation/feature-validator.mjs:289
↓ 1 callersFunctiongetRelativePath
(cwd, filePath)
hooks/lifecycle/agent-monitor.mjs:121
↓ 1 callersFunctiongetTodoStateCachePath
()
hooks/validation/feature-validator.mjs:156
↓ 1 callersFunctionget_current_style
Read current output style from settings.
hooks/user-prompt-submit/output-style-switcher.py:29
↓ 1 callersFunctionget_edited_files
Extract edited TypeScript files from the transcript.
hooks/post-tool-use/typescript-error-fixer.py:35
↓ 1 callersFunctionget_typescript_checker
Determine which TypeScript checker to use.
hooks/post-tool-use/typescript-error-fixer.py:83
↓ 1 callersFunctiongroup_errors_by_file
Group errors by file for parallel processing.
hooks/post-tool-use/typescript-error-fixer.py:142
↓ 1 callersFunctionhas_typescript_config
Check if project has TypeScript configuration.
hooks/post-tool-use/typescript-error-fixer.py:77
↓ 1 callersFunctionisAnthropicModel
* Checks if a model is an Anthropic model * @param {string} modelString - Model name string * @returns {boolean} True if Anthropic model
hooks/pre-tool-use/agent-system/spawn-helpers.cjs:11
↓ 1 callersFunctionisDirectoryExcluded
* Check if a directory path matches exclusion patterns
hooks/lifecycle/claude-md-manager.mjs:192
↓ 1 callersFunctionisPidActive
(pid)
hooks/lifecycle/agent-monitor.mjs:81
↓ 1 callersFunctionisTodoStateFresh
(state, maxAgeMs = TODO_CACHE_MAX_AGE_MS)
hooks/validation/feature-validator.mjs:185
↓ 1 callersFunctionlastAssistantSnippet
hooks/validation/feature-validator.mjs:396
↓ 1 callersFunctionloadImprovedPrompt
* Load improved prompt
hooks/state-tracking/benchmark/compare-models.js:35
↓ 1 callersFunctionloadInput
* Load and parse hook input from stdin
hooks/validation/feature-validator.mjs:272
↓ 1 callersFunctionloadMcpServerLibrary
* Loads MCP server configurations from various locations * @param {Object} options - Options object * @param {string} options.cwd - Current working
hooks/pre-tool-use/agent-system/mcp-manager.cjs:12
↓ 1 callersFunctionloadProcessingCache
()
hooks/lifecycle/claude-md-manager.mjs:31
↓ 1 callersFunctionloadRegistry
(registryPath)
hooks/lifecycle/agent-monitor.mjs:44
↓ 1 callersFunctionloadSettings
* Load settings with exclusion patterns from ignore files
hooks/lifecycle/claude-md-manager.mjs:166
↓ 1 callersFunctionloadState
(stateFile)
hooks/lifecycle/agent-monitor.mjs:11
↓ 1 callersFunctionload_env
Load .env file from hooks directory
hooks/notifications/pushover-notification.py:10
↓ 1 callersFunctionload_input
Load and parse JSON input from stdin.
hooks/post-tool-use/typescript-error-fixer.py:26
↓ 1 callersFunctionlog
(message)
hooks/validation/validation-monitor.mjs:15
↓ 1 callersFunctionlogHistoryEntry
(cwd, title, bullets, sessionId, gitCommit)
hooks/lifecycle/history-mcp.mjs:169
↓ 1 callersFunctionmain
()
hooks/notifications/pushover-notification.py:49
↓ 1 callersFunctionmain
()
hooks/lifecycle/agent-cleanup.mjs:40
↓ 1 callersFunctionmain
()
hooks/lifecycle/session-tracker.mjs:22
↓ 1 callersFunctionmain
* Main hook execution
hooks/lifecycle/claude-md-manager.mjs:617
↓ 1 callersFunctionmain
* Main hook execution
hooks/lifecycle/session-history-logger.mjs:225
↓ 1 callersFunctionmain
()
hooks/lifecycle/agent-monitor.mjs:158
↓ 1 callersFunctionmain
* Main hook execution
hooks/validation/claude-md-validator.mjs:442
↓ 1 callersFunctionmain
* Main hook execution
hooks/validation/feature-validator.mjs:380
↓ 1 callersFunctionmain
()
hooks/stop/backwards-compat-warning.py:11
↓ 1 callersFunctionmain
()
hooks/pre-tool-use/agent-interceptor.cjs:77
↓ 1 callersFunctionmain
()
hooks/state-tracking/activity-tracker.js:10
↓ 1 callersFunctionmain
* Main function
hooks/state-tracking/benchmark/run-benchmark.js:330
↓ 1 callersFunctionmain
* Main function
hooks/state-tracking/benchmark/sample-prompts.js:107
↓ 1 callersFunctionmain
* Main function
hooks/state-tracking/benchmark/auto-annotate.js:139
↓ 1 callersFunctionmain
()
hooks/state-tracking/benchmark/time-comparison.js:48
↓ 1 callersFunctionmain
* Main comparison
hooks/state-tracking/benchmark/compare-models.js:116
↓ 1 callersFunctionmain
()
hooks/post-tool-use/parallel.py:21
↓ 1 callersFunctionmain
()
hooks/post-tool-use/code-quality-checker.py:109
↓ 1 callersFunctionmain
()
hooks/post-tool-use/dupe-hook.py:7
↓ 1 callersFunctionmain
()
hooks/post-tool-use/typescript-error-fixer.py:178
↓ 1 callersFunctionmain
()
hooks/user-prompt-submit/activity-observer.js:8
↓ 1 callersFunctionmain
()
hooks/user-prompt-submit/git-hook.py:22
↓ 1 callersFunctionmarkAgentAsInterrupted
(filePath, currentContent, registryPath, agentId)
hooks/lifecycle/agent-monitor.mjs:129
↓ 1 callersFunctionnormalizeLegacyState
(raw)
hooks/validation/feature-validator.mjs:206
↓ 1 callersFunctionparseFrontmatterBlock
* Parses a YAML-like frontmatter block * @param {string} block - Frontmatter block content * @returns {Object} Parsed frontmatter data
hooks/pre-tool-use/agent-system/frontmatter-parser.cjs:80
↓ 1 callersFunctionparseTranscript
* Parse transcript JSONL file and extract user messages only
hooks/lifecycle/session-history-logger.mjs:27
↓ 1 callersFunctionparse_typescript_errors
Parse TypeScript compiler output into structured errors.
hooks/post-tool-use/typescript-error-fixer.py:116
↓ 1 callersFunctionpruneFeatureState
(state, maxAgeMs = 12 * 60 * 60 * 1000)
hooks/validation/feature-validator.mjs:239
↓ 1 callersFunctionreadCachedTodoState
()
hooks/validation/feature-validator.mjs:164
↓ 1 callersFunctionreadFeatureValidatorState
()
hooks/validation/feature-validator.mjs:226
↓ 1 callersFunctionreadTodoState
()
hooks/validation/claude-md-validator.mjs:117
↓ 1 callersFunctionrunBackgroundValidation
* Run validation in background using Claude SDK
hooks/validation/feature-validator.mjs:546
↓ 1 callersFunctionrunTests
()
hooks/user-prompt-observers/test-observers.js:44
↓ 1 callersFunctionsamplePrompts
* Randomly samples prompts from all transcripts * @param {number} sampleSize - Number of prompts to sample * @returns {Array<Object>}
hooks/state-tracking/benchmark/sample-prompts.js:62
↓ 1 callersFunctionsanitizeCwd
(path)
hooks/pre-tool-use/agent-system/agent-script.mjs:189
↓ 1 callersFunctionsanitizeTodos
(todos)
hooks/validation/claude-md-validator.mjs:159
↓ 1 callersFunctionsaveState
(stateFile, state)
hooks/lifecycle/agent-monitor.mjs:22
↓ 1 callersFunctionselectMcpServers
* Selects specific MCP servers from the library * @param {Array<string>} names - Server names to select * @param {Object} library - Server library t
hooks/pre-tool-use/agent-system/mcp-manager.cjs:53
↓ 1 callersFunctionsend_pushover_notification
Send a notification via Pushover API
hooks/notifications/pushover-notification.py:22
↓ 1 callersFunctionsetupAgentEnvironment
* Sets up the agent environment (directories and files) * @param {Object} hookData - Hook data object * @param {string} agentId - Unique agent ID *
hooks/pre-tool-use/agent-system/spawn-helpers.cjs:26
↓ 1 callersFunctionshouldSkipUserEcho
(text)
hooks/pre-tool-use/agent-system/agent-script.mjs:348
↓ 1 callersFunctionshouldSkipUserTranscript
(text)
hooks/pre-tool-use/agent-system/agent-script.mjs:358
↓ 1 callersFunctionshould_use_parallel_agents
Determine if errors can be fixed using parallel agents.
hooks/post-tool-use/typescript-error-fixer.py:165
↓ 1 callersFunctionsignaturesEqual
(current, cached)
hooks/lifecycle/claude-md-manager.mjs:64
↓ 1 callersFunctionspawnClaudeAgent
* Spawns a Claude agent using the SDK * @param {Object} options - Spawn options * @returns {Object} Spawned process
hooks/pre-tool-use/agent-system/spawn-helpers.cjs:111
↓ 1 callersFunctionspawnCursorAgent
* Spawns a Cursor agent using the CLI * @param {Object} options - Spawn options * @returns {Object} Spawned process
hooks/pre-tool-use/agent-system/spawn-helpers.cjs:192
↓ 1 callersFunctionsummariseTodosForLog
(todos)
hooks/validation/claude-md-validator.mjs:465
↓ 1 callersFunctionsummarizeTodoList
(info)
hooks/validation/feature-validator.mjs:95
↓ 1 callersFunctiontailTranscript
()
hooks/pre-tool-use/agent-system/agent-script.mjs:529
↓ 1 callersFunctiontimeModel
(modelConfig, prompt, systemPrompt)
hooks/state-tracking/benchmark/time-comparison.js:32
↓ 1 callersFunctiontodoSignature
(todos)
hooks/validation/claude-md-validator.mjs:197
↓ 1 callersFunctiontranscriptExists
()
hooks/pre-tool-use/agent-system/agent-script.mjs:462
↓ 1 callersFunctiontruncatePrompt
* Truncate prompt for display
hooks/state-tracking/benchmark/annotate.js:45
↓ 1 callersFunctionupdateAgentLog
(agentId)
hooks/lifecycle/agent-cleanup.mjs:10
↓ 1 callersFunctionupdateEndedTimestamp
()
hooks/pre-tool-use/agent-system/agent-script.mjs:274
↓ 1 callersFunctionupdateFrontmatterPid
(childPid)
hooks/pre-tool-use/agent-system/cursor-runner.cjs:35
↓ 1 callersFunctionupdateFrontmatterPid
(childPid)
hooks/pre-tool-use/agent-system/claude-runner.cjs:28
↓ 1 callersFunctionupdateFrontmatterTimestamp
(frontmatter)
hooks/lifecycle/history-mcp.mjs:103
↓ 1 callersFunctionupdateRegistryPid
(pid, extra = {})
hooks/pre-tool-use/agent-system/cursor-runner.cjs:51
↓ 1 callersFunctionupdateRegistryPid
(pid, extra = {})
hooks/pre-tool-use/agent-system/claude-runner.cjs:44
↓ 1 callersFunctionupdateRegistryTranscriptPath
(updatedPath)
hooks/pre-tool-use/agent-system/agent-script.mjs:446
↓ 1 callersFunctionupdate_output_style
Update the outputStyle in settings.local.json.
hooks/user-prompt-submit/output-style-switcher.py:40
↓ 1 callersFunctionwriteFeatureValidatorState
(state)
hooks/validation/feature-validator.mjs:255
← previousnext →101–200 of 204, ranked by callers