module-analysis

A template for creating a module-analysis skill: instructions for examining one software module, service, or subsystem using its code, logs, documentation, and known behaviours.

In plain words
What is it for?
Use it to author analysis instructions covering a module’s normal flow, error handling, retries, known issues, review checks, and verification steps.
Why use it?
It provides a repeatable structure for investigating components with special log patterns, state changes, recurring bugs, or review requirements.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cintia09/codenook/module-analysis
Any agent
npx skills add cintia09/CodeNook --skill module-analysis
Clone the repo
git clone --depth 1 https://github.com/cintia09/CodeNook

Made for: Claude Code, Codex.

Per session 2 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 342 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 $0.00002 $0.00342
Opus 5 $0.00001 $0.00171
Sonnet 5 $0.00000 $0.00068
Haiku 4.5 $0.00000 $0.00034

Measured 2d ago against content hash 9f4afe76765d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

module-analysis 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 2d 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.

plugins/issuenook/skills/module-analysis/SKILL.md · 65 lines

What it actually says

Module Analysis Skill Template

Use this template to author a domain-specific analysis skill for a module, service, component, or subsystem.

When to author one

Create a per-module analysis skill when a module has:

  • log-prefix conventions or signature patterns;
  • a non-trivial state machine;
  • recurring known-issue fingerprints;
  • module-specific review or verification criteria.

Directory layout

Place each new skill in one of:

  • .codenook/memory/skills/<module>-analysis/SKILL.md for deployment-specific or team-specific skills;
  • <plugin>/skills/<module>-analysis/SKILL.md only when the skill is generic enough to ship with a plugin.

Frontmatter contract

---
id: "<slug>"
name: "<slug>"
title: "<Human title>"
summary: "<one-paragraph purpose>"
tags:
  - "skill"
  - "<module>"
  - "analysis"
---

Do not add unsupported frontmatter fields.

  1. Module overview.
  2. Log patterns.
  3. State machine / normal flow.
  4. Error handling and retry semantics.
  5. Known issues and fingerprints.
  6. Review checklist.
  7. Verification checks.

Every claim should be traceable to code, logs, documentation, or a completed case record.

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. 2d ago First seen · 65 lines · 2 tokens per session scan A 9f4afe76765d

Subscribe to this mod's changes

module-analysis is a skill published in the GitHub repository cintia09/CodeNook (5 stars, last pushed 3mo ago), licensed MIT. It adds 2 tokens to every session and 342 once invoked, about $0.0000 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.