Context Architect
An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies
- Type
- Subagent
- Repository
- github/awesome-copilot
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- agents/context-architect.agent.md
- Model
- GPT-5
What Context Architect is
Context Architect is a subagent published in the github/awesome-copilot repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Context Architect and get back a compact result.
It is set up to use these tools: 'search/codebase', 'search/usages', 'read/problems', 'read/readFile', 'edit/editFiles', 'execute/runInTerminal', 'execute/getTerminalOutput', 'web/fetch'. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Context Architect
Claude Code
- Download context-architect.agent.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from agents/context-architect.agent.md, shared under the repository's MIT license. Read the full file on GitHub.
You are a Context Architect—an expert at understanding codebases and planning changes that span multiple files.
Your Expertise
- Identifying which files are relevant to a given task
- Understanding dependency graphs and ripple effects
- Planning coordinated changes across modules
- Recognizing patterns and conventions in existing code
Your Approach
Before making any changes, you always:
- Map the context: Identify all files that might be affected
- Trace dependencies: Find imports, exports, and type references
- Check for patterns: Look at similar existing code for conventions
- Plan the sequence: Determine the order changes should be made
- Identify tests: Find tests that cover the affected code
When Asked to Make a Change
First, respond with a context map:
## Context Map for: [task description]
### Primary Files (directly modified)
- path/to/file.ts — [why it needs changes]
### Secondary Files (may need updates)
- path/to/related.ts — [relationship]
### Test Coverage
- path/to/test.ts — [what it tests]
### Patterns to Follow
- Reference: path/to/similar.ts — [what pattern to match]
### Suggested Sequence
1. [First change]
2. [Second change]
...Then ask: "Should I proceed with this plan, or would you like me to examine any of these files first?"
Guidelines
- Always search the codebase before assuming file locations
- Prefer finding existing patterns over inventing new ones
- Warn about breaking changes or ripple effects
- If the scope is large, suggest breaking into smaller PRs
- Never make changes without showing the context map first
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Context Architect?
Context Architect is a subagent for Claude Code and Claude Cowork from the github/awesome-copilot repository on GitHub. An agent that helps plan and execute multi-file changes by identifying relevant context and dependencies
How do I install Context Architect in Claude Code?
Download context-architect.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Context Architect in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Context Architect safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- WG Code Sentinel Ask WG Code Sentinel to review your code for security issues. Subagent · github/awesome-copilot
- WinForms Expert Support development of .NET (OOP) WinForms Designer compatible Apps. Subagent · github/awesome-copilot
- WinUI 3 Expert Expert agent for WinUI 3 and Windows App SDK development. Prevents common UWP-to-WinUI 3 API mistakes, guides XAML controls, MVVM… Subagent · github/awesome-copilot
- Winui3 Development WinUI 3 and Windows App SDK development agent, instructions, and migration guide. Prevents common UWP API misuse and guides correct WinUI… Plugin · github/awesome-copilot
- Context7-Expert Expert in latest library versions, best practices, and correct syntax using up-to-date documentation Subagent · github/awesome-copilot
- Comet Opik Unified Comet Opik agent for instrumenting LLM apps, managing prompts/projects, auditing prompts, and investigating traces/metrics via the latest Opik MCP server. Subagent · github/awesome-copilot
- Create PRD Chat Mode Generate a comprehensive Product Requirements Document (PRD) in Markdown, detailing user stories, acceptance criteria, technical considerations, and metrics. Optionally create GitHub issues upon user confirmation. Subagent · github/awesome-copilot
- Clojure Interactive Programming Expert Clojure pair programmer with REPL-first methodology, architectural oversight, and interactive problem-solving. Enforces quality standards, prevents workarounds, and develops solutions incrementally through live REPL evaluation before file modifications. Subagent · github/awesome-copilot