{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "graphicle-ai-graphicle--find-code-from-terminal-question",
 "repo": "Graphicle-AI/graphicle",
 "repo_url": "https://github.com/Graphicle-AI/graphicle",
 "repo_slug": "graphicle-ai-graphicle",
 "title": "Find where a behavior lives by asking from the terminal",
 "page_title": "How to find where a behavior lives by asking from the terminal with Graphicle",
 "summary": "Ask a plain-language question and get the matching code excerpts with file and line citations.",
 "who": "A developer new to a codebase who needs to locate the function behind a feature before making a change.",
 "problem": "Searching a large repository by keyword returns many noisy hits, and it is slow to confirm which function really does the work.",
 "outcome": "A short set of cited excerpts showing the file, line range and function name for the answer to the question.",
 "steps": [
  "Install Graphicle and run `graphicle setup` in the repository, as in the quick start.",
  "Run `graphicle ask \"where is tax added to prices?\"` with your own question.",
  "Read each excerpt's file name and line range, starting with the first.",
  "Open the cited file at those lines to confirm the code matches your question.",
  "Run `graphicle open` to browse the graph and sources in your browser if you need more context."
 ],
 "agent_prompt": "In the Graphicle-AI/graphicle repository, run `graphicle ask \"<question>\"` inside <repo-path>. Expected output: an evidence list of cited excerpts, each with a file path, line range and symbol name. Verify by opening the first cited file at the stated lines and checking that the code answers the question.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "With no model configured, `ask` shows only the evidence excerpts, so written answers need `graphicle config set model` with a model you choose.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "A local Git repository with the code you want to index",
  "Homebrew, or the install script from the Graphicle README, to install the program",
  "A terminal on macOS or Linux, or the Windows preview build for x86-64",
  "A coding agent that supports MCP, such as Claude Code, Codex or Cursor (optional, for agent use)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/graphicle-ai-graphicle/find-code-from-terminal-question/",
 "md": "https://dedupedai.com/use-cases/graphicle-ai-graphicle/find-code-from-terminal-question/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/graphicle-ai-graphicle--find-code-from-terminal-question.json",
 "api_version": "v1"
}
