anthropics/skills
Public repository for Agent Skills
Python★ 178,391+189 that day#4 on trending
E30.3/100
Duplication8
35.2% in python, bash, javascript, perlDead code84
1.7%Complexity47
58.4% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
35.5%duplicated code · 5,894 of 16,601 lines
29clones in code
73code files of 368 scanned
22.85%duplicated over all files · 138 clones
Most complex files
- 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/docx/scripts/office/validators/docx.py124 cx
- skills/pptx/scripts/office/validators/docx.py124 cx
- skills/xlsx/scripts/office/validators/docx.py124 cx
- skills/docx/scripts/office/validators/pptx.py117 cx
- skills/pptx/scripts/office/validators/pptx.py117 cx
- skills/xlsx/scripts/office/validators/pptx.py117 cx
- skills/docx/scripts/merge_runs.py95 cx
Dead code 1.69% unused · 10 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/skill-creator/scripts/quick_validate.py:osunused-import
- skills/slack-gif-creator/core/frame_composer.py:npunused-import
- skills/slack-gif-creator/core/gif_builder.py:Optionalunused-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 ([email protected]) 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.
- 466 lines in 3 placespython2,005 tokens
- 441 lines in 3 placespython1,986 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 60 | 15,202 | 29 | 5,894 | 38.77% |
| bash | 11 | 1,020 | 0 | 0 | 0% |
| javascript | 1 | 205 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| txt | 45 | 5,435 | 42 | 5,090 | 93.65% |
| markdown | 112 | 25,941 | 41 | 2,167 | 8.35% |
| python | 93 | 18,015 | 34 | 5,938 | 32.96% |
| typescript | 15 | 1,671 | 8 | 122 | 7.3% |
| markup | 8 | 2,213 | 5 | 46 | 2.08% |
| json | 17 | 1,102 | 2 | 86 | 7.8% |
| go | 7 | 686 | 2 | 17 | 2.48% |
| bash | 25 | 1,650 | 1 | 21 | 1.27% |
| php | 5 | 533 | 1 | 6 | 1.13% |
| java | 5 | 506 | 1 | 8 | 1.58% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| 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.