From 3931de758cf475394a83a301019843a82e27a652 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 13 Feb 2026 23:07:38 +0100 Subject: [PATCH] chore(kb/ai/claude): add something about config --- knowledge base/ai/claude/claude code.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/knowledge base/ai/claude/claude code.md b/knowledge base/ai/claude/claude code.md index c515344..fbab764 100644 --- a/knowledge base/ai/claude/claude code.md +++ b/knowledge base/ai/claude/claude code.md @@ -15,8 +15,19 @@ Works in a terminal, IDE, browser, and as a desktop app. ## TL;DR > [!warning] -> Requires an Anthropic account to be used.
-> Unless one uses [Claude Code router] with it. +> Normally requires an Anthropic account to be used.
+> One _can_ use [Claude Code router] or [Ollama] to run on a locally server or shared LLM instead, but its performances +> do seem to take an extreme hit. + +Uses a scope system to determine where configurations apply and who they're shared with.
+When multiple scopes are active, the **more** specific ones take precedence. + +| Scope | Location | Area of effect | Shared | +| ----------------------- | ------------------------------------ | ---------------------------------- | ----------------------------------------- | +| Managed (A.K.A. System) | System-level `managed-settings.json` | All users on the host | Yes (usually deployed by IT) | +| User | `~/.claude/` directory | Single user, across all projects | No | +| Project | `.claude/` directory in a repository | All collaborators, repository only | Yes (usually committed to the repository) | +| Local | `.claude/*.local.*` files | Single user, repository only | No (usually gitignored) |
Setup @@ -71,6 +82,7 @@ ANTHROPIC_AUTH_TOKEN=ollama ANTHROPIC_BASE_URL=http://localhost:11434 ANTHROPIC_ [AI agent]: ../agent.md [Claude Code router]: claude%20code%20router.md [Gemini CLI]: ../gemini/cli.md +[Ollama]: ../ollama.md [OpenCode]: ../opencode.md