From 20703aefc4bbf6a1891e99fac9820ed6c34e6b51 Mon Sep 17 00:00:00 2001 From: tofarr Date: Thu, 28 May 2026 09:24:20 -0600 Subject: [PATCH 1/2] feat: add slash commands for github-repo-monitor and slack-channel-monitor Add commands/github-repo-monitor.md and commands/slack-channel-monitor.md so both skills can be invoked directly with /github-repo-monitor and /slack-channel-monitor without relying solely on semantic keyword matching. Co-authored-by: openhands --- skills/github-repo-monitor/commands/github-repo-monitor.md | 7 +++++++ .../commands/slack-channel-monitor.md | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 skills/github-repo-monitor/commands/github-repo-monitor.md create mode 100644 skills/slack-channel-monitor/commands/slack-channel-monitor.md diff --git a/skills/github-repo-monitor/commands/github-repo-monitor.md b/skills/github-repo-monitor/commands/github-repo-monitor.md new file mode 100644 index 00000000..26fde20f --- /dev/null +++ b/skills/github-repo-monitor/commands/github-repo-monitor.md @@ -0,0 +1,7 @@ +--- +description: Set up a cron automation that polls a GitHub repository for comments containing a trigger phrase and starts an OpenHands conversation in response. Use when asked to monitor a GitHub repo, watch for @OpenHands mentions in issues or PRs, or trigger OpenHands from a GitHub comment. +--- + +Read and follow the complete instructions in the SKILL.md file located in this skill's directory. + +$ARGUMENTS diff --git a/skills/slack-channel-monitor/commands/slack-channel-monitor.md b/skills/slack-channel-monitor/commands/slack-channel-monitor.md new file mode 100644 index 00000000..11ef1230 --- /dev/null +++ b/skills/slack-channel-monitor/commands/slack-channel-monitor.md @@ -0,0 +1,7 @@ +--- +description: Set up a cron automation that polls up to 10 Slack channels for messages containing a trigger phrase and starts an OpenHands conversation in response. Use when asked to monitor a Slack channel, watch for @openhands mentions in Slack, or trigger OpenHands from a Slack message. +--- + +Read and follow the complete instructions in the SKILL.md file located in this skill's directory. + +$ARGUMENTS From 58ed52964e8c6857450751b8a199ad5ff74fe910 Mon Sep 17 00:00:00 2001 From: tofarr Date: Thu, 28 May 2026 09:29:23 -0600 Subject: [PATCH 2/2] chore: regenerate openhands-sdk SKILL.md (add 51_agent_hooks example) Co-authored-by: openhands --- skills/openhands-sdk/SKILL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/skills/openhands-sdk/SKILL.md b/skills/openhands-sdk/SKILL.md index f0fe2632..427bc211 100644 --- a/skills/openhands-sdk/SKILL.md +++ b/skills/openhands-sdk/SKILL.md @@ -188,6 +188,7 @@ Source: [`examples/`](https://github.com/OpenHands/software-agent-sdk/tree/main/ - [`48_conversation_fork.py`](https://github.com/OpenHands/software-agent-sdk/blob/main/examples/01_standalone_sdk/48_conversation_fork.py) - [`49_switch_llm_tool.py`](https://github.com/OpenHands/software-agent-sdk/blob/main/examples/01_standalone_sdk/49_switch_llm_tool.py) - [`50_async_cancellation.py`](https://github.com/OpenHands/software-agent-sdk/blob/main/examples/01_standalone_sdk/50_async_cancellation.py) +- [`51_agent_hooks`](https://github.com/OpenHands/software-agent-sdk/tree/main/examples/01_standalone_sdk/51_agent_hooks) ### [`02_remote_agent_server/`](https://github.com/OpenHands/software-agent-sdk/tree/main/examples/02_remote_agent_server)