speclite-check-canonical-source-change

speclite-check-canonical-source-change is a skill for Claude Code from flanliulf/SpecLite. It costs 91 tokens per session (977 once invoked), scanned A, original, MIT.

A read-only consistency check for changes to SpecLite’s canonical source files. A canonical source is the main version from which related files, documentation, tests, and packaging data are derived.

In plain words
What is it for?
Use it after changing SpecLite skills, hooks, agents, documentation, fixtures, or packaging to check related files and identify the focused tests and validation commands to run.
Why use it?
It helps detect when an update leaves counts, help indexes, hooks, fixtures, documentation, or release manifests out of sync.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it after changing SpecLite skills, hooks, agents, documentation, fixtures, or packaging to check related files and identify the focused tests and validation commands to run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flanliulf/speclite/speclite-check-canonical-source-change
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 flanliulf/SpecLite --skill speclite-check-canonical-source-change
Clone the repo
git clone --depth 1 https://github.com/flanliulf/SpecLite

Made for: Claude Code.

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 speclite-check-canonical-source-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-check-canonical-source-change/github.svg)](https://agentmods.dev/skills/flanliulf/speclite/speclite-check-canonical-source-change)
Your own site
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-check-canonical-source-change"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-check-canonical-source-change/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 speclite-check-canonical-source-change

Your own site · 80×15
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-check-canonical-source-change"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-check-canonical-source-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 977 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.00091 $0.00977
Opus 5 $0.00046 $0.00489
Sonnet 5 $0.00018 $0.00195
Haiku 4.5 $0.00009 $0.00098

Measured 12d ago against content hash b72c2fad9cdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

speclite-check-canonical-source-change 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_canonical_source_change.mjs), 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.

.agents/skills/speclite-check-canonical-source-change/SKILL.md · 43 lines

What it actually says

[Overview(技能说明)] 只读检查 assets/source/speclite/ 作为 SpecLite canonical source 发生新增或修改后的闭环一致性。它把 canonical skill、hook、agent、fixture、docs 和 release packaging 的派生关系集中成一份可执行检查清单,避免 root counts、module-help.csv、hook descriptor、安装 fixture 或发布 manifest 漂移。

[Core Capabilities(核心能力)] - Root counts 对齐:统计 core-skillssdlc-skillssupport-skillshooks,确认默认安装 baseline 仍是 core+sdlc。 - module-help.csv 对齐:检查 core / sdlc package roots 是否都有 help row,并报告重复、缺失或未知 row。 - Hook source 完整性:检查每个 canonical hook package 的 README.mdhook-manifest.jsonrunner.mjs、Claude/Codex fragment 和 manifest id。 - Agent lint 路由提醒:识别 speclite-agent-* 变更时提醒使用 speclite-agent-lint,避免套用 workflow-only 规则。 - 派生产物扫描:检查 CORE_SDLC_BASELINE_ENTRY_COUNT、文档旧数字、fixture 旧数字、legacy Codex hook array shape 和 release/packaging-manifest.json。 - 验证命令建议:输出 scoped script、skill density、focused tests、build、full tests、packaging check 和 git diff --check

[Workflow(执行流程)] 1. 确认仓库根目录,默认在 SpecLite 仓库根运行。 2. 读取 references/canonical-change-checklist.md,确认本次 canonical 变更涉及 skill、hook、agent、docs、fixtures 或 packaging 哪些面。 3. 运行只读脚本: node assets/source/speclite/support-skills/speclite-check-canonical-source-change/scripts/check_canonical_source_change.mjs --project-root . --scope all --format json 4. 对脚本 findings 做人工复核:warning 表示需要同步派生产物;failure 表示脚本本身无法读取必要输入。 5. 若涉及 Agent 定义包,补跑: python3 assets/source/speclite/support-skills/speclite-agent-lint/scripts/check_agent_skill.py <agent-dir> 6. 若涉及普通 Skill 包,补跑: python3 assets/source/speclite/support-skills/speclite-skill-lint/scripts/check_skill_density.py <skill-dir> 7. 完成修复后重新运行 Step 3,并按脚本输出的 recommended commands 执行聚焦测试和 release packaging check。

[Notes(注意事项)] - 本 Skill 只读,不直接修改 canonical source 或派生产物。 - support-skills 不进入默认目标项目 skill mirrors;默认安装 baseline 只计算 core+sdlc。 - Hook guardrail 是 deterministic 保护层,不替代开发流程或人工 review。 - canonical-source-change-check hook 是 warning-only:提醒运行本 Skill 和验证命令,不阻断 Claude/Codex 会话。 - 检查报告必须用实际文件和脚本结果支撑,不凭记忆更新 sdlccoresupporttotal 数字。

[Generation Metadata(生成信息)] 本 Skill 由 speclite-skill-creator 体系维护并纳入 SpecLite support-skills。修改时必须同步 SKILL.mdSKILL.en.mdCHANGELOG.mdreferences/scripts/

Files

What ships with it

4 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. 12d ago First seen · 43 lines · 91 tokens per session scan A b72c2fad9cdf

Subscribe to this mod's changes

speclite-check-canonical-source-change is a skill published in the GitHub repository flanliulf/SpecLite (4 stars, last pushed 2mo ago), licensed MIT. It adds 91 tokens to every session and 977 once invoked, about $0.0005 per session on Opus 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-31.

Related

Other skills, from other repositories

lain

Structural code intelligence for AI coding agents. Use this skill when the user wants to understand how a codebase is organized (modules, call graphs, file dependencies), find where to start reading, trace the impact of a change, find code by meaning, or understand what a symbol does in its full context. Do NOT use…

spuentesp/lain · 90 tokens

botpipe-workflow-authoring

Author, review, and improve Botpipe workflows. Use when Codex is asked to create packaged or workspace-local Botpipe workflows, convert codebases into workflows, design provider-heavy producer/verifier steps, write Botpipe prompts/contracts, inspect Botpipe traces, or apply Codex CLI/gpt-5.5 workflow patterns.

mrauter1/botpipe · 72 tokens

pre-merge

The CI gate. Takes a feature branch from "eng says done" to "PR open against staging with green checks". Runs the project's preflight-resolved pipeline from devkit/policy.json components[]: sync → parallel correctness + security waves → coverage → regression tail → security/migration → PRD-consistency → open PR. Emits…

ndisisnd/msg · 101 tokens

intake

The planning front-door. Captures feature ideas and bugs as graded rows in the root INTAKE.md ledger. Use it when the user says "log an idea", "capture a bug", "add to the backlog", "note this down", "track this feature", or invokes /intake. Owns the requirements interview — fleshes out thin ideas, proactively…

ndisisnd/msg · 239 tokens

merge

The ship gate — the only skill that merges. --staging merges the feature→staging PR on green CI, deploys, verifies, emits a human test script and stamps the staging sign-off on approval. --production ships the double-confirmed release to main and deploys production. Never self-certifies staging; nothing reaches main…

ndisisnd/msg · 94 tokens

msg

Root menu for msg skills, plus harness modes. --init is the one-time project bootstrap — use it when the user says "initialise project", "bootstrap repo", "set up the framework", "start a new project", or asks to set up project structure in an empty repo. Other modes: --init-staging (add a staging branch), --update…

ndisisnd/msg · 162 tokens