Load Context
Agent Buildingload-contextLoad Context is an Agent Skill for agent building published in the griddynamics/rosetta repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
To load the most current project context; MUST during prep.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/griddynamics/rosetta/blob/HEAD/instructions/r2/core/skills/load-context/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/load-context, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Mode detection:
- If
RUNNING AS A PLUGINis in context → Plugin mode - Else if
get_context_instructionstool is available → MCP mode - Else → Adhoc mode
Plugin mode:
- Bootstrap rules are loaded via startup hook — do NOT assume prep steps are done
- Create todo tasks (search/discover the tool if needed)
- Locate and execute ALL prep steps defined in the loaded bootstrap rules in full
- DO NOT proceed to any action until all prep steps are confirmed complete
- Identify and load the most matching workflow — a must if you are not subagent
- Create and update all todo tasks per workflow
MCP mode:
- Call
get_context_instructions(blocking gate — do not proceed until complete) - If output truncated and file path provided — read entire file, preview is NOT enough
- Create todo tasks (search/discover the tool if needed)
- Execute ALL prep steps returned — no skipping, no partial execution
- DO NOT proceed to any action until all prep steps are confirmed complete
- Identify and load the most matching workflow — a must if you are not subagent
- Create and update all todo tasks per workflow
Adhoc mode:
- Read
docs/CONTEXT.mdanddocs/ARCHITECTURE.mdin full - List
docs/*.mdand workspace root*.mdfiles to gather context
All modes:
- Treat context loading as a hard blocking gate, not a background task
- Explicitly confirm all prep steps complete before responding, planning, or executing anything
- If anything fails or is unclear — stop and ask user