@openhands/extensions 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/README.md +4 -1
- package/marketplaces/large-codebase.json +2 -2
- package/marketplaces/openhands-extensions.json +48 -48
- package/package.json +1 -1
- package/pyproject.toml +1 -1
- package/python/openhands_extensions/_version.py +1 -1
- package/scripts/build-skills-catalog.mjs +76 -3
- package/skills/index.d.ts +21 -0
- package/skills/index.js +109 -52
- package/tests/test_skills_catalog.py +214 -4
package/README.md
CHANGED
|
@@ -182,7 +182,10 @@ Official skills and plugins for OpenHands — the open-source AI software engine
|
|
|
182
182
|
2. Create a new directory: `skills/<your-skill-name>/`
|
|
183
183
|
3. Add `skills/<your-skill-name>/SKILL.md`
|
|
184
184
|
4. (Optional) Add `README.md`, `references/`, `scripts/`, etc.
|
|
185
|
-
5.
|
|
185
|
+
5. Add an entry to `marketplaces/openhands-extensions.json` with a `category` — this is what the OpenHands Skills page uses to group the skill. Skills with no entry are grouped as "Uncategorized". Marketplace entries also require `.plugin/plugin.json` and vendor symlinks.
|
|
186
|
+
6. Submit a pull request
|
|
187
|
+
|
|
188
|
+
Valid skill categories: `automations`, `environment`, `code-hosting`, `agent-authoring`, `code-quality`, `integrations`, `writing`, `design`, `other`.
|
|
186
189
|
|
|
187
190
|
### Adding a Plugin
|
|
188
191
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"name": "add-javadoc",
|
|
15
15
|
"source": "./skills/add-javadoc",
|
|
16
16
|
"description": "Add comprehensive JavaDoc documentation to Java classes and methods. Use when documenting Java code, adding API documentation, or improving code documentation.",
|
|
17
|
-
"category": "
|
|
17
|
+
"category": "code-quality",
|
|
18
18
|
"keywords": [
|
|
19
19
|
"javadoc",
|
|
20
20
|
"java",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"name": "spark-version-upgrade",
|
|
53
53
|
"source": "./skills/spark-version-upgrade",
|
|
54
54
|
"description": "Upgrade Apache Spark applications between major versions (2.x→3.x, 3.x→4.x). Covers build files, deprecated APIs, configuration changes, SQL/DataFrame updates, and test validation.",
|
|
55
|
-
"category": "
|
|
55
|
+
"category": "environment",
|
|
56
56
|
"keywords": [
|
|
57
57
|
"spark",
|
|
58
58
|
"upgrade",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"name": "agent-creator",
|
|
15
15
|
"source": "./skills/agent-creator",
|
|
16
16
|
"description": "Create file-based sub-agents as Markdown files \u2014 no Python code required. Guides the user through a structured interview and generates a ready-to-deploy .md agent file following the OpenHands SDK specification.",
|
|
17
|
-
"category": "
|
|
17
|
+
"category": "agent-authoring",
|
|
18
18
|
"keywords": [
|
|
19
19
|
"agent",
|
|
20
20
|
"sub-agent",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"name": "add-skill",
|
|
29
29
|
"source": "./skills/add-skill",
|
|
30
30
|
"description": "Add (import) an OpenHands skill from a GitHub repository into the current workspace.",
|
|
31
|
-
"category": "
|
|
31
|
+
"category": "agent-authoring",
|
|
32
32
|
"keywords": [
|
|
33
33
|
"skill",
|
|
34
34
|
"import",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"name": "agent-memory",
|
|
41
41
|
"source": "./skills/agent-memory",
|
|
42
42
|
"description": "Persist and retrieve repository-specific knowledge using AGENTS.md files. Use when you want to save important information about a codebase (build commands, code style, workflows) for future sessions.",
|
|
43
|
-
"category": "
|
|
43
|
+
"category": "agent-authoring",
|
|
44
44
|
"keywords": [
|
|
45
45
|
"memory",
|
|
46
46
|
"knowledge",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"name": "agent-sdk-builder",
|
|
53
53
|
"source": "./skills/agent-sdk-builder",
|
|
54
54
|
"description": "Guided workflow for building custom AI agents using the OpenHands Software Agent SDK. Use when you want to create a new agent through an interactive interview process that gathers requirements and generates implementation plans.",
|
|
55
|
-
"category": "
|
|
55
|
+
"category": "agent-authoring",
|
|
56
56
|
"keywords": [
|
|
57
57
|
"agent",
|
|
58
58
|
"sdk",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"name": "code-simplifier",
|
|
65
65
|
"source": "./skills/code-simplifier",
|
|
66
66
|
"description": "Simplifies and refines code across three dimensions - code reuse, code quality, and efficiency - while preserving all functionality. Analyzes recently modified code and provides actionable improvement suggestions.",
|
|
67
|
-
"category": "
|
|
67
|
+
"category": "code-quality",
|
|
68
68
|
"keywords": [
|
|
69
69
|
"simplify",
|
|
70
70
|
"refine",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"name": "openhands-automation",
|
|
80
80
|
"source": "./skills/openhands-automation",
|
|
81
81
|
"description": "Create and manage OpenHands automations - scheduled tasks that run in sandboxes. Use the prompt preset to create automations from natural language, or manage existing automations.",
|
|
82
|
-
"category": "
|
|
82
|
+
"category": "automations",
|
|
83
83
|
"keywords": [
|
|
84
84
|
"automation",
|
|
85
85
|
"cron",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"name": "agent-canvas-environment",
|
|
93
93
|
"source": "./skills/agent-canvas-environment",
|
|
94
94
|
"description": "Work effectively inside a local Agent Canvas environment, including local agent-server auth, safe workspace hygiene, and local conversation delegation.",
|
|
95
|
-
"category": "
|
|
95
|
+
"category": "agent-authoring",
|
|
96
96
|
"keywords": [
|
|
97
97
|
"agent-canvas",
|
|
98
98
|
"openhands",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"name": "openhands-sdk",
|
|
106
106
|
"source": "./skills/openhands-sdk",
|
|
107
107
|
"description": "Reference skill for the OpenHands Software Agent SDK - build AI agents with custom tools, LLM configuration, conversations, sub-agent delegation, MCP integration, security, and persistence.",
|
|
108
|
-
"category": "
|
|
108
|
+
"category": "agent-authoring",
|
|
109
109
|
"keywords": [
|
|
110
110
|
"sdk",
|
|
111
111
|
"agent",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"name": "azure-devops",
|
|
120
120
|
"source": "./skills/azure-devops",
|
|
121
121
|
"description": "Interact with Azure DevOps repositories, pull requests, and APIs using the AZURE_DEVOPS_TOKEN environment variable. Use when working with code hosted on Azure DevOps or managing Azure DevOps resources.",
|
|
122
|
-
"category": "
|
|
122
|
+
"category": "code-hosting",
|
|
123
123
|
"keywords": [
|
|
124
124
|
"azure",
|
|
125
125
|
"devops",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"name": "bitbucket",
|
|
132
132
|
"source": "./skills/bitbucket",
|
|
133
133
|
"description": "Bitbucket integration hub. Detects whether the repository is on Bitbucket Cloud or Bitbucket Data Center and directs you to the matching detailed skill (bitbucket-cloud or bitbucket-data-center). Use for any Bitbucket repository or pull request task.",
|
|
134
|
-
"category": "
|
|
134
|
+
"category": "code-hosting",
|
|
135
135
|
"keywords": [
|
|
136
136
|
"bitbucket",
|
|
137
137
|
"git",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"name": "bitbucket-cloud",
|
|
143
143
|
"source": "./skills/bitbucket-cloud",
|
|
144
144
|
"description": "Bitbucket Cloud (bitbucket.org) specifics — authenticate with BITBUCKET_TOKEN, use the REST API v2, workspace/repo_slug repositories, and the create_bitbucket_pr tool. Loaded on demand by the bitbucket skill once a Cloud environment is detected.",
|
|
145
|
-
"category": "
|
|
145
|
+
"category": "code-hosting",
|
|
146
146
|
"keywords": [
|
|
147
147
|
"bitbucket",
|
|
148
148
|
"bitbucket-cloud",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"name": "bitbucket-data-center",
|
|
155
155
|
"source": "./skills/bitbucket-data-center",
|
|
156
156
|
"description": "Bitbucket Data Center (self-hosted Bitbucket Server) specifics — authenticate with BITBUCKET_DATA_CENTER_TOKEN, use the REST API 1.0, PROJECT/repo_slug repositories, scm/ git remotes, and the create_bitbucket_data_center_pr tool. Loaded on demand by the bitbucket skill once a Data Center environment is detected.",
|
|
157
|
-
"category": "
|
|
157
|
+
"category": "code-hosting",
|
|
158
158
|
"keywords": [
|
|
159
159
|
"bitbucket",
|
|
160
160
|
"bitbucket-data-center",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"name": "datadog",
|
|
195
195
|
"source": "./skills/datadog",
|
|
196
196
|
"description": "Query and analyze Datadog logs, metrics, APM traces, and monitors using the Datadog API. Use when debugging production issues, monitoring application performance, or investigating alerts.",
|
|
197
|
-
"category": "
|
|
197
|
+
"category": "integrations",
|
|
198
198
|
"keywords": [
|
|
199
199
|
"datadog",
|
|
200
200
|
"monitoring",
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"name": "deno",
|
|
208
208
|
"source": "./skills/deno",
|
|
209
209
|
"description": "Common project operations using Deno (tasks, run/test/lint/fmt, and dependency management).",
|
|
210
|
-
"category": "
|
|
210
|
+
"category": "environment",
|
|
211
211
|
"keywords": [
|
|
212
212
|
"deno",
|
|
213
213
|
"typescript",
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"name": "discord",
|
|
220
220
|
"source": "./skills/discord",
|
|
221
221
|
"description": "Build and automate Discord integrations (bots, webhooks, slash commands, and REST API workflows). Use when the user mentions Discord, a Discord server/guild, channels, webhooks, bot tokens, slash commands/application commands, discord.js, or discord.py.",
|
|
222
|
-
"category": "
|
|
222
|
+
"category": "integrations",
|
|
223
223
|
"keywords": [
|
|
224
224
|
"discord",
|
|
225
225
|
"bot",
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"name": "docker",
|
|
232
232
|
"source": "./skills/docker",
|
|
233
233
|
"description": "Run Docker commands within a container environment, including starting the Docker daemon and managing containers. Use when building, running, or managing Docker containers and images.",
|
|
234
|
-
"category": "
|
|
234
|
+
"category": "environment",
|
|
235
235
|
"keywords": [
|
|
236
236
|
"docker",
|
|
237
237
|
"container",
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
"name": "flarglebargle",
|
|
243
243
|
"source": "./skills/flarglebargle",
|
|
244
244
|
"description": "A test skill that responds to the magic word 'flarglebargle' with a compliment. Use for testing skill activation and trigger functionality.",
|
|
245
|
-
"category": "
|
|
245
|
+
"category": "other",
|
|
246
246
|
"keywords": [
|
|
247
247
|
"test",
|
|
248
248
|
"demo"
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
"name": "github",
|
|
268
268
|
"source": "./skills/github",
|
|
269
269
|
"description": "Interact with GitHub repositories, pull requests, issues, and workflows using the GITHUB_TOKEN environment variable and GitHub CLI. Use when working with code hosted on GitHub or managing GitHub resources.",
|
|
270
|
-
"category": "
|
|
270
|
+
"category": "code-hosting",
|
|
271
271
|
"keywords": [
|
|
272
272
|
"github",
|
|
273
273
|
"git",
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"name": "github-actions",
|
|
281
281
|
"source": "./skills/github-actions",
|
|
282
282
|
"description": "Create, debug, and test GitHub Actions workflows and custom actions. Use when building CI/CD pipelines, automating workflows, or troubleshooting GitHub Actions.",
|
|
283
|
-
"category": "
|
|
283
|
+
"category": "code-hosting",
|
|
284
284
|
"keywords": [
|
|
285
285
|
"github-actions",
|
|
286
286
|
"workflows",
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
"name": "github-pr-review",
|
|
294
294
|
"source": "./skills/github-pr-review",
|
|
295
295
|
"description": "Post structured PR reviews to GitHub with inline comments/suggestions in a single API call.",
|
|
296
|
-
"category": "code-
|
|
296
|
+
"category": "code-hosting",
|
|
297
297
|
"keywords": [
|
|
298
298
|
"github",
|
|
299
299
|
"pull-request",
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
"name": "github-repo-monitor",
|
|
306
306
|
"source": "./skills/github-repo-monitor",
|
|
307
307
|
"description": "Create a cron automation that polls a GitHub repository for issue and PR comments containing a configurable trigger phrase (@OpenHands by default). Starts an OpenHands conversation with full issue/PR context, posts acknowledgement comments with a conversation link, and summarises results back to the issue/PR when the agent finishes.",
|
|
308
|
-
"category": "
|
|
308
|
+
"category": "automations",
|
|
309
309
|
"keywords": [
|
|
310
310
|
"github",
|
|
311
311
|
"monitor",
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
"name": "gitlab",
|
|
322
322
|
"source": "./skills/gitlab",
|
|
323
323
|
"description": "Interact with GitLab repositories, merge requests, and APIs using the GITLAB_TOKEN environment variable. Use when working with code hosted on GitLab or managing GitLab resources.",
|
|
324
|
-
"category": "
|
|
324
|
+
"category": "code-hosting",
|
|
325
325
|
"keywords": [
|
|
326
326
|
"gitlab",
|
|
327
327
|
"git",
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
"name": "jupyter",
|
|
333
333
|
"source": "./skills/jupyter",
|
|
334
334
|
"description": "Read, modify, execute, and convert Jupyter notebooks programmatically. Use when working with .ipynb files for data science workflows, including editing cells, clearing outputs, or converting to other formats.",
|
|
335
|
-
"category": "
|
|
335
|
+
"category": "environment",
|
|
336
336
|
"keywords": [
|
|
337
337
|
"jupyter",
|
|
338
338
|
"notebook",
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
"name": "kubernetes",
|
|
345
345
|
"source": "./skills/kubernetes",
|
|
346
346
|
"description": "Set up and manage local Kubernetes clusters using KIND (Kubernetes IN Docker). Use when testing Kubernetes applications locally or developing cloud-native workloads.",
|
|
347
|
-
"category": "
|
|
347
|
+
"category": "environment",
|
|
348
348
|
"keywords": [
|
|
349
349
|
"kubernetes",
|
|
350
350
|
"k8s",
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
"name": "linear",
|
|
370
370
|
"source": "./skills/linear",
|
|
371
371
|
"description": "Interact with Linear project management - query issues, update status, create tickets using the Linear GraphQL API.",
|
|
372
|
-
"category": "
|
|
372
|
+
"category": "integrations",
|
|
373
373
|
"keywords": [
|
|
374
374
|
"linear",
|
|
375
375
|
"ticket",
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
"name": "notion",
|
|
396
396
|
"source": "./skills/notion",
|
|
397
397
|
"description": "Create, search, and update Notion pages/databases using the Notion API. Use for documenting work, generating runbooks, and automating knowledge base updates.",
|
|
398
|
-
"category": "
|
|
398
|
+
"category": "integrations",
|
|
399
399
|
"keywords": [
|
|
400
400
|
"notion",
|
|
401
401
|
"documentation",
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
"name": "npm",
|
|
407
407
|
"source": "./skills/npm",
|
|
408
408
|
"description": "Handle npm package installation in non-interactive environments by piping confirmations. Use when installing Node.js packages that require user confirmation prompts.",
|
|
409
|
-
"category": "
|
|
409
|
+
"category": "environment",
|
|
410
410
|
"keywords": [
|
|
411
411
|
"npm",
|
|
412
412
|
"nodejs",
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
"name": "openhands-api",
|
|
444
444
|
"source": "./skills/openhands-api",
|
|
445
445
|
"description": "Use the OpenHands Cloud REST API (V1) and agent-server APIs to create and manage Cloud or local backend conversations, including multi-conversation delegation workflows. Includes minimal Python and TypeScript clients under scripts/.",
|
|
446
|
-
"category": "
|
|
446
|
+
"category": "agent-authoring",
|
|
447
447
|
"keywords": [
|
|
448
448
|
"openhands",
|
|
449
449
|
"api",
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
"name": "pdflatex",
|
|
460
460
|
"source": "./skills/pdflatex",
|
|
461
461
|
"description": "Install and use pdflatex to compile LaTeX documents into PDFs on Linux. Use when generating academic papers, research publications, or any documents written in LaTeX.",
|
|
462
|
-
"category": "
|
|
462
|
+
"category": "environment",
|
|
463
463
|
"keywords": [
|
|
464
464
|
"latex",
|
|
465
465
|
"pdf",
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
"name": "prd",
|
|
497
497
|
"source": "./skills/prd",
|
|
498
498
|
"description": "Generate a Product Requirements Document (PRD) for a new feature through an interactive clarifying-question workflow. Use when planning a feature, starting a new project, or when asked to create a PRD.",
|
|
499
|
-
"category": "
|
|
499
|
+
"category": "writing",
|
|
500
500
|
"keywords": [
|
|
501
501
|
"prd",
|
|
502
502
|
"requirements",
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
"name": "security",
|
|
522
522
|
"source": "./skills/security",
|
|
523
523
|
"description": "Security best practices for secure coding, authentication, authorization, and data protection. Use when developing features that handle sensitive data, user authentication, or require security review.",
|
|
524
|
-
"category": "
|
|
524
|
+
"category": "code-quality",
|
|
525
525
|
"keywords": [
|
|
526
526
|
"security",
|
|
527
527
|
"authentication",
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
"name": "skill-creator",
|
|
534
534
|
"source": "./skills/skill-creator",
|
|
535
535
|
"description": "Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.",
|
|
536
|
-
"category": "
|
|
536
|
+
"category": "agent-authoring",
|
|
537
537
|
"keywords": [
|
|
538
538
|
"skill",
|
|
539
539
|
"plugin",
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"name": "slack-channel-monitor",
|
|
545
545
|
"source": "./skills/slack-channel-monitor",
|
|
546
546
|
"description": "Create a cron automation that polls up to 10 Slack channels every minute and starts an OpenHands conversation when a configurable trigger phrase is detected. Forwards thread replies to running conversations and posts summaries back to Slack when the agent finishes.",
|
|
547
|
-
"category": "
|
|
547
|
+
"category": "automations",
|
|
548
548
|
"keywords": [
|
|
549
549
|
"slack",
|
|
550
550
|
"monitor",
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
"name": "ssh",
|
|
560
560
|
"source": "./skills/ssh",
|
|
561
561
|
"description": "Establish and manage SSH connections to remote machines, including key generation, configuration, and file transfers. Use when connecting to remote servers, executing remote commands, or transferring files via SCP.",
|
|
562
|
-
"category": "
|
|
562
|
+
"category": "environment",
|
|
563
563
|
"keywords": [
|
|
564
564
|
"ssh",
|
|
565
565
|
"remote",
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
"name": "swift-linux",
|
|
572
572
|
"source": "./skills/swift-linux",
|
|
573
573
|
"description": "Install and configure Swift programming language on Debian Linux for server-side development. Use when building Swift applications on Linux or setting up a Swift development environment.",
|
|
574
|
-
"category": "
|
|
574
|
+
"category": "environment",
|
|
575
575
|
"keywords": [
|
|
576
576
|
"swift",
|
|
577
577
|
"linux",
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
"name": "uv",
|
|
596
596
|
"source": "./skills/uv",
|
|
597
597
|
"description": "Common project, dependency, and environment operations using uv.",
|
|
598
|
-
"category": "
|
|
598
|
+
"category": "environment",
|
|
599
599
|
"keywords": [
|
|
600
600
|
"uv",
|
|
601
601
|
"python",
|
|
@@ -607,7 +607,7 @@
|
|
|
607
607
|
"name": "upstream-fork-sync",
|
|
608
608
|
"source": "./skills/upstream-fork-sync",
|
|
609
609
|
"description": "Keep a long-lived fork in sync with its upstream. Creates a cron automation that fetches upstream changes, rebases local customizations on top, verifies the software works, and replaces the running version when the rebase is clean.",
|
|
610
|
-
"category": "
|
|
610
|
+
"category": "integrations",
|
|
611
611
|
"keywords": [
|
|
612
612
|
"fork",
|
|
613
613
|
"upstream",
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
"name": "vercel",
|
|
622
622
|
"source": "./skills/vercel",
|
|
623
623
|
"description": "Deploy and manage applications on Vercel, including preview deployments and deployment protection.",
|
|
624
|
-
"category": "
|
|
624
|
+
"category": "integrations",
|
|
625
625
|
"keywords": [
|
|
626
626
|
"vercel",
|
|
627
627
|
"deployment",
|
|
@@ -646,7 +646,7 @@
|
|
|
646
646
|
"name": "iterate",
|
|
647
647
|
"source": "./skills/iterate",
|
|
648
648
|
"description": "Iterate on a GitHub pull request \u2014 drive it through CI, code review, and QA until merge-ready. Monitors state, fixes failures, addresses review feedback, retries flaky checks, and pushes fixes in one continuous loop.",
|
|
649
|
-
"category": "
|
|
649
|
+
"category": "code-quality",
|
|
650
650
|
"keywords": [
|
|
651
651
|
"github",
|
|
652
652
|
"ci",
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"name": "evidence-based-citations",
|
|
661
661
|
"source": "./skills/evidence-based-citations",
|
|
662
662
|
"description": "Back factual claims and field values with official, verifiable sources. Use when the user asks to fill fields, answer questions, or make claims that must be supported by an exact quote and an official link.",
|
|
663
|
-
"category": "
|
|
663
|
+
"category": "writing",
|
|
664
664
|
"keywords": [
|
|
665
665
|
"evidence",
|
|
666
666
|
"citations",
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
"name": "github-pr-reviewer",
|
|
675
675
|
"source": "./skills/github-pr-reviewer",
|
|
676
676
|
"description": "Create an automation that reviews GitHub pull requests when they are opened or updated. Inspects the diff, changed files, tests, and existing discussion via GitHub MCP, then posts a concise review highlighting risks, security issues, missing tests, and next steps.",
|
|
677
|
-
"category": "
|
|
677
|
+
"category": "automations",
|
|
678
678
|
"keywords": [
|
|
679
679
|
"github",
|
|
680
680
|
"pull-request",
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
"name": "incident-retrospective",
|
|
689
689
|
"source": "./skills/incident-retrospective",
|
|
690
690
|
"description": "Create an automation that drafts incident retrospectives by gathering incident-channel messages from Slack, collecting linked tickets from Linear, and publishing a retrospective draft to Notion with timeline, impact summary, root-cause hypotheses, and action items.",
|
|
691
|
-
"category": "
|
|
691
|
+
"category": "automations",
|
|
692
692
|
"keywords": [
|
|
693
693
|
"incident",
|
|
694
694
|
"retrospective",
|
|
@@ -703,7 +703,7 @@
|
|
|
703
703
|
"name": "linear-triage",
|
|
704
704
|
"source": "./skills/linear-triage",
|
|
705
705
|
"description": "Create an automation that triages new Linear issues by inspecting title, description, team, and recent related issues. Suggests labels, priority, likely owner, and potential duplicates, then posts a clarifying comment.",
|
|
706
|
-
"category": "
|
|
706
|
+
"category": "automations",
|
|
707
707
|
"keywords": [
|
|
708
708
|
"linear",
|
|
709
709
|
"triage",
|
|
@@ -718,7 +718,7 @@
|
|
|
718
718
|
"name": "research-brief",
|
|
719
719
|
"source": "./skills/research-brief",
|
|
720
720
|
"description": "Create a recurring automation that researches a topic using Tavily web search and publishes a structured brief to Notion with executive summary, key findings, implications, and source citations.",
|
|
721
|
-
"category": "
|
|
721
|
+
"category": "automations",
|
|
722
722
|
"keywords": [
|
|
723
723
|
"research",
|
|
724
724
|
"brief",
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
"name": "slack-standup-digest",
|
|
733
733
|
"source": "./skills/slack-standup-digest",
|
|
734
734
|
"description": "Create an automation that generates an async standup digest from Slack. Searches selected channels for messages since the previous workday, groups updates by project, highlights blockers and decisions, and posts a summary to a target channel.",
|
|
735
|
-
"category": "
|
|
735
|
+
"category": "automations",
|
|
736
736
|
"keywords": [
|
|
737
737
|
"slack",
|
|
738
738
|
"standup",
|
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
"name": "technical-writing",
|
|
748
748
|
"source": "./skills/technical-writing",
|
|
749
749
|
"description": "Write and revise technical explanations in flowing, direct, conversational prose that stays concise without becoming fragmented or vague.",
|
|
750
|
-
"category": "
|
|
750
|
+
"category": "writing",
|
|
751
751
|
"keywords": [
|
|
752
752
|
"technical-writing"
|
|
753
753
|
]
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
"name": "plain-english-content",
|
|
757
757
|
"source": "./skills/plain-english-content",
|
|
758
758
|
"description": "Write and edit clear, accessible prose in a plain English content style: active voice, front-loaded content, sentence case, and accessible formatting.",
|
|
759
|
-
"category": "
|
|
759
|
+
"category": "writing",
|
|
760
760
|
"keywords": [
|
|
761
761
|
"plain-english"
|
|
762
762
|
]
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
"name": "jira-issue-to-pr",
|
|
766
766
|
"source": "./skills/jira-issue-to-pr",
|
|
767
767
|
"description": "Deploy a cron-based OpenHands automation that watches a Jira Cloud project for issues labeled with a configurable label (default: create-pr) and spawns an agent conversation to create a GitHub pull request for each new issue found. The target GitHub repo is read from the ticket body - no repo parameter required at deploy time.",
|
|
768
|
-
"category": "
|
|
768
|
+
"category": "automations",
|
|
769
769
|
"keywords": [
|
|
770
770
|
"jira",
|
|
771
771
|
"atlassian"
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -18,7 +18,7 @@ from importlib.metadata import PackageNotFoundError, version
|
|
|
18
18
|
#: Kept in lock-step with pyproject.toml/package.json by the version test.
|
|
19
19
|
#: release-please only rewrites a semver found on the annotated line itself, so
|
|
20
20
|
#: the annotation must stay on the assignment; on its own line it is a no-op.
|
|
21
|
-
_FALLBACK_VERSION = "0.
|
|
21
|
+
_FALLBACK_VERSION = "0.15.0" # x-release-please-version
|
|
22
22
|
|
|
23
23
|
try:
|
|
24
24
|
__version__: str = version("openhands-extensions")
|
|
@@ -14,6 +14,62 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
|
14
14
|
const SKILLS_DIR = join(__dirname, "..", "skills");
|
|
15
15
|
const OUTPUT = join(SKILLS_DIR, "index.js");
|
|
16
16
|
|
|
17
|
+
const MARKETPLACES_DIR = join(__dirname, "..", "marketplaces");
|
|
18
|
+
const SKILL_SOURCE_PREFIX = "./skills/";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Categories for skill entries, consumed by the agent-canvas /skills facet rail.
|
|
22
|
+
*
|
|
23
|
+
* Distinct from the `category` on marketplace *plugin* entries, which serves Claude Code marketplace browsing and keeps its own values.
|
|
24
|
+
*/
|
|
25
|
+
export const SKILL_CATEGORY_IDS = [
|
|
26
|
+
"automations",
|
|
27
|
+
"environment",
|
|
28
|
+
"code-hosting",
|
|
29
|
+
"agent-authoring",
|
|
30
|
+
"code-quality",
|
|
31
|
+
"integrations",
|
|
32
|
+
"writing",
|
|
33
|
+
"design",
|
|
34
|
+
"other",
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
const FALLBACK_CATEGORY = "other";
|
|
38
|
+
|
|
39
|
+
/** Build a `skill directory name -> {category, file}` map from every manifest. */
|
|
40
|
+
export function buildCategoryMap(marketplacesDir) {
|
|
41
|
+
const map = new Map();
|
|
42
|
+
|
|
43
|
+
for (const filename of readdirSync(marketplacesDir).filter((f) => f.endsWith(".json")).sort()) {
|
|
44
|
+
const manifest = JSON.parse(readFileSync(join(marketplacesDir, filename), "utf-8"));
|
|
45
|
+
|
|
46
|
+
for (const entry of manifest.plugins ?? []) {
|
|
47
|
+
const source = entry.source ?? "";
|
|
48
|
+
if (!source.startsWith(SKILL_SOURCE_PREFIX)) continue;
|
|
49
|
+
|
|
50
|
+
const name = source.slice(SKILL_SOURCE_PREFIX.length);
|
|
51
|
+
const { category } = entry;
|
|
52
|
+
|
|
53
|
+
if (!SKILL_CATEGORY_IDS.includes(category)) {
|
|
54
|
+
throw new Error(
|
|
55
|
+
`${filename}: skill "${name}" has category "${category}", expected one of: ${SKILL_CATEGORY_IDS.join(", ")}`,
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const existing = map.get(name);
|
|
60
|
+
if (existing && existing.category !== category) {
|
|
61
|
+
throw new Error(
|
|
62
|
+
`Conflicting categories for skill "${name}": ${existing.file} says "${existing.category}", ${filename} says "${category}"`,
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
map.set(name, { category, file: filename });
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return map;
|
|
71
|
+
}
|
|
72
|
+
|
|
17
73
|
/** Minimal YAML frontmatter parser for the flat format used by SKILL.md. */
|
|
18
74
|
export function parseFrontmatter(raw) {
|
|
19
75
|
const result = {};
|
|
@@ -51,9 +107,15 @@ export function parseFrontmatter(raw) {
|
|
|
51
107
|
};
|
|
52
108
|
}
|
|
53
109
|
|
|
54
|
-
/**
|
|
55
|
-
|
|
110
|
+
/**
|
|
111
|
+
* Build the catalog from SKILL.md files in the given directory.
|
|
112
|
+
*
|
|
113
|
+
* Pass an isolated `marketplacesDir` when building from fixtures; the default reads this repo's real manifests.
|
|
114
|
+
*/
|
|
115
|
+
export function buildCatalog(skillsDir, marketplacesDir = MARKETPLACES_DIR) {
|
|
56
116
|
const entries = [];
|
|
117
|
+
const categories = buildCategoryMap(marketplacesDir);
|
|
118
|
+
const uncategorized = [];
|
|
57
119
|
|
|
58
120
|
for (const dir of readdirSync(skillsDir).sort()) {
|
|
59
121
|
const dirPath = join(skillsDir, dir);
|
|
@@ -71,16 +133,26 @@ export function buildCatalog(skillsDir) {
|
|
|
71
133
|
const fm = parseFrontmatter(parts[1]);
|
|
72
134
|
const body = parts.slice(2).join("---").trim();
|
|
73
135
|
|
|
136
|
+
const mapped = categories.get(dir);
|
|
137
|
+
if (!mapped) uncategorized.push(dir);
|
|
138
|
+
|
|
74
139
|
entries.push({
|
|
75
140
|
name: fm.name?.trim() || dir,
|
|
76
141
|
description: fm.description,
|
|
77
142
|
triggers: fm.triggers,
|
|
78
143
|
content: body,
|
|
144
|
+
category: mapped?.category ?? FALLBACK_CATEGORY,
|
|
79
145
|
...(fm.license ? { license: fm.license } : {}),
|
|
80
146
|
...(fm.compatibility ? { compatibility: fm.compatibility } : {}),
|
|
81
147
|
});
|
|
82
148
|
}
|
|
83
149
|
|
|
150
|
+
if (uncategorized.length > 0) {
|
|
151
|
+
console.warn(
|
|
152
|
+
`Warning: no marketplace entry, category defaults to "${FALLBACK_CATEGORY}": ${uncategorized.join(", ")}`,
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
|
|
84
156
|
return entries;
|
|
85
157
|
}
|
|
86
158
|
|
|
@@ -90,7 +162,8 @@ if (isMain) {
|
|
|
90
162
|
const entries = buildCatalog(SKILLS_DIR);
|
|
91
163
|
|
|
92
164
|
const source = `// Auto-generated by scripts/build-skills-catalog.mjs — do not edit.
|
|
93
|
-
// Source of truth: skills/*/SKILL.md
|
|
165
|
+
// Source of truth: skills/*/SKILL.md and marketplaces/*.json (category)
|
|
166
|
+
export const SKILL_CATEGORY_IDS = ${JSON.stringify(SKILL_CATEGORY_IDS)};
|
|
94
167
|
export const SKILLS_CATALOG = ${JSON.stringify(entries, null, 2)};
|
|
95
168
|
export default SKILLS_CATALOG;
|
|
96
169
|
`;
|
package/skills/index.d.ts
CHANGED
|
@@ -1,8 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Categories for skill entries, consumed by the agent-canvas /skills facet rail.
|
|
3
|
+
*
|
|
4
|
+
* Sourced from the `category` field on marketplace entries whose `source` starts with `./skills/`.
|
|
5
|
+
* Distinct from the `category` on marketplace *plugin* entries, which serves Claude Code marketplace browsing.
|
|
6
|
+
*/
|
|
7
|
+
export type SkillCategoryId =
|
|
8
|
+
| "automations"
|
|
9
|
+
| "environment"
|
|
10
|
+
| "code-hosting"
|
|
11
|
+
| "agent-authoring"
|
|
12
|
+
| "code-quality"
|
|
13
|
+
| "integrations"
|
|
14
|
+
| "writing"
|
|
15
|
+
| "design"
|
|
16
|
+
| "other";
|
|
17
|
+
|
|
18
|
+
export const SKILL_CATEGORY_IDS: readonly SkillCategoryId[];
|
|
19
|
+
|
|
1
20
|
export interface SkillCatalogEntry {
|
|
2
21
|
name: string;
|
|
3
22
|
description: string;
|
|
4
23
|
triggers: string[];
|
|
5
24
|
content: string;
|
|
25
|
+
/** `"other"` when the skill has no marketplace entry. */
|
|
26
|
+
category: SkillCategoryId;
|
|
6
27
|
license?: string;
|
|
7
28
|
compatibility?: string;
|
|
8
29
|
}
|