Conversation
Add a new plugin that helps users create OpenHands automations through a guided slash command interface. Features: - /automation:create slash command for interactive automation setup - Collects name, cron schedule, tarball path, entrypoint, and timeout - Validates inputs before API call - Provides helpful cron schedule examples - Supports timeout configuration (1-600 seconds) Plugin structure follows Claude Code marketplace format: - .claude-plugin/plugin.json: Plugin manifest - commands/create.md: Slash command definition - README.md: Documentation with API reference Co-authored-by: openhands <openhands@all-hands.dev>
Add skills/automation/: - SKILL.md with full API reference for uploads and automations - README.md with quick start guide - Triggers: automation, scheduled task, cron job, cron schedule Update plugins/automation-creation/: - Add tarball upload step before automation creation - Document upload constraints (1MB max, allowed content types) - Update create.md command with upload workflow - Add allowed-tools for tar, jq operations Co-authored-by: openhands <openhands@all-hands.dev>
🔍 CI Failure AnalysisRoot CauseThe PR Review by OpenHands workflow is failing because the Looking at the error logs: Why This HappensThe workflow file github-token: ${{ secrets.ALLHANDS_BOT_GITHUB_PAT }}However, the repository secret
Recommended FixUse the built-in GitHub token instead, which is automatically available and has the necessary permissions: github-token: ${{ secrets.GITHUB_TOKEN }}This is consistent with how other workflows in this repo handle authentication (see Permissions VerificationThe workflow already declares appropriate permissions: permissions:
contents: read
pull-requests: write
issues: writeThese permissions are sufficient for the PR review action when using Action RequiredA maintainer with repository admin access needs to either:
Run ID: 23547081333 |
|
@OpenHands do the following
|
|
I'm on it! malhotra5 can track my progress at all-hands.dev |
- Change API base URL from automations.all-hands.dev/api/v1 to app.all-hands.dev/api/automation/v1 per infra middleware routing - Fix response field name from 'triggers' to 'trigger' in examples - Add List Automation Runs endpoint documentation - Update environment variables section with correct vars: - Add SANDBOX_ID and SESSION_API_KEY - Remove AUTOMATION_CALLBACK_URL and AUTOMATION_RUN_ID (internal) - Add user_id, org_id, and last_triggered_at to response examples - Note that completion callbacks are handled automatically by framework Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: openhands <openhands@all-hands.dev>
Final Summary✅ Request Checklist
Changes MadeFiles Updated:
Key Changes:
Conciseness Check✅ All changes are directly related to updating the skill/plugin based on the automation repo implementation. No extraneous changes were made. CI Status✅ All checks passed:
|
- Document that automations must use the OpenHands Software Agent SDK - Add link to SDK docs: https://docs.openhands.dev/sdk - Add setup.sh example that installs SDK packages - Include complete Python example using OpenHandsCloudWorkspace - Reference test_tarball example from automation repo - Make setup.sh REQUIRED (installs SDK dependencies) Co-authored-by: openhands <openhands@all-hands.dev>
all-hands-bot
left a comment
There was a problem hiding this comment.
🔴 Needs improvement - Fundamental design issues must be addressed.
KEY INSIGHT: This PR suffers from massive content duplication across plugin README, command spec, and skill definition - a data structure problem that creates a maintenance nightmare and suggests unclear architectural boundaries.
|
@OpenHands please update this implementation based on the review comments Also we may require plugins for other ecosystems outside of openhands. So examine other plugin implementations in this repo and see what best practices are. Can we dedup the contents here? Also always use the production api url, its fine if that's hardcoded |
|
I'm on it! malhotra5 can track my progress at all-hands.dev |
Address review comments: - Reduce README from 303 lines to 39 lines by removing API duplication - Reduce create.md from 198 lines to 70 lines, focusing on workflow only - Add cross-references between plugin and skill - Add automation-creation plugin to marketplace - Keep production API URL hardcoded (https://app.all-hands.dev/api/automation/v1) Plugin now provides only the /automation:create slash command. Full API documentation remains in skills/automation/SKILL.md. Co-authored-by: openhands <openhands@all-hands.dev>
Final SummaryI've addressed the review comments on PR #120 and the user's additional requests. Here's the checklist: ✅ Request Checklist
Changes MadeFiles Modified:
Architecture Clarification:
Conciseness CheckAll changes are directly related to the user's requests:
PR Status
|
Add a new plugin that helps users create OpenHands automations through a guided slash command interface.
Features
/automation:createslash command for interactive automation setupskills/automation/SKILL.mdfor full API documentationPlugin vs Skill Architecture
This PR adds:
plugins/automation-creation/): Provides the/automation:createslash command for interactive setupskills/automation/): Comprehensive API documentation triggered by automation-related keywordsBoth cross-reference each other to maintain a single source of truth for API documentation.
Design Principles
skills/automation/SKILL.mdhttps://app.all-hands.dev/api/automation/v1Plugin Structure (follows Claude Code marketplace format)
Related to ALL-5567