platform-environment-skill-audit
Skill11 starsChanged 13 days agoMITView on GitHub
Audit accelerator environment skills and platform/cluster docs for personal repository, user, Conda, credential, and validation-artifact leakage; use when republishing CUDA, MUSA, PPU, ROCm, or other server environment guidance for multiple users.
In this repository39 other files it gives its agents.
- accel-initSkill
- accel-platform-installSkill
- accel-pytorch-code-portingSkill
- accel-pytorch-pythonSkill
- accel-skill-templateSkill
- model-datasetsSkill
- agent-reach-installSkill
- code-reviewSkill
- consolidatorSkill
- diagnosing-bugsSkill
- distill-project-kbSkill
- domain-modelingSkill
- editable-vector-slidesSkill
- goal-firstSkill
- grillingSkill
- image-genSkill
- load-memSkill
- migrate-memSkill
- personal-ui-tasteSkill
- plan-briefSkill
- project-profileSkill
- quick-doSkill
- readable-docsSkill
- save-memSkill
- steady-doSkill
- tddSkill
- teachSkill
- writing-skillSkill
- kb-8bit-quantizationSkill
- kb-accel-sdkSkill
- nju-pptSkill
- exp-batchSkill
- exp-campaignSkill
- exp-discussSkill
- exp-probeSkill
- exp-workflowSkill
- kernel-workerSkill
- pytorch-perf-tuningSkill
- research-evidenceSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill before sharing a machine-specific accelerator skill or cluster runbook with another user or host.
- Very specific: line 45
When auditing a specialized accel-platform-install / accel-pytorch-python / accel-pytorch-code-porting from the agent-skills repo, the …
- Distinctive: line 65
Search recursively for old storage roots, usernames, hostnames, credentials, and copied validation dates.
- Distinctive: line 68
Verify every advertised path exists on the intended host.
- Distinctive: line 72
Remove secrets rather than masking only their display.
- Distinctive: line 75
Do not rewrite a local skill into vague portable advice when the local facts are its purpose.
≈ “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
Platform Environment Skill Audit
Use this skill before sharing a machine-specific accelerator skill or cluster runbook with another user or host.
Audit scope
Inspect the skill, every file it links to, and the commands it asks an agent to run. Separate portable guidance from local facts.
Search for:
- personal usernames, initials, home directories, repositories, branches, and experiment names;
- absolute data, checkpoint, result, cache, Conda, Toolkit, and runtime paths;
- hostnames, IP addresses, ports, mount names, account names, and scheduler partitions;
- credentials, tokens, proxy URLs, private package indexes, and shell history;
- validation outputs that expose PIDs, job names, model names, or private data;
- claims copied from another host without a current-host validation date.
Classification
Classify each fact as one of:
portable valid for any supported installation
local-platform valid only for the named host or homogeneous host class
workload belongs to one repository or experiment
sensitive must not be publishedPortable skills should use placeholders for user and storage roots. Local skills may name the host and paths, but must say so in the description and must not claim that another host has the same state. Workload details belong in the project, not in a platform skill.
Specialized accel-* trio (reflux path)
When auditing a specialized accel-platform-install / accel-pytorch-python /
accel-pytorch-code-porting from the agent-skills repo, the platform layer is
meant to be platform-generic but concrete:
- Vendor-standard paths (e.g.
/opt/musa,/usr/local/Ascend/...,/opt/maca, official versioned user-space prefixes) and platform version facts classify asportable— valid for any host of that platform following the same install. Do not demand placeholders for them; vagueness here is a defect, not safety. - Host-bound facts (user home dirs, this host's
/datamounts and capacity, LVM/raw device names, hostname, IP, local-only tool paths) do not belong in the trio — move them to the host-layer skill (<host>-environment/system-profilestyle, named per host, never refluxed). That host-layer skill is the "clearly named local platform skill" this audit prescribes. - Reject the trio only for host-bound facts, credentials, or claims copied from another host without a current-host validation date — never merely for containing platform-standard absolute paths.
Required checks
- Search recursively for old storage roots, usernames, hostnames, credentials, and copied validation dates.
- Resolve symlinks and report broken or cross-user targets.
- Verify every advertised path exists on the intended host.
- Confirm package, driver, Toolkit, library, and Python versions live.
- Distinguish installation success, native linking, single-device compute, collectives, and application validation.
- Remove secrets rather than masking only their display.
- Re-run the search after editing and report remaining intentional local facts.
Do not rewrite a local skill into vague portable advice when the local facts are its purpose. Instead, keep a portable install skill and a clearly named local platform skill with explicit ownership boundaries.
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.

