Skip to content

feat: Add OpenHands CLI support#979

Open
anchapin wants to merge 2 commits intogsd-build:mainfrom
anchapin:feature/openhands-support
Open

feat: Add OpenHands CLI support#979
anchapin wants to merge 2 commits intogsd-build:mainfrom
anchapin:feature/openhands-support

Conversation

@anchapin
Copy link

@anchapin anchapin commented Mar 8, 2026

Summary

This PR adds support for installing GSD (Get Shit Done) with OpenHands CLI.

Changes

  1. OpenHands skill generation ( function)

    • Generates OpenHands-compatible skills in directory
    • Creates SKILL.md files for each GSD agent (planner, executor, verifier, etc.)
    • Converts paths to OpenHands config paths
  2. Runtime detection

    • Added detection throughout the installer
    • Added variable to handle runtime-specific behavior
  3. Settings handling

    • OpenHands doesn't use , so we skip writing settings for it
    • Statusline is also skipped for OpenHands (no support)
  4. Commands installation

    • Installs 32 GSD commands to
    • Commands follow the format

Installation

node bin/install.js --openhands --global

What gets installed

  • 12 GSD Skills: gsd-planner, gsd-executor, gsd-verifier, gsd-debugger, gsd-phase-researcher, gsd-project-researcher, gsd-codebase-mapper, gsd-roadmapper, gsd-plan-checker, gsd-research-synthesizer, gsd-integration-checker, gsd-nyquist-auditor
  • 32 GSD Commands: /gsd:new-project, /gsd:plan-phase, /gsd:execute-phase, etc.
  • Project data: In ~/.agents/get-shit-done/

Testing

Verified installation works correctly:

  • Skills are created with proper naming (e.g., not )
  • Commands are installed to the correct location
  • Completion message shows "GSD skills installed for OpenHands"

Co-authored-by: openhands openhands@all-hands.dev

- Add --openhands flag for installing GSD as OpenHands skills
- Add installOpenHandsSkills function to generate skills in ~/.agents/
- Support OPENHANDS_CONFIG_DIR env var and --config-dir flag
- Skills are installed as gsd-<agent>/SKILL.md format

Co-authored-by: openhands <openhands@all-hands.dev>
- Fix gsd- prefix duplication in skill names (gsd-gsd-planner -> gsd-planner)
- Add isOpenHands check in finishInstall for statusline and settings
- Skip finalize for OpenHands-only installs
- Add OpenHands program label for completion message
@anchapin anchapin requested a review from glittercowboy as a code owner March 8, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants