thanakritaof/agent-context-kit/agent-context

Claude Code and agent skill by thanakritaof/agent-context-kit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Initialize and maintain vendor-neutral repository context under docs/context, including project overview, durable topics, active work, checkpoints, rolling summaries, a backlog of things to do next, resumable handoffs across different agents (Claude Code, Codex, Antigravity), and archives. Use when setting up persistent AI context, starting or resuming non-trivial work, recording decisions or verification, switching agents, approaching context compaction, completing work, noting a backlog item, or when the user asks to initialize, save, checkpoint, summarize, restore, or resume project context.

Install

npx vskill@latest install thanakritaof/agent-context-kit/agent-context

SKILL.md

Agent Context

Persist shared context in the target repository, not in the installed skill. Treat the skill as the workflow and docs/context/ as the data store.

This skill is instruction-driven: you perform every action with your own file tools (read, write, edit) plus ordinary shell utilities (date, git, find/tree). There is no program to run. Follow the procedures exactly so any agent reproduces the same artifacts.

Resolve the target

Use the current repository root unless the user names another repository. Every path in this skill is relative to that target root, not to the installed skill directory. When the skill is installed outside the target, prefix paths with the target root.

The skill ships templates under assets/templates/. Copy a template into the target and replace its {{placeholder}} tokens; never write skill-relative state into the target as data.

Choose the action

Decide which lifecycle action applies, then follow its steps in references/procedures.md. Do not improvise the mechanics — the procedures define exact file names, frontmatter fields, and regeneration layouts.

  • Initialize — no active context exists. Scaffold docs/context/, the vendor entrypoints (AGENTS.md, CLAUDE.md, GEMINI.md), the /ac- slash commands, and the .gitignore entry.
  • Start work — non-trivial work with no matching active task. Create a task under docs/context/work/.
  • Resume — read docs/context/summary.md and the selected task, then report resumable state (blockers first, where each task stopped, and the backlog).
  • Checkpoint — record a compact result, next action, and where you stopped (resume_point) after a meaningful decision, implementation phase, verification run, or blocker. Do not checkpoint every tool call or edit.
  • Backlog — capture something to do later without starting it (/ac-note), or view and promote items (/ac-backlog); items surface in the summary briefing.
  • Refresh summary — force a rolling-summary refresh before session end, context compaction, agent switch, blocking, or completion, even when no new checkpoint is due.
  • Complete — set a task to completed and move it to docs/context/archive/, only after proportional verification.
  • Refresh tree — regenerate docs/context/generated/repo-tree.md after meaningful repository-layout changes.
  • Inspect — report active task status without changing anything.
  • Clean — remove managed context artifacts (context tree, vendor entrypoint blocks, /ac- commands) when the user asks to uninstall.
  • Install continuity hook — opt-in, never automatic: merge a SessionStart hook into the vendor's own config (Claude Code, Codex, and/or Antigravity — each is independent) that re-injects summary.md after session start, resume, /clear, and compaction, so state survives even if nobody remembered to refresh it first. See Continuity hook.
  • Install checkpoint nudge hook — opt-in, Claude Code and/or Codex (not Antigravity — its PostToolUse has no context-injection channel): install a PostToolUse hook that counts implementation edits since the last checkpoint and, past a threshold, reminds the agent to record one. It only nudges — checkpoint content still requires the agent's judgment. See Checkpoint nudge hook.

Record a decision, evidence, or blocker only when that fact exists. Do not invent them.

Automatic workflow

For every non-trivial implementation task:

  1. Read docs/context/summary.md first, then docs/context/index.md.
  2. Read docs/context/project.md, relevant topics, and the matching task.
  3. Resume matching active work or create a task.
  4. Record meaningful checkpoints; do not checkpoint every tool call or file edit.
  5. Refresh the summary every configured interval (default: every 3 checkpoints). Force a refresh before session end, compaction, agent switch, blocking, or completion.
  6. Promote reusable evidence to topics/ and project-wide facts to project.md.
  7. Archive completed work.

Skip tracking for trivial questions and read-only lookups. Never store secrets, raw transcripts, hidden reasoning, or unsupported claims.

Preserve trust order

Follow this priority when context conflicts:

  1. Latest explicit user instruction
  2. Verified code and command output
  3. Root agent instructions
  4. docs/context/project.md and topic documents
  5. Rolling summary and task records
  6. Generated repository tree

Mark stale context and correct it when verified. Do not treat generated or historical notes as stronger than current code.

References

  • references/procedures.md — exact, deterministic steps for every action. Read it before performing any action.
  • references/context-schema.md — artifact ownership, promotion rules, and checkpoint policy. Read it when changing document structure or promotion behavior.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
66
Repository forks
13
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/thanakritaof/agent-context-kit/agent-context/badge)](https://verified-skill.com/skills/thanakritaof/agent-context-kit/agent-context)

Something wrong with this skill or its page? Tell us.