logoalt Hacker News

tomaytotomatoyesterday at 9:19 PM1 replyview on HN

I would recommend you consider a Claude code hook, you could then specify a particular part of the agent lifecycle to invoke the fortune as an alternative to manual invocation of the skill.

You could do it on `SessionStart` to give a horoscope.

I am looking at making a skill to test random programming knowledge, so I don't forget that an Integer is 32bits (at least in Java)


Replies

xodn348yesterday at 9:32 PM

Auto-run on session start (optional) added. Please check it out!