ai-mind: Skill for Claude Code

.agents/skills/speckit-agent-context-update/SKILL.md

speckit-agent-context-update is a skill for Claude Code, Codex from HWYD/ai-mind. It costs 20 tokens per session (409 once invoked), scanned A, original, MIT.

A command that refreshes the managed Spec Kit section in one or more coding-agent instruction files. Spec Kit is a project convention for keeping feature plans and related guidance in a predictable place.

In plain words
What is it for?
It helps update files such as AGENTS.md, CLAUDE.md, or Copilot instructions after a Spec Kit plan changes.
Why use it?
It keeps the instruction file pointing to the latest discovered plan without manually editing the managed section. It also respects the project’s configured file paths and markers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is HWYD/ai-mind's own configuration. It tells Claude Code and Codex how to work on ai-mind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-mind configures →

View source ↗ HWYD/ai-mind
Reuse

Borrowing it

Nothing to install: this file belongs to HWYD/ai-mind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/HWYD/ai-mind/main/.agents/skills/speckit-agent-context-update/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/HWYD/ai-mind

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for speckit-agent-context-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/hwyd/ai-mind/speckit-agent-context-update/github.svg)](https://agentmods.dev/skills/hwyd/ai-mind/speckit-agent-context-update)
Your own site
<a href="https://agentmods.dev/skills/hwyd/ai-mind/speckit-agent-context-update"><img src="https://agentmods.dev/badge/skills/hwyd/ai-mind/speckit-agent-context-update/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.

agentmods 80×15 button for speckit-agent-context-update

Your own site · 80×15
<a href="https://agentmods.dev/skills/hwyd/ai-mind/speckit-agent-context-update"><img src="https://agentmods.dev/badge/skills/hwyd/ai-mind/speckit-agent-context-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 409 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00409
Opus 5.5 $0.00008 $0.00164
Sonnet 5.5 $0.00004 $0.00082
Haiku 4.5 $0.00002 $0.00041

Measured 2mo ago against content hash 87956159bd29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

speckit-agent-context-update 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 2mo ago.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/speckit-agent-context-update/SKILL.md · 33 lines

What it actually says

Update Coding Agent Context

Refresh the managed Spec Kit section inside the active coding agent's context/instruction file (e.g. CLAUDE.md, .github/copilot-instructions.md, AGENTS.md).

Behavior

The script reads the agent-context extension config at .specify/extensions/agent-context/agent-context-config.yml to discover:

  • context_file — the path of the coding agent context file to manage.
  • context_files — optional project-relative paths for multiple coding agent context files. When non-empty, the script updates each listed file and the list takes precedence over context_file.
  • context_markers.start / .end — the delimiters surrounding the managed section. Defaults to <!-- SPECKIT START --> and <!-- SPECKIT END --> when the field is missing.

It then creates, replaces, or appends the managed block so that the section points at the most recent plan path when one can be discovered (specs/<feature>/plan.md).

If context_files and context_file are empty, the command reports nothing to do and exits successfully. Context file paths must stay project-relative; absolute paths, Windows drive paths, backslash separators, and .. path segments are rejected.

Execution

  • Bash: .specify/extensions/agent-context/scripts/bash/update-agent-context.sh [plan_path]
  • PowerShell: .specify/extensions/agent-context/scripts/powershell/update-agent-context.ps1 [plan_path]

When plan_path is omitted, the script auto-detects the most recently modified specs/*/plan.md.

Changes

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.

  1. 2mo ago First seen · 33 lines · 20 tokens per session scan A 87956159bd29

Subscribe to this mod's changes

speckit-agent-context-update is a skill published in the GitHub repository HWYD/ai-mind (21 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 409 once invoked, about $0.0001 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-08-30.

Related

speckit-agent-context-update compared with skills from other repositories

speckit-agent-context-update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speckit-agent-context-updateHWYD/ai-mindSkill211mo agoMITA20Claude Code, Codex
boost-modulesav/harborSkill3.3k6d agoApache-2.0A0Claude Code, Codex
design-system-architectroedyrustam/vibes-plugSkill121yesterdayMITA43Cursor
senior-frontendroedyrustam/vibes-plugSkill121yesterdayMITA46Cursor
email-notification-expertroedyrustam/vibes-plugSkill121yesterdayMITA35Cursor
file-upload-media-expertroedyrustam/vibes-plugSkill121yesterdayMITA46Cursor
svelte-sveltekit-expertroedyrustam/vibes-plugSkill121yesterdayMITA44Cursor