docs(skills): add 9 task-focused skills under skills/usecase/#249
Merged
Conversation
Each skill matches the existing SKILL.md format (YAML front-matter,
Operations decision matrix, task sections, real CLI commands) and is
designed to be fetched by AI coding agents (Claude Code / Cursor /
Codex) when scaffolding a Phala Cloud project.
Skills:
- agent-deploy.md — confidential AI agent (sealed creds, RA-TLS, action log)
- gpu-vllm-deploy.md — self-hosted vLLM on H200 GPU TEE
- inference-call.md — call the hosted Confidential AI API at api.redpill.ai
- training-run.md — TRL/Unsloth fine-tuning on GPU TEE
- data-coanalysis.md — multi-party cohort analysis with multi-sig DstackApp
- gpu-tee-custom.md — generic custom workload on GPU TEE
- dstack-self-host.md — self-host dstack-vmm + dstack-kms + dstack-gateway
- cloud-migration.md — migrate from AWS Nitro / GCP CC VM / Tinfoil
- verify-attestation.md — end-to-end TEE verification (NVIDIA NRAS + Intel TDX
+ report-data binding + compose-hash + Sigstore)
Validated against live phala CLI v1.1.9 and live API responses
(phala cvms attestation + cloud-api.phala.com/api/v1/attestations/verify
returned verified=true with matching mr_config / compose_hash).
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
The 9 use-case recipe skills belong under skills/usecase/ rather than skills/phala-cli/, which is reserved for the foundational `phala` CLI reference (SKILL.md). The use-case skills build on top of phala-cli SKILL.md and reference it via ../phala-cli/SKILL.md. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Leechael
approved these changes
May 6, 2026
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.
Summary
Adds 9 task-focused skill markdowns under `skills/usecase/` that AI coding agents (Claude Code, Cursor, Codex) fetch to scaffold Phala Cloud projects end-to-end. Builds on the foundational `skills/phala-cli/SKILL.md` (CLI reference).
All commands validated against live `phala` CLI v1.1.9 + live API (`cloud-api.phala.com/api/v1/attestations/verify` returned `verified: true` with matching `mr_config` ↔ `compose_hash` against a real running CVM).
Skills
Folder layout
```
skills/
├── phala-cli/ ← existing CLI reference (SKILL.md)
│ ├── SKILL.md
│ └── references/
└── usecase/ ← new: task-focused recipes (9 files)
├── agent-deploy.md
├── gpu-vllm-deploy.md
├── inference-call.md
├── training-run.md
├── data-coanalysis.md
├── gpu-tee-custom.md
├── dstack-self-host.md
├── cloud-migration.md
└── verify-attestation.md
```
The use-case skills cross-reference `../phala-cli/SKILL.md` for foundational steps (install, login, debug, SSH).
Use case
Marketing pages on `phala.com` will embed 2-line "vibe-code" prompts pointing at the raw URLs:
```
Set up a confidential AI agent on Phala Cloud.
Fetch https://raw.githubusercontent.com/Phala-Network/phala-cloud/main/skills/usecase/agent-deploy.md
and follow the steps. Confirm with `phala cvms attestation `.
```
The user pastes this into their AI coding agent, which fetches the skill and walks through scaffolding + deploy + verification.
Format
Each skill matches the existing `SKILL.md` convention:
Test plan
🤖 Generated with Claude Code