{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "mufeedvh-code2prompt--give-your-coding-agent-scoped-context",
 "repo": "mufeedvh/code2prompt",
 "repo_url": "https://github.com/mufeedvh/code2prompt",
 "repo_slug": "mufeedvh-code2prompt",
 "title": "Help your coding agent find the right files faster",
 "page_title": "How to help your coding agent find the right files faster with Code2prompt",
 "summary": "Install the Code2prompt agent skill so your agent maps functions and classes before reading code.",
 "who": "A Claude Code or Codex user whose agent burns many turns exploring a large repo.",
 "problem": "Agents waste tokens and time opening files one at a time to figure out where things live.",
 "outcome": "An agent that inspects a compact map of the codebase and then reads the relevant source and tests together.",
 "steps": [
  "Install the Code2prompt CLI separately, for example with `cargo install code2prompt`",
  "Add the skill with `npx skills add mufeedvh/code2prompt`",
  "For one agent globally, run `npx skills add mufeedvh/code2prompt --skill code2prompt --agent codex --global`",
  "Ask your agent to map the codebase with the skill before making a change",
  "Optionally enable the entity-map feature; standard builds fall back to a directory map"
 ],
 "agent_prompt": "Install the mufeedvh/code2prompt CLI and its agent skill for <agent>, then use it to build a map of <repo> and gather only the files and tests needed to <task>. Show me the context you gathered before editing anything.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "caveat": "The skill does not install the CLI; you need both. The installer may clone the repository temporarily to fetch the skill files.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "Cargo, Homebrew, or pip for the Python SDK; binaries are also on the releases page",
  "Git, Rust and Cargo only if you build from source",
  "Optional: the wayland feature flag for clipboard support on Wayland systems"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/mufeedvh-code2prompt/give-your-coding-agent-scoped-context/",
 "md": "https://dedupedai.com/use-cases/mufeedvh-code2prompt/give-your-coding-agent-scoped-context/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/mufeedvh-code2prompt--give-your-coding-agent-scoped-context.json",
 "api_version": "v1"
}
