context-onpremise

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

A local toolkit for preparing text, documents, webpages, code, tables, images, audio, and video so an AI assistant can use the right supporting information. It can extract, retrieve, rank, and shorten content while preserving important details.

In plain words
What is it for?
Preparing long or mixed-format material for AI analysis, including document conversion, OCR, media understanding, semantic search, and controlled context reduction.
Why use it?
It reduces the chance that useful evidence is missed or that important numbers, commands, links, or source references are lost when handling large or complex inputs.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Preparing long or mixed-format material for AI analysis, including document conversion, OCR, media understanding, semantic search, and controlled context reduction.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikazi/tikaz-codex-context-economy/context-onpremise
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-onpremise
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-onpremise

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-onpremise/github.svg)](https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-onpremise)
Your own site
<a href="https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-onpremise"><img src="https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-onpremise/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-onpremise

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-onpremise"><img src="https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-onpremise.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 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.00047 $0.00587
Opus 5 $0.00023 $0.00293
Sonnet 5 $0.00009 $0.00117
Haiku 4.5 $0.00005 $0.00059

Measured 7d ago against content hash 95260413abac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

context-onpremise 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 7d ago.

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-onpremise — 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-onpremise/SKILL.md · 44 lines

How it starts

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

TIKAZ Context On-Premise

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

Core promise

Find the right evidence before deciding whether to compress. Use local dependencies for complex documents, multimodal material, and semantic retrieval while keeping sources, facts, anchors, privacy, failures, and cost measurable.

Workflow

  1. Fix the task, required evidence slots, risk, text budget, and visual budget.
  2. Profile the input once and invoke only the necessary local route: document conversion, webpage extraction, media understanding, local retrieval/compression, or safe structured parsing.
  3. Protect numbers, versions, URLs, commands, errors, citations, table cells, approvals, and source anchors.
  4. Combine lexical evidence slots, BGE-M3, local reranking, and diversity-aware selection. Query expansions are retrieval hints, never source facts.
  5. Use LLMLingua-2 only for over-budget, low-risk natural-language prose. Never send protected blocks, code, commands, contracts, finance, tables, or security evidence to learned compression.
  6. Fall back visibly to deterministic selection or the original source when local models fail, evidence coverage is low, protected facts drop, or the budget conflicts with safety.

Output contract

Return canonical Markdown or a safe structured result, Context Pack, evidence ledger, retrieval ledger, cost ledger, omissions, and Pending items. Report Recall@K, Precision@K, MRR, nDCG@K, evidence-slot coverage, protected-fact recall, estimated tokens, latency, and fallback state separately. Without relevance labels, do not invent hit-rate percentages.

Validation and fallback

Validate protected literals, source anchors, required evidence slots, hard budget, adapter identity, and unresolved visual/table evidence before accepting the pack. If any required gate fails, return deterministic selection or the original source with the reason instead of claiming successful compression.

Installation

Read the full file on GitHub · 44 lines

Files

What ships with it

1 file 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. 7d ago First seen · 44 lines · 47 tokens per session scan A 95260413abac

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

llamaindex

Data framework for building LLM applications with RAG. Specializes in document ingestion (300+ connectors), indexing, and querying. Features vector indices, query engines, agents, and multi-modal support. Use for document Q&A, chatbots, knowledge retrieval, or building RAG pipelines. Best for data-centric LLM…

davila7/claude-code-templates · 70 tokens

sentence-transformers

Framework for state-of-the-art sentence, text, and image embeddings. Provides 5000+ pre-trained models for semantic similarity, clustering, and retrieval. Supports multilingual, domain-specific, and multimodal models. Use for generating embeddings for RAG, semantic search, or similarity tasks. Best for production…

davila7/claude-code-templates · 67 tokens

rag-retrieval

Retrieval-Augmented Generation patterns for grounded LLM responses. Use when building RAG pipelines, embedding documents, implementing hybrid search, contextual retrieval, HyDE, agentic RAG, multimodal RAG, query decomposition, reranking, or pgvector search.

yonatangross/orchestkit · 58 tokens

dspy

Build complex AI systems with declarative programming, optimize prompts automatically, create modular RAG systems and agents with DSPy - Stanford NLP's framework for systematic LM programming.

davila7/claude-code-templates · 35 tokens

setup-open-index

Install and configure Open Index as the read/write context layer for a domain-specialized agent. Use when setting up a legal, marketing, customer support, sales, infrastructure, or other domain agent with Open Index over MCP.

DrDroidLab/open-index · 48 tokens

llamaindex

Data framework for building LLM applications with RAG. Specializes in document ingestion (300+ connectors), indexing, and querying. Features vector indices, query engines, agents, and multi-modal support. Use for document Q&A, chatbots, knowledge retrieval, or building RAG pipelines. Best for data-centric LLM…

OpenLAIR/dr-claw · 70 tokens