{"id":"3cbed632-fc6d-4ea3-8038-9c562dc7538a","shortId":"kwYTXe","kind":"skill","title":"Remove unused Rust dependencies before they quietly bloat builds and reviews with cargo-machete","tagline":"Use cargo-machete when an agent needs to find and remove unused Rust dependencies before they keep inflating build time, review noise, and manifest drift.","description":"# Remove unused Rust dependencies before they quietly bloat builds and reviews with cargo-machete\n\nUse cargo-machete when an agent needs to find and remove unused Rust dependencies before they keep inflating build time, review noise, and manifest drift.\n\n## Prerequisites\n\nRust toolchain, Cargo project, and shell access for dependency scans and cleanup edits.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- cargo-machete is a Cargo tool that detects unused dependencies in Rust\n- cargo install cargo-machete\n- Run cargo-machete in a directory that contains one or more Rust projects (using Cargo for\n- cargo machete /absolute/path/to/my/directory\n\nRequirements and caveats from upstream:\n- ## Docker Image\n- A docker image for cargo machete.\n\nBasic usage or getting-started notes:\n- dependency management):\n- bash\n- cd my-directory && cargo machete\n\n- Source: https://github.com/bnjbvr/cargo-machete\n- Extracted from upstream docs: https://raw.githubusercontent.com/bnjbvr/cargo-machete/HEAD/README.md\n\n## Documentation\n\n- https://github.com/bnjbvr/cargo-machete#readme\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete/)","tags":["remove","unused","rust","dependencies","before","they","quietly","bloat","builds","and","reviews","with"],"capabilities":["skill","source-agentskillexchange","skill-remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,286 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:12:04.761Z","embedding":null,"createdAt":"2026-05-18T13:18:50.014Z","updatedAt":"2026-05-18T19:12:04.761Z","lastSeenAt":"2026-05-18T19:12:04.761Z","tsv":"'/absolute/path/to/my/directory':146 '/bnjbvr/cargo-machete':179 '/bnjbvr/cargo-machete#readme':190 '/bnjbvr/cargo-machete/head/readme.md':186 '/skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete/)':197 'access':90 'agent':22,63,192 'agentskillexchange.com':196 'agentskillexchange.com/skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete/)':195 'bash':169 'basic':160 'bloat':8,49 'build':9,35,50,76 'cargo':14,18,55,59,86,110,114,122,125,129,142,144,158,174 'cargo-machet':13,17,54,58,109,124,128 'caveat':149 'cd':170 'cleanup':95 'contain':135 'depend':4,30,45,71,92,119,167 'detect':117 'directori':133,173 'doc':183 'docker':152,155 'document':187 'drift':41,82 'edit':96 'environ':108 'exchang':194 'extract':180 'find':25,66 'get':164 'getting-start':163 'github.com':178,189 'github.com/bnjbvr/cargo-machete':177 'github.com/bnjbvr/cargo-machete#readme':188 'imag':153,156 'inflat':34,75 'instal':97,101,123 'keep':33,74 'machet':15,19,56,60,111,126,130,145,159,175 'manag':168 'manifest':40,81 'match':106 'my-directori':171 'need':23,64 'nois':38,79 'note':166 'one':136 'path':104 'prerequisit':83 'project':87,140 'quiet':7,48 'raw.githubusercontent.com':185 'raw.githubusercontent.com/bnjbvr/cargo-machete/head/readme.md':184 'remov':1,27,42,68 'requir':147 'review':11,37,52,78 'run':127 'rust':3,29,44,70,84,121,139 'scan':93 'setup':103 'shell':89 'skill':193 'skill-remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete' 'sourc':176,191 'source-agentskillexchange' 'start':165 'time':36,77 'tool':115 'toolchain':85 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'unus':2,28,43,69,118 'upstream':100,151,182 'usag':161 'use':16,57,98,141","prices":[{"id":"1dbae3c5-978b-4af2-bdcc-ab87b63a6b59","listingId":"3cbed632-fc6d-4ea3-8038-9c562dc7538a","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:18:50.014Z"}],"sources":[{"listingId":"3cbed632-fc6d-4ea3-8038-9c562dc7538a","source":"github","sourceId":"agentskillexchange/skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete","isPrimary":false,"firstSeenAt":"2026-05-18T13:18:50.014Z","lastSeenAt":"2026-05-18T19:12:04.761Z"}],"details":{"listingId":"3cbed632-fc6d-4ea3-8038-9c562dc7538a","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"87e440904be6a06998281ea39bf548ca0920bd58","skill_md_path":"skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Remove unused Rust dependencies before they quietly bloat builds and reviews with cargo-machete","description":"Use cargo-machete when an agent needs to find and remove unused Rust dependencies before they keep inflating build time, review noise, and manifest drift."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/remove-unused-rust-dependencies-before-they-quietly-bloat-builds-and-reviews-with-cargo-machete"},"updatedAt":"2026-05-18T19:12:04.761Z"}}