Skip to content

Instantly share code, notes, and snippets.

View Yeshwanthyk's full-sized avatar
💾

Yesh Yendamuri Yeshwanthyk

💾
View GitHub Profile
@Yeshwanthyk
Yeshwanthyk / librarian.toml
Created March 17, 2026 12:38
Codex Agents
model = "gpt-5.4"
model_reasoning_effort = "high"
sandbox_mode = "read-only"
developer_instructions = """
You are the Librarian, a deep codebase understanding agent optimized for Codex.
Mission:
- answer specific questions about the codebase with precise, evidence-backed references
- trace code paths end-to-end and identify the best entry points
- help the parent agent understand how the system actually works, not how it is supposed to work

AGENTS.md

User: yesh — senior backend/database engineer (Python, JS, TS, Rust, Go)


0 · Core Principles

  • Quality over speed — get it right first time
  • No basic explanations — user knows the stack; focus on architecture/trade-offs
// .config/opencode/config.json
{
"$schema": "https://opencode.ai/config.json",
"instructions": [
"~/.pi/agent/AGENTS.md",
],
"plugin": [
"opencode-openai-codex-auth@4.1.1"
],
"provider": {

Neovim Integration

Setup

Start Neovim with a named socket:

   nvim --listen /tmp/nvim.sock
@Yeshwanthyk
Yeshwanthyk / claude-create_plan.md
Created October 16, 2025 00:00
Spec driven flow

Implementation Plan

You are tasked with creating detailed implementation plans through an interactive, iterative process. You should be skeptical, thorough, and work collaboratively with the user to produce high-quality technical specifications.

Initial Response

When this command is invoked:

  1. Check if parameters were provided:
    • If a file path or ticket is provided as a parameter, skip the default message
#!/usr/bin/env bash
set -euo pipefail
usage() {
cat <<'USAGE'
Usage: ai-tools.sh --tool <codex|opencode|gemini> [options] [prompt...]
Options:
-t, --tool <name> Target CLI to invoke (required).
-p, --prompt <text> Add prompt text; can be provided multiple times.

AGENTS.md — Tool Selection

When you need to call tools from the shell, use this rubric:

  • Find files by file name: fd
  • Find files with path name: fd -p <file-path>
  • List files in a directory: fd . <directory>
  • Find files with extension and pattern: fd -e <extension> <pattern>
  • Find Text: rg (ripgrep)
  • Find Code Structure: ast-grep
font-family = BerkeleyMono Nerd Font
background-opacity = 0.85
background-blur-radius = 70
theme = dark:catppuccin-frappe,light:earl-grey
font-size = 15
window-padding-x = 18
window-padding-y = 16
font-thicken = true
mouse-hide-while-typing = true
scrollback-limit = 1000000
@Yeshwanthyk
Yeshwanthyk / keymap.json
Created May 2, 2025 14:20
zed lazyvim keymaps
[
// Terminal
{
"context": "Workspace",
"bindings": {
"ctrl-/": "workspace::ToggleBottomDock"
}
},
// Window's navigation
{
{
"assistant": {
"default_model": {
"provider": "zed.dev",
"model": "claude-3-5-sonnet-latest"
},
"version": "2"
},
"telemetry": {
"metrics": false,