Skip to content

Instantly share code, notes, and snippets.

View nidhi-singh02's full-sized avatar
🏠
Working from home

Nidhi Singh nidhi-singh02

🏠
Working from home
View GitHub Profile
@nidhi-singh02
nidhi-singh02 / qwen4-max-claude-code.zsh
Created November 18, 2026 10:13
Run Qwen 4 Max inside Claude Code via OpenRouter (~/.zshrc setup)
# Run Qwen 4 Max inside Claude Code via OpenRouter
# From the video "Qwen 4 Max: I made it edit my video (setup + honest take)"
#
# 1. Create an OpenRouter API key (openrouter.ai β†’ Workspaces β†’ Keys β†’ New key; set a credit limit)
# 2. Paste this at the end of ~/.zshrc (macOS) and put your key in
# 3. Run: source ~/.zshrc
# 4. Start it with: claude-qwen (plain `claude` stays on your normal setup)
# Use /effort to switch reasoning: low β†’ low, medium/high β†’ high, xhigh/max β†’ extra high
claude-qwen() ( # ( ) = subshell: these vars only apply to this run
@nidhi-singh02
nidhi-singh02 / codex-cu-setup-prompt.md
Created October 12, 2026 09:39
Prompt: set up Codex computer use as a Claude Code MCP server (codex-cu)

Set up Codex's computer use as a user MCP server named "codex-cu".

  1. Make sure the ChatGPT app is running. Then list ~/.codex/plugins/cache/openai-bundled/unified-computer-use/ and pick the NEWEST version directory by version number.
  2. Read that version's .mcp.json and find the "cua_repl" entry. If its command is a bare "node" with empty args, it is a stub: stop and tell me.
  3. Register it with claude mcp add --scope user codex-cu, using that entry's exact command, args and every key in its "env" block as -e flags. Replace any existing codex-cu entry first. Do not substitute node_repl or any other binary.
@nidhi-singh02
nidhi-singh02 / motion-video-prompt.md
Created October 3, 2026 11:59
Motion video prompt β€” make a launch video with Claude Code / Cursor + HyperFrames

Motion video prompt

The exact prompt I used to make my agent-router launch video, plus a reusable template so you can make your own.

Works with Claude Code or Cursor. It uses HyperFrames / Remotion to render.

1. Setup (once)

install remotion and hyperframes at user level
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"lmstudio": {
"name": "LM Studio",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://127.0.0.1:1234/v1"
},
"models": {
@nidhi-singh02
nidhi-singh02 / models.json
Created June 10, 2026 12:10
models.json file for pi agent
{
"providers": {
"lmstudio": {
"baseUrl": "http://localhost:1234/v1",
"api": "openai-completions",
"apiKey": "apikey",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false
},