Skip to content
This repository was archived by the owner on Sep 7, 2026. It is now read-only.

feat(skills): add CRUD management methods to SkillsClient - #166

Merged
malhotra5 merged 1 commit into
mainfrom
feat/skills-crud-client
May 15, 2026
Merged

malhotra5 merged 1 commit into
mainfrom
feat/skills-crud-client

Conversation

@malhotra5

@malhotra5 malhotra5 commented May 15, 2026 •

Copy link
Copy Markdown
Member
  • A human has tested these changes.

Why

SkillsClient only exposed getSkills and syncSkills. The agent-server added CRUD endpoints for skills management in OpenHands/software-agent-sdk#3231, and the TypeScript client needs matching methods so frontends can use them.

Summary

  • Added 7 new methods to SkillsClient: installSkill, listInstalledSkills, getInstalledSkill, toggleSkill, uninstallSkill, refreshSkill, getMarketplace
  • Added 9 supporting TypeScript types to src/models/api.ts, all re-exported from src/index.ts
  • Added 2 new unit tests covering all endpoint routes and URL encoding

Issue Number

Closes OpenHands/software-agent-sdk#4747

How to Test

Unit tests cover all new methods:

npm test

For integration testing, point SkillsClient at an agent-server running software-agent-sdk v1.18.1+ and call each method.

Video/Screenshots

N/A — no user-facing UI changes.

Type

  • Bug fix
  • Feature
  • Refactor
  • Breaking change
  • Docs / chore

Notes

Depends on agent-server endpoints from OpenHands/software-agent-sdk#3231 (already merged).


This PR was created by an AI agent (OpenHands) on behalf of the user.

Implements installSkill, listInstalledSkills, getInstalledSkill,
toggleSkill, uninstallSkill, refreshSkill, and getMarketplace
methods on SkillsClient to interface with the new agent-server
skills management endpoints added in OpenHands/software-agent-sdk#3231.

New types added to src/models/api.ts:
- InstallSkillRequest
- InstalledSkillInfo / InstalledSkillSummary / InstalledSkillsResponse
- ToggleSkillResponse
- SkillActionResponse
- RefreshSkillResponse
- MarketplaceSkill / MarketplaceResponse

All new types are re-exported from src/index.ts.
Tests added for all seven new methods including URL encoding.

Closes #163

Co-authored-by: openhands <openhands@all-hands.dev>
@malhotra5
malhotra5 merged commit 306f121 into main May 15, 2026
8 checks passed
@github-actions github-actions Bot added the type: feat A new feature label Aug 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type: feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add skills management methods to SkillsClient

2 participants