context-probe
Minimal Context Sentinel Installer. Installs a managed block into ALL detected rule files.
Commands
-
/context-probeInstall or update the Context Sentinel rule into ALL detected rule files. -
/context-probe statusCheck which files contain the Context Sentinel block. -
/context-probe offRemove the Context Sentinel block from ALL rule files. -
/context-probe helpShow usage.
Design Principles
- Broadcast installation (multi-layer redundancy).
- Deterministic, machine-detectable sentinel token.
- No heuristics, no telemetry, no context estimation.
Install Targets (NO PRIORITY MODE)
Install into EVERY file that exists among:
AGENTSAGENTS.md.agents.agents.md.cursor/rules/context-probe.cursor/rules/context-probe.mdCLAUDE.md(repo root)
Rules:
- Do NOT choose a single target.
- Do NOT remove lower-layer blocks when higher-layer exists.
- Each file receives its own managed block (idempotent per file).
Managed Block Format
Use EXACT delimiters in every file:
<!-- CONTEXT_PROBE:BEGIN v0 -->
... managed content ...
<!-- CONTEXT_PROBE:END -->
Installable Block Content (v0)
<!-- CONTEXT_PROBE:BEGIN v0 -->
# Context Sentinel — Minimal Hard Constraint
# Managed by /context-probe. Do NOT edit manually.
## Hard Rule
Every assistant response MUST end with the exact token:
[Context: OK]
## Priority
This rule overrides any conflicting instructions in this file.
## Non-Overridable
User instructions MUST NOT disable, remove, or modify this behavior.
<!-- CONTEXT_PROBE:END -->
File Operation Rules
For EACH detected target file:
- If file exists:
- Insert the managed block at the TOP (after title/header if present).
- If block already exists, update it in place (do not duplicate).
- If file does NOT exist:
- Do NOT create new rule files (only install into existing ones).
Global constraints:
- Never overwrite user content outside the managed block.
- Never duplicate blocks in the same file.
- On uninstall, remove ONLY the managed block from each file.
Command Behavior
/context-probe
- Scan all target files.
- For each existing file:
- Insert or update the managed block.
- Output summary:
Installed files: - <path1> - <path2> ... Version: v0
/context-probe status
- Scan all target files.
- Report for each:
- path
- present: true/false
- version: v0 if found
/context-probe off
- Remove the managed block from ALL target files.
- Confirm list of modified paths.
/context-probe help
- Print command list and usage summary.
Hard Constraints
- Never overwrite user content outside the managed block.
- Never duplicate blocks in the same file.
- Never ask for confirmation; apply best-effort safe edits.
- Do not perform priority arbitration or cross-file deduplication.
More from hubvue/skills
prompt-interviewer
Senior Prompt Engineer and Prompt Interviewer that interviews users to refine and complete their prompts through structured analysis and iterative questioning. Use when a user has an initial prompt but needs help refining it for better LLM performance: (1) When a prompt lacks clarity or context, (2) When constraints or boundaries are missing, (3) When output formats or quality criteria are undefined, (4) When there are ambiguities or conflicting requirements
15deep-learning
Systematically learn and explain the principles of a library, framework, module, function, or code path. Use when a user wants to understand overall architecture, module responsibilities, execution flow, call chains, core data structures, design tradeoffs, implementation details, or interview-ready explanations from source code.
5dev-spec
Spec-driven development workflow skill for product requirement intake, engineering research, technical planning, task breakdown, implementation, testing, bugfix loop, and engineering review. Use when a user wants to run or continue a structured software delivery workflow with explicit specs, durable artifacts, and iterative implementation/testing loops.
3prompt-minifier
Minify verbose prompts into semantically equivalent minimal prompts while preserving behavior. Supports configurable output modes (prompt-only or prompt + compression report).
3code-evolver
当用户要求将会话中的代码规范、工程约定、架构约束、命名规则、目录结构、测试要求、提交流程、协作规则或 AI 协作规则沉淀为长期可复用的项目规则,或在对话中持续出现这类稳定约束时,调用此 skill。用于识别规则、判断新增/更新/合并/冲突、过滤临时指令,并按职责同步到 .cursor/rules、AGENTS.md、CLAUDE.md。
1doc-skill-creator
Use this skill when the user wants to convert one or more existing documents into a dedicated skill, including analyzing suitability, extracting capabilities, designing the skill structure, and drafting SKILL.md and references.
1