STEP 01
Install the skills.
You'll need Codex, Claude Code, experimental Cursor or Antigravity, and a project folder you can edit. Start with one project you already work on. No cloud account or background service is needed for Context Docs itself.
Install context-docs, the maintenance workflow, and adopt-context-docs, its setup companion. Keep the complete folders side by side.
These install commands select published v0.2.8: core 0.2.8 and adoption 0.1.16.
Install in Codex
Paste this request into 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.Install in Claude Code
For a first installation, run in a terminal with Git available:
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/VERSIONInstall in Cursor (experimental)
Experimental Cursor support, validated through the CLI; editor not separately tested. Already installed both skills for Claude Code or Codex? Cursor documents reading those directories, so reuse them. Otherwise, for a first installation in Cursor's own directory, run in a terminal (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
)Checked in one print-mode trial on Free, with the skills read from an existing ~/.claude/skills installation. The trial did not observe the adoption skill being read directly. Interactive sessions, the desktop editor and fresh installation are untested. Setup, evidence and limits.
Install in Antigravity (experimental)
Experimental Antigravity support, validated through CLI; App and IDE not separately tested. Reuse existing project skills. For a first installation, run from the root of your target project:
(
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 commands preserve existing skills and create a source checkout in context-docs-skills/. Project placement in .agents/skills/ was tested with local copies; the network clone was not. The original trial and follow-ups retain mixed completion, loading and permission results. A later scoped adoption attempt completed; a repeatable end-to-end workflow remains unestablished. Setup, evidence and limits.
/adopt-context-docsSTEP 02
Set up one project.
Open the project you want to maintain in your coding agent. If you used the Claude Code clone commands above, use cd to enter your own project folder, then start a new Claude Code session there.
In Codex
$adopt-context-docsIn Claude Code
/adopt-context-docsIn Cursor (experimental)
/adopt-context-docsIn Antigravity (experimental)
/adopt-context-docsThe agent inspects existing documentation, reuses a suitable context entry point or creates one, and adds or reuses a maintenance rule in project instructions. It should fit the project's layout, rather than move everything into a new structure.
The new guidance also asks the agent to start a simple inline progress path by default when the documented goal and work support one. Reuse an existing view, skip a new view when facts are too sparse, and keep detailed information authoritative in one place. An explicit re-adoption can add a missing supported view without rewriting an equivalent rule or its original marker/date.
Starting from older notes? The skill asks the agent to check current-state claims against relevant code or configuration and preserve decisions and unfinished work. A configuration value does not verify runtime behavior. This is part of setup; it needs no extra skill invocation.
Before you move on
- Find the context entry point: the starting document linked from the README or documentation index. Its actual path is also recorded in the adoption marker.
- Check that the maintenance rule is in instructions your agent actually loads. The Claude Code reference explains how to confirm this; for Codex, see its AGENTS.md guidance. The Cursor CLI documents reading
AGENTS.mdandCLAUDE.mdat the project root; the trial did not independently verify that loading. - Review what was written. Correct unsupported claims and keep private or machine-specific information out of shared docs.
You do not need to enable event logging to use this workflow. Existing logging settings are preserved; optional logging is explained in the reference guide.
STEP 03
Work, then save useful changes.
After adoption, a loaded project maintenance rule tells the agent to update context when work changes a decision, the current state or the next step. You do not need to mention Context Docs in every prompt. Review the updates and check that the rule is loaded.
The current guidance also asks for clear, direct wording, one agreed writer when sessions share a context file, and no incidental personal metadata in shared additions. Focused checks do not establish broad reliability, privacy guarantees or effort savings. There is no automatic redaction, secret scanner, file locking or merge guarantee.
If an update was 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 changes in your agent or editor. Keep enough detail for the next reader to continue: what is known, why a decision was made, and what still needs doing. Replace stale facts and link to detailed evidence instead of pasting the entire conversation.
Refresh after outside work.
If context has drifted after work in another session or tool, ask the existing skill to reconcile it with current project evidence:
Use $context-docs to refresh this project's context against current project evidence.This uses existing maintenance guidance; no skill upgrade or re-adoption is needed. Name relevant changed files, reports or a known revision range when useful, then review the diff and verification limits.
If nothing needs updating, report what was checked and stop. A routine no-change result needs no new report, commit or publication.
Refresh evidence and limits.
A guided synthetic evaluation of one fictional project, authored and scored by Codex on one client with explicit skill loading, repaired drift and made no edits on a second fresh run. Separate retrospective maintainer observations cover related repositories in the same ongoing chat, with explicit no-change cues for repeats. Neither source had an ordinary-maintenance/no-skill control or independent outcome scoring. Bounded no-change checks cannot rule out missed drift; these results establish no general reliability, automatic selection or user-effort savings. The linked records retain the methods, outcomes and limitations.
## 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.This is an illustration, not a required template or an evaluation result. Your agent should use evidence from your project and preserve its useful existing structure.
Optional: release details and qualified checks (v0.2.4–v0.2.7)
The v0.2.7 release shortens repeated instructions while retaining the existing scope and safeguards. Guided checks in Codex and Claude cover refresh, repeat and re-adoption on one reused fixture. Codex's automatic-loading claim remains unverified; Claude instruction events support loading in those sessions only. These checks establish no general reliability or user-effort savings. Read the qualified simplification results.
The v0.2.4 release adds a small clarity preference during authorized context edits: use clear, direct sentences and consistent project terms while preserving conditions, uncertainty, rationale and evidence. Keep existing layouts and unrelated owner text. ASD-STE100 compliance is not required.
Both clients pass the focused Markdown checks. Claude's chat report adds an unsupported pronoun; the saved Markdown is unaffected. These guided, author-scored cases do not demonstrate comprehension gains or automatic everyday application. Read the qualified clarity smoke results.
The v0.2.5 release adds conditional guidance for concurrent sessions editing the same context file: agree on one writer before edits begin, send other participants' findings to that writer, and change writers through an explicit handoff. Prefer narrow edits; after a conflict or stale-text failure, reread the current file and reconcile changes before retrying. Installing skills in both Codex and Claude does not coordinate sessions. There is no file locking or automatic merge guarantee.
In the guided candidate smoke, both clients respect ownership and handoff and reread after the forced stale edit. Claude retries its own second mismatch without another reread, a procedural failure despite preserved final content. Codex corrects a read-only anchor-check error. These author-scored cases do not test simultaneous writers or establish general conflict prevention. Read the qualified concurrency smoke results.
The v0.2.6 release strengthens what gets saved: omit incidental personal metadata from shared additions, prefer repository-relative source links and summarize useful findings instead of repeating bookkeeping. Keep useful local paths and necessary diagnostic relationships in appropriate destinations. Preserve decisions, rationale, conditions, uncertainty and evidence. Review what you share; no automatic redaction or secret scanner is included.
Both clients pass visible saved-Markdown checks in the guided, author-scored smoke. Claude could not locate an unlinked private operator note with its restricted tools; filtering incoming content from that note remains untested. These cases establish no automatic everyday application or general privacy guarantee, and native journal capture was not tested. Read the qualified metadata-filtering smoke results.
STEP 04
Give the next session a starting point.
Open the same project in a new session and ask:
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.If the agent cannot find the entry point, provide the path recorded during setup. Ask it to check relevant code or other evidence before relying on a claim that may be stale.
The saved document helps the agent get oriented. It does not automatically load every file or restore the previous conversation. You still decide what to work on next.
The next session can use a different client. See the walkthroughs for switching between Codex and Claude Code.
Optional: verify a resumed session.
Before continuing work, you can check what a new session takes from your saved context. In a new session in the same project, send this read-only prompt:
Read this project's context entry point and its relevant linked documents.
Using only those saved files, report the recorded decision most relevant to the
next task and its reason, any blockers, and the next action. Cite the file and
section for each answer. Say what is missing rather than guessing from code or
memory. This is read-only: do not change files or continue implementation.If the session cannot find the entry point, replace "this project's context entry point" with the path recorded during setup. Compare the answer with the saved note yourself. If an answer is missing, wrong or uncited, inspect the note and use the troubleshooting prompt. This checks explicitly directed reading, not automatic loading of instructions, skills or context. For another checkout, follow the transfer guidance first.
For practice, follow the Reading Queue walkthrough.
IF SOMETHING IS MISSING
Troubleshoot setup and saved context.
When a skill is available, start with the ordinary read-only audit prompt. If the skill is unavailable or the audit does not explain the problem, paste this ordinary-language prompt without invoking a skill; it can report missing skill availability. Name your context entry point if you know it.
The prompt is read-only: the agent reports in chat and suggests repairs without executing them. It reports instruction loading as "not verified by this check", and missing evidence stays unknown.
Show the read-only troubleshooting prompt
Troubleshoot Context Docs setup and saved context for this open project.
This is read-only. Report in chat; do not create or edit files, settings or logs,
install or upgrade skills, enable logging, commit, push or publish. Do not
enumerate, search or read event journals, transcripts, native memory or history.
1. Read the project's instructions and README or documentation index. Locate
the maintenance rule and declared context entry point. Follow the relevant
instruction-file references; distinguish a configured route from evidence
that the current client loaded it.
2. Read the named entry point directly, even if ignored files are absent from
search. Check relevant links and claims against the project evidence needed
for the reported problem. Check that the saved context exists in this
checkout; where Git is available, report tracked, untracked or ignored status
using path-scoped queries for the named context files, without changing it.
Use known paths rather than broad searches that could enumerate journals.
Respect intentional local-only storage. Identify specific contradictions or
stale claims; do not infer staleness from age alone.
3. Distinguish skills advertised by this client from installed files you can
inspect. Read only SKILL.md and VERSION for context-docs and adopt-context-docs
in the current client's installation locations: .agents/skills or
~/.agents/skills for Codex; .claude/skills or ~/.claude/skills for Claude Code;
for experimental Cursor, .cursor/skills, .agents/skills, .claude/skills
or .codex/skills in the project or home directory; or an installation path I
explicitly supply. Open those named package files
directly; do not enumerate unrelated skills or other user directories. If a
package or path is unavailable, report that limit and continue the project
checks without requiring a skill invocation. Read installed versions from
installed VERSION files, not this project's source or README.
Keep personal installation locations and versions in this chat report only.
4. Report loading as "not verified by this check". List evidence I supply or
that is directly visible in this session separately with its scope; do not
infer automatic loading from a filename, a marker, an advertised skill or a
successful file read. Do not start another session or run a behavioral test.
List the files examined, then report each discrepancy or unknown with its
evidence and a suggested repair. Suggest repairs without executing them.
If none are found, say "No discrepancies found in the files examined" and list
remaining unknowns. Do not certify accuracy, freshness or successful loading.For installation locations, see Codex installation and Claude Code installation; the Claude Code reference also describes /context and the Project instructions setting. The prompt produces a scoped report, not a health score. Behavior in a newly opened client and newcomer usability remain untested.
PROGRESS IN YOUR CONTEXT
See progress during everyday work.
Core 0.2.8 · Adoption 0.1.16 · Released
v0.2.3 favors a concise overview: the goal, meaningful outcomes, dependencies and blockers, and the next action. Link to detailed evidence instead of repeating test counts or review history. Preserve decisions, rationale, approval boundaries and relevant qualifications; no fixed length limit or new evidence store is required. Keep existing layouts and owner edits, and include more detail when needed or requested.
This guide reflects the source versions shown above. During adoption, the new guidance directs the agent to create a small inline tree, arrow path or nested checklist when the documented goal and work support it. You do not need to ask for visualization first. Existing lists, tables, diagrams and designated progress sections or files keep their format and location; omit the new view if the context is too sparse or you ask to skip it.
Pilot CSV export [G] GOAL INCOMPLETE
|
|-- DONE CSV columns check [C]
|
`-- BLOCKED Empty-input check [E]
`-- NEEDS representative input [E]
`-- NEXT prepare input, then run empty-input check [E]
Outside the completion path:
PROPOSED five retries [G] (not approved or implemented)Sources: G: goal and proposal · C: passed check; E: blocker, prerequisite and next action.
To request or reshape a view explicitly:
Use context-docs to visualize this project's progress in Markdown.
Show the documented goal, completed and blocked work, meaningful advances
and next action as a compact visual path. Show dependencies and put blockers
beside the work they stop. Link to sources and mark unknowns. Reuse the
existing context layout, or link a separate Markdown file if that reads better.Keep parallel conditions as branches, show ordering only when supported and put clickable source links outside text diagrams. Keep proposed work separate from required completion conditions; retain unknowns instead of inventing completion percentages.
The loaded maintenance rule guides updates to the same view after meaningful changes during everyday work, without repeated requests. Link to canonical details and evidence instead of keeping duplicate task lists. An unchanged repeat should make no edits. This happens during active sessions, not through background tracking.
An explicit visualization request can reshape the same view while preserving owner edits and record locations. You can request a separate linked Markdown file. Installation or upgrade alone does not create a view or change existing project setups.
For a question about repeated attempts, relevant Git history, retained dated notes or an existing journal may support a possible stall. This does not enable logging or change an explicit off setting. Without history, repetition remains unknown. A saved active item is not proof that an agent is running.
Keep a local-only view within the project's existing ignored, untracked storage. Do not copy private facts into shared summaries. Audits remain read-only. Review each source link and reported status.
See the synthetic progress example · Detailed progress guide
Optional: qualified progress check (v0.2.3), including a strict write-scope failure
In the guided candidate smoke, progress checks pass in both clients. Codex also creates and removes a temporary hash file outside its allowed paths, so strict write scope fails. These author-scored cases do not establish general reliability. Read the qualified smoke evidence.
OPTIONAL STORAGE
Keep context local-only.
Choose context excluded from Git when it belongs on your machine. Existing shared setups stay intact unless you request a change. For a local-only setup, ask:
Use $adopt-context-docs to set up local-only context, excluded from Git.
Reuse my existing local context and instruction locations if present;
otherwise use .context/local/ for context files. Use repository-local excludes
for my personal setup. Keep private content out of shared docs and instructions.
Verify both tracking and ignore status, including the journal if already enabled.
Preserve existing tracked context and resolve migration scope before changing it.
Record how a fresh session should find the local entry point, and report whether
the guidance actually loads. Leave logging settings unchanged.In Claude Code, replace $adopt-context-docs with /adopt-context-docs. The paths are examples; reuse yours. An ignore rule does not stop tracking an existing file or remove old commits. Read the named entry point directly in a fresh session, since searches may omit ignored files.
Local files need your own backup or transfer between machines. Git exclusion does not provide encryption. Keep local content out of shared docs, instructions and journals.
Retain history with optional logging.
A journal can retain significant decisions, checks and corrections as current context changes without Git history. Logging stays off unless you opt in. Auto for local-only context inside Git requires core 0.1.8/adoption 0.1.9 or later. With auto and no existing setting, it qualifies only when both context and journal paths are verified ignored and untracked. An explicit off, enabled setting or another logging method always wins.
Use adopt-context-docs to apply my auto logging preference to this local-only setup.
Context Docs logging preference: auto
Use the existing context at .context/local/ and journal directory
.context/local/events. Verify that both are ignored and untracked before enabling.
Preserve explicit logging settings, adoption dates, paths and existing records.
Do not move files, change ignore rules or create a log for setup.Unverified paths leave logging unchanged. Audits stay read-only, and setup creates no event. The journal records selected events; complete document versions still need snapshots or backups. See the full logging guide.
WHEN YOU NEED IT
A few common questions.
The skill does not appear in my agent.
Confirm both complete skill folders are in the selected skill directory and use one installation scope. In Codex, restart if changes do not appear. Follow the installation reference for client-specific checks, including the experimental Cursor directories, or use the read-only troubleshooting prompt.
My project already has context documents.
Use adoption to reuse the current layout and equivalent maintenance rules. You should not have to migrate working documentation simply to follow this method.
My context is getting too long or contains wrong information.
Ask for an audit first: it reports gaps without editing files. See the audit and maintenance prompts. Then request a focused maintenance pass to verify claims, consolidate repetition and keep information appropriate to its audience. Review any proposed removals; a short document is not automatically a useful one.
Will this save tokens or prevent factual mistakes?
There is no guarantee of lower token use, accuracy or privacy. The goal is useful context with less manual organization, and the project is experimental. Read the recorded evidence and limits.
How do I report a problem?
Open an issue with the installed skill version (from its folder's VERSION file), expected behavior and what happened. Use a synthetic example or public evidence; do not upload private project context or credentials.
READY FOR THE NEXT SESSION
Start with one project.
Use the workflow in your normal work. Keep the useful changes, review the diff, and improve your setup when you encounter a concrete problem.
Full installation and usage reference