Skip to content

Instantly share code, notes, and snippets.

@ERICJ3ffrey
ERICJ3ffrey / pi_agent.md
Last active May 20, 2026 09:13
Setting Up PI Agent with OpenRouter

This the clean setup of Pi on OpenRouter by default

0) Install Pi

npm install -g @mariozechner/pi-coding-agent

Check that it installed:

type workflow
status active
trigger /pdf-to-rag
last_verified 2026-03-12
tags
workflow
rag
pdf
docling
obsidian
copilot
knowledge-base

Workflow — /pdf-to-rag

# Obsidian Terminal Plugin Troubleshooting Guide
If you are running Claude Code on Windows using Git Bash (MINGW64) inside Obsidian and running into issues, here are the two most common problems and how to quickly resolve them.
---
## Issue 1: The Terminal UI Looks Broken or Garbled
**The Problem:**
When you open Claude Code, the text is misaligned, lines wrap in weird ways, and the interface looks completely scrambled. This happens because Git Bash doesn't automatically tell the terminal how wide or tall it is, so Claude Code gets confused about where to place the text.