mcpbeat Sign in

Context Check Agent Skill

Optional manual drift audit — report stale provenance-tracked docs (via _provenancelib drift detection across .codearbiter/.provenance/), then per stale doc offer re-scout / re-baseline / defer. Not the daily loop; commit-gate auto-heal owns routine maintenance.

879 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
138
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/arbiterForge/codeArbiter --skill context-check

The instruction itself

7 sections, as written by the author

context-check

An optional, on-demand drift audit for bypass cases: a merge or an external

edit drifted a tracked source file you are not about to commit, so commit-gate's

Phase 5.5 auto-heal did not fire. This skill reports stale docs and lets you

act on each one individually.

This skill is NOT in the daily loop. Commit-gate auto-heal (Phase 5.5,

heal_worklist) owns the routine maintenance path. Invoke this only when drift

was introduced outside a commit (e.g. a direct push, a merge you did not

author, a manual file edit).

Pre-flight

Read these before computing drift:

  • .codearbiter/.provenance/ — the per-doc provenance records. Load all

records via load_provenance_dir from

${CLAUDE_PLUGIN_ROOT}/hooks/_provenancelib.py.

  • .codearbiter/code-map.md — coarse concern map; read to orient on which

modules the stale docs govern.

Flow

Step 1 — Compute drift

Use _provenancelib helpers in this order:

  • load_provenance_dir(root + "/.codearbiter/.provenance/") — returns the

provenance map {doc: record}.

  • Collect all drift_trigger: true paths across all records.
  • batch_hash(paths, runner) — hash every existing path in one git call.
  • compute_drift(provenance_map, current_hashes) — returns a drift report

{doc: [{path, kind}]} for docs that have stale sources.

Alternatively reuse the same logic as startup_drift_line by calling it for

a human-readable summary, then inspecting compute_drift directly for detail.

If the drift report is empty: report "no stale docs — provenance is fresh"

and exit. No further action required.

Step 2 — Report stale docs

For each doc in the drift report, call changed_scope(doc_provenance, drift)

to list its drifted paths. Present a concise report before offering actions:

Stale docs (N):
  <doc>: <path1>, <path2>  (changed | missing)
  ...

Step 3 — Per-doc action loop

For each stale doc, present three choices and wait for the user to select one:

re-scout — dispatch an incremental re-scout of the drifted paths for this

doc, scoped to those paths only (like commit-gate Phase 5.5 heal but manually

invoked). The scout re-reads the changed paths and reports whether claims still

hold. If claims still hold: silently re-baseline the hashes via rebaseline.

If claims changed: surface the proposed doc edits for the user to accept before

re-baselining.

re-baseline — acknowledge the drift without re-scouting: call

rebaseline(provenance, current_hashes) to update the stored hashes silently.

Use this when the source change is cosmetic (formatting, comments, whitespace)

and the derived doc claims are still accurate.

defer — do nothing for this doc now. The drift line will reappear at the

next SessionStart. Use when the change is in-progress and the doc update should

wait for a later commit.

After processing all stale docs, summarize which docs were re-scouted,

re-baselined, or deferred.

Hard rule

This skill MUST NOT commit. If re-scout or re-baseline produces updated

.codearbiter/.provenance/ records, those file changes ride the next

user-initiated commit through commit-gate normally. No staging, no commits here.

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take arbiterforge/codearbiter-context-check from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.