cloudai-workload-contribution
Skill103 starsChanged 58 days agoApache-2.0View on GitHub
Create, modify, or review CloudAI workload implementations. Use for workload Python code, not for TOML-only configuration changes.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cloudai-config-contributionSkill
- cloudai-docs-contributionSkill
- cloudai-remote-experimentSkill
- cloudai-remote-installSkill
- pr-managementSkill
- security-assessmentSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Don't produce too many unit-tests covering a small feature.
- Very specific: line 35
Prefer maintaining end-to-end tests (tests/test_acceptance.py).
- Distinctive: line 39
If a workload may result in diverse execution shapes (number of processes and their orchestration), then prepare that many test cases (not …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
This skill is a set of guidelines when working on workloads implementation
Implementation guidelines
- User configs are trusted data. Don't over-validate test definitions
- The workload implementation is intended to be pass-through, which means that CloudAI:
- defines benchmark shape (processes, installables, etc.)
- translates TOML test config into workload interface submission so that user can use the workload fully
- doesn't (re-)define underlying workload parameters unless required for workload submission and clean code
CloudAI cannot support every possible cluster-specific hardware/software setup in terms of benchmark startup/finalization. Prefer generic solutions instead of specific technologies support in the workloads implementation. The generic solutions are:
- container mounts
- installables
- pre/post-srun scripts (custom per workload; some workloads already support it)
- pre/post-tests for heavy lifting hooks that need an srun
- Fetching workloads sources to understand how to use them. Use
results/vendor-srcfolder for it. When working under a worktree, re-use this folder from the main repo checkout. Be aware of the checkout version. Have a single checkout for one code source (switch checkouts) - Make the most of parent CloudAI command generation classes so that the workload supports all the builtin features,
like single-sbatch, sbatch directives, pre/post-test hooks, DSE/CloudAIGym. When it's too complicated to support one
- do not (80-20 rule)
Testing guidelines
- Don't produce too many unit-tests covering a small feature. More tests != better
- Prefer maintaining end-to-end tests (tests/test_acceptance.py). Cover distinct behavior and compatibility risks; avoid redundant cases rather than limiting the number of tests
- Existing workload TOML configs from
conf/must stay supported. One may extend them with new features; add scenario test cases for the new behavior and affected compatibility paths - If a workload may result in diverse execution shapes (number of processes and their orchestration), then prepare that many test cases (not scenarios)
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.

