react-doctor: Skill for Claude Code

.agents/skills/find-similar-functions/SKILL.md

find-similar-functions is a skill for Claude Code, Codex from millionco/react-doctor. It costs 91 tokens per session (1,028 once invoked), scanned A, original, no licence file.

A search workflow for finding existing JavaScript or TypeScript functions that are similar to code you plan to write. JavaScript and TypeScript are languages commonly used for web applications.

In plain words
What is it for?
Use it before adding utilities, parsers, formatters, scanners, fuzzy matchers, or other reusable functions.
Why use it?
It reduces duplicate code and helps you reuse or refactor an existing helper instead of creating another version.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is millionco/react-doctor's own configuration. It tells Claude Code and Codex how to work on react-doctor 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 react-doctor configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bun src/cli.ts "discover file" src --kind function,method,constant,type --limit 20.

Part of the react-doctor plugin — 16 skills shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to millionco/react-doctor. 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/millionco/react-doctor/main/.agents/skills/find-similar-functions/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/millionco/react-doctor

Made for: Claude Code, Codex.

Or install react-doctor, the plugin that ships this one along with the rest of its 16 skills.

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 find-similar-functions

README.md
[![agentmods](https://agentmods.dev/badge/skills/millionco/react-doctor/find-similar-functions/github.svg)](https://agentmods.dev/skills/millionco/react-doctor/find-similar-functions)
Your own site
<a href="https://agentmods.dev/skills/millionco/react-doctor/find-similar-functions"><img src="https://agentmods.dev/badge/skills/millionco/react-doctor/find-similar-functions/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 find-similar-functions

Your own site · 80×15
<a href="https://agentmods.dev/skills/millionco/react-doctor/find-similar-functions"><img src="https://agentmods.dev/badge/skills/millionco/react-doctor/find-similar-functions.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 1,028 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. Third-party audits
  • Socket pass 27 Jun 2026
  • Snyk pass 27 Jun 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin unknown 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.01028
Opus 5 $0.00046 $0.00514
Sonnet 5 $0.00018 $0.00206
Haiku 4.5 $0.00009 $0.00103

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

Security

Grade A, and why

find-similar-functions 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 10d 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.

.agents/skills/find-similar-functions/SKILL.md · 91 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 10d ago First seen · 91 lines · 91 tokens per session scan A a4f6634d2764

Subscribe to this mod's changes

find-similar-functions is a skill published in the GitHub repository millionco/react-doctor (14,798 stars, last pushed today), with no licence file. It adds 91 tokens to every session and 1,028 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-30.

Related

Other skills, from other repositories

compiler-verify

Use when you need to run all compiler checks (tests, lint, format) before committing. Detects whether TS or Rust code changed and runs the appropriate checks.

react/react · 37 tokens

compiler-review

Review Rust port code for port fidelity, convention compliance, and error handling. Compares against the original TypeScript source.

react/react · 27 tokens

frontend-conventions

Coding conventions, architecture patterns, and testing rules for the SkillHub React frontend. Ensures agents follow Feature-Sliced Design and use the generated OpenAPI types.

iflytek/skillhub · 36 tokens

frontend-code-review

Trigger when the user requests a review of frontend files (e.g., .tsx, .ts, .js). Support both pending-change reviews and focused file reviews while applying the checklist rules.

sangrokjung/claude-forge · 42 tokens

generic-react-code-reviewer

Review React/TypeScript code for bugs, security vulnerabilities, performance issues, accessibility gaps, and CLAUDE.md workflow compliance. Enforces TypeScript strict mode, GPU-accelerated animations, WCAG AA accessibility, bundle size limits, and surgical simplicity. Use when completing features, before commits, or…

travisjneuman/.claude · 71 tokens

react-change-review

Review recent React, Next.js, or TypeScript UI code changes for hardening before merge or commit. Use when asked to review recent React code changes, audit a React diff, harden a feature, check a PR or branch for React issues, or produce a stack-ranked list of nonredundant findings and a recommended fix plan using…

petekp/claude-code-setup · 95 tokens