Context Docs
Keep decisions, current work and next steps across AI sessions.
Context Docs provides reusable agent skills for context management in Codex and
Claude Code, with experimental Cursor and Antigravity support, validated
through their CLIs. The Cursor editor and Antigravity App and IDE were not
separately tested. Preserve project knowledge in readable Markdown so a new AI
session can pick up where you left off: what was decided and why, what is done
or blocked, and what to do next.
Designed for people without an established context-management workflow, it uses
your project's existing documents with as little setup and manual organization
as possible.
Vibe coding with AI prompts? Start with one useful note or keep your existing
PRD, design and task files. Review the context updates as you build, then ask your
next session to read them.

Website · Get started · See an example · User guide · Evidence · Contribute
Status: experimental, core skill v0.2.8 and adoption skill v0.1.16.
The v0.2.8 experimental prerelease covers shared
writer handoff and private journal input. Everyday installation selects this bundle.
The v0.2.7 release notes cover a narrow instruction
simplification and qualified checks.
The Codex candidate report's automatic-loading confirmation remains unverified;
Claude instruction events support loading in its checked sessions only.
The v0.2.6 release notes cover metadata filtering,
portable references and qualified synthetic checks. The earlier candidate’s
unlinked-note coverage gap remains; the separate installed check names the note
explicitly. See results and qualifications.
Publication and installation are separate actions. See release history for earlier
versions, feature boundaries and retained evidence.
For Codex and Claude Code · Experimental Cursor support · Experimental Antigravity support · Plain Markdown · MIT licensed
What you get
You should not have to invent a documentation system before you can preserve your
work. Context Docs gives your agent instructions to:
- Save what matters: decisions and their reasons, current work, blockers and next steps.
- Keep it useful: update stale sections, consolidate repetition and distinguish facts from proposals.
- Fit your project: use existing documents and choose content for their audience.
- Help the next session start: make the context discoverable from the README or documentation index.
- See progress in Markdown: show the documented goal, meaningful advances,
blockers and next action in an existing section or a linked Markdown view.
For example, after working on an export feature, your project context might contain:
## Current work
CSV export is implemented; empty-input behavior still needs testing.
## Decision (maintainer-approved)
Keep the existing export API to preserve compatibility.
## Next step
Test empty input before calling the feature complete.
Illustrative content, not a required template. The agent should derive entries
from your actual work and evidence. You review the changes; the next session
reads the saved context. See a fuller before-and-after example.
Explore the worked examples: the
Reading Queue walkthrough teaches
the full workflow; separate Codex → Claude Code
and Claude Code → Codex
cases show how to hand off the same project through saved Markdown.
Get started
Install both skills, then adopt them in the project you want to maintain.
Already installed? Skip to Use it.
The instructions below select published bundle v0.2.8: core 0.2.8 and
adoption 0.1.16. See the guide
for development-source installations.
Install in Codex
Ask Codex:
Use $skill-installer to install both skills from jaredchu/context-docs
at the published tag v0.2.8:
- skills/context-docs
- skills/adopt-context-docs
Install them together in ~/.agents/skills/.
Preserve existing installations and local customizations; report version
mismatches before upgrading. Report the installed VERSION values:
context-docs 0.2.8 and adopt-context-docs 0.1.16.
Manual installation and project-only setup →
Install in Claude Code
For a first installation, run these commands in a terminal:
git clone --branch v0.2.8 https://github.com/jaredchu/context-docs.git
cd context-docs
mkdir -p ~/.claude/skills
cp -r skills/context-docs skills/adopt-context-docs ~/.claude/skills/
cat ~/.claude/skills/context-docs/VERSION ~/.claude/skills/adopt-context-docs/VERSION
If either skill is already installed, review the upgrade guidance
before copying files. Project-only setup and instruction loading →
The version output should be 0.2.8 followed by 0.1.16.
Install in Cursor (experimental)
Experimental Cursor support, validated through the CLI; editor not separately tested.
One bounded Cursor CLI trial used the unchanged
v0.2.7 skills from an existing ~/.claude/skills installation, in print mode on
Free. Interactive sessions, the desktop editor and fresh installation are untested.
If you already installed both skills for Claude Code or Codex, Cursor
documents reading those directories;
reuse them instead of copying another set. Otherwise, for a first installation
in Cursor's own user directory (fresh placement not tested):
(
git clone --branch v0.2.8 https://github.com/jaredchu/context-docs.git &&
cd context-docs &&
mkdir -p ~/.cursor/skills &&
test ! -e ~/.cursor/skills/context-docs &&
test ! -e ~/.cursor/skills/adopt-context-docs &&
cp -r skills/context-docs skills/adopt-context-docs ~/.cursor/skills/ &&
cat ~/.cursor/skills/context-docs/VERSION ~/.cursor/skills/adopt-context-docs/VERSION
)
The sequence stops at the first failure: a failed clone copies nothing, and the
guard copies nothing if either folder already exists. Expect 0.2.8 then
0.1.16; no version output means installation did not complete. Cursor setup, evidence and limits →
Install in Antigravity (experimental)
Experimental Antigravity support, validated through CLI; App and IDE not separately tested.
Bounded CLI results retain completion, loading and final-answer limitations.
The unchanged v0.2.7 bundle was checked
in project .agents/skills/. A denied-shell control and a later scoped attempt
completed adoption. The longer-timeout follow-up
retains task and loading limits alongside the earlier scoped outcomes
and preserved original trial.
From the root of your target project, for a first installation:
(
test ! -e .agents/skills/context-docs &&
test ! -L .agents/skills/context-docs &&
test ! -e .agents/skills/adopt-context-docs &&
test ! -L .agents/skills/adopt-context-docs &&
git clone --branch v0.2.8 https://github.com/jaredchu/context-docs.git context-docs-skills &&
mkdir -p .agents/skills &&
cp -r context-docs-skills/skills/context-docs context-docs-skills/skills/adopt-context-docs .agents/skills/ &&
cat .agents/skills/context-docs/VERSION .agents/skills/adopt-context-docs/VERSION
)
The guards preserve existing folders and symlinks; a failed clone copies nothing.
The source checkout is context-docs-skills/ in your project. Expect 0.2.8 then
0.1.16. Reuse existing project copies; review the upgrade guidance before
replacing them. Antigravity setup, evidence and limits →
Use it
1. Set up your project
Open your project in your coding agent and invoke:
| Codex |
Claude Code |
Cursor (experimental) |
Antigravity (experimental) |
$adopt-context-docs |
/adopt-context-docs |
/adopt-context-docs |
/adopt-context-docs |
The adoption skill applies the context workflow and adds or reuses a maintenance
rule in the project instructions your agent loads. It preserves equivalent
existing rules and the project’s documentation layout, and reports when it cannot
confirm instruction loading.
Adoption directs the agent to start a simple inline progress path by default when
the documented goal and work support one, including during explicit re-adoption.
The guidance reuses existing views and keeps them current during everyday context
updates, without a second task list or repeated requests. Installation and upgrade
alone do not rewrite existing project setups.
If setup or saved context seems wrong, use the
read-only troubleshooting prompt.
2. Save decisions, current work and next steps
Once adopted, the project's loaded maintenance rule guides the agent to update
context after meaningful changes during normal work. You do not need to name
Context Docs in every prompt. Check that the rule is loaded and review the updates.
If an update is missed, or you want one explicitly, ask:
Update this project's context from the work we just completed.
Preserve decisions and their reasons, current work, blockers and next steps.
Review the resulting diff. You do not need to keep a session diary or log every
interaction. For shared Git context, include relevant context changes alongside
code in your already-authorized commit/transfer workflow, and confirm the other
checkout has those files before resuming. For ignored local-only context, use
your existing private transfer/backup procedure; it does not travel with a clone.
If work accumulated outside the current session, use the same skill
to refresh context against current evidence:
Use context-docs to refresh this project's context against current project evidence.
This uses existing maintenance guidance; no new skill or re-adoption is needed.
See the refresh guidance and focused check.
To inspect documentation without changing it, ask:
Use context-docs to audit this project's context documents without editing files.
3. Resume with the saved context
Start a new session with:
Read this project's context entry point and its relevant linked documents.
Use the recorded decisions, current work and next steps to continue with the next task.
Find the entry point in your README, documentation index, or the adoption marker’s
Entry point: field. Explicitly
ask the agent to read it: a saved file alone does not ensure that a new session
loads it. To check what a new session takes from the saved note, use the optional
read-only verification prompt