I would love to work with OpenHands to build agent...
# proj-agent
e
I would love to work with OpenHands to build agents using the Software Agent SDK. Is there a repo.md or microagent we should consider developing to help OpenHands get enough context on all the various SDK methods, so it's easier for users to build their own agents? Context: I am working on a custom GitHub workflow that will utilize the agent as one of the steps
l
Just tell it to look at the examples directory I guess
e
Yeah I am trying to avoid launching my convo from the
software-agent-sdk
repo. I'll see if OH can create a microagent using the examples directory so I can use it when I start convos from scratch
l
I think you still need to let the agent read the docs/examples, the toolkit is too complex to just write it up in one skill
You could give it the hello world example in the skill though
👍 2
w
Yeah I have a couple repo.md in my experiment repos that say "If you need to work with the OpenHands SDK, clone the openhands/software-agent-sdk repo and look at the docs/API/examples"
I think this is what Claude Skills is trying to solve
When starting a new project, I want to check in something like
.agents/skills.yaml
like
Copy code
skills:
  @openhands/software-agent-sdk: 1.0.0
  kubernetes/kubernetes: 12.0.3
l
I’m not sure I quite follow, how do these relate to our current skills?
Is it that these are stored remotely somewhere and we download them automatically?
w
exactly. IIRC that's how claude skills work--they are hosted in a github repo owned by the technology maintainer, and get pulled in by end-users
🤔 maybe I'm thinking of something else...someone had a way of doing this
l
cool sounds good, let’s create an issue
@nutritious-balloon-65098 based on the previous discussion, create an issue on OpenHands/software-agent-sdk suggesting how we could automatically import skills from other repos. Understand how openhands skills are included, and also do research on how similar mechanisms are implemented in other sdks. Suggest a strategy for implementation in the issue description but do not actually do the implementation.
n
I'm on it! Graham Neubig can track my progress here.
w
n
Summary I've successfully created a comprehensive issue on the OpenHands/software-agent-sdk repository suggesting how to automatically import skills from remote repositories. Issue Created: #1044 - Feature: Automatic Skill Import from Remote Repositories What I researched and included: 1. Current OpenHands Implementation: ◦ Analyzed how skills are currently loaded from local directories (
.openhands/skills/
,
~/.openhands/skills/
) ◦ Documented the three skill types: repo skills, knowledge skills, and task skills ◦ Reviewed the
Skill
class and loading mechanisms in
openhands/sdk/context/skills/skill.py
2. Research on Similar Systems: ◦ Claude Skills (Anthropic): GitHub-based plugin marketplace with
/plugin install
commands ◦ Tessl: Spec registry treating usage specs as dependencies with version control ◦ AutoGPT:
plugins_config.yaml
approach (more limited) ◦ LangChain: MCP adapters and toolkit-based system ◦ NPM/Package Managers: Semantic versioning with git tags and multiple source types 3. Proposed Solution: ◦ Declarative
.openhands/skills.yaml
configuration file ◦ Support for multiple sources: GitHub repos (with versions/tags/branches), local paths, and future registry ◦ Four-phase implementation strategy covering configuration parsing, git integration, CLI commands, and developer experience ◦ Backward compatibility with existing skill loading system ◦ Caching mechanism to avoid repeated clones 4. Implementation Strategy: ◦ Detailed breakdown of components needed:
SkillsConfig
,
SkillResolver
, git operations, CLI commands ◦ Example file structure and API changes ◦ Security and validation considerations ◦ Alternative approaches evaluated (MCP, pip/PyPI, git submodules, direct downloads) The issue provides a complete roadmap for implementation without actually implementing the feature, as requested. It includes code examples, configuration formats, and open questions for team discussion. <sub>View full conversation</sub>
l
@nutritious-balloon-65098 Look at the additional information from Robert on gemini-cli-extensions and modify the issue description to refine the proposal
n
I'm on it! Graham Neubig can continue tracking my progress here.
Summary I've successfully created and updated a comprehensive GitHub issue (#1044) on the OpenHands/software-agent-sdk repository proposing an automatic skill import system from remote repositories. What Was Accomplished Initial Issue Creation: Created issue #1044 with research on similar systems (Claude Skills, Tessl, AutoGPT, LangChain, NPM). Updated Issue with Gemini CLI Research: After your request to incorporate information about gemini-cli-extensions, I significantly refined the proposal by: 1. Added Gemini CLI as Primary Reference ⭐ ◦ Researched Google's Gemini CLI extension system (https://geminicli.com/docs/extensions/) ◦ Documented their mature, production-tested architecture ◦ Highlighted their CLI-first approach with commands like
gemini extensions install/link/update
◦ Analyzed their manifest format (
gemini-extension.json
), variable substitution, and settings management 2. Shifted Design Philosophy ◦ Changed from: Purely declarative YAML-based configuration (like package.json) ◦ Changed to: CLI-first installation approach (like npm CLI commands) inspired by Gemini CLI ◦ Added comparison table showing why CLI-first is recommended over declarative YAML ◦ Proposed explicit commands:
openhands skills install/link/update/enable/disable
3. Refined Proposal Structure ◦ Introduced "skill packages" concept (like Gemini CLI extensions) rather than loose skill collections ◦ Defined
openhands-skill.json
manifest format for skill packages ◦ Auto-generated
skills-config.json
(maintained by CLI, not manually edited) ◦ Clearer separation between traditional skills (existing) and skill packages (new) 4. Enhanced Technical Details ◦ Better file structure with
~/.openhands/skill-packages/
for installed packages ◦ Scoped enable/disable (user vs workspace level) ◦ Symbolic linking for development workflows ◦ Settings management with prompts for API keys and configuration ◦ Variable substitution:
${extensionPath}
,
${workspacePath}
,
${/}
5. Improved Developer Experience ◦ Migration path that maintains full backward compatibility ◦ No breaking changes to existing skill loading ◦ Developer-friendly workflows familiar to npm/cargo users ◦ Explicit security consent prompts Key Takeaway The updated proposal now recommends a Gemini CLI-inspired extension system with explicit CLI commands for installation and management, rather than a purely declarative YAML approach. This provides better user control, security, and developer experience while maintaining full backward compatibility with the existing skill loading system. The issue is ready for team discussion and contains a complete implementation roadmap with 4 phases, open questions, and success metrics. <sub>View full conversation</sub>