speckit-agent-context-update

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

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/Carl-Fabri/TestAngularSpecDriven --skill speckit-agent-context-update-carl-fabri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-agent-context-update
Source: https://github.com/Carl-Fabri/TestAngularSpecDriven/tree/main/test-angular/.claude/skills/speckit-agent-context-update
Command: npx skills add https://github.com/Carl-Fabri/TestAngularSpecDriven --skill speckit-agent-context-update-carl-fabri

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Keeping coding agent instruction files (such as CLAUDE.md, AGENTS.md, or copilot-instructions.md) in sync with the current Spec Kit feature plan is manual and error-prone. This Skill refreshes the managed Spec Kit block 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/end markers. - Multi-File Support: Reads context_file and context_files from .specify/extensions/agent-context/agent-context-config.yml, with the list taking precedence when present. - Plan Auto-Detection: When no plan path is given, the script locates the most recently modified specs/*/plan.md. - Use Case: After generating a new feature plan with Spec Kit, run the update so your AI coding assistant's context file references the new plan without manual editing. ## Quick Start Ask the agent to update the Spec Kit section of the coding agent context file so it points to the latest feature 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 the Spec Kit section in CLAUDE.md automatically?

Run the update-agent-context script in Bash or PowerShell from the .specify/extensions/agent-context/scripts directory. It reads the agent-context-config.yml file, finds the configured context file, and rewrites the managed block between the Spec Kit markers.

How do I manage multiple coding agent context files with Spec Kit?

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

Does the agent context update work without specifying a plan path?

Yes. When the plan_path argument is omitted, the script auto-detects the most recently modified plan file matching specs/*/plan.md and points the managed section at it.

Why does the context update reject my context file path?

Context file paths must be project-relative. Absolute paths, Windows drive paths, backslash separators, and .. path segments are rejected, so rewrite the path relative to the project root using forward slashes.

What happens if no context file is configured in Spec Kit?

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