context-vigilance

context-vigilance is a skill for Claude Code, Codex from lossless-group/lossless-agent-skills. It costs 142 tokens per session (7,399 once invoked), scanned A, original, MIT.

A set of working conventions for organizing a project's context-v/ folder, where teams keep plans, specifications, prompts, reminders, and other material used by people and coding agents.

In plain words
What is it for?
Use it when creating, updating, or arranging files in context-v/ and its folders, including specs, plans, prompts, issues, explorations, and agent skills.
Why use it?
It gives shared files a consistent place and reduces confusion when several agent sessions work on the same project. It also tells agents to record inconsistencies instead of silently changing files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions AGENTS.md.

Good fit Use it when creating, updating, or arranging files in context-v/ and its folders, including specs, plans, prompts, issues, explorations, and agent skills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lossless-group/lossless-agent-skills/context-vigilance
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 lossless-group/lossless-agent-skills --skill context-vigilance
Clone the repo
git clone --depth 1 https://github.com/lossless-group/lossless-agent-skills

Made for: Claude Code, 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-vigilance

README.md
[![agentmods](https://agentmods.dev/badge/skills/lossless-group/lossless-agent-skills/context-vigilance/github.svg)](https://agentmods.dev/skills/lossless-group/lossless-agent-skills/context-vigilance)
Your own site
<a href="https://agentmods.dev/skills/lossless-group/lossless-agent-skills/context-vigilance"><img src="https://agentmods.dev/badge/skills/lossless-group/lossless-agent-skills/context-vigilance/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-vigilance

Your own site · 80×15
<a href="https://agentmods.dev/skills/lossless-group/lossless-agent-skills/context-vigilance"><img src="https://agentmods.dev/badge/skills/lossless-group/lossless-agent-skills/context-vigilance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,399 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 original No closer match found 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.00142 $0.07399
Opus 5 $0.00071 $0.03700
Sonnet 5 $0.00028 $0.01480
Haiku 4.5 $0.00014 $0.00740

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

Security

Grade A, and why

context-vigilance 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 12d 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.

context-vigilance/SKILL.md · 326 lines

How it starts

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

Context Vigilance

A framework for Human + AI collaboration: manage the context available to AI and collaborators with the same rigor you manage code. Every Lossless project has a context-v/ directory with (commonly) eight subdirectories, organized into three cognitive modes: Prep, Reflective, and Journey — plus two universal utility folders and a small experimental tier still finding its shape.

Norms, not rules. Patterns here are loosely enforced. The team is generative-first; consistency emerges when attention focuses on a project, file, or pattern. Be generous reading existing files (they may pre-date current norms or be experiments) and careful writing new ones. See references/philosophy.md for the deeper rationale.

Drift policy: When you encounter inconsistencies (mismatched frontmatter, deviating filenames, partial-convention adoption), observe, note, surface, but do not auto-fix as a side effect of unrelated work. Cleanup happens only with explicit user permission. The user runs parallel agent sessions; silent normalization creates conflicts. (This rule lives globally in ~/.pi/agent/AGENTS.md; restated here for redundancy.)

Reference: https://www.lossless.group/projects/gallery/context-vigilance

When to use this skill

  • The user asks you to create or edit any file under a context-v/ directory
  • The user mentions specs, prompts, blueprints, reminders, explorations, or issues in the Lossless sense
  • Starting a new project and setting up context-v/
  • The user asks about context engineering, AI co-development, or "the context-v thing"

The Eight Directories

Prep Mode (spec → plan → prompt)

The work of deciding what to build is the work — "prep" here is not "minor pre-work", it's the deliberate forward construction phase. Specs, plans, and prompts are the artifacts, in descending altitude.

  • context-v/specs/ — Living specifications. What you're building and why. Constantly updated. Single source of truth. Every prompt references a spec.
  • context-v/plans/ — Actionable work plans: sequenced, scoped, closer to execution than a spec but not yet the step-by-step of a prompt. The natural home for agent-produced plans (plan-mode output, migration sequences, refactor roadmaps). Promoted to canon 2026-07-21 after appearing organically in 14 repos — the most-adopted folder the original six didn't name.
  • context-v/prompts/ — Step-by-step, prompt-by-prompt implementation documents (NOT single chat messages). Each prompt references specs/plans/blueprints/reminders. Success at each step is verifiable before moving on.

Read the full file on GitHub · 326 lines

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. 12d ago First seen · 326 lines · 142 tokens per session scan A ded05d6d6edc

Subscribe to this mod's changes

context-vigilance is a skill published in the GitHub repository lossless-group/lossless-agent-skills (4 stars, last pushed 19d ago), licensed MIT. It adds 142 tokens to every session and 7,399 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

memory-audit

Audit MEMORY.md against the memory discipline — oversized sections, settled multi-session patterns that belong in knowledge/concepts/, stacked chronicle blocks, stale entries. Produces a move plan as a table for approval, then executes the approved moves atomically. Use when the SessionStart hook reports a tripped…

awrshift/agent-memory-kit · 119 tokens

close-session

An end-of-session workflow that reviews new lessons, asks before promoting repeated patterns, refreshes memory files, and writes a handoff.

awrshift/agent-memory-kit · 64 tokens

aictx

Use this skill when working in a repository that uses AICTX for repo-local operational continuity. Prefer AICTX MCP tools when available, fall back to CLI commands, resume before substantial work, and finalize factual continuity after work.

oldskultxo/aictx · 48 tokens

tour

An interactive walkthrough of the Memory Kit system using the files in the current project. It explains how session handoffs, task backlogs, and stored project memory fit together.

awrshift/agent-memory-kit · 50 tokens

journal-optimizer

Guided database pruning and optimization workflows for memory-journal-mcp. Uses importance scores, relationship density, and entry metadata to identify low-value entries for safe soft-deletion. Includes dry-run previews, backup gates, and revert guidance. Use when the user says "clean up the database", "optimize…

neverinfamous/memory-journal-mcp · 101 tokens

init

Initialize structured context for this project. Scaffolds .scs/ with all 11 concern bundles, scans the project, and recommends where to start.

tim-mccrimmon/structured-context-spec · 33 tokens