by jaredchu
Agent skills for Codex and Claude Code that preserve project context, decisions and next steps across AI sessions in plain Markdown.
# Add to your Claude Code skills
git clone https://github.com/jaredchu/context-docscontext-docs is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by jaredchu. Agent skills for Codex and Claude Code that preserve project context, decisions and next steps across AI sessions in plain Markdown. It has 163 GitHub stars.
context-docs's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/jaredchu/context-docs" and add it to your Claude Code skills directory (see the Installation section above).
context-docs is primarily written in Python. It is open-source under jaredchu on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh context-docs against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Keep decisions, current work and next steps in your project.
Context Docs provides reusable agent skills for context management in Codex and Claude Code, with experimental Grok Build and Antigravity support through their CLIs. Your agent helps maintain readable project Markdown that records what was decided and why, what is done or blocked, and what to do next. Later sessions can use those same files to continue the work.
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.10 and adoption skill v0.1.17. The v0.2.10 experimental prerelease adds opt-in Markdown ticket guidance. The everyday install examples below select this bundle. The v0.2.9 release retired optional JSONL event capture. See the upgrade note for existing records. The v0.2.8 release notes retain the earlier changes. 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 Grok Build support · Experimental Antigravity support · Plain Markdown · MIT licensed
You should not have to invent a documentation system before you can preserve your work. Context Docs gives your agent instructions to:
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.
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.10: core 0.2.10 and adoption 0.1.17. See the guide for development-source installations.
Ask Codex:
Use $skill-installer to install both skills from jaredchu/context-docs
at the published tag v0.2.10:
- 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.10 and adopt-context-docs 0.1.17.
Manual installation and project-only setup →
For a first installation, run these commands in a terminal:
git clone --branch v0.2.10 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.10 followed by 0.1.17.
Install and sign in to Grok Build. Run grok inspect
from the root of an already trusted project to check for both skills. For a
new folder you trust, grok --trust inspect saves folder trust and lists what
Grok discovers. Folder trust enables discovery of project skills and loading
of AGENTS.md. For a first project installation, use the command below.
(
skills_dir=.grok/skills
for skill in context-docs adopt-context-docs; do
target="$skills_dir/$skill"
if [ -e "$target" ] || [ -L "$target" ]; then
printf 'Skill already exists: %s\n' "$target" >&2
exit 1
fi
done
source_dir=$(mktemp -d "${TMPDIR:-/tmp}/context-docs.XXXXXX") || exit 1
trap 'rm -rf -- "$source_dir"' EXIT
git clone --depth 1 --branch v0.2.10 https://github.com/jaredchu/context-docs.git "$source_dir" &&
mkdir -p "$skills_dir" &&
cp -R "$source_dir/skills/context-docs" "$source_dir/skills/adopt-context-docs" "$skills_dir/" &&
cat "$skills_dir/context-docs/VERSION" "$skills_dir/adopt-context-docs/VERSION"
)
Expect 0.2.10 followed by 0.1.17. Start grok in the target project
and run /adopt-context-docs. One synthetic headless check covered explicit
adoption and a read-only resume. Interactive slash commands, automatic skill
selection, ongoing maintenance, and repeatability remain untested.
Grok Build setup, evidence and troubleshooting →
Grok Build replaced Cursor in the current setup. Earlier Cursor guidance
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.10 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.10 then
0.1.17. Reuse existing project copies; review the upgrade guidance before
replacing them. Antigravity setup, evidence and limits →
Open your project in your coding agent and invoke:
| Codex | Claude Code | Grok Build (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 tas