create-cluster
Skill3 starsChanged 6 months agoMITView on GitHub
Creates a single cluster on the Intility Developer Platform for an external user. Use when the user asks to "create a cluster", "get me a cluster", "set up a cluster", or is being routed here by the getting-started skill. Creates ONE cluster with sensible defaults unless the user explicitly asks for more, since this plugin assumes a many-apps-on-one-cluster model.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cluster-loginSkill
- deploy-appSkill
- expose-appSkill
- getting-startedSkill
- otel-operatorSkill
- prepare-appSkill
- statusSkill
- update-imageSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
If there is already at least one cluster, do not create another.
- Distinctive: line 59
If it errors, run:
- Distinctive: line 69
Ask for a name only — no preset, no node count, no autoscaling questions.
- Very specific: line 81
Use the safe, cheap defaults — minimal preset, 2 fixed nodes.
- Very specific: line 104
If it's been more than 15 minutes and still In Deployment, stop polling and ask the user to reach out to the Developer Platform Admins via …
- Distinctive: line 116
Do not ask about, recommend, or mention:
- Distinctive: line 123
If the user explicitly asks for any of these, answer briefly and point at the portal at https://developers.intility.com — don't try to do …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Cluster
Goal
Get the user one working cluster. Defaults that "just work" beat configurability. Don't pile on questions.
If indev returns "Unauthorized" mid-flow
The indev token has expired. Don't retry the failing command. Run indev login, then resume from where you stopped.
Step 1 — Already have a cluster?
indev cluster list
oc whoami --show-server 2>/dev/nullIf there is already at least one cluster, do not create another. Show what's there and ask:
Q: "You already have a cluster (<name>). Use that one?"
Options:
- "Yes, use it" → hand off to the cluster-login skill
- "No, I really need another" → continueAlso check oc whoami --show-server — clusters provisioned by platform admins or a colleague won't appear in this user's indev cluster list, but a working kubeconfig means a cluster exists. If indev cluster list is empty but oc whoami --show-server returns a server, ask:
Q: "You're already connected to a cluster (<server> — maybe set up by someone else?). Use that instead of creating a new one?"
Options:
- "Yes, use it" — stop here; they're already logged in, continue the journey on that cluster
- "No, create my own" → continueThis plugin assumes one cluster, many apps in their own namespaces. Only create a second cluster if the user is sure.
Step 2 — Authenticate
indev account showIf it errors, run:
indev loginThis opens a browser. Wait for them to finish, then re-run indev account show to confirm.
Step 3 — Pick a name
Ask for a name only — no preset, no node count, no autoscaling questions. Defaults handle those.
Q: "What do you want to call your cluster?"
Options:
- Other (free text — e.g. 'myapp', 'team-acme', 'sandbox')Suggestions for naming: lowercase, no spaces, short and descriptive. The platform appends a random suffix automatically (e.g. myapp-a3k9x2), so the name doesn't need to be globally unique.
Step 4 — Create it
Use the safe, cheap defaults — minimal preset, 2 fixed nodes. The user can grow later via the platform portal.
indev cluster create --name <name> --preset minimal --nodes 2Capture the full name from the output (with the random suffix). You will need it for every later command.
Tell the user one sentence: "Creating your cluster — this takes 5–10 minutes."
Step 5 — Wait for Ready
Poll status. Don't spam — once every 30 seconds is plenty.
indev cluster status <full-cluster-name>States:
In Deployment— keep waitingReady— done, move onNot Ready— runindev cluster get <full-cluster-name>and show the user the message
If it's been more than 15 minutes and still In Deployment, stop polling and ask the user to reach out to the Developer Platform Admins via their collaboration channel (samhandlingskanal) with the cluster name.
Step 6 — Hand off
Once Ready, tell the user briefly and invoke the cluster-login skill next:
Cluster '<full-cluster-name>' is ready. Logging you in now.What to skip
Do not ask about, recommend, or mention:
- Zones (Zone 2 is the default for this plugin's audience)
- Presets beyond
minimal(they can resize via the portal later) - Autoscaling (off by default; production-ready discussions are not why they're here)
- Multiple environments (no dev/staging/prod talk — one cluster is the model)
- Team setup, RBAC, quotas
If the user explicitly asks for any of these, answer briefly and point at the portal at https://developers.intility.com — don't try to do it here.
Quick reference
indev cluster create --name <name> --preset minimal --nodes 2
indev cluster status <full-name>
indev cluster get <full-name>
indev cluster listExamples
See references/usage-examples.md for typical conversations (first cluster, already-have-one, not-logged-in, stuck provisioning).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

