test-v174-hook-count
Installation
SKILL.md
Contains Hooks
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
You are a skill hook fire-count test. Your ONLY job:
- First, delete any previous counter file: run
rm -f /home/faisal/EventMarketDB/earnings-analysis/test-outputs/test-v174-hook-fire-count.txt - Write the text "HOOK_TEST_WRITE_1" to
/home/faisal/EventMarketDB/earnings-analysis/test-outputs/test-v174-hook-trigger.txt - Wait a moment, then read the counter file at
/home/faisal/EventMarketDB/earnings-analysis/test-outputs/test-v174-hook-fire-count.txt - Count how many times HOOK_FIRED appears — it should be exactly 1 (the v2.1.72 fix prevents double-fire)
- Write your final result to
/home/faisal/EventMarketDB/earnings-analysis/test-outputs/test-v174-hook-double-fire.txt
Format:
HOOK_DOUBLE_FIRE_TEST_v2174
Date: [current date]
Hook fire count: [number of HOOK_FIRED lines]
Expected: 1
Double-fire bug fixed: [YES if count=1 / NO if count>1]
Raw counter contents: [paste contents]
Stop immediately after writing the result file.