{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "goodnight000-api-anything--map-site-from-intent-with-agent",
 "repo": "goodnight000/api-anything",
 "repo_url": "https://github.com/goodnight000/api-anything",
 "repo_slug": "goodnight000-api-anything",
 "title": "Let an agent map a site's operations from your goal",
 "page_title": "How to let an agent map a site's operations from your goal with API Anything",
 "summary": "Describe what you need from a site and let the skill propose, scout and build the operations.",
 "who": "A developer using a coding agent who wants a set of reusable site operations without designing each request themselves.",
 "problem": "Finding the right requests across many pages of a site is slow, and reading full responses fills the agent's context.",
 "outcome": "A set of operations for the goal, each checked with an input that was not one of its examples.",
 "steps": [
  "Paste `Set up API Anything for me: https://github.com/goodnight000/api-anything/blob/main/INSTALL.md` into your coding agent.",
  "Describe the data you want from the site, and answer the agent's questions about what is unclear.",
  "Approve the proposed operations when the agent asks.",
  "Ask the agent to run `capture --outline` on each page so it reads summaries, not full responses. (inferred, check the README)",
  "Restart the agent and ask it a question that uses the new operations."
 ],
 "agent_prompt": "Using the api-anything repo at github.com/goodnight000/api-anything and its skill, map the operations needed to answer <goal> from <site>. Expected output is a list of approved operations, each with a working call. Verify that each operation is tested with an input that was not used as an example.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README's Goodreads example took 6.3 minutes and $1.19 for one run, and the agent's approach works only for the operations it was taught.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node 22.13 or newer",
  "git, to clone the repository",
  "Google Chrome, or another Chromium browser set with API_ANYTHING_BROWSER, for creating operations",
  "A coding agent such as Claude Code or Codex, if you want the agent to call operations over MCP",
  "The GitHub CLI, only if you plan to publish a spec"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "reverse-engineering",
   "notice": "The agent records and rebuilds a site's page requests, so confirm the site's terms allow this before you map it."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/goodnight000-api-anything/map-site-from-intent-with-agent/",
 "md": "https://dedupedai.com/use-cases/goodnight000-api-anything/map-site-from-intent-with-agent/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/goodnight000-api-anything--map-site-from-intent-with-agent.json",
 "api_version": "v1"
}
