anthropics/claude-code-action
TypeScript★ 9,130+31 that day#5 on trendingC 66.7 health7.57% duplicated
C66.7/100
Duplication56
7.4% in typescript, python, bash, perl, javascriptDead code94
0.5%Complexity57
41.4%Most complex files
- agent-approval-check/agent_approval_check.py343 cx
- src/create-prompt/index.ts188 cx
- test/validate-branch-name.test.ts135 cx
- test/data-fetcher.test.ts127 cx
- src/entrypoints/format-turns.ts123 cx
- src/github/data/fetcher.ts123 cx
- base-action/test/validate-env.test.ts69 cx
- test/create-prompt.test.ts68 cx
- test/sanitizer.test.ts68 cx
- src/github/utils/image-downloader.ts66 cx
Dead code 0.53% unused · 4 findings
- .claude/workflows/pr-stamp-sweep.jsunused-file
- src/github/context.ts:isAutomationContextunused-export
- src/mcp/github-file-ops-schemas.ts:commitFilesPayloadSchemaunused-export
- src/mcp/github-file-ops-schemas.ts:deleteFilesPayloadSchemaunused-export
225files
43,288lines
212,844tokens
202clones
3,276duplicated lines (7.57%)
15,592duplicated tokens (7.33%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| typescript | 120 | 30,004 | 151 | 2,401 | 8% |
| yaml | 46 | 4,386 | 42 | 521 | 11.88% |
| markdown | 32 | 4,622 | 6 | 271 | 5.86% |
| bash | 16 | 1,031 | 1 | 46 | 4.46% |
| markup | 1 | 744 | 1 | 9 | 1.21% |
| json | 6 | 339 | 1 | 28 | 8.26% |
| python | 1 | 1,828 | 0 | 0 | 0% |
| perl | 1 | 168 | 0 | 0 | 0% |
| javascript | 1 | 162 | 0 | 0 | 0% |
| text | 1 | 4 | 0 | 0 | 0% |
Largest clones
- 128 lines · 936 tokens markdownCODE_OF_CONDUCT.md:1–128⇆base-action/CODE_OF_CONDUCT.md:1–128
- 69 lines · 298 tokens typescriptsrc/mcp/github-file-ops-server.ts:307–375⇆src/mcp/github-file-ops-server.ts:468–536
- 25 lines · 178 tokens yaml.github/workflows/claude.yml:1–25⇆examples/claude.yml:1–25
- 17 lines · 176 tokens yamlaction.yml:344–360⇆base-action/action.yml:211–227
- 23 lines · 174 tokens yaml.github/workflows/claude.yml:3–25⇆examples/claude-wif.yml:9–31
- 30 lines · 159 tokens typescripttest/data-fetcher.test.ts:1491–1520⇆test/data-fetcher.test.ts:1527–1556
- 37 lines · 147 tokens markdownbase-action/README.md:518–554⇆docs/setup.md:180–216
- 40 lines · 134 tokens markdownCONTRIBUTING.md:53–92⇆base-action/CONTRIBUTING.md:67–106
- 17 lines · 131 tokens markdownCONTRIBUTING.md:3–19⇆base-action/CONTRIBUTING.md:3–19
- 25 lines · 129 tokens typescripttest/data-fetcher.test.ts:1569–1593⇆test/data-fetcher.test.ts:1680–1704
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Health | Commit |
|---|---|---|---|---|---|---|---|---|
| Sep 27, 2026 | #5 | 9,130 (+31) | 225 | 43,288 | 202 | 7.57% | C 66.7 | 756cc22 |
Want this for your own project? Install jscpd and run jscpd .