agentsclimarketplace

Repository cloning and structure navigation

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/repository-cloning-and-structure-navigation

Use when when starting a fresh ENPKG installation, you have a GitHub URL (e.g., https://github.com/enpkg/enpkg_full or https://github.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill repository-cloning-and-structure-navigation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

9.1 KB, ~1.7k tokens by cl100k_base, as published. Nobody here has run it

Repository Cloning and Structure Navigation

License: restricted — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution. <!-- asb-license-banner -->

Summary

Clone a distributed ENPKG workflow repository from GitHub and navigate its modular structure to identify component repositories, configuration files, and workflow entry points. This is the foundational step for setting up the ENPKG natural products knowledge graph pipeline.

When to use

When starting a fresh ENPKG installation, you have a GitHub URL (e.g., https://github.com/enpkg/enpkg_full or https://github.com/enpkg/enpkg_workflow) and need to understand the repository's directory layout, locate the main workflow orchestrator script, identify per-sample processing components, and find configuration parameters (especially user.yml and .env template files). Use this skill before attempting dependency installation or workflow execution.

When NOT to use

  • You have already cloned and inspected the repository in a previous session and are only updating dependencies or re-running a cached workflow.
  • The workflow is being installed via package manager (conda-forge, pip wheel) rather than from source — dependency resolution should use package metadata, not README repository links.
  • You are working with a pre-built Docker image or containerized deployment — the repository structure is immutable and this skill is redundant.

Inputs

Outputs

  • Local repository directory tree (on disk)
  • Identified workflow orchestrator script path
  • List of modular component repositories and their URLs
  • Configuration file locations (user.yml, .env.example)
  • Dependency manifest file paths (pyproject.toml, uv.lock, requirements.txt, or environment.yml)

How to apply

Begin by cloning the target repository using git clone and navigate to the root directory. Examine the repository structure to identify: (1) workflow orchestrator scripts (e.g., 00_workflow_all.sh in enpkg_full), (2) modular sub-components documented in the README that link to separate repositories (enpkg_data_organization, enpkg_taxo_enhancer, enpkg_mn_isdb_taxo, enpkg_sirius_canopus, enpkg_meta_analysis, enpkg_graph_builder), (3) parameter configuration files (params/user.yml), (4) environment setup files (.env.example), and (5) dependency specifications (uv.lock or pyproject.toml for modern environments, or requirements.txt/environment.yml for conda-based setups). Verify that the cloned repository matches the documented architecture by cross-referencing the README's step descriptions with actual directories and scripts present. This navigation establishes the cognitive map needed for subsequent installation and execution steps.

Related tools

Examples

git clone https://github.com/enpkg/enpkg_full.git && cd enpkg_full && ls -la && cat README.md | head -50

Evaluation signals

  • Verify the cloned directory contains the expected root files: README.md, .gitignore, and pyproject.toml (or uv.lock) or environment.yml, confirming the clone completed without truncation.
  • Confirm the workflow orchestrator script exists and is executable: ls -la workflow/00_workflow_all.sh should return a file with execute permissions.
  • Check that the README's documented step repositories are either present as git submodules or correctly linked as external URLs, ensuring the modular architecture is intact.
  • Verify configuration templates exist: test -f params/user.yml && test -f .env.example should return true, indicating configuration scaffolding is in place.
  • Cross-reference the repository's README 'Prerequisites' section against the presence of dependency manifests (pyproject.toml or environment.yml) to confirm the stated dependency system (uv, conda, or pip) is properly declared.

Limitations

  • Repository structure may change across versions; clone a specific tagged release (e.g., git clone --branch v1.0.0) if reproducibility is critical.
  • Modular components are linked as external repositories; cloning enpkg_full does not automatically fetch all sub-components—users must manually clone each or use git submodules if configured.
  • The README references a test dataset on Zenodo (https://doi.org/10.5281/zenodo.10018590); this dataset must be downloaded separately and is not included in the repository clone.
  • Environment setup requires external tools (Git, Anaconda/Miniconda, or uv) to be pre-installed; cloning alone does not verify these prerequisites.

Evidence


Navigate to the newly created folder: ```bash
cd enpkg_full
```: "First, clone the repository to your local machine: ```bash
git clone https://github.com/enpkg/enpkg_full.git
``` Navigate to the newly created folder: ```bash
cd enpkg_full
```"
- [readme] The different steps are described below, with the link to the corresponding repository to perform the analysis: "The different steps are described below, with the link to the corresponding repository to perform the analysis"
- [readme] This guide will walk you through the installation, setup, and execution of the ENPKG full workflow.: "This guide will walk you through the installation, setup, and execution of the ENPKG full workflow."
- [readme] You will need to edit the following parameters files: - Parameters at [user.yaml](https://github.com/enpkg/enpkg_full/blob/main/params/user.yml): "You will need to edit the following parameters files: - Parameters at [user.yaml](https://github.com/enpkg/enpkg_full/blob/main/params/user.yml)"
- [readme] Runtime secrets and machine-specific paths (e.g., `PATH_TO_SIRIUS`, `SIRIUS_USERNAME`, `SIRIUS_PASSWORD`) live in a `.env` file that is ignored by git. Configure it as follows: ```bash
cp .env.example .env
```: "Runtime secrets and machine-specific paths (e.g., `PATH_TO_SIRIUS`, `SIRIUS_USERNAME`, `SIRIUS_PASSWORD`) live in a `.env` file that is ignored by git."
- [readme] From the root of the repository, run: ```bash
sh workflow/00_workflow_all.sh
```: "From the root of the repository, run: ```bash
sh workflow/00_workflow_all.sh
```"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.