6 views

anthropics/claude-plugins-official

Official, Anthropic-managed directory of high quality Claude Code Plugins.

Python★ 42,847+1,175 that day#1 on trending

Analyzed October 19, 2026 at ea10b21 (main) with jscpd v5 in 1.4s. Code duplication went from 2.63% on Sep 26 to 2.56% on Oct 19.

D51.5/100
Project health55,195 lines of code (M)
Duplication83
2.3% in python, typescript, javascript, bash, tsx, perl
Dead code48
8.2%
Complexity34
79%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

2.56%duplicated code · 1,087 of 42,522 lines
57clones in code
121code files of 655 scanned
1.94%duplicated over all files · 134 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.

Largest clones in the code

  • 37 lines in 2 placestypescript230 tokens
    133const MAX_ATTACHMENT_BYTES = 25 * 1024 * 1024
    134
    135// reply's files param takes any path. .env is ~60 bytes and ships as an
    136// upload. Claude can already Read+paste file contents, so this isn't a new
    137// exfil channel for arbitrary paths — but the server's own state is the one
    138// thing Claude has no reason to ever send.
    139function assertSendable(f: string): void {
    140  let real, stateReal: string
    141  try {
    142    real = realpathSync(f)
    
    138const MAX_ATTACHMENT_BYTES = 50 * 1024 * 1024
    139
    140// reply's files param takes any path. .env is ~60 bytes and ships as a
    141// document. Claude can already Read+paste file contents, so this isn't a new
    142// exfil channel for arbitrary paths — but the server's own state is the one
    143// thing Claude has no reason to ever send.
    144function assertSendable(f: string): void {
    145  let real, stateReal: string
    146  try {
    147    real = realpathSync(f)
    

    First 10 of 37 lines, the second copy on the right.

  • 30 lines in 2 placestypescript186 tokens
    363    })()
    364  }
    365}
    366
    367if (!STATIC) setInterval(checkApprovals, 5000).unref()
    368
    369// Discord caps messages at 2000 chars (hard limit — larger sends reject).
    370// Split long replies, preferring paragraph boundaries when chunkMode is
    371// 'newline'.
    372
    
    357    )
    358  }
    359}
    360
    361if (!STATIC) setInterval(checkApprovals, 5000).unref()
    362
    363// Telegram caps messages at 4096 chars. Split long replies, preferring
    364// paragraph boundaries when chunkMode is 'newline'.
    365
    366function chunk(text: string, limit: number, mode: 'length' | 'newline'): string[] {
    

    First 10 of 30 lines, the second copy on the right.

  • 20 lines in 2 placestypescript168 tokens
    373function chunk(text: string, limit: number, mode: 'length' | 'newline'): string[] {
    374  if (text.length <= limit) return [text]
    375  const out: string[] = []
    376  let rest = text
    377  while (rest.length > limit) {
    378    let cut = limit
    379    if (mode === 'newline') {
    380      // Prefer the last double-newline (paragraph), then single newline,
    381      // then space. Fall back to hard cut.
    382      const para = rest.lastIndexOf('\n\n', limit)
    
    480function chunk(text: string, limit: number, mode: 'length' | 'newline'): string[] {
    481  if (text.length <= limit) return [text]
    482  const out: string[] = []
    483  let rest = text
    484  while (rest.length > limit) {
    485    let cut = limit
    486    if (mode === 'newline') {
    487      const para = rest.lastIndexOf('\n\n', limit)
    488      const line = rest.lastIndexOf('\n', limit)
    489      const space = rest.lastIndexOf(' ', limit)
    

    First 10 of 20 lines, the second copy on the right.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
typescript309,927346116.15%
python5524,044192991.24%
javascript114,87541773.63%
bash222,501000%
tsx21,007000%
perl1168000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
typescript5513,796457015.08%
markdown23644,069396511.48%
python9133,241344201.26%
markup103,6588651.78%
javascript185,08841773.48%
json428,5212861.01%
text671,6891100.59%
txt2379117646.44%
bash534,160000%
yaml732,075000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Oct 19, 2026#142,847 (+1,175)655117,9291341.94%2.56%D 51.5ea10b21
Oct 18, 2026#141,959 (+1,397)655117,9291341.94%2.56%D 51.5ea10b21
Oct 17, 2026#140,801 (+1,552)655117,9291341.94%2.56%D 51.5ea10b21
Oct 16, 2026#239,365 (+307)655117,9291341.94%2.56%D 51.5ea10b21
Sep 26, 2026#236,975 (+83)623110,8101241.98%2.63%D 49.6fa59bc9

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.