{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "arihantdeva-heimdall--find-prior-solution-across-repos",
 "repo": "ArihantDeva/heimdall",
 "repo_url": "https://github.com/ArihantDeva/heimdall",
 "repo_slug": "arihantdeva-heimdall",
 "title": "Find a solution you already built in another repo",
 "page_title": "How to find a solution you already built in another repo with Heimdall",
 "summary": "Run one ranked search across every project to see if you already solved the problem.",
 "who": "A developer with many side projects who is about to write code that may already exist in an older repository.",
 "problem": "Searching for past work with grep, find and ls across many folders takes minutes and often points to the wrong repo.",
 "outcome": "A ranked list of matching paths across all indexed projects, each with a verdict, so you can reuse the work or skip the rebuild.",
 "steps": [
  "`npm i -g @arihantdeva/heimdall`",
  "`heimdall init --harness claude-code`",
  "`heimdall setup`",
  "`heimdall doctor`",
  "`heimdall search \"<topic>\"` (inferred, check the README)"
 ],
 "agent_prompt": "Using the heimdall CLI from the ArihantDeva/heimdall repo, run `heimdall search \"<topic>\"` before writing new code for <topic>. Report each hit as a line with its verdict (STRONG, WEAK, REBUILT, STALE or REMOVED) and its path. Expected output is a ranked list of paths; check that each STRONG path exists on disk before reusing it.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says `npm i -g` builds the graft backend during install only when prerequisites are present, and the first build takes a few minutes, so search will not work until setup completes.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "Node.js with npm, to run `npm i -g @arihantdeva/heimdall`",
  "macOS or a Debian, Ubuntu, Fedora or Amazon Linux machine, with the build prerequisites listed in the README for the graft backend",
  "git, because llama.cpp is cloned at first build",
  "A supported agent harness: pi, Claude Code, Codex, Cursor, Windsurf, or opencode"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/arihantdeva-heimdall/find-prior-solution-across-repos/",
 "md": "https://dedupedai.com/use-cases/arihantdeva-heimdall/find-prior-solution-across-repos/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/arihantdeva-heimdall--find-prior-solution-across-repos.json",
 "api_version": "v1"
}
