This is a submission for the GitHub Copilot CLI Challenge
I Built a Context-Aware AI Browser Mentor Powered by GitHub Copilot CLI
What if GitHub Copilot CLI could see what you see, understand your context, and help you without breaking your workflow?
That question led me to build DevMentorAI โ a browser extension that transforms Copilot CLI into a real-time AI mentor inside your browser.
Built entirely with GitHub Copilot CLI โ from extension to backend to landing page to release workflows.
๐ง What I Built
DevMentorAI is a context-aware AI assistant that lives inside your browser and understands:
- What page you're on
- What text you've selected
- What you're trying to write
- What you're troubleshooting
- What you want to improve
Instead of copying context into prompts, DevMentorAI sends context automatically to Copilot CLI.
โจ Core capabilities
- ๐ Context capture from the current page
- ๐ธ Screenshot understanding
- โ๏ธ Grammar correction & rewriting
- ๐ Replace text directly inside inputs (emails, chats, forms)
- ๐ Works for development, DevOps, writing, learning, and more
No framework lock-in. No domain restriction. Just AI assistance anywhere.
๐ฅ Demo
๐ Project Links
Landing page
https://devmentorai.edwardiaz.dev/Installation Guide
https://devmentorai.edwardiaz.dev/installationGitHub Repository
https://github.com/BOTOOM/devmentoraiBackend NPX Package
https://www.npmjs.com/package/devmentorai-serverExtension Downloads
https://github.com/BOTOOM/devmentorai/releases
โถ๏ธ Full Walkthrough
๐บ Video:
.
โก Feature Highlights
Context-aware assistance
Grammar correction replacing text directly in inputs
Installation from zero using NPX backend
๐ How It Works
- Extension captures page context + optional screenshot
- Sends to local backend
- Backend communicates with Copilot CLI
- AI response returned
- Optional direct replacement into page inputs
This creates a seamless AI workflow without leaving the browser.
๐ Privacy & Security
DevMentorAI runs locally and respects user control:
- No credentials required
- Uses your Copilot CLI session
- Backend runs locally via NPX
- Users control what context is shared
๐ค My Experience with GitHub Copilot CLI
Using GitHub Copilot CLI was both enriching and fun. I discovered capabilities far beyond what I previously experienced using Copilot inside editors.
I started with little experience using Copilot CLI, but by following the official documentation and experimenting with slash commands, I learned how to:
- Create custom agents
- Implement skills (including WXT extension knowledge)
- Use advanced TypeScript skills
- Plan and execute complex builds through the CLI
One of the most impressive features was agent-based planning mode. Copilot could:
- Plan the entire feature
- Execute it
- Iterate quickly
All from the terminal โ lightweight and extremely fast.
๐ What surprised me most
-
Copilot CLI enabled building an entire full-stack project:
- Browser extension
- Backend server
- Landing page
- Release workflows
- NPX package
The planning file memory system was incredibly powerful.
๐งช Workflow I Discovered
As sessions grew large, context sometimes became less effective. I learned to:
- Start a new session per major feature
- Refine functionality within that session
- Commit once complete
This dramatically improved results.
๐ Problem Solving with Copilot
Occasionally, Copilot would get stuck in a loop trying the same solution. When that happened, guiding it to consider alternative perspectives helped it resolve issues successfully.
๐ฏ Why This Matters
DevMentorAI demonstrates a new paradigm:
AI assistance that adapts to your context instead of forcing you to adapt to it.
GitHub Copilot CLI made this possible.
๐ค Author
Edwar Diaz
DEV: @botoom
GitHub: https://github.com/BOTOOM



Top comments (0)