Detect IDE and model at session start. Adapt triad mode, skill loading, and capability profile. Auto-prime for optimal performance per environment. [EXPLICIT] Trigger: "detect environment", "what IDE", "configure environment", "auto-prime"
From jm-adknpx claudepluginhub javimontano/jm-adk-alfaThis skill is limited to using the following tools:
agents/guardian.mdagents/lead.mdagents/specialist.mdagents/support.mdevals/evals.jsonknowledge/body-of-knowledge.mdknowledge/knowledge-graph.mdprompts/meta.mdprompts/primary.mdprompts/variations/deep.mdprompts/variations/quick.mdtemplates/output.docx.mdtemplates/output.html"Know your battlefield before deploying your troops."
Detects the runtime environment (IDE + model) and adapts Pristino's behavior accordingly. Determines triad mode (full/sequential/checklist/suggestion), skill loading strategy, and context budget. Runs at session start as part of the bootstrap sequence. Full protocol: references/ontology/environment-protocol.md. [EXPLICIT]
references/ontology/environment-protocol.md for the full detection matrixEnvironment detected:
IDE: {ide} | Model: {model} | Tier: {tier}
Triad: {mode} | Tools: {available_tools}
Skills: {count} | Agents: {count}
| Anti-Pattern | Why It's Bad | Do This Instead |
|---|---|---|
| Assuming Claude Code always | May be running in Cursor/Copilot | Detect from instruction file |
| Loading full Index in Light tier | Exhausts context window | Load only active skill |
| Skipping detection | Triad mode wrong for the IDE | Always detect at session start |
| Hardcoding model name | Models change, tiers don't | Detect by capability, not name |
session-protocol — Environment detection is Step 0 of session initcontext-optimization — Context budget depends on detected tiercontinuous-learning — Log environment patterns for optimizationExample invocations:
| Scenario | Handling |
|---|---|
| Empty or minimal input | Request clarification before proceeding |
| Conflicting requirements | Flag conflicts explicitly, propose resolution |
| Out-of-scope request | Redirect to appropriate skill or escalate |
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.