Bootstraps HPC projects by setting up skills, verifying installations, and creating a CLAUDE.md with goals and workflows. Use before optimization, porting, or tuning.
Ships in bootstrap. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before any code work begins, establish a clear project context and ensure all required skills are installed and verified. This is a one-time setup that creates a CLAUDE.md file documenting project goals, installed tools, and mandatory workflows.
No code optimization, porting, or tuning work begins until:
CLAUDE.md file documents the setup and rulesThis prevents wasted effort on wrong tools or misconfigured environments.
| Practice | Why It Matters |
|---|---|
| Ask clarifying questions before assuming tools | Different projects need different tools; wrong tools waste time |
| Test each skill immediately after installation | Installed ≠ working; failures caught early, not mid-project |
| Document goals in CLAUDE.md upfront | Keeps focus; prevents scope creep; guides skill selection |
| Get user agreement on CLAUDE.md before proceeding | Ensures alignment on project scope, tools, and constraints |
Explore the project directory:
Ask ONE clarifying question:
Ask ONE system question:
Ask system-specific constraints (if needed):
Artifact created: Notes on code, goals, and execution environment.
Hard gate: Do NOT ask generic questions about code language, state, or HPC systems. Look at the directory first. Only ask what you can't determine by reading the project.
Based on answers, recommend which HPC-Agentic-SDK skills are needed:
| Goal | Skills Required | Optional |
|---|---|---|
| GPU porting | OpenACC | RAPTOR, Tadashi |
| Performance tuning | RAPTOR | Tadashi |
| Loop optimization | Tadashi | RAPTOR |
| Precision reduction | RAPTOR | — |
| R-CCS Cloud execution | hpc, hpc-rccs-cloud | — |
Decision point:
hpc plugin and the hpc-rccs-cloud skill pack. Pass facility="rccs-cloud" on facility-scoped calls.Ask user to confirm the skill list:
Artifact created: Final skill list (required + recommended).
For each skill in the list:
Guide installation:
/plugin install SKILL_NAME
Test immediately:
If the project runs on R-CCS Cloud:
rccs-cloud-configuring to set up the connection and verify access.rccs-cloud-submitting-jobs to plan how the project's build and test commands will run in Slurm jobs.Hard gate:
Artifact created: Verification checklist (all skills installed, tested, and configured)
Generate a CLAUDE.md file in the project root:
# Project: [Project Name]
## Objectives
- [Goal 1: e.g., "Port advection kernel to NVIDIA GPU"]
- [Goal 2: e.g., "Achieve 8x speedup with <5% accuracy loss"]
## Environment
- **Code language:** [e.g., Fortran]
- **Execution system:** [Localhost / R-CCS cloud]
- **Constraints:** [e.g., GPU type, time limits, partition]
## Installed Skills and MCP Servers
The following HPC-Agentic-SDK skills and MCP servers are installed and verified:
**Skills:**
- [x] RAPTOR — Profile and optimize floating-point precision
- [x] hpc-rccs-cloud — R-CCS Cloud job submission and monitoring skills
- [ ] Tadashi (skill) — Validate loop parallelization
- [ ] OpenACC (skill) — Insert GPU directives
**MCP Servers:**
- [x] hpc — Submit and monitor jobs with `facility="rccs-cloud"`
## Mandatory Workflows
- Always profile before optimizing (use RAPTOR)
- Always validate loop transforms (use Tadashi if uncertain)
- Document every optimization in code comments
- Run performance tests on the agreed execution system. For R-CCS Cloud, record the Slurm job ID and output alongside results.
- Never skip to implementation without a plan
## How to Proceed
1. Run the relevant HPC optimization skill (e.g., gpu-porting, profile-and-tune)
2. It will invoke other skills as needed (RAPTOR, Tadashi, OpenACC)
3. Use the project's documented build and test commands.
4. Follow the skill's workflow exactly
5. Verify results against the build, test, or job output.
## Notes
[Project-specific notes, constraints, or known issues]
Ask user to review and approve the CLAUDE.md before proceeding.
Once CLAUDE.md is approved:
Commit CLAUDE.md to the repository
git add CLAUDE.md
git commit -m "Initialize project CLAUDE.md with goals, tools, and workflows"
Summarize next steps:
Hard gate: Do not proceed with optimization/porting work until CLAUDE.md exists and user has approved it.
"Let me just try the skill without installing all of them" → Partial tools = partial results. You'll end up re-running work when you need a tool you skipped.
"I'll create CLAUDE.md later" → Never works. Without documented goals and rules, scope creep and tool misuse happen. Create it now.
"This project is too simple to need all this setup" → Simple projects hide complexity. Setup costs ~30 mins. False starts cost hours.
Stop immediately if:
If any of these appear, you've skipped the bootstrap. Return to Phase 1: explore the directory first, then ask focused questions.
Before declaring bootstrap complete, verify:
If any checkbox is false, bootstrap is incomplete. Complete it before starting optimization work.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/bootstrap:bootstrapfrom bootstrap
npx claudepluginhub riken-rccs/hpc-agentic-sdk --plugin bootstrap