{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "dom96-killswitch--check-anagram-pairs",
 "repo": "dom96/KillSwitch",
 "repo_url": "https://github.com/dom96/KillSwitch",
 "repo_slug": "dom96-killswitch",
 "title": "Check whether two words are anagrams",
 "page_title": "How to check whether two words are anagrams with Kill Switch",
 "summary": "Use the built-in anagram command to test word pairs from a terminal.",
 "who": "A word-game player or puzzle maker who needs to confirm that two words use the same letters.",
 "problem": "Checking anagrams by hand is slow when you have many word pairs to compare.",
 "outcome": "The anagram command reports whether each pair of words is an anagram of the other.",
 "steps": [
  "Install the tool with `cargo install --path .` from the repo folder, or skip this if you will use cargo run.",
  "Run `killswitch anagram test tset` to check one pair.",
  "Run `cargo run -- anagram testly tsetly` if the tool is not installed.",
  "Repeat the command with each word pair you want to check."
 ],
 "agent_prompt": "Using the dom96/KillSwitch repo, run `cargo run -- anagram <word1> <word2>` for each pair in <word pair list>. Report the line the command prints for each pair. Verify that every reported result matches the letter counts of the two words.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README shows the anagram command only as a utility, so it is a side tool and not part of the language's programs.",
 "category": "Games and hobbies",
 "tags": [
  "Games and hobbies"
 ],
 "lang": "rust",
 "requirements": [
  "A Rust toolchain with cargo installed",
  "A terminal with access to the repo's files (clone of github.com/dom96/KillSwitch)",
  "A web browser for reading SPEC.md and the benchmarks site, if you use those use cases"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/dom96-killswitch/check-anagram-pairs/",
 "md": "https://dedupedai.com/use-cases/dom96-killswitch/check-anagram-pairs/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/dom96-killswitch--check-anagram-pairs.json",
 "api_version": "v1"
}
