User Tools

Site Tools


ai

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ai [2025/10/28 10:17] – [Nvim] dblumeai [2025/12/24 21:13] (current) – [CLIs] dblume
Line 1: Line 1:
 ====== AI ====== ====== AI ======
  
-Great tips that also involve updating resumes+Great tips, but check the date, they get stale quickly.
  
   * [[https://levelup.gitconnected.com/this-one-prompt-changed-how-i-use-ai-forever-401ceb3c457c|This One Prompt Changed How I Use AI Forever]]   * [[https://levelup.gitconnected.com/this-one-prompt-changed-how-i-use-ai-forever-401ceb3c457c|This One Prompt Changed How I Use AI Forever]]
Line 18: Line 18:
  
 ====== CLIs ====== ====== CLIs ======
 +
 +Best setup: ssh + tmux (Prefix-b (to toggle a floating pane) or Prefix-c; p/n to nav windows) + vim
 +
 +  +----------------------+           +----------------------+
 +  | vim    | vim                   | LLM CLI              |
 +  | (left) | (right)                                    |
 +  |        |                                            |
 +  |        |               tmux    |                      |
 +  |        |              <----->  |                      |
 +  |----------------------|                                |
 +  | ls -1 | entr ...                                    |
 +  |                      |                                |
 +  +----------------------+           +----------------------+
 +
  
 Here's a [[https://medium.com/@jh.baek.sd/i-tried-5-ai-coding-clis-for-30-day-from-09-01-2025-to-09-28-2025-ff3e45fd2cda|Review of 5 AI coding CLIs]]. Here's a [[https://medium.com/@jh.baek.sd/i-tried-5-ai-coding-clis-for-30-day-from-09-01-2025-to-09-28-2025-ff3e45fd2cda|Review of 5 AI coding CLIs]].
  
-Best setupssh + tmux (Prefix-B (floating pane toggle) or Prefix-C; B/N persistent Window) + vim+**[[https://www.reddit.com/r/ChatGPTCoding/comments/1p35bdl/comment/nq2oi13/|Recommended CLI flow]]**:
  
-  * [[https://github.com/github/copilot-cli|GitHub Copilot CLI]]: (new!) Should be easy to integrate for work, as we use Copilot already. +  - Make it write a design doc you give feedback on first. 
 +  - Let it run in yolo mode, but review the MR/PR just like you would with a junior dev. 
 +    - Both [[https://github.blog/changelog/2025-10-28-github-copilot-cli-use-custom-agents-and-delegate-to-copilot-coding-agent/|GitHub Copilot CLI]] and [[https://code.claude.com/docs/en/sub-agents|Claude Code]] support subagents, (make a code reviewer subagent). ([[https://www.reddit.com/r/GithubCopilot/comments/1oeivro/if_youre_facing_degradation_in_copilots_overall/|Reddit Tip]]) 
 +    - [[https://alirezarezvani.medium.com/claude-code-v2-0-44-your-complete-guide-to-native-multi-agent-features-that-actually-work-207be12ed173|Claude hooks for inter-agent communication]]. 
 +  - Don't let it touch git commands aside from log and diff. 
 +  - Use [[https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents|effective context engineering for AI agents]] from Anthropic. 
 +    - [[https://medium.com/coding-nexus/99-of-developers-dont-know-how-to-use-coding-agents-well-9256e3c02e16|Manage your context window]], ''clear'' or ''compact'' when necessary. 
 +    - Another post with the same idea: [[https://medium.com/@ashleyha/i-mastered-the-claude-code-workflow-145d25e502cf|Never exceed 60% context]]. Split work into 4 phases: Research → Plan → Implement → Validate. Clear context between each. 
 + 
 +Tools: 
 + 
 +:!: Note that projects like perfetto have a toplevel CLAUDE.md and GEMINI.md which each symlink to [[https://github.com/google/perfetto/blob/main/docs/AGENTS.md|AGENTS.md]]. 
 + 
 +  * [[https://github.com/github/copilot-cli|GitHub Copilot CLI]]: Should be easy to integrate for work, as we use Copilot already. 
     * [[https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=copilotcli|Customize with .copilot/instructions]].     * [[https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=copilotcli|Customize with .copilot/instructions]].
 +  * Anthropic’s [[https://www.claude.com/product/claude-code|Claude-Code]]: "Unleash Claude’s raw power directly in your terminal."
 +    * [[https://www.anthropic.com/engineering/claude-code-best-practices#a-create-claudemd-files|Customize with CLAUDE.md instructions]].
 +    * At work: Revert to 2.0.37 for compatibility with LiteLLM. ''claude install 2.0.37'', then set .claude/settings.json with meaningful ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN.
 +  * Google's [[https://github.com/google-gemini/gemini-cli|Gemini CLI]]: Gemini CLI is an open-source AI agent that brings the power of Gemini directly into your terminal.
 +    * [[https://google-gemini.github.io/gemini-cli/docs/cli/gemini-md.html|Customize with GEMINI.md]].
 +  * OpenAI’s [[https://developers.openai.com/codex/cli/|Codex CLI]] a coding agent that you can run locally from your terminal and that can read, modify, and run code on your machine.
   * [[https://opencode.ai/|OpenCode]]: An open source AI coding agent built for the terminal. (As seen [[https://www.youtube.com/watch?v=70cN9swORE8&t=441s|here]].)   * [[https://opencode.ai/|OpenCode]]: An open source AI coding agent built for the terminal. (As seen [[https://www.youtube.com/watch?v=70cN9swORE8&t=441s|here]].)
     * [[https://news.ycombinator.com/item?id=44482504|Good conversation here]].     * [[https://news.ycombinator.com/item?id=44482504|Good conversation here]].
Line 30: Line 63:
   * [[https://github.com/charmbracelet/crush|Charm Crush]]: At end of July 2025, [[https://github.com/kujtimiihoxha|Kujtim Hoxha]] left OpenCode and works at Charm.   * [[https://github.com/charmbracelet/crush|Charm Crush]]: At end of July 2025, [[https://github.com/kujtimiihoxha|Kujtim Hoxha]] left OpenCode and works at Charm.
   * [[https://aider.chat/|Aider]]: Aider lets you pair program with LLMs. Similar to OpenCode.   * [[https://aider.chat/|Aider]]: Aider lets you pair program with LLMs. Similar to OpenCode.
-  * OpenAI’s [[https://developers.openai.com/codex/cli/|Codex CLI]] a coding agent that you can run locally from your terminal and that can read, modify, and run code on your machine. 
-  * Anthropic’s [[https://www.claude.com/product/claude-code|Claude-Code]]: "Unleash Claude’s raw power directly in your terminal." 
   * [[https://ampcode.com/|Amp]] is an agentic coding tool available as a CLI and in VS Code, Cursor, and Windsurf.   * [[https://ampcode.com/|Amp]] is an agentic coding tool available as a CLI and in VS Code, Cursor, and Windsurf.
     * Free Mode sessions are used for training.     * Free Mode sessions are used for training.
- 
-====== Google Agent Development Kit (ADK) ====== 
- 
-  * [[https://cloudonair.withgoogle.com/events/get-hands-on-with-agent-dev-kit/watch?talk=t1-s1|Google Cloud session: Get Hands on with Agent Development Kit]] (1:26:46 video, sign in as dblume@roku.com, do the lab before July 20th) 
-    * Start at 10:30. 
-    * [[https://www.youtube.com/watch?v=bYFji1SAEiw|Backup Youtube link]] 
-  * [[https://google.github.io/adk-docs/|Agent Development Kit Docs]] 
-  * **Only open in Incognito mode:** [[https://explore.qwiklabs.com/classrooms/17723|Get started with Agent Development Kit (ADK) Lab]] Timed lab, only get 1:30:00 to do it. 
  
 ====== Miscellaneous ====== ====== Miscellaneous ======
ai.1761671867.txt.gz · Last modified: 2025/10/28 10:17 by dblume