Instructions
What an agent reads first: the repository's own AGENTS.md or CLAUDE.md, and the instructions franky47 sets for all of its repositories.
CLAUDE.md
This repository is public on GitHub: https://github.com/franky47/dotfiles, you MUST filter out secrets & sensitive information before bringing it into the repo. If you are unsure, ask me.
Before committing#
Update README.md (e.g. the skills table) and any relevant tests to reflect your changes, then commit them together.
Adding a model to llama-swap#
- Config
dot-config/llama-swap/config.<machineName>.yml: add a model block (-hf <repo>:<TAG>, copy an existing block's flags). Ask whether to fork a new entry (to A/B against an existing model) or update one in place — never mutate a live entry when experimenting. - Expose to clients (reuse the same model id):
- pi: add
llama-swap/<id>toenabledModelsindot-pi/agent/settings.jsonand aMODELSentry indot-pi/agent/extensions/llama-swap.ts. - opencode: add a model entry under the provider in
dot-config/opencode/opencode.json.
- pi: add
- Pre-pull the GGUF before first use: Map the tag
<repo>:<TAG>→<ModelName>-<TAG>.gguf, then:hf download <repo> <ModelName>-<TAG>.gguf(writes~/.cache/huggingface/hub, the cache llama.cpp's-hfreads). Monitor the download, then query once and confirm/runningreachesready.