wisdomgraph/mega-code/login
Claude Code and agent skill by wisdomgraph/mega-code
- community
Checking that the SKILL.md file is still in the repository.
Sign in to MEGA-Code via GitHub or Google OAuth to get an API key.
Install
npx vskill@latest install wisdomgraph/mega-code/loginSKILL.md
Login to MEGA-Code
Authenticate with MEGA-Code to obtain an API key using a two-step OAuth flow.
Setup
Step 1: Create session (fast, non-blocking)
Add --provider github for GitHub OAuth instead of Google. Add --url URL to specify the server (default: https://console.megacode.ai).
Returns a JSON object to stdout:
On error, the JSON has an error field instead.
After getting the JSON:
- Parse the output as JSON
- Show
login_urlto the user — tell them to open it in their browser - Save
client_idandbase_urlfor Step 2
Step 2: Poll for completion (run in background)
Replace CLIENT_ID and BASE_URL with values from Step 1. Run this in the background so the user is not blocked.
On success, saves to ~/.local/share/mega-code/.env (stable, version-independent):
MEGA_CODE_API_KEY,MEGA_CODE_CLIENT_MODE=remote,MEGA_CODE_SERVER_URL- Prints "Login successful!" and exits
Polls every 3s, times out after 10 minutes.
Verify
Credentials are stored in the stable data directory, not the versioned plugin dir. Do not print the raw API key — mask it.
Troubleshooting
- Timeout: Session expires after 10 min. Re-run the command.
- Connection error: Check
MEGA_CODE_SERVER_URLin~/.local/share/mega-code/.env. - Already logged in: Running login again replaces the existing key.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/login/SKILL.md
Popularity
- Repository stars
- 47
- Repository forks
- 3
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wisdomgraph/mega-code/login)