AutoSkillit: Skill for Claude Code

.claude/skills/audit-cohesion/SKILL.md

audit-cohesion is a skill for Claude Code from TalonT-Org/AutoSkillit. It costs 64 tokens per session (5,284 once invoked), scanned A, original, MIT.

A codebase review of how consistently its parts fit together across boundaries. It looks for mismatched patterns, incomplete integrations, diverging parallel structures, and missing registry entries.

In plain words
What is it for?
Use it after major refactoring, before planning new features, or when checking whether related components, registries, and feature paths are complete and consistent.
Why use it?
A project can follow its architecture rules and still have components that do not align. This review finds those integration and consistency problems without changing source code.

Skill for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is TalonT-Org/AutoSkillit's own configuration. It tells Claude Code how to work on AutoSkillit 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 AutoSkillit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TalonT-Org/AutoSkillit. 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/TalonT-Org/AutoSkillit/main/.claude/skills/audit-cohesion/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/TalonT-Org/AutoSkillit

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 audit-cohesion

README.md
[![agentmods](https://agentmods.dev/badge/skills/talont-org/autoskillit/audit-cohesion.svg)](https://agentmods.dev/skills/talont-org/autoskillit/audit-cohesion)
Your own site
<a href="https://agentmods.dev/skills/talont-org/autoskillit/audit-cohesion"><img src="https://agentmods.dev/badge/skills/talont-org/autoskillit/audit-cohesion.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00064 $0.05284
Opus 5 $0.00032 $0.02642
Sonnet 5 $0.00013 $0.01057
Haiku 4.5 $0.00006 $0.00528

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

Security

Grade A, and why

audit-cohesion 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 6d 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.

.claude/skills/audit-cohesion/SKILL.md · 562 lines

How it starts

The opening of the file, as written. The whole thing — 562 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cohesion Audit Skill

Audit the codebase for internal cohesion: how well components integrate and maintain consistent patterns across boundaries.

Key Distinction: audit-arch checks whether architectural rules are followed (violations). audit-cohesion checks whether components fit together (alignment, consistency, completeness). A codebase can pass all architectural rules yet still have poor cohesion — parallel structures that diverge, registries with missing entries, or scattered features.

When to Use

  • User says "audit cohesion", "check cohesion", "cohesion audit", "alignment check"
  • After major refactors to verify integration fitness
  • Before planning new features to understand current alignment state

Critical Constraints

NEVER:

  • Modify any source code files
  • Update an existing report — always generate new
  • Duplicate findings that belong in audit-arch (rule violations)

ALWAYS:

  • Use subagents for parallel exploration (one per cohesion dimension)
  • All output goes under {{AUTOSKILLIT_TEMP}}/audit-cohesion/ (create if needed)
  • Final report: {{AUTOSKILLIT_TEMP}}/audit-cohesion/cohesion_audit_{YYYY-MM-DD_HHMMSS}.md — always one file, never split
  • Subagents must NOT create their own files — they return findings in their response text only
  • Score each dimension (STRONG, ADEQUATE, WEAK, FRACTURED)

Output Quality Standard

The report must be plan-ready. Every finding must contain enough detail that a /make-plan invocation can act on it without re-investigating the codebase.

ENUMERATE, do not summarize. The following are NOT acceptable findings:

Bad (anemic) Good (actionable)
"16 fields missing from registry" Table listing each missing field name, its source file:line, and suggested lifecycle category
"Several source modules without tests" Table listing each untested module path and what it does
"Export depth inconsistent" Table listing each symbol that requires deep imports, its deep path, and where consumers import it from
"48 files use broad exception handlers" Table listing each file:line, the exception type caught, and what it catches

Read the full file on GitHub · 562 lines

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. 6d ago First seen · 562 lines · 64 tokens per session scan A d5b1ef539a08

Subscribe to this mod's changes

audit-cohesion is a skill published in the GitHub repository TalonT-Org/AutoSkillit (5 stars, last pushed 7d ago), licensed MIT. It adds 64 tokens to every session and 5,284 once invoked, about $0.0003 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

edgeone skill scanner

Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: 这个 skill 安全吗, skill 安全扫描…

Tencent/AI-Infra-Guard · 148 tokens

portaljs-check-data-quality

Audit a local or remote tabular file (CSV/TSV) for common data quality issues — schema, nulls, types, duplicates. Read-only. Use when a dataset needs a quality check before publishing, or a showcase renders wrong (blank cells, garbled numbers, an unsortable date column) and the cause needs isolating.

datopian/portaljs · 76 tokens

agent-review

Critically review a Stencila agent and suggest improvements. Use when asked to review, audit, critique, evaluate, or improve an agent directory or AGENT.md file. Covers frontmatter validation, system instruction quality, configuration correctness, and adherence to the Agent schema.

stencila/stencila · 57 tokens

cocotrace

Build and query the SHA-256 requirements-to-implementation traceability graph across lifecycle artifacts.

Snowflake-Labs/cocoplus · 22 tokens

gcp-cloud-logging

Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views. Use when searching GCP logs, investigating denied VPC flow traffic, checking who deleted a VM, analyzing firewall rule hits, or troubleshooting a GCP application error.

automateyournetwork/netclaw · 62 tokens

performing-cryptographic-audit-of-application

A cryptographic audit systematically reviews an application's use of cryptographic primitives, protocols, and key management to identify vulnerabilities such as weak algorithms, insecure modes, hardco.

xalgorix/xalgorix · 43 tokens