code-researcher

code-researcher is a skill for Claude Code, Codex from dleerdefi/claude-code-construction. It costs 51 tokens per session (4,405 once invoked), scanned A, original, MIT.

A code-requirements gap analysis for a construction or engineering project. It compares the codes and standards mentioned in project documents with the requirements that should apply in that location and scope.

In plain words
What is it for?
Use it to check ADA requirements, egress rules, or other applicable codes against specifications, drawings, and schedules.
Why use it?
It helps find requirements the design team may have missed without making you reread every code and project document. It reports only possible gaps and includes source citations and confidence levels.

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/dleerdefi/claude-code-construction/code-researcher
Any agent
npx skills add dleerdefi/claude-code-construction --skill code-researcher
Clone the repo
git clone --depth 1 https://github.com/dleerdefi/claude-code-construction

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 code-researcher

README.md
[![agentmods](https://agentmods.dev/badge/skills/dleerdefi/claude-code-construction/code-researcher.svg)](https://agentmods.dev/skills/dleerdefi/claude-code-construction/code-researcher)
Your own site
<a href="https://agentmods.dev/skills/dleerdefi/claude-code-construction/code-researcher"><img src="https://agentmods.dev/badge/skills/dleerdefi/claude-code-construction/code-researcher.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,405 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.00051 $0.04405
Opus 5 $0.00026 $0.02202
Sonnet 5 $0.00010 $0.00881
Haiku 4.5 $0.00005 $0.00441

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

Security

Grade A, and why

code-researcher 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 4d 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/code-researcher/SKILL.md · 457 lines

How it starts

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

Code Researcher — Scope-Specific Gap Analysis

What This Skill Does

An engineer managing one or more scopes asks: "Are there any code requirements for this scope that I'm missing?"

This skill answers that question in three passes:

Pass 1 — What the scope already addresses Read the actual project documents — spec sections, drawings, schedules — and extract every code citation, standard reference, and requirement already incorporated by the design team.

Pass 2 — What should apply Research all codes and standards that apply to this type of work in this jurisdiction, regardless of what the project documents say.

Pass 3 — The gap Diff Pass 1 against Pass 2. Present only what's in Pass 2 but absent from Pass 1, with confidence levels and specific source citations from both the code and the project documents.

This is a gap finder, not a code summary. If the spec already addresses a requirement correctly, it does not appear in the output. The engineer's time is spent only on things that may actually be missing.


Framing Rule (Non-Negotiable)

Every finding is framed as:

"Code [X] requires [Y]. The project documents [address this at / do not appear to address this]. Confidence: [level]. Recommended action: [action]."

Never frame findings as COMPLIANT / NON-COMPLIANT. The licensed design professional makes compliance determinations. This skill provides research.


Research Philosophy

This skill uses a document-grounded research approach:

  • Construction documents are ground truth. Every claim about what the project does or does not address must trace to a specific document read in Pass 1. Never infer project status from memory or assumption.
  • Claude's domain knowledge drives topic discovery. Use your training knowledge of construction codes, standards, and regulatory frameworks to identify what requirements SHOULD apply to this scope. The documents tell you what IS addressed; your knowledge tells you what to check for.
  • Web research confirms jurisdiction-specific requirements. Building codes vary by jurisdiction and edition. Use web search to confirm which edition is adopted, retrieve exact code language, and discover jurisdiction-specific overlays. Do not rely on training knowledge alone for specific code section numbers or thresholds — verify via web.
  • Reference files verify numeric thresholds. Shared reference files at ${CLAUDE_SKILL_DIR}/../../reference/ contain structured ADA and IBC data useful for quick verification of specific dimensions and capacities during research.

Read the full file on GitHub · 457 lines

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. 4d ago First seen · 457 lines · 51 tokens per session scan A 89bef0d29f6f

Subscribe to this mod's changes

code-researcher is a skill published in the GitHub repository dleerdefi/claude-code-construction (34 stars, last pushed 4mo ago), licensed MIT. It adds 51 tokens to every session and 4,405 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-30.

Related

Other skills, from other repositories

nature-paper-to-patent

Convert scientific papers, theses, technical reports, source code, figures, inventor notes, or research manuscripts into evidence-grounded Chinese invention patent drafts and attorney-facing technical disclosure materials. Use when an AI agent must mine patent points, draft or revise a Chinese technical disclosure…

Yuan1z0825/nature-skills · 124 tokens

security-specialist

安全专家。专注于应用安全、威胁建模、安全合规和数据保护。提供安全审查、漏洞扫描、安全配置和合规检查。用于构建安全可靠的应用系统。.

huangwb8/skills · 48 tokens

fl-laws

Use when an agent needs to look up, quote, summarize, cite, or reason from Florida Statutes, the Florida Constitution, or Florida court rules. Provides local full-corpus access through compact HTML files and citation lookup scripts.

DocketDrafter/docketdrafter-plugins · 49 tokens

ny-laws

Use when an agent needs to look up, quote, summarize, cite, or reason from New York State statutes, the New York State Constitution, the New York City Administrative Code, or New York Unified Court System rules. Provides local full-corpus access through compact HTML files and a citation lookup script.

DocketDrafter/docketdrafter-plugins · 63 tokens

federal-court-rules

Use when an agent needs to look up, quote, summarize, cite, or reason from bundled federal court rules, including the Federal Rules of Civil Procedure, Federal Rules of Appellate Procedure, Federal Rules of Evidence, supplemental rules, selected federal district local rules, and selected ECF rules. Provides local…

DocketDrafter/docketdrafter-plugins · 81 tokens

us-code

Use when an agent needs to look up, quote, summarize, cite, or reason from the United States Code. Provides local full-corpus access to U.S. Code title sections through compact HTML section files and a citation lookup script.

DocketDrafter/docketdrafter-plugins · 50 tokens