Skip to content

Add skills for onboarding compute to Nextflow Platform - #15

Open
odagayev wants to merge 4 commits into
mainfrom
claude/compute-onboarding-skills
Open

odagayev wants to merge 4 commits into
mainfrom
claude/compute-onboarding-skills

Conversation

@odagayev

@odagayev odagayev commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Five new skills that take a user from "I have an AWS account / GCP project / Azure subscription / HPC cluster" to a working Nextflow Platform compute environment:

Skill Covers
onboard-aws-batch S3 work bucket, IAM policy (Forge or Manual), role-based (recommended) or key-based credential, Forge/Manual CE fields
onboard-google-batch APIs, GCS bucket, credential and head-job service accounts with the documented roles, Workload Identity Federation (recommended) or SA key, head job sizing
onboard-azure-batch Resource group, Storage and Batch accounts, quota checks, Entra service principal and managed identity, access keys vs Entra, Forge/Manual
onboard-slurm Cluster checks (Nextflow on PATH, compute nodes can sbatch, outbound HTTPS), SSH / managed identity / Tower Agent, partitions and head job submit options
onboard-lsf Same as Slurm with bsub, plus mapping LSF_UNIT_FOR_LIMITS, LSB_JOB_MEMLIMIT and RESOURCE_RESERVE_PER_TASK to the CE's three memory fields

Every skill confirms the workspace, asks before creating cloud or cluster resources, shows the CE config before submitting it, and finishes with a nextflow-io/hello test run via launch-workflow. Secret-bearing credentials (access keys, SA JSON keys, Azure keys, SSH keys, agent tokens) are always entered by the user in the Platform UI, never passed through the chat or the API.

Also:

  • launch-workflow routes to these skills when no suitable CE exists.
  • ce-credentials-setup points to them for end-to-end onboarding and stays the quick reference for Seqera Compute, Kubernetes and troubleshooting (hash updated in sources.json).
  • README skill count and table, AGENTS.md keep-in-sync list, version 0.3.0 in all three manifests.

Notes for review

  • Source: docs.seqera.io compute-envs pages (AWS Batch, Google Cloud Batch, Azure Batch, HPC). The AWS and Azure pages were only partly readable, and Slurm and LSF share the general HPC page. The LSF memory-setting mapping and the platform IDs (aws-batch, google-batch, azure-batch, slurm-platform, lsf-platform) are not from the docs. The skills tell the agent to confirm request schemas with search_seqera_api, and to treat the live docs as the authority.
  • Not yet exercised end to end against a real account or cluster.
  • onboard-aws-batch overlaps with ce-credentials-setup/references/aws-batch.md. Worth deciding later whether to fold one into the other.

Ported from nextflow-io/agent-skills, which is archived.

🤖 Generated with Claude Code

odagayev and others added 4 commits November 6, 2026 15:10
Add onboard-aws-batch, onboard-google-batch, onboard-azure-batch,
onboard-slurm and onboard-lsf. Each walks through the cloud or cluster
prerequisites, the Platform credential and the compute environment, then
verifies with a test run via launch-workflow. launch-workflow and
ce-credentials-setup now route to them. Bump version to 0.3.0.

Ported from nextflow-io/agent-skills, which is archived.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checked every claim against the seqeralabs/docs source and the Platform
OpenAPI spec. Main corrections:

- AWS: role first, then Role-mode credential with useExternalId=true,
  then write the External ID back with update-assume-role-policy; state
  the Seqera Cloud trust principal; accurate policy summary
- Google: always set the head job service account (key credentials fall
  back to the default SA); workspace-scoped WIF principal; Fusion disk
  and Spot retry details
- Azure: tokenDuration defaults to 12h; subnets default to private IPs
  and need NAT; correct per-family quota query; job cleanup defaults
- Slurm/LSF: managed identities use managedIdentityId, not
  credentialsId; full Tower Agent setup; read RESOURCE_RESERVE_PER_TASK
  from lsf.conf/lsb.params
- All: API field names alongside UI labels, INVALID status, fixed
  broken skill references

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main moved the plugin to plugins/nextflow/; git left the five new
onboard-* skills at the old top-level skills/ path. Also bump VERSION
in tools/import_package.py to 0.3.0 alongside the manifests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant