8 views
anthropics/skills
Public repository for Agent Skills
Python★ 192,539+1,679 that day#1 on trending
E33.3/100
Duplication11
30.1% in python, javascript, bashDead code87
1.4%Complexity41
68.8% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
30.32%duplicated code · 5,903 of 19,471 lines
30clones in code
67code files of 410 scanned
21.26%duplicated over all files · 166 clones
Most complex files
- skills/claude-api/shared/preserved-thinking-migration/prefix_diff.py769 cx
- skills/claude-api/shared/preserved-thinking-migration/drop_block_probe.py432 cx
- skills/docx/scripts/office/validators/base.py219 cx
- skills/pptx/scripts/office/validators/base.py219 cx
- skills/xlsx/scripts/office/validators/base.py219 cx
- skills/claude-api/shared/evals/report/build-report-lite.mjs218 cx
- skills/claude-api/shared/evals/report/runner-scaffold.mjs173 cx
- skills/docx/scripts/office/validators/docx.py124 cx
- skills/pptx/scripts/office/validators/docx.py124 cx
- skills/xlsx/scripts/office/validators/docx.py124 cx
Dead code 1.38% unused · 11 findings
- skills/algorithmic-art/templates/generator_template.jsunused-file
- skills/pdf/scripts/check_fillable_fields.pyunused-file
- skills/docx/scripts/comment.py:_has_relationshipunused-symbol
- skills/docx/scripts/comment.py:_has_content_typeunused-symbol
- skills/docx/scripts/office/helpers/pptx_theme.py:find_shared_master_themesunused-export
- skills/pptx/scripts/office/helpers/pptx_theme.py:find_shared_master_themesunused-export
- skills/xlsx/scripts/office/helpers/pptx_theme.py:find_shared_master_themesunused-export
- skills/claude-api/shared/preserved-thinking-migration/prefix_diff.py:_item_countunused-symbol
- skills/skill-creator/scripts/quick_validate.py:osunused-import
- skills/slack-gif-creator/core/frame_composer.py:npunused-import
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 875 lines in 3 placespython4,068 tokensskills/docx/scripts/office/validators/base.py:1–875skills/pptx/scripts/office/validators/base.py:1–875skills/xlsx/scripts/office/validators/base.py:1–875
1""" 2Base validator with common validation logic for document files. 3""" 4 5import re 6from pathlib import Path 7 8import defusedxml.minidom 9from functools import lru_cache 10First 10 of 875 lines.
- 466 lines in 3 placespython2,005 tokensskills/docx/scripts/office/validators/docx.py:1–466skills/pptx/scripts/office/validators/docx.py:1–466skills/xlsx/scripts/office/validators/docx.py:1–466
1""" 2Validator for Word document XML files against XSD schemas. 3""" 4 5import random 6import re 7import tempfile 8import zipfile 9from pathlib import Path 10First 10 of 466 lines.
- 441 lines in 3 placespython1,986 tokensskills/docx/scripts/office/validators/pptx.py:1–441skills/pptx/scripts/office/validators/pptx.py:1–441skills/xlsx/scripts/office/validators/pptx.py:1–441
1""" 2Validator for PowerPoint presentation XML files against XSD schemas. 3""" 4 5import re 6from pathlib import Path 7 8from helpers import opc_target, rels_source_part, safe_extract 9 10from .base import BaseSchemaValidatorFirst 10 of 441 lines.
7 more
- 192 lines in 3 placespython1,529 tokens
- 299 lines in 3 placespython1,470 tokens
- 170 lines in 3 placespython1,128 tokens
- 173 lines in 3 placespython840 tokens
- 111 lines in 3 placespython663 tokens
- 114 lines in 3 placespython656 tokens
- 60 lines in 3 placespython217 tokens
Largest clones over all files, tests and data included
- 201 lines in 13 placestxtdocs and examples1,865 tokensskills/academy-guide/LICENSE.txt:2–202skills/algorithmic-art/LICENSE.txt:2–202skills/brand-guidelines/LICENSE.txt:2–202skills/canvas-design/LICENSE.txt:2–202skills/claude-api/LICENSE.txt:2–202and 8 more
2 Apache License 3 Version 2.0, January 2004 4 http://www.apache.org/licenses/ 5 6TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 81. Definitions. 9 10 "License" shall mean the terms and conditions for use, reproduction, 11 and distribution as defined by Sections 1 through 9 of this document.First 10 of 201 lines.
- 93 lines in 20 placestxtdocs and examples912 tokensskills/canvas-design/canvas-fonts/ArsenalSC-OFL.txt:1–93skills/canvas-design/canvas-fonts/BigShoulders-OFL.txt:1–93skills/canvas-design/canvas-fonts/Boldonse-OFL.txt:1–93skills/canvas-design/canvas-fonts/BricolageGrotesque-OFL.txt:1–93skills/canvas-design/canvas-fonts/CrimsonPro-OFL.txt:1–93and 15 more
1Copyright 2012 The Arsenal Project Authors (andrij.design@gmail.com) 2 3This Font Software is licensed under the SIL Open Font License, Version 1.1. 4This license is copied below, and is also available with a FAQ at: 5https://openfontlicense.org 6 7 8----------------------------------------------------------- 9SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10-----------------------------------------------------------First 10 of 93 lines.
- 875 lines in 3 placespython4,068 tokensskills/docx/scripts/office/validators/base.py:1–875skills/pptx/scripts/office/validators/base.py:1–875skills/xlsx/scripts/office/validators/base.py:1–875
1""" 2Base validator with common validation logic for document files. 3""" 4 5import re 6from pathlib import Path 7 8import defusedxml.minidom 9from functools import lru_cache 10First 10 of 875 lines.
- 189 lines in 5 placestxtdocs and examples1,759 tokens
- 466 lines in 3 placespython2,005 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 62 | 17,800 | 29 | 5,894 | 33.11% |
| javascript | 3 | 1,295 | 1 | 9 | 0.69% |
| bash | 2 | 376 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| markdown | 135 | 31,670 | 51 | 2,662 | 8.41% |
| txt | 45 | 6,123 | 47 | 5,824 | 95.12% |
| python | 95 | 20,897 | 36 | 5,961 | 28.53% |
| typescript | 18 | 2,311 | 13 | 168 | 7.27% |
| markup | 8 | 2,213 | 5 | 46 | 2.08% |
| json | 19 | 1,207 | 3 | 101 | 8.37% |
| go | 7 | 732 | 3 | 32 | 4.37% |
| php | 5 | 577 | 2 | 18 | 3.12% |
| java | 5 | 547 | 2 | 18 | 3.29% |
| javascript | 4 | 1,426 | 1 | 9 | 0.63% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 11, 2026 | #1 | 192,539 (+1,679) | 410 | 70,053 | 166 | 21.26% | 30.32% | E 33.3 | 2c5958e |
| Nov 10, 2026 | #1 | 191,287 (+1,038) | 410 | 70,053 | 166 | 21.26% | 30.32% | E 33.3 | 2c5958e |
| Nov 8, 2026 | #4 | 188,911 (+390) | 410 | 70,053 | 166 | 21.26% | 30.32% | E 33.3 | 2c5958e |
| Oct 31, 2026 | #5 | 185,453 (+295) | 410 | 69,365 | 161 | 20.41% | 30.32% | E 33.3 | ca45fc4 |
| Sep 26, 2026 | #4 | 178,391 (+189) | 368 | 59,132 | 138 | 22.85% | 35.5% | E 30.3 | 3337550 |
| Sep 6, 2026 | #2 | 174,634 (+475) | 368 | 59,001 | 139 | 22.96% | 35.5% | — | 41bbe19 |
| Sep 5, 2026 | #2 | 174,206 (+511) | 368 | 59,001 | 139 | 22.96% | 35.5% | — | 41bbe19 |
| Sep 4, 2026 | #2 | 173,760 (+281) | 368 | 59,001 | 139 | 22.96% | 35.5% | — | 41bbe19 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.