environment-discovery
Skill2 starsChanged 2 months agoMITView on GitHub
Systematic exploration of unknown environments before starting work
In this repository30 other files it gives its agents.
- agents-mdSkill
- agent-workflow-engineeringSkill
- analyze-architectureSkill
- architecture-auditSkill
- ask-mattSkill
- check-readinessSkill
- ci-cd-and-automationSkill
- codebase-contextSkill
- decision-memorySkill
- delegation-protocolSkill
- dependency-analysisSkill
- diagnosing-bugsSkill
- dispatching-parallel-agentsSkill
- documentation-maintenanceSkill
- engineering-closeoutSkill
- github-pr-workflowSkill
- implementSkill
- interview-meSkill
- parallel-feature-developmentSkill
- planning-and-task-breakdownSkill
- project-contextSkill
- project-retrospectiveSkill
- release-managementSkill
- requesting-code-reviewSkill
- solution-architectureSkill
- subagent-driven-developmentSkill
- synthesize-project-contextSkill
- task-intakeSkill
- workflow-definitionSkill
- workflow-runnerSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When dropped into an unfamiliar environment, ALWAYS explore before acting.
- Distinctive: line 25
Before writing any code that reads data, understand the format:
- Distinctive: line 47
If there are existing source files:
- Distinctive: line 48
Read them FULLY before modifying
- Distinctive: line 50
Check for existing tests
- Distinctive: line 54
NEVER assume file formats — always inspect first
- Distinctive: line 55
NEVER assume tools are installed — always check
≈ “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
Environment Discovery
When dropped into an unfamiliar environment, ALWAYS explore before acting.
Step 1: Understand the workspace
ls -la /app/ # or the working directory
find . -type f | head -50- What files exist? What are their sizes?
- Are there READMEs, Makefiles, config files?
- What languages/frameworks are involved?
Step 2: Inspect data files
Before writing any code that reads data, understand the format:
file <filename>— detect file type (binary, text, encoding)head -20 <file>— first lines of text filesxxd <file> | head -20— hex dump for binary fileswc -l <file>— line count for text filesstat <file>— exact file size in bytespython3 -c "import struct; ..."— parse binary headers
Step 3: Check available tools
which python3 gcc g++ make cmake node npm cargo rustc java go
pip list 2>/dev/null | head -20- What compilers/interpreters are installed?
- What libraries are available?
- What package managers can you use?
Step 4: Read existing code
If there are existing source files:
- Read them FULLY before modifying
- Understand the build system (Makefile, CMakeLists.txt, pyproject.toml)
- Check for existing tests
Key Principles
- NEVER assume file formats — always inspect first
- NEVER assume tools are installed — always check
- A 500MB file is NOT a "small file" — plan for it
- Binary files need byte-level inspection, not
cat - Spend 30 seconds exploring to save 5 minutes debugging
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.

