One-line installer for provisioning EC2 instances with the full OpenSearch PPL agent development environment.
SSH into your Amazon Linux 2023 EC2 instance and run:
curl -fsSL https://raw.githubusercontent.com/opensearchpplteam/agents/main/install.sh | bashThe installer runs 7 steps: installs system packages (Java 21, Git, tmux, gh, Node.js 22, bc), installs Claude Code, configures Claude Code with Bedrock settings, sets up Git/GitHub authentication, clones repositories, configures the shell environment, and verifies everything.
After installation, open a new terminal and verify:
java --version # Should show 21.x
claude --version # Should show latest version
gh auth status # Should show authenticated
ls ~/oss/ppl/.claude/skills # Should show 2 symlinksStart a Claude session:
cd ~/oss/ppl
claudeTwo skills are installed into ~/oss/ppl/.claude/skills/ and are available as slash commands inside any Claude Code session started from ~/oss/ppl/.
Fixes GitHub issues and maintains open PRs in opensearch-project/sql using coordinated agent teams.
/opensearch-ppl-developer fix issue, 5178
This spawns a two-agent team (developer + leader) that:
- Performs root cause analysis on the issue
- Implements the fix and runs tests
- Reviews the changes and addresses any issues
- Submits a PR to
opensearch-project/sql
The developer agent writes and tests code in an isolated git worktree (~/oss/sql-issue-{number}/) on a branch named fix/issue-{number}. The leader agent reviews the work, provides feedback, and handles the PR submission.
/opensearch-ppl-developer follow up on pr, 5189
The skill triages the PR's recent activity first, then takes the minimal action needed:
| Situation | Action |
|---|---|
| Only bot comments, no real feedback | Reports findings and exits |
| Simple questions from reviewers | Posts replies directly, no agents spawned |
| Transient CI failures (flaky tests) | Re-runs the failed checks |
| Code changes requested by reviewers | Spawns developer + leader team to address feedback |
Provides strict, engineer-to-engineer code review for PRs in opensearch-project/sql.
From a Claude Code session in ~/oss/ppl/:
/opensearch-sql-pr-review 3216
The skill:
- Creates a dedicated git worktree (
../sql-pr-{number}-review) and checks out the PR - Fetches PR metadata, diff, changed files, and CI status using
gh - Performs a fast risk pass to identify high-severity areas
- Does a deep pass through each changed subsystem (
core,opensearch,ppl,calcite,integ-test, docs) - Publishes findings as GitHub review comments
Each finding is graded by severity:
| Severity | Meaning |
|---|---|
| blocker | Must fix before merge — correctness bug, data loss risk, security issue |
| major | Should fix — performance regression, missing edge case, API contract violation |
| minor | Nice to fix — style inconsistency, naming, minor simplification |
| nit | Optional — formatting, comment wording |
| question | Needs clarification from the author |
The review ends with an approval gate: approve, request changes, or comment-only, based on whether any blockers or majors remain.
The skill reviews changes in these modules and ignores sql/legacy unless you explicitly ask:
core— query planner and execution engineopensearch— OpenSearch integration layerppl— PPL language parser and ASTcalcite— Calcite-based query optimizerinteg-test— integration tests- docs and doctest