agentleFS
Mr-Fang-VLSIMr-Fang-VLSI/EDAgent/skills/conda-project-environment-manager/SKILL.md

conda-project-environment-manager

Skill8 starsChanged 7 months agoMITView on GitHub

Manage and standardize project conda environment usage as an auxiliary utility skill, including env discovery, package availability checks, explicit env selection, and reproducible `conda run -n ...` integration for scripts and workflows.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the repo needs one stable helper for managing Python/conda environments across scripts, research utilities, and …

    line 8
  2. Distinctive:

    Use this skill when:

    line 12
  3. Very specific:

    call scripts through conda run -n <env> ...

    line 39
  4. Distinctive:

    update the snapshot when environments change materially.

    line 40
  5. Distinctive:

    Do not rely on accidental shell activation as the default reproducibility mechanism.

    line 52
  6. Very specific:

    Prefer explicit conda run -n <env> when a script depends on non-system packages.

    line 53
  7. Distinctive:

    Keep the number of project-preferred envs small.

    line 54
  8. Very specific:

    Use scripts/common/conda_project_env_report.py to generate the canonical snapshot before recommending a new env binding.

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Conda Project Environment Manager

Use this skill when the repo needs one stable helper for managing Python/conda environments across scripts, research utilities, and infrastructure workflows.

When to use

Use this skill when:

  1. the project needs to know which conda installations and envs are available,
  2. a workflow needs a reproducible env choice for scripts such as model fitting, PDF processing, or slide generation,
  3. packages are missing from the default shell Python and the project should standardize conda run -n ... instead of ad hoc shell state,
  4. multiple conda roots (miniconda, anaconda) coexist and env provenance is becoming confusing,
  5. env drift, missing packages, or conflicting Python roots are blocking project work.

Scope boundary

This skill owns:

  • project-level conda env discovery and reporting,
  • explicit env-selection guidance for scripts and workflows,
  • package-availability checks for target envs,
  • environment snapshot artifacts for later maintenance or debugging,
  • minimal reproducibility guidance for conda run -n ... use in this repo.

It does not own:

  • workflow routing or workflow ownership,
  • domain experiment conclusions,
  • arbitrary package installation policy for unrelated user machines,
  • replacing system package managers outside project needs.

Preferred usage pattern

  1. discover conda roots and envs,
  2. record package availability in a snapshot artifact,
  3. choose one explicit env per workflow/tool family,
  4. call scripts through conda run -n <env> ... when reproducibility matters,
  5. update the snapshot when environments change materially.

Expected outputs

Typical outputs include:

  1. *.envs.tsv
  2. *.summary.md
  3. a short recommendation on which env should back which script family
  4. maintenance-log or KB refresh only when the environment contract changes materially

Hard rules

  1. Do not rely on accidental shell activation as the default reproducibility mechanism.
  2. Prefer explicit conda run -n <env> when a script depends on non-system packages.
  3. Keep the number of project-preferred envs small; do not create a new env for every one-off task.
  4. Record when both miniconda and anaconda roots coexist so future users do not guess which one is active.

Operational references

  1. Load references/background-knowledge-links.md for the current environment topology and project conventions.
  2. Load references/update-mechanism.md when environment structure or preferred env ownership changes.
  3. Use scripts/common/conda_project_env_report.py to generate the canonical snapshot before recommending a new env binding.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.