can1357--oh-my-pi
omp — AI coding agent viết bằng Rust (27K lines), hash-anchored edits (-61% output tokens), LSP+debugger tích hợp, 32 tools, 40+ LLM providers. Fork của Pi platform.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 13
- Forks
- 2
01 前言 Front Matter
- name
- can1357--oh-my-pi
- description
- omp — AI coding agent viết bằng Rust (27K lines), hash-anchored edits (-61% output tokens), LSP+debugger tích hợp, 32 tools, 40+ LLM providers. Fork của Pi platform.
- allowed-tools
- Bash, Read, Write
- user-invocable
- true
03 SKILL.md 正文
omp (oh-my-pi): coding agent terminal-first với LSP và debugger wired in — không phải wrapper của IDE, mà là agent hiểu code như IDE hiểu.
Install
# macOS/Linux
curl -fsSL https://omp.sh/install -o /tmp/omp-install.sh
# Inspect first: head -40 /tmp/omp-install.sh — then run if safe:
sh /tmp/omp-install.sh
# Bun
bun install -g @oh-my-pi/pi-coding-agent
# Windows
irm https://omp.sh/install.ps1 | iex
Core Innovation: Hash-Anchored Edits
Thay vì: model rewrite dòng code (nhiều tokens, dễ lỗi whitespace)
omp dùng: content-hash anchors → model CHỈ point tới anchor + thay đổi cần làm
Kết quả: -61% output tokens trên same task
LSP Integration
Rename symbol → omp route qua workspace/willRenameFiles
→ tự động update re-exports, barrel files, aliased imports
→ agent biết mọi thứ IDE biết: go-to-definition, references, diagnostics
Debugger Support
Supports: lldb (C/C++/Rust), dlv (Go), debugpy (Python)
- Attach to segfaulting binaries
- Step through code, inspect frames
- Analyze goroutines in hanging services
32 Tools (8 categories)
File: read, write, edit, ast_edit, search
Runtime: bash, eval, ssh
Code: lsp, debug
Coord: task, irc, todo
External: browser, web_search, github
Memory: retain, recall, reflect
Multi-Provider (40+)
Anthropic, OpenAI, Gemini, xAI Grok, Mistral, Ollama, llama.cpp
Role-based routing:
default → standard turns
smol → cost-effective subagents
slow → deep reasoning
plan → strategic planning
Subagents trong isolated worktrees
// spawn subagent, results là schema-validated objects
const result = await agent.task({
prompt: "analyze this module",
worktree: true // isolated, no merge conflicts
})
Import config tự động
Tự nhận: Cursor MDC, Cline rules, Codex AGENTS.md, Copilot settings — không cần migrate.
Source
https://github.com/can1357/oh-my-pi · MIT · +2318⭐/week
04 同仓库更多 Skills
openai--sentry--sentry
Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.
ito-basket-compare
Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.
implementing-network-traffic-baselining
Build network traffic baselines from NetFlow/IPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly/daily traffic pattern profiling
detecting-evasion-techniques-in-endpoint-logs
Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.
implementing-microsegmentation-with-guardicore
Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.
ramdisk-tmpfs-patterns
暂无简介