tools-typescript

tools-typescript is a skill for Claude Code, Codex from alexei-led/architect. It costs 108 tokens per session (1,433 once invoked), scanned A, original, MIT.

A skill for examining TypeScript and JavaScript project structure with dependency, module, type-checking, and linting tools. It can reveal import cycles, package boundaries, unused code, and type errors.

In plain words
What is it for?
Reviewing workspace boundaries, dependency direction, circular imports, dead code, type correctness, and architecture-rule violations.
Why use it?
It helps reviewers base judgments about coupling and module design on evidence from the whole project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reviewing workspace boundaries, dependency direction, circular imports, dead code, type correctness, and architecture-rule violations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexei-led/architect/tools-typescript
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 alexei-led/architect --skill tools-typescript
Clone the repo
git clone --depth 1 https://github.com/alexei-led/architect

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 tools-typescript

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexei-led/architect/tools-typescript/github.svg)](https://agentmods.dev/skills/alexei-led/architect/tools-typescript)
Your own site
<a href="https://agentmods.dev/skills/alexei-led/architect/tools-typescript"><img src="https://agentmods.dev/badge/skills/alexei-led/architect/tools-typescript/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 tools-typescript

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexei-led/architect/tools-typescript"><img src="https://agentmods.dev/badge/skills/alexei-led/architect/tools-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,433 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.00108 $0.01433
Opus 5.5 $0.00043 $0.00573
Sonnet 5.5 $0.00022 $0.00287
Haiku 4.5 $0.00011 $0.00143

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

Security

Grade A, and why

tools-typescript 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 3mo 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.

src/skills/tools-typescript/SKILL.md · 124 lines

How it starts

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

TypeScript / JavaScript tools

Dependency and quality evidence for TS/JS targets. These tools give the module graph, cycles, unused surface, and type/lint state — the inputs to dependency, structural, and fitness scoring.

Evidence dimensions: dependency, structural, semantic (tsc).

When to use

Use when the system map shows a package.json / tsconfig.json. Pick the tool to the question: graph and cycles (dependency-cruiser, madge), workspace/package boundaries, dead/unused exports and deps (knip), type correctness (tsc), boundary lint rules (ESLint). Use the results to judge module boundaries, dependency direction, coupling, and architecture fitness.

Commands

Resolve the package root and runner without changing dependency state:

  1. Read package.json for packageManager, scripts, and workspaces.
  2. Check workspace manifests and current lockfiles: pnpm-workspace.yaml, pnpm-lock.yaml, yarn.lock, package-lock.json, bun.lock, and bun.lockb.
  3. If those signals conflict, record the runner as ambiguous and use only an explicit configured script or ask which package root owns the check.
  4. Prefer a configured script after inspecting it for install or download commands. Otherwise run only a proven executable already in that package root's node_modules/.bin.

Do not install or download analysis tools during a review. npm exec, npx, bunx, pnpm dlx, and yarn dlx can acquire missing packages; do not use them as an installation fallback. Redirect caches to $TMPDIR.

# Package-manager, workspace, and script discovery
node -e 'const p=require("./package.json"); console.log(JSON.stringify({packageManager:p.packageManager??null,workspaces:p.workspaces??null,scripts:p.scripts??{}},null,2))'
ls package-lock.json yarn.lock pnpm-lock.yaml pnpm-workspace.yaml bun.lock bun.lockb 2>/dev/null

# Use an inspected configured script with the detected package manager
# pnpm: pnpm run; npm: npm run; Yarn: yarn run; Bun: bun run
<detected-runner> run <configured-script>

# Otherwise prove each local binary exists, then run it directly

test -x node_modules/.bin/depcruise && node_modules/.bin/depcruise src --include-only "^src" --config .dependency-cruiser.cjs
test -x node_modules/.bin/madge && node_modules/.bin/madge --circular --extensions ts,tsx src
test -x node_modules/.bin/knip && node_modules/.bin/knip
test -x node_modules/.bin/tsc && node_modules/.bin/tsc --noEmit
test -x node_modules/.bin/eslint && ESLINT_CACHE_LOCATION=$TMPDIR/eslint-cache node_modules/.bin/eslint . --max-warnings 0

Read the full file on GitHub · 124 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. 3mo ago First seen · 124 lines · 108 tokens per session scan A 3c010eb5ca07

Subscribe to this mod's changes

tools-typescript is a skill published in the GitHub repository alexei-led/architect (2 stars, last pushed 13d ago), licensed MIT. It adds 108 tokens to every session and 1,433 once invoked, about $0.0004 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-31.

Related

tools-typescript compared with skills from other repositories

tools-typescript next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tools-typescriptalexei-led/architectSkill213d agoMITA108Claude Code, Codex
neo4j-driver-javascript-skillneo4j-contrib/neo4j-skillsSkill12210d agoMITA157Claude Code
drizzle-orm-expertRaNDoM6913/claude-code-superkitSkill3todayMITA50Claude Code
typescript-react-nextjs-patternsleejpsd/typescript-react-nextjs-patternsSkill232mo agoMITA142Claude Code, Codex
sveltekit-and-svelte5-runeshamzabellouch/agent-skillsSkill81mo agoMITA53Claude Code, Codex
electron-crossplatform-performancehamzabellouch/agent-skillsSkill81mo agoMITA57Claude Code, Codex
prisma-orm-patterns-and-migrationshamzabellouch/agent-skillsSkill81mo agoMITA58Claude Code, Codex