garrytan/gstack
View on GitHub ↗
Internal84
Unique within the repo — the other 16% repeats across its own files.
Public60
Unique across all public code — a further 24% is its own but appears in other public repos too.
Tidy, but not new — the code doesn't repeat itself, yet a large share already exists across other public repos. A strong candidate for pulling from (or publishing as) a shared package.
Worth consolidating — in the code
Real, actionable duplication in this repo's source, most concrete first.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 6% | 463 | garrytan/gstack/bin/gstack-gbrain-sync.ts |
garrytan/gstack/bin/gstack-memory-ingest.ts |
same repo |
| 4% | 292 | garrytan/gstack/browse/src/browser-manager.ts |
garrytan/gstack/browse/src/cli.ts |
same repo |
| 4% | 226 | garrytan/gstack/browse/src/cli.ts |
garrytan/gstack/browse/src/meta-commands.ts |
same repo |
| 3% | 226 | garrytan/gstack/browse/src/browser-manager.ts |
garrytan/gstack/browse/src/meta-commands.ts |
same repo |
| 2% | 203 | garrytan/gstack/bin/gstack-gbrain-sync.ts |
garrytan/gstack/browse/src/browser-manager.ts |
same repo |
| 3% | 195 | garrytan/gstack/bin/gstack-gbrain-sync.ts |
garrytan/gstack/browse/src/cli.ts |
same repo |
| 2% | 183 | garrytan/gstack/bin/gstack-memory-ingest.ts |
garrytan/gstack/browse/src/browser-manager.ts |
same repo |
| 17% | 177 | garrytan/gstack/.github/workflows/evals-periodic.yml |
garrytan/gstack/.github/workflows/evals.yml |
same repo |
| 2% | 176 | garrytan/gstack/bin/gstack-memory-ingest.ts |
garrytan/gstack/browse/src/cli.ts |
same repo |
| 3% | 169 | garrytan/gstack/browse/src/browser-manager.ts |
garrytan/gstack/browse/src/cookie-import-browser.ts |
same repo |
| 3% | 162 | garrytan/gstack/bin/gstack-brain-context-load.ts |
garrytan/gstack/bin/gstack-memory-ingest.ts |
same repo |
| 3% | 157 | garrytan/gstack/browse/src/cli.ts |
garrytan/gstack/browse/src/commands.ts |
same repo |
| 3% | 155 | garrytan/gstack/browse/src/cli.ts |
garrytan/gstack/browse/src/cookie-import-browser.ts |
same repo |
| 3% | 149 | garrytan/gstack/bin/gstack-brain-context-load.ts |
garrytan/gstack/bin/gstack-gbrain-sync.ts |
same repo |
| 3% | 141 | garrytan/gstack/bin/gstack-global-discover.ts |
garrytan/gstack/bin/gstack-memory-ingest.ts |
same repo |
| 2% | 140 | garrytan/gstack/bin/gstack-memory-ingest.ts |
garrytan/gstack/browse/src/meta-commands.ts |
same repo |
| 3% | 132 | garrytan/gstack/browse/src/commands.ts |
garrytan/gstack/browse/src/meta-commands.ts |
same repo |
| 2% | 129 | garrytan/gstack/bin/gstack-gbrain-sync.ts |
garrytan/gstack/browse/src/meta-commands.ts |
same repo |
| 8% | 128 | garrytan/gstack/browse/src/domain-skill-commands.ts |
garrytan/gstack/browse/src/domain-skills.ts |
same repo |
| 3% | 117 | garrytan/gstack/browse/src/browse-client.ts |
garrytan/gstack/browse/src/cli.ts |
same repo |
Docs & prose
Near-identical documentation — often translations (e.g. README.md ⇄ README_zh-CN.md) or mirrored guides. Usually intentional, not cleanup — listed separately so it doesn't inflate the code signal above.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 40% | 2155 | garrytan/gstack/benchmark/SKILL.md |
garrytan/gstack/browse/SKILL.md |
same repo |
| 39% | 2096 | garrytan/gstack/benchmark-models/SKILL.md |
garrytan/gstack/browse/SKILL.md |
same repo |
| 39% | 2089 | garrytan/gstack/SKILL.md |
garrytan/gstack/browse/SKILL.md |
same repo |
| 61% | 2086 | garrytan/gstack/benchmark-models/SKILL.md |
garrytan/gstack/benchmark/SKILL.md |
same repo |
| 65% | 2078 | garrytan/gstack/SKILL.md |
garrytan/gstack/benchmark-models/SKILL.md |
same repo |
| 64% | 2077 | garrytan/gstack/SKILL.md |
garrytan/gstack/benchmark/SKILL.md |
same repo |
| 11% | 1037 | garrytan/gstack/BROWSER.md |
garrytan/gstack/browse/SKILL.md |
same repo |
| 5% | 556 | garrytan/gstack/BROWSER.md |
garrytan/gstack/CLAUDE.md |
same repo |
| 7% | 541 | garrytan/gstack/CLAUDE.md |
garrytan/gstack/CONTRIBUTING.md |
same repo |
| 6% | 452 | garrytan/gstack/README.md |
garrytan/gstack/USING_GBRAIN_WITH_GSTACK.md |
same repo |
| 5% | 404 | garrytan/gstack/ARCHITECTURE.md |
garrytan/gstack/BROWSER.md |
same repo |
| 4% | 385 | garrytan/gstack/ARCHITECTURE.md |
garrytan/gstack/CLAUDE.md |
same repo |
| 4% | 380 | garrytan/gstack/CLAUDE.md |
garrytan/gstack/README.md |
same repo |
| 3% | 366 | garrytan/gstack/CLAUDE.md |
garrytan/gstack/browse/SKILL.md |
same repo |
| 3% | 300 | garrytan/gstack/BROWSER.md |
garrytan/gstack/README.md |
same repo |
| 4% | 286 | garrytan/gstack/CONTRIBUTING.md |
garrytan/gstack/README.md |
same repo |
| 3% | 282 | garrytan/gstack/CLAUDE.md |
garrytan/gstack/benchmark-models/SKILL.md |
same repo |
| 3% | 278 | garrytan/gstack/CLAUDE.md |
garrytan/gstack/SKILL.md |
same repo |
| 3% | 274 | garrytan/gstack/README.md |
garrytan/gstack/browse/SKILL.md |
same repo |
| 3% | 273 | garrytan/gstack/CLAUDE.md |
garrytan/gstack/benchmark/SKILL.md |
same repo |
Largest files
Largest files
| LOC | File | Status |
|---|---|---|
| 1940 | garrytan/gstack/bin/gstack-memory-ingest.ts | indexed |
| 1804 | garrytan/gstack/browse/src/browser-manager.ts | indexed |
| 1583 | garrytan/gstack/bin/gstack-gbrain-sync.ts | indexed |
| 1402 | garrytan/gstack/BROWSER.md | indexed |
| 1362 | garrytan/gstack/browse/src/cli.ts | indexed |
| 1174 | garrytan/gstack/browse/src/meta-commands.ts | indexed |
| 1045 | garrytan/gstack/browse/src/cookie-import-browser.ts | indexed |
| 1023 | garrytan/gstack/CLAUDE.md | indexed |
| 1022 | garrytan/gstack/browse/SKILL.md | indexed |
| 824 | garrytan/gstack/browse/src/cdp-inspector.ts | indexed |