Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 61
  • 230 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-server

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install orgtree-route-local-server in Claude Code

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

A

No 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 →

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.

orgtree-route-local-server Install

Add to stack

Loading.