WorldFlowAI/everything-claude-code

Claude Code toolkit - agents, commands, skills, rules, and hooks for productive AI-assisted development

JavaScript★ 2,411+95 that day#7 on trending

Analyzed September 6, 2026 at 432485b (main) with jscpd 5.4.0 in 0.6s.

2.41%duplicated code · 58 of 2,409 lines
2clones in code
24code files of 146 scanned
1.09%duplicated over all files · 15 clones

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

Largest clones in the code

  • 52 lines in 2 placesbash127 tokens
    1#!/bin/bash
    2# Strategic Compact Suggester
    3# Runs on PreToolUse or periodically to suggest manual compaction at logical intervals
    4#
    5# Why manual over auto-compact:
    6# - Auto-compact happens at arbitrary points, often mid-task
    7# - Strategic compacting preserves context through logical phases
    8# - Compact after exploration, before execution
    9# - Compact after completing a milestone, before starting next
    10#
    

    First 10 of 52 lines.

  • 6 lines in 2 placesjavascript60 tokens
    64function getDateString() {
    65  const now = new Date();
    66  const year = now.getFullYear();
    67  const month = String(now.getMonth() + 1).padStart(2, '0');
    68  const day = String(now.getDate()).padStart(2, '0');
    69  return `${year}-${month}-${day}`;
    
    85function getDateTimeString() {
    86  const now = new Date();
    87  const year = now.getFullYear();
    88  const month = String(now.getMonth() + 1).padStart(2, '0');
    89  const day = String(now.getDate()).padStart(2, '0');
    90  const hours = String(now.getHours()).padStart(2, '0');
    
Largest clones over all files, tests and data included
  • 52 lines in 2 placesbash127 tokens
    1#!/bin/bash
    2# Strategic Compact Suggester
    3# Runs on PreToolUse or periodically to suggest manual compaction at logical intervals
    4#
    5# Why manual over auto-compact:
    6# - Auto-compact happens at arbitrary points, often mid-task
    7# - Strategic compacting preserves context through logical phases
    8# - Compact after exploration, before execution
    9# - Compact after completing a milestone, before starting next
    10#
    

    First 10 of 52 lines.

  • 16 lines in 2 placestypescriptdocs and examples75 tokens
    185export function useDebounce<T>(value: T, delay: number): T {
    186  const [debouncedValue, setDebouncedValue] = useState<T>(value)
    187
    188  useEffect(() => {
    189    const handler = setTimeout(() => {
    190      setDebouncedValue(value)
    191    }, delay)
    192
    193    return () => clearTimeout(handler)
    194  }, [value, delay])
    

    First 10 of 16 lines.

  • 8 lines in 2 placesjavascripttests73 tokens
    261if (test('all hook commands use node', () => {
    262  const hooksPath = path.join(__dirname, '..', '..', 'hooks', 'hooks.json');
    263  const hooks = JSON.parse(fs.readFileSync(hooksPath, 'utf8'));
    264
    265  const checkHooks = (hookArray) => {
    266    for (const entry of hookArray) {
    267      for (const hook of entry.hooks) {
    268        if (hook.type === 'command') {
    
    283if (test('script references use CLAUDE_PLUGIN_ROOT variable', () => {
    284  const hooksPath = path.join(__dirname, '..', '..', 'hooks', 'hooks.json');
    285  const hooks = JSON.parse(fs.readFileSync(hooksPath, 'utf8'));
    286
    287  const checkHooks = (hookArray) => {
    288    for (const entry of hookArray) {
    289      for (const hook of entry.hooks) {
    290        if (hook.type === 'command' && hook.command.includes('scripts/hooks/')) {
    
  • 51 lines in 2 placestypescriptdocs and examples70 tokens
  • 18 lines in 2 placesjavascripttests68 tokens
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
javascript81,293160.46%
bash159421525.52%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
javascript132,3519974.13%
typescript162,0513281.37%
bash291,2172604.93%
markdown5210,196160.06%
text18832000%
json6367000%
sql1195000%
perl1174000%
yaml979000%
python150000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 6, 2026#72,411 (+95)14617,512151.09%2.41%—432485b

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