analyzing-changes

analyzing-changes is a skill for Claude Code, Codex from telagod/code-abyss. It costs 48 tokens per session (956 once invoked), scanned A, original, MIT.

A guide for understanding the scope and effects of software changes, including code, tests, documentation, and configuration.

In plain words
What is it for?
Use it to inspect diffs, check documentation drift, assess change impact, review staged or committed work, and decide whether a large change should be split.
Why use it?
It helps reveal when a change has outgrown its documentation, tests, or module boundaries before it is committed or reviewed.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Part of the code-abyss plugin — 39 skills shipped together

Good fit Use it to inspect diffs, check documentation drift, assess change impact, review staged or committed work, and decide whether a large change should be split.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/telagod/code-abyss/analyzing-changes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add telagod/code-abyss --skill analyzing-changes
Clone the repo
git clone --depth 1 https://github.com/telagod/code-abyss

Made for: Claude Code, Codex.

Or install code-abyss, the plugin that ships this one along with the rest of its 39 skills.

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 analyzing-changes

README.md
[![agentmods](https://agentmods.dev/badge/skills/telagod/code-abyss/analyzing-changes/github.svg)](https://agentmods.dev/skills/telagod/code-abyss/analyzing-changes)
Your own site
<a href="https://agentmods.dev/skills/telagod/code-abyss/analyzing-changes"><img src="https://agentmods.dev/badge/skills/telagod/code-abyss/analyzing-changes/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 analyzing-changes

Your own site · 80×15
<a href="https://agentmods.dev/skills/telagod/code-abyss/analyzing-changes"><img src="https://agentmods.dev/badge/skills/telagod/code-abyss/analyzing-changes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 956 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.00956
Opus 5.5 $0.00019 $0.00382
Sonnet 5.5 $0.00010 $0.00191
Haiku 4.5 $0.00005 $0.00096

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

Security

Grade A, and why

analyzing-changes 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/change_analyzer.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/analyzing-changes/SKILL.md · 80 lines

What it actually says

变更校验关卡

看清「改了什么、影响哪里、文档是否跟上」——是变更的体检,不是审查替代品。

何时使用

场景 跑 判据
提交前(任何代码改动) ✅ 默认门禁
重构完成 ✅ 评估辐射面
设计级改动 ✅ DESIGN.md 是否同步
PR review ✅ 替代手工 diff 计数
跨模块大改 ✅ 看依赖图是否成环
紧急 hotfix ⚠ 跑,但允许文档同步延后到稳定后

三种模式

模式 时机 用途
working (默认) 写代码过程中 自检,看「我现在的工作面有哪些待整理」
staged git add 后、commit 前 提交闸,看「这一 commit 的合理性」
committed commit 完成后 review,看「上一段历史改了哪些范围」

警告判定

警告 触发 处置
代码 >50 行 而 DESIGN.md 未更新 设计层面变化未留痕 补 DESIGN.md「改了什么/为何」段
代码 >30 行 而无测试更新 测试覆盖滞后 补单测/集成测;或在 PR 注明「该路径已有 E2E 覆盖」
新增文件而 README.md 未更新 用户视角文档滞后 补模块入口说明
配置变更未记录 部署可能踩坑 CHANGELOG / DESIGN 留迁移说明
删除文件 引用可能未清理 全仓 grep 文件名/导出符号

解读输出

工具产出三类信号:

  1. 文件分类 — 自动分代码/文档/测试/配置;用于判断「是否纯文档变更」
  2. 模块识别 — 把变更聚到模块边界;用于判断「跨模块改动」
  3. 影响评估 — 行数 + 文件数;用于判断「改动是否需要拆 PR」

拆 PR 的判据(基于 commit 角度):

  • 跨 ≥3 模块且无统一主题 → 拆
  • 单 commit >500 行非生成代码 → 拆
  • 一次同时改架构 + 实现 + 文档 → 通常合理(同主题)

与其他 skill 联动

使用

node scripts/change_analyzer.js                   # working(默认)
node scripts/change_analyzer.js --mode staged     # 暂存区
node scripts/change_analyzer.js --mode committed  # 已提交
node scripts/change_analyzer.js -v                # 详细
node scripts/change_analyzer.js --json            # CI 用

人工复核

工具给信号,人下结论。先读受影响模块 README/DESIGN,确认:

  • 职责边界是否仍清晰
  • 设计决策是否仍成立
  • 测试是否覆盖新路径

设计级改动须于 DESIGN.md 留痕:改了什么、为何改、影响何处。三段缺一不可。

Files

What ships with it

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

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. 1mo ago First seen · 80 lines · 48 tokens per session scan A 10f250845b1a

Subscribe to this mod's changes

analyzing-changes is a skill published in the GitHub repository telagod/code-abyss (243 stars, last pushed 3mo ago), licensed MIT. It adds 48 tokens to every session and 956 once invoked, about $0.0002 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

Other skills, from other repositories

code-review

Use when the user EXPLICITLY asks for a lightweight pass, or for feedback/audit modes. Triggers: 'quick review', 'light review', 'look over this', '--quick', 'check my work', 'self-review before PR', 'review my code', 'audit this code', 'PR comments to address', 'reviewer said', 'address feedback', 'review PR #X…

axiomantic/spellbook · 177 tokens

fact-checking

Use when verifying technical claims in code, docs, or comments before merge. Triggers: 'is this claim correct', 'verify this', 'fact check', 'is this accurate', 'check these assertions', 'are these comments true'. NOT for: checking if AI hallucinated references (use dehallucination).

axiomantic/spellbook · 68 tokens

adversarial-review

Use when dispatching a subagent to re-check work against external feedback (PR review comments, audit findings, multi-comment review cycles, 'did I really address X' verifications). Triggers: 'verify all the review comments are addressed', 'check that I really fixed all the audit findings', 'did I miss anything from…

axiomantic/spellbook · 117 tokens

executing-plans

Use when you have an implementation plan ready to execute. Triggers: 'run the plan', 'start building', 'execute the tasks', 'implement the steps', 'next task in the plan', 'work through the plan'. Also invoked by develop after planning phase completes. NOT for: creating plans (use writing-plans).

axiomantic/spellbook · 71 tokens

distilling-prs

Use when triaging, categorizing, or summarizing PR changes to decide where human attention should go. Triggers: 'summarize this PR', 'what changed in PR #X', 'triage PR', 'which files need review', 'PR overview', 'categorize changes', or pasting a PR URL. NOT for: judging code quality or producing findings on a branch…

axiomantic/spellbook · 155 tokens

reviewing-prs

Load before dispatching any subagent to review or triage a pull request, to pick the correct file version for the branch and worktree state. Required by: advanced-code-review (PR mode), code-review (--pr), distilling-prs (Phase 2), each of which names this skill at its dispatch point. Also use directly when: 'review…

axiomantic/spellbook · 105 tokens