orgtree-route-local-server
Skill by Maurdekye
Explains how Orgtree routes agents to local language model servers such as llama.cpp and Ollama. It covers protocol choice, concurrency caps, compaction and context recovery for developers running local models.
Install orgtree-route-local-server
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Maurdekye/orgtree /tmp/orgtree && mkdir -p ~/.claude/skills && cp -r /tmp/orgtree/docs/skills/orgtree-app/harnesses/route-local-server ~/.claude/skills/orgtree-route-local-serverRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install orgtree-route-local-server in Claude Code
git clone --depth 1 https://github.com/Maurdekye/orgtree /tmp/orgtree && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/orgtree/docs/skills/orgtree-app/harnesses/route-local-server ~/.gemini/antigravity-cli/skills/orgtree-route-local-serverAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install orgtree-route-local-server in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill explains how Orgtree runs local language model servers, such as llama.cpp or Ollama, with Claude Code, Codex and OpenCode harnesses. It covers the protocol each harness requires, the agents-at-once concurrency cap, and how model context windows, compaction and instruction or skill delivery are handled. It also states what remains unknown, such as the server's own cache lifetime and how a particular model will behave.
The server supplies inference while the installed harness runs the agent. Local routes use isolated native config homes, and hosted Codex web search is disabled for them. Orgtree treats local hardware as unbilled inference with no provider quota. When recognized context-full errors occur, it can start a bounded fresh session with a handoff. It is written for people who run Orgtree agents against local models.
Written from the project's SKILL.md and checked against it.
What it can do
- Protocol selectionExplains which API protocol each harness needs: Messages for Claude Code, Responses for Codex, Chat Completions for OpenCode.
- Concurrency controlDescribes the agents-at-once cap the engine enforces per server before starting a turn.
- Context recoveryDescribes bounded fresh-session recovery with a handoff when local context-full or failed-summary errors occur.
- Compaction settingsExplains the context window and compaction threshold each harness receives from the local route.
- Caching guidanceExplains that the server's prompt or KV cache lifetime is unknown and should not be given a cloud TTL.
- Instruction and skill deliveryExplains how personal globals and shared skills reach each harness through its native delivery method.
- TroubleshootingLists common issues such as protocol mismatch, slow first token and repeated context overflow, with suggested checks.
What you need
- A local language model server such as llama.cpp or Ollama
- An installed Claude Code, Codex or OpenCode harness
Try asking
- Which API protocol does my local server need for Claude Code?
- Why is my local model slow to return the first token?
- How do I recover when my local model keeps hitting context overflow?
Good to know
- The server's cache lifetime and eviction behavior are unknown.
- Server startup, shutdown and resume behavior is outside the documented harness contract.
- A loopback endpoint adds no filesystem sandbox.
- Skill use is not proven: the source does not show a local model will select or obey a skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: docs/skills/orgtree-app/harnesses/route-local-server/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to orgtree-route-local-server
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
orgtree-route-local-server: common questions
Does a local model cost money through Orgtree?
The source says Orgtree treats local hardware as unbilled inference with no provider usage window or monetary quota. It does not cover electricity or hosting costs.
Which protocol does each harness need from a local server?
Claude Code requires an Anthropic-compatible Messages API, Codex requires Responses, and OpenCode uses Chat Completions. An OpenAI-compatible label alone is not enough.
Why is a context overflow not treated as a quota reset?
The source says a context overflow or slow server is not a subscription reset signal. Recovery uses a bounded fresh session with a handoff instead.
How do I install orgtree-route-local-server?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is orgtree-route-local-server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is orgtree-route-local-server safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to orgtree-route-local-server?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
