Logo van Contexere

Contexere

Community
fajarhide
contexere

Use when installing, verifying or configuring Contexere, when command output carries an `[OMNI: ...]` or `[CONTEXERE: ...]` marker, or when output looks shorter than expected. Contexere is a local hook that shortens shell output before the model reads it and hands back a handle for what it cut.

Overzicht

Uitgeverfajarhide
Repositorycontexere
Skillnaamcontexere
Sterren
378
Forks
36
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door fajarhide op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Contexere in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/fajarhide/contexere/tree/main/plugins/claude-code/skills/contexere
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fajarhide/contexere.git /tmp/contexere
mkdir -p .claude/skills
cp -r /tmp/contexere/plugins/claude-code/skills/contexere .claude/skills/contexere
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Contexere in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Contexere automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Contexere niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Contexere

Contexere runs on the machine, as a hook the agent host calls. It rewrites the output of a shell tool call before the model reads it, and every cut it makes leaves a marker and a handle to fetch the bytes back. No account, no telemetry, nothing about the machine leaves it.

Install

brew install fajarhide/tap/contexere
contexere init

Without Homebrew, take the release archive for the platform from https://github.com/fajarhide/contexere/releases, pull the line for that archive out of the SHA256SUMS published beside it into a file of its own, and verify it with sha256sum -c <that file>, or shasum -a 256 -c <that file> on macOS. Then untar and put the binary on the path. Two things decide whether the check is worth anything. The manifest line has to reach the tool as a file rather than a pipe, because a grep that matches nothing sends an empty stream and macOS reads that as a pass, so a mistyped archive name would install unverified. And the verification has to gate the untar with &&, because a shell running pasted lines carries on past a failed one.

Do not name a host you have not established you are running in. With no terminal to draw its menu on, which is the case when an agent runs it, contexere init configures the host it is running inside and prints which one it picked. If it cannot name the host, a plain shell for instance, it stops and lists the flags rather than installing somewhere nobody asked for. Only then pick one: --claude, --cursor, --codex, --gemini and the rest under contexere init --help. contexere init --all takes every supported host and also writes a .vscode/mcp.json in the working directory.

The hooks land in that host's own configuration, and the host has to restart before they run, so say that rather than reporting the install as active.

An install made under the old name keeps working until 0.9.0. Run contexere init for each host to move its hooks and MCP entry to the new name; contexere doctor lists whatever still uses the old one.

Verify

contexere doctor

A healthy install names the binary, the config directory, the database, and one line per host:

  Binary:         contexere v0.8.5 [LATEST]
  Config dir:     /home/me/.contexere/ [OK]
  Database:       /home/me/.contexere/omni.db (0 distillations, 0 sessions) [OK]

 Agent Integrations:
  Claude Code: Full, 5 checks [OK]

Full is the line to check: it means this host applies the rewrite, so the model reads shortened output. MCP-only means memory and session state and no shell distillation. contexere doctor --fix repairs what it can, and reports what it could not rather than claiming success.

Reading a marker

A marker means bytes were cut and can be fetched back. Do not treat the shortened output as the whole output, and do not write a file back from output that carries one.

The markers still start with [OMNI and name omni retrieve. From 0.9.0 they start with [CONTEXERE and name contexere retrieve. Read [CONTEXERE: ...] exactly as the [OMNI: ...] line of the same shape below, and match on both prefixes in anything that looks for a marker.

markerwhat happened
[OMNI: 40 lines omitted, omni retrieve <handle> for full output]the distiller kept the signal and archived the rest
[OMNI: 40 lines already shown, omni retrieve <handle>]those lines are in this session's context already
[OMNI: identical to the 40 lines already shown, omni retrieve <handle>]the whole re-run matched an earlier one
[OMNI: 40 lines not shown here, omni retrieve <handle>]another session in this project saw them and this one never did, so retrieve before relying on them
[OMNI: identical to 40 lines from an earlier session, none shown here, omni retrieve <handle>]the whole reply matched an earlier session's, and none of it arrived here
[OMNI: 2 sensitive value(s) redacted]values under a key that names a credential

Pull the full bytes with the handle the marker prints:

contexere retrieve <handle>

The contexere_retrieve MCP tool does the same without a shell (omni_retrieve on an install not yet moved to the new name). Reach for either whenever the answer depends on what was cut: a count, an exact line, or a file being rewritten from what was read.

When output looks wrong rather than short

Corrupted output, a success reported for something that failed, or a marker written into a file is a bug, not compression. Capture the command and its output and file it at https://github.com/fajarhide/contexere/issues, then get a clean copy by running the command through contexere exec with the pipeline off:

CONTEXERE_PASSTHROUGH=1 contexere exec <the command>

Veelgestelde vragen

Wat doet de AI-skill Contexere?

Use when installing, verifying or configuring Contexere, when command output carries an `[OMNI: ...]` or `[CONTEXERE: ...]` marker, or when output looks shorter than expected. Contexere is a local hook that shortens shell output before the model reads it and hands back a handle for what it cut.

Waarom Contexere gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Contexere bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Contexere in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/fajarhide/contexere/tree/main/plugins/claude-code/skills/contexere. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Contexere gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Contexere gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Contexere ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Contexere gratis?

Ja. Deze skill is door fajarhide op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇