context-orchestrator

context-orchestrator is a skill for Codex from TIKAZI/TIKAZ-Codex-Context-Economy. It costs 48 tokens per session (501 once invoked), scanned A, a copy of context-orchestrator, MIT.

A controller that chooses how to prepare long text, files, webpages, code, tables, images, audio, video, or conversations for an AI assistant. It routes work either through a general context process or through explicitly requested local processing.

In plain words
What is it for?
Routing large or mixed-format inputs to extraction, retrieval, compression, or structured parsing workflows under a defined evidence and budget plan.
Why use it?
It prevents unnecessary processing and keeps the selected evidence, omissions, fallbacks, quality, and cost visible.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Routing large or mixed-format inputs to extraction, retrieval, compression, or structured parsing workflows under a defined evidence and budget plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikazi/tikaz-codex-context-economy/context-orchestrator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TIKAZI/TIKAZ-Codex-Context-Economy --skill context-orchestrator
Clone the repo
git clone --depth 1 https://github.com/TIKAZI/TIKAZ-Codex-Context-Economy

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-orchestrator/github.svg)](https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-orchestrator)
Your own site
<a href="https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-orchestrator"><img src="https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-orchestrator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for context-orchestrator

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-orchestrator"><img src="https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-orchestrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 501 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00501
Opus 5.5 $0.00019 $0.00200
Sonnet 5.5 $0.00010 $0.00100
Haiku 4.5 $0.00005 $0.00050

Measured 1mo ago against content hash de89324c9965, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

context-orchestrator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/route_context.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to context-orchestrator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

context-orchestrator/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TIKAZ Context Orchestrator

Designed, integrated, independently refactored, and continuously maintained by TIKAZ.

What it owns

This Skill is a controller, not a third compressor. It fixes the task, evidence slots, risk, and budget, chooses exactly one primary route, and requires both routes to return traceable evidence, omissions, Pending items, fallbacks, and separate quality/cost metrics.

Routing

  • Default to context-economy: dependency-free, portable, conservative, and source-preserving.
  • Use context-onpremise only when the first non-empty control word is uppercase ON followed by end-of-input, whitespace, :, or :, or when the user explicitly invokes it.
  • Strip the valid ON control prefix before passing the remaining task downstream.
  • Lowercase on, ONLY, ON-board, 请 ON 分析, and ON appearing later in a sentence do not trigger the local route.

Use python scripts/route_context.py --text <request> when deterministic trigger verification is useful. The script parses only the control prefix; it does not open files, install dependencies, start models, or access the network.

Output contract

Return route, task, budget, evidence slots, context pack, protected facts, anchors, retrieval ledger, cost ledger, omissions, visual Pending items, and fallback reason. Report Recall/Precision, protected-fact recall, estimated tokens, file bytes, image counts, latency, and downstream answer quality separately. If labels or provider telemetry do not exist, mark the metric Pending.

Validation and fallback

A smaller context with lower evidence coverage is a failure. Expand retrieval or preserve the source when required slots are missing, facts conflict, visual evidence is unchecked, or protected literals are lost.

Example

ON:把这个扫描 PDF 和视频整理成可追溯的 Context Pack,并分别报告命中、保真和估算 Token。

Limits

The controller does not install local runtimes, download models, enable network access, or broaden authorization. Route availability depends on the installed child Skill and current environment.

Read the full file on GitHub · 40 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 40 lines · 48 tokens per session scan A de89324c9965

Subscribe to this mod's changes

context-orchestrator is a skill published in the GitHub repository TIKAZI/TIKAZ-Codex-Context-Economy (3 stars, last pushed 4d ago), licensed MIT. It adds 48 tokens to every session and 501 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to context-orchestrator, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

knowledge-org

A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.

bojieli/ai-agent-book · 96 tokens

rag-pipeline

A guide to RAG, a method where a system retrieves relevant passages from an external knowledge base before an AI model writes an answer. It covers splitting documents, searching by meaning or exact words, combining results, and measuring retrieval quality.

bojieli/ai-agent-book · 125 tokens

llmwiki

Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation. Use for llmwiki projects, retrieving reusable evidence for an agent task, or compiling a corpus for repeated questions. A one-off file read or live web search does not need a wiki.

atomicstrata/llm-wiki-compiler · 66 tokens

rag-architecture-review

Review an existing Retrieval-Augmented Generation system and find why it underperforms. Use when asked to review or audit a RAG pipeline, diagnose wrong/ungrounded answers from a 'chat with your docs' feature, or improve an already-built knowledge assistant. Produces a staged review — ingestion, chunking, retrieval…

mohitagw15856/pm-claude-skills · 89 tokens

rag-design-doc

Design a Retrieval-Augmented Generation system end to end. Use when asked to design a RAG pipeline, a 'chat with your docs' feature, a knowledge assistant, or to debug why a RAG system gives wrong/ungrounded answers. Produces a RAG design doc — ingestion & chunking, embeddings & index, retrieval & reranking, the…

mohitagw15856/pm-claude-skills · 92 tokens

rag-code-review

When performing code review on a PR, diff, snippet, or "look at this change" request, first consult the corpus for related ADRs, coding standards, prior patterns, and similar files. Grounds review comments in the team's actual decisions instead of generic best practices. Trigger on any review-style request — "review"…

lyonzin/knowledge-rag · 83 tokens