Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,15 @@ Had weird issue with the first execution of Kitty not loading the `kitty.conf` c
$ launchctl load ~/Library/LaunchAgents/setenv.XDG_CONFIG_HOME.plist
```

## Agent Configuration
## AI Configuration

Two AGENTS.md:

- `./AGENTS.md` for this repo
- `./pi/config/pi/agent/AGENTS.md` for Pi & Claude Code

PI_CODING_AGENT_DIR in dotfiles/common/env.sh points pi's config to ~/dotfiles/config/pi/, which contains agent/AGENTS.md (agent instructions), settings.json, themes, and sessions.

CLAUDE.md at the repo root serves the same purpose for Claude Code.
CLAUDE.md at the repo root serves the same purpose for Claude Code, but is symlinked to `AGENTS.md`.

Skills are defined once in agents/skills/ and symlinked by make dotfiles to both ~/.agents/skills (pi) and ~/.claude/skills (Claude Code).
19 changes: 0 additions & 19 deletions agents/skills/summarization/SKILL.md

This file was deleted.

8 changes: 7 additions & 1 deletion brew/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,14 @@ brew "wordnet"

# Taps
brew "hudochenkov/sshpass/sshpass"
brew "koekeishiya/formulae/skhd"
if OS.mac?
brew "koekeishiya/formulae/skhd"
end
brew "koekeishiya/formulae/yabai"

# TODO!!!
# brew tap databricks/tap

# Casks
cask "amethyst"
cask "claude-code"
Expand All @@ -111,5 +116,6 @@ cask "mactex"

brew "markdownlint-cli"
cask "copilot-cli"
brew "azure-cli"
brew "git-delta"
cask "keycastr"
41 changes: 41 additions & 0 deletions config/pi/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## How to Respond

Responses should be concise.

List tradeoffs explicitly if appropriate. List assumptions explicitly if appropriate. List what you are uncertain about.

Do not include summaries at the end of responses unless specifically asked.

Try to push back if you can and offer different ideas or approaches. Try to explore a range of ideas, perspectives.

Always create a plan and then ask to execute. You should very rarely go off and implement without some back and forth conversation with me - only if it's very clear from my first message I want you to make changes.

## Searching & Reading

When reading, read deeply, in great detail. Note intricacies. Go through everything.

## Planning

Sometimes in our plans you will find notes like:

```
[HUMAN your thought here] - a general comment or context
[HUMAN replace this with X] - instruction to change something specific
[HUMAN why did you choose this approach?] - a question you want answered
[HUMAN keep this] - mark something you don't want touched
[HUMAN remove this] - flag something to remove
```

These are notes from me to you - you should address these if you see them when you read our plans.

After you have addressed them, remove my `[HUMAN]` notes if appropriate.

## Programming

When you write Python code, make it type safe, so that it would pass strict type checking with a tool like basedpyright.

Only include comments when they explain something that is not obvious from the code.

Always respect existing conventions in each file and across the code base when making changes.

Never start changing code unless you have explicit approval to start making changes.
23 changes: 0 additions & 23 deletions config/pi/agent/AGENTS.md

This file was deleted.

8 changes: 4 additions & 4 deletions config/pi/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"lastChangelogVersion": "0.66.1",
"defaultProvider": "openrouter",
"defaultModel": "moonshotai/kimi-k2.5",
"lastChangelogVersion": "0.68.0",
"defaultProvider": "github-copilot",
"defaultModel": "claude-opus-4.6",
"theme": "dracula",
"packages": [
"npm:@aliou/pi-guardrails",
"npm:pi-vim",
"npm:@ifi/pi-plan",
"npm:@ollama/pi-web-search"
],
"defaultThinkingLevel": "medium",
"defaultThinkingLevel": "high",
"quietStartup": false
}
4 changes: 0 additions & 4 deletions dotfiles/common/.zshenv
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
bash $HOME/dotfiles/scripts/trace.sh "$0"
# if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
# . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
# fi
# Moved mise activation to .zshrc for interactive shells only (performance optimization)
export EDITOR=$(which nvim)
export XDG_CONFIG_HOME=$HOME/dotfiles
if command -v launchctl >/dev/null 2>&1; then
Expand Down
2 changes: 0 additions & 2 deletions dotfiles/common/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ setopt HIST_SAVE_NO_DUPS # Don't save duplicates to file
setopt SHARE_HISTORY # Share history between all sessions
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks from commands
export AWS_LOG_LEVEL=3

alias brew='arch -arm64 brew'
source ~/dotfiles/macos/pyenv-flags

# custom ipython config
Expand Down
2 changes: 2 additions & 0 deletions dotfiles/macos/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ export DYLD_FALLBACK_LIBRARY_PATH=/opt/homebrew/lib

eval "$(keychain --eval --quiet ~/.ssh/github-air ~/.ssh/macbook-pro)"
eval "$(/opt/homebrew/bin/brew shellenv zsh)"
# do not know if i need/want this...
alias brew='arch -arm64 brew'

# Skip quote display for faster startup (can be called manually with 'quote' command)
# quote
Expand Down
3 changes: 2 additions & 1 deletion dotfiles/wsl/.zshrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
source "$HOME/dotfiles/dotfiles/common/.zshrc"
source "$HOME/dotfiles/dotfiles/wsl/common.sh"
eval $(keychain --quiet --eval github ado)
# eval $(keychain --eval --agents ssh -Q --quiet $HOME/.ssh/azure-devops_id_rsa)

[ -d ~/docs ] || ln -s "/mnt/c/Users/ag43/OneDrive - Meridian Energy Limited/Documents/docs" ~/docs
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
2 changes: 1 addition & 1 deletion dotfiles/wsl/common.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
alias docs='cd "/mnt/c/Users/ag43/OneDrive - Meridian Energy Limited/Documents/docs"'
alias docs='cd ~/docs'
alias od='cd ~/onedrive'
export TODO_DIR="/mnt/c/Users/ag43/OneDrive - Meridian Energy Limited/Documents/docs/project"
keychain --quiet ~/.ssh/ado
Expand Down
56 changes: 56 additions & 0 deletions nvim/lazy-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"Vim-Jinja2-Syntax": { "branch": "master", "commit": "2c17843b074b06a835f88587e1023ceff7e2c7d1" },
"barbar.nvim": { "branch": "master", "commit": "807bede7ef1d8e2ac5f108e9ac8123b1e2d321e3" },
"blink-cmp-copilot": { "branch": "main", "commit": "439cff78780c033aa23cf061d7315314b347e3c1" },
"blink-cmp-dictionary": { "branch": "master", "commit": "5f1a703416e5090b9633c43873dba8ba03b0fb23" },
"blink-cmp-env": { "branch": "main", "commit": "99af62c1f9aa46005e8f50ad4ccee581946546ca" },
"blink-emoji.nvim": { "branch": "master", "commit": "a77aebc092ebece1eed108f301452ae774d6b67a" },
"blink-ripgrep.nvim": { "branch": "main", "commit": "56084d1f45c8621d23d4bac724c2dc50b1eb75db" },
"blink.cmp": { "branch": "main", "commit": "cb5e346d9e0efa7a3eee7fd4da0b690c48d2a98e" },
"blink.compat": { "branch": "main", "commit": "2ed6d9a28b07fa6f3bface818470605f8896408c" },
"bullets.vim": { "branch": "master", "commit": "8f3259e807c40b91d247f612823295ab99777a65" },
"codecompanion.nvim": { "branch": "main", "commit": "680c445eb357c72129d175ea5d481aa9e92ae6a5" },
"conform.nvim": { "branch": "master", "commit": "eebc724d12c5579d733d1f801386e0ceb909d001" },
"copilot.lua": { "branch": "master", "commit": "0a7502946845fb14b860a6384c709a791bbab96a" },
"dbtpal": { "branch": "main", "commit": "706134b879eb2f48b2abf56f29e95a30a52cf398" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"emmet-vim": { "branch": "master", "commit": "6c511a8d7d2863066f32e25543e2bb99d505172c" },
"gitsigns.nvim": { "branch": "main", "commit": "17ab794b6fce6fce768430ebc925347e349e1d60" },
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lualine.nvim": { "branch": "master", "commit": "0ea56f91b7f51a37b749c050a5e5dfdd56b302b3" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
"mini.nvim": { "branch": "main", "commit": "e7538b549361c9ac8416a07b0223ce03c508bfe7" },
"nvim-autopairs": { "branch": "master", "commit": "2a406cdd8c373ae7fe378a9e062a5424472bd8d8" },
"nvim-bqf": { "branch": "main", "commit": "e20417d5e589e03eaaaadc4687904528500608be" },
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
"nvim-lint": { "branch": "master", "commit": "5b1bdf306bd3e565908145279e8bbfc594dac3b3" },
"nvim-lspconfig": { "branch": "master", "commit": "4ea9083b6d3dff4ddc6da17c51334c3255b7eba5" },
"nvim-treesitter": { "branch": "master", "commit": "0e21ee8df6235511c02bab4a5b391d18e165a58d" },
"nvim-treesitter-context": { "branch": "master", "commit": "439789a9a8df9639ecd749bb3286b77117024a6f" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" },
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
"nvim-web-devicons": { "branch": "master", "commit": "c90dee4e930ab9f49fa6d77f289bff335b49e972" },
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
"oil.nvim": { "branch": "master", "commit": "302bbaceeafc690e6419e0c8296e804d60cb9446" },
"peek.nvim": { "branch": "master", "commit": "5820d937d5414baea5f586dc2a3d912a74636e5b" },
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
"render-markdown.nvim": { "branch": "main", "commit": "0fd43fb4b1f073931c4b481f5f3b7cea3749e190" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
"telescope-git-file-history.nvim": { "branch": "master", "commit": "c27d99ba88ec5f0b6d2b9f9bc67dd3d14c610b25" },
"telescope-makefile": { "branch": "master", "commit": "6e5b5767751dbf73ad4f126840dcf1abfc38e891" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
"telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" },
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
"undotree": { "branch": "master", "commit": "b951b87b46c34356d44aa71886aecf9dd7f5788a" },
"vim": { "branch": "master", "commit": "d4b0823100c702af127cba8dd5595a8f599041ec" },
"vim-argwrap": { "branch": "master", "commit": "f3e26a5ad249d09467804b92e760d08b1cc457a1" },
"vim-fugitive": { "branch": "master", "commit": "4a745ea72fa93bb15dd077109afbb3d1809383f2" },
"vim-markdown-toc": { "branch": "master", "commit": "aa9cc3b07791db5cbe5f29d661763bc0eb4fb7c1" },
"vim-one": { "branch": "master", "commit": "187f5c85b682c1933f8780d4d419c55d26a82e24" },
"vim-python-pep8-indent": { "branch": "master", "commit": "60ba5e11a61618c0344e2db190210145083c91f8" },
"vim-table-mode": { "branch": "master", "commit": "e4365bde024f73e205eefa2fb78e3029ddb92ea9" },
"winresizer": { "branch": "master", "commit": "9bd559a03ccec98a458e60c705547119eb5350f3" },
"zen-mode.nvim": { "branch": "main", "commit": "863f150ca321b3dd8aa1a2b69b5f411a220e144f" }
}
5 changes: 4 additions & 1 deletion nvim/lua/plugins/formatting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ return {
-- markdown = { "injected" },
javascript = { "prettier" },
css = { "stylelint" },
yaml = { "yamlfix" },
yaml = {
"yamlfix",
"trim_whitespace",
},
sql = { "sqlfluff" },
["*"] = {
"codespell",
Expand Down
3 changes: 3 additions & 0 deletions scripts/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ alias markserv='markserv --browser'
# vim
alias vi='$EDITOR'

# nvim
alias diffview='nvim +DiffviewOpen'

# python
alias py='python'
alias ipy='ipython'
Expand Down
Loading