speckit-agent-context-update

Updates the managed Spec Kit section in coding agent context files.

Updated May 28, 2026
One-click install
npx skills add https://github.com/whw23/PingoGate --skill speckit-agent-context-update-whw23
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-agent-context-update
Source: https://github.com/whw23/PingoGate/tree/main/.claude/skills/speckit-agent-context-update
Command: npx skills add https://github.com/whw23/PingoGate --skill speckit-agent-context-update-whw23

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping coding agent context files like CLAUDE.md, copilot-instructions.md, or AGENTS.md synchronized with the current Spec Kit feature plan is a manual, error-prone task. This Skill refreshes the managed Spec Kit section automatically so the agent always points at the latest plan. ## Core Features & Use Cases - Managed Section Updates: Creates, replaces, or appends a delimited Spec Kit block inside one or more agent context files using configurable start and end markers. - Automatic Plan Detection: Discovers the most recently modified specs/<feature>/plan.md when no plan path is provided. - Multi-File Support: Reads context_file and context_files from the agent-context config and validates that all paths stay project-relative, rejecting absolute paths, backslashes, and .. segments. - Use Case: After generating a new feature plan with Spec Kit, run the update script so CLAUDE.md immediately references specs/001-auth/plan.md without manual editing. ## Quick Start Update my agent context file to point at the latest Spec Kit plan.

Frequently Asked Questions about speckit-agent-context-update

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update CLAUDE.md with the latest Spec Kit plan?▼

Run the update-agent-context script in Bash or PowerShell from the agent-context extension. It reads the config, finds the most recently modified specs/*/plan.md, and rewrites the managed section between the Spec Kit markers in CLAUDE.md.

How do I manage multiple agent context files at once?▼

List the files under context_files in .specify/extensions/agent-context/agent-context-config.yml. When non-empty, the script updates every listed file and this list takes precedence over the single context_file setting.

Can I customize the Spec Kit section markers?▼

Yes, set context_markers.start and context_markers.end in the agent-context config. When these fields are missing, the script defaults to <!-- SPECKIT START --> and <!-- SPECKIT END -->.

Why does the context update script reject my file path?▼

Context file paths must be project-relative. The script rejects absolute paths, Windows drive paths, backslash separators, and .. segments to prevent writes outside the project.

What happens if no context file is configured?▼

If both context_files and context_file are empty, the command reports there is nothing to do and exits successfully without modifying any files.