feat(vulnerability-remediation): Package as plugin with run-scan and fix-vulnerabilities skills#149
Draft
jpelletier1 wants to merge 1 commit intomainfrom
Draft
feat(vulnerability-remediation): Package as plugin with run-scan and fix-vulnerabilities skills#149jpelletier1 wants to merge 1 commit intomainfrom
jpelletier1 wants to merge 1 commit intomainfrom
Conversation
…fix-vulnerabilities skills - Add .plugin/plugin.json with entry_command to auto-trigger run-scan - Create run-scan skill with Trivy installation and scanning instructions - Create fix-vulnerabilities skill with remediation guide for 8+ ecosystems - Configure automatic skill chaining (run-scan -> fix-vulnerabilities) - Add comprehensive documentation with workflow diagrams - Remove old symlinks, add markdown-based skills (no custom scripts) - Update README with plugin structure and SDK usage examples Co-authored-by: openhands <openhands@all-hands.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The
vulnerability-remediationplugin was missing the proper OpenHands plugin format structure. It lacked:.plugin/plugin.jsonmanifest fileThis PR restructures the plugin to follow the OpenHands plugin specification and provides comprehensive markdown-based skills for agents.
Summary
.plugin/plugin.jsonwithentry_commandthat auto-triggers the run-scan skillrun-scanskill: Trivy installation and scanning instructions (markdown-based, no custom scripts)fix-vulnerabilitiesskill: Comprehensive remediation guide for 8+ package ecosystemsIssue Number
N/A
How to Test
Test 1: Verify Plugin Structure
Test 2: Load Plugin with SDK
Test 3: GitHub Action (existing workflow still works)
The existing GitHub Action workflow (
action.yml) and scripts remain unchanged and continue to work as before.Video/Screenshots
Plugin Structure:
Skill Workflow:
Notes
action.ymlandscripts/remain untouchedThis change makes the plugin fully compatible with the OpenHands SDK plugin loading system while maintaining backward compatibility with existing GitHub Actions usage.
@jpelletier1 can click here to continue refining the PR