Use this skill when you need to initialize a fresh, local project directory for
ecological modeling workflows (such as bioacoustics or camera trap analysis)
without cloning the entire agentic_ecology repository into the user's project
workspace.
Workflow Overview
Follow these sequential steps to set up the local workspace:
- Identify Target Working Directory:
- Confirm the root directory of the user's project workspace.
- Initialize Project & Scaffolding:
- Ensure the target project directory exists.
- Run
uv init --python 3.12 --no-readme && rm main.pyin the project directory if it has not already been initialized. This pins.python-versionto 3.12, generates.gitignore, initializes version control tracking, and removes the placeholder entrypoint. - Install the following skills locally with
npx skills add:google-deepmind/agentic_ecology(all skills).googlecolab/google-colab-cli(colab-operatorskill).googleworkspace/cli(gws-sharedandgws-drive-uploadskills).google/skills(gcloud,google-cloud-storage-basics,google-cloud-storage-bucket-architect,google-cloud-storage-fuse, andcloud-logging-query-generationskills).
- Create standard working subdirectories:
agent_workspace/: Sandboxed folder for agent scripts, server.databases/: Destination folder for Hoplite vector databases.data/: Destination folder for raw datasets (e.g., audio, images).
- Copy Reference Dependency Configurations:
- Overwrite the generated
pyproject.tomland copyuv.lockfrom this skill'sassets/directory into the target project root. - Adjust the package name in
pyproject.tomlto match the user's project name if desired, keeping all core dependencies (perch-hoplite,speciesnet), constraints, and build configurations intact.
- Overwrite the generated
- Install Workspace Rules (
AGENTS.md):- Copy the reference
AGENTS.mdfrom this skill'sassets/directory into the appropriate location in the project workspace to establish standard Agentic Ecology guidelines (compute assessment and offloading protocols, macOS dynamic library deadlock rules, Linux PyTorch/TensorFlow import order rules, SQL log suppression filters, and rules prohibiting Google copyright headers on generated workspace code).
- Copy the reference
- Synchronize Environment with
uv:- Execute
uv syncfrom the target project root to create the local virtual environment (.venv) and install all pinned dependencies.
- Execute
- Verify Environment Setup:
- Execute the verification script
scripts/verify_env.pyviauv run pythonto confirm that key libraries (perch_hoplite,speciesnet,soundfile,tensorflow) import cleanly.
- Execute the verification script
Technical Reference
For detailed command options, directory layout specifications, and verification code snippets, see: