Initial commit
This commit is contained in:
13
commands/history-failures.md
Normal file
13
commands/history-failures.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
description: Show only failed bash commands from history
|
||||
allowed-tools: Bash(claude-hook-advisor:*)
|
||||
---
|
||||
|
||||
!claude-hook-advisor --history --failures --limit 20
|
||||
|
||||
The output above shows all commands that failed. Let me analyze these failures and:
|
||||
1. Identify patterns in the errors
|
||||
2. Suggest fixes for the failed commands
|
||||
3. Explain why each command might have failed
|
||||
|
||||
What would you like me to help with regarding these failures?
|
||||
10
commands/history-search.md
Normal file
10
commands/history-search.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
description: Search command history by pattern (usage: /history-search <pattern>)
|
||||
allowed-tools: Bash(claude-hook-advisor:*)
|
||||
---
|
||||
|
||||
!claude-hook-advisor --history --pattern "$ARGUMENTS" --limit 50
|
||||
|
||||
I've searched the command history for commands matching "$ARGUMENTS". The results above show all matching commands with their success/failure status.
|
||||
|
||||
Let me help you understand these results or find specific commands you're looking for.
|
||||
13
commands/history-session.md
Normal file
13
commands/history-session.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
description: Show command history for a specific session (usage: /history-session <session-id>)
|
||||
allowed-tools: Bash(claude-hook-advisor:*)
|
||||
---
|
||||
|
||||
!claude-hook-advisor --history --session "$1" --limit 100
|
||||
|
||||
The output above shows all commands from session "$1". This includes:
|
||||
- All commands attempted in this session
|
||||
- Success and failure status for each
|
||||
- Complete timeline of command execution
|
||||
|
||||
Let me analyze this session's activity and help you understand what happened.
|
||||
13
commands/history.md
Normal file
13
commands/history.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
description: Show recent bash command history (last 20 commands)
|
||||
allowed-tools: Bash(claude-hook-advisor:*)
|
||||
---
|
||||
|
||||
!claude-hook-advisor --history --limit 20
|
||||
|
||||
The command history above shows all recent bash commands I've executed. Each entry includes:
|
||||
- ✓ for successful commands
|
||||
- ✗ FAILED for commands that failed
|
||||
- Timestamp, command, working directory, and session ID
|
||||
|
||||
Let me analyze this history and answer any questions you have about it.
|
||||
13
commands/validate.md
Normal file
13
commands/validate.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
description: Validate claude-hook-advisor installation and configuration
|
||||
allowed-tools: Bash(claude-hook-advisor:*)
|
||||
---
|
||||
|
||||
!claude-hook-advisor --validate
|
||||
|
||||
The validation output above shows the health of your claude-hook-advisor installation:
|
||||
|
||||
✓ = Working correctly
|
||||
✗ = Needs attention
|
||||
|
||||
Let me analyze any issues and suggest fixes.
|
||||
Reference in New Issue
Block a user