Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jggomez/expert-ai-developer-skillsnpx agentmods add skills/jggomez/expert-ai-developer-skills/context-captureWrote 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.
[](https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/context-capture)<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/context-capture"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/context-capture/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.
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/context-capture"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/context-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00086 | $0.01596 |
| Opus 5.5 | $0.00034 | $0.00638 |
| Sonnet 5.5 | $0.00017 | $0.00319 |
| Haiku 4.5 | $0.00009 | $0.00160 |
Grade A, and why
context-capture 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context Capture Skill
Overview
This skill preserves durable project context, architectural decisions, conventions, and active handoff state across AI sessions using the Cross-AI LLM Wiki (context/memory/) shared seamlessly between Claude Code and Google Antigravity. At milestone completion (State 5), it updates living wiki pages in-place, appends a concise daily log block, and ensures target user repositories maintain a concise root AGENTS.md (<= 90 lines) wired to executable commands, root DESIGN.md, and context/memory/MEMORY.md. It also supports an optional scripted archive mode (context/sessions/).
When to Use
Token Conservation & Trigger Timing Rules
- At
State 5 (Ship & Finish): Run ONLY after QA verification (exit code 0) and compliance audit (APPROVED) pass. - On explicit user handoff request: When the user asks to "save context", "guarda contexto", "record decisions", or "hand off" between Claude Code and Antigravity.
- Standalone
shared-contextcheckpoints: When closing a standalone session containing durable architectural or convention changes.
When NOT to Use
- Intermediate workflow states (
State 0–State 4): Never checkpoint every few tool calls or mid-implementation. - Read-only Q&A or exploration: Skip when zero code, architecture, or convention changes occurred.
Process
Mode A: Primary Cross-AI LLM Wiki (context/memory/) + Target-Project AGENTS.md Sync
context/memory/MEMORY.md(Master Wiki Index & Handoff State,<= 80-100 lines):- Overwrite and compact in-place with three crisp blocks:
- Active Handoff State: Last AI host (
Claude CodeorAntigravity), active branch/task, completed milestone, and immediate next step. - Key Architecture & Conventions Summary: High-signal bullets pointing to
`[architecture.md]` (`./architecture.md`)and`[conventions.md]` (`./conventions.md`). - Recent Daily Logs Index: Relative pointers to the 5 latest daily logs:
`[YYYY-MM-DD.md]` (`./log/YYYY-MM-DD.md`).
- Active Handoff State: Last AI host (
- Overwrite and compact in-place with three crisp blocks:
context/memory/architecture.md&context/memory/conventions.md:- Update in-place only when structural decisions, module boundaries, or durable coding/tooling conventions changed.
context/memory/log/YYYY-MM-DD.md(Single Daily Chronological Log):- Append one concise 5–8 line milestone block per completed task:
## [HH:MM | Host: Claude Code | Antigravity] <Task Title> - **Outcome**: <1-2 lines of what was built and verified> - **Decisions**: <1-2 lines or pointer to ../architecture.md> - **Next / Pending**: <Immediate next step for the next AI session>
- Append one concise 5–8 line milestone block per completed task:
- Target-Project Root
AGENTS.mdBootstrap / Sync (<= 90 lines):- When operating in a target user repository that lacks a root
AGENTS.md—or when build/test/lint commands, tech stack, directory conventions, or rootDESIGN.mdchanged—bootstrap or update rootAGENTS.md(<= 90 lines, following the 4-section openAGENTS.mdtemplate inskills/loop-engineering/references/project-agents-template.md):## 1. Project Overview & Tech Stack(3–5 lines)## 2. Executable Commands(Install,Dev,Test,Lint / Typecheck,Build)## 3. Architecture & Coding Conventions(directory layout & non-obvious invariants)## 4. Design & Persistent Memory(explicit links to rootDESIGN.mdfor UI tokens andcontext/memory/MEMORY.md+architecture.md/conventions.md/log/for silent cross-session AI memory).
- When operating in a target user repository that lacks a root
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/record-schema.md 3.0 KB
- scripts/context_common.py 9.2 KB runs code
- scripts/context_pack.py 4.7 KB runs code
- scripts/context_rollup.py 5.7 KB runs code
- scripts/context_snapshot.py 8.4 KB runs code
- templates/architecture.md 332 B
- templates/decisions.md 449 B
- templates/flows.md 257 B
- templates/preferences.md 587 B
- templates/summary.md 418 B
- templates/topics.md 333 B
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.
- today First seen · 82 lines · 86 tokens per session scan A 27b1be347d3b
context-capture is a skill published in the GitHub repository jggomez/expert-ai-developer-skills (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 86 tokens to every session and 1,596 once invoked, about $0.0003 per session on Opus 5.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-11-06.
context-capture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-capturejggomez/expert-ai-developer-skills | Skill | 30 | yesterday | Apache-2.0 | A | 86 | Claude Code, Codex |
| mem0-statusmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| statusmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 54 | Claude Code |
| supermemorysupermemoryai/supermemory | Skill | 32k | yesterday | MIT | A | 81 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| browserwing-executorMemTensor/MemOS | Skill | 12k | 2d ago | Apache-2.0 | A | 42 | Claude Code, Codex |
| potpie-repo-baselinepotpie-ai/potpie | Skill | 5.8k | 7d ago | Apache-2.0 | A | 75 | Claude Code, Codex |