{
 "kind": "tool",
 "slug": "prompts",
 "path": "tools/prompts/",
 "name": "prompts",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Dev workflow and config",
   "tools/dev-workflow/"
  ]
 ],
 "lead": "Lightweight library for creating beautiful interactive command-line prompts.",
 "chips": [
  {
   "label": "Dev workflow and config",
   "path": "tools/dev-workflow/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install prompts"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/terkelg/prompts"
  },
  {
   "label": "Website",
   "href": "https://github.com/terkelg/prompts#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/terkelg/prompts"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change May 14, 2025",
   "note": "Latest GitHub release Oct 7, 2021. ",
   "src": "https://github.com/terkelg/prompts"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "11 projects",
   "status": "info",
   "sub": "#99 of 299 in its category",
   "note": "Dependency in 11 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What prompts does",
   "parts": [
    {
     "t": "prose",
     "text": "Lightweight library for creating beautiful interactive command-line prompts."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "prompts popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "68",
       "of": "/ 100",
       "l": "Gid Score, #480 overall"
      },
      {
       "n": "98.1M",
       "l": "downloads a week, npm"
      },
      {
       "n": "9,311",
       "l": "GitHub stars"
      },
      {
       "n": "11",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How prompts is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "prompts is a dependency in 11 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 48 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Commander (174 projects).",
      "Projects that use it most often also use tsx (41.7%), chalk (27.1%), dotenv (39.6%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "9 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "7 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 41.7% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 27.1% of its projects",
       "v": "chalk",
       "path": "tools/chalk/"
      },
      {
       "l": "In 39.6% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 72.9% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 20.8% of its projects",
       "v": "ts-node",
       "path": "tools/ts-node/"
      },
      {
       "l": "In 20.8% of its projects",
       "v": "Commander",
       "path": "tools/commander/"
      },
      {
       "l": "In 27.1% of its projects",
       "v": "Model Context Protocol SDK (JavaScript)",
       "path": "tools/modelcontextprotocol/"
      },
      {
       "l": "In 18.8% of its projects",
       "v": "Solana Web3.js",
       "path": "tools/solana-web3-js/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about prompts",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/terkelg",
        "2 GitHub sponsors"
       ]
      },
      {
       "title": "More in Dev workflow and config",
       "path": "tools/dev-workflow/",
       "items": [
        {
         "text": "dotenv",
         "path": "tools/dotenv/"
        },
        {
         "text": "Husky",
         "path": "tools/husky/"
        },
        {
         "text": "python-dotenv",
         "path": "tools/python-dotenv/"
        },
        {
         "text": "lint-staged",
         "path": "tools/lint-staged/"
        },
        {
         "text": "concurrently",
         "path": "tools/concurrently/"
        },
        {
         "text": "Rich",
         "path": "tools/rich/"
        },
        {
         "text": "Pydantic Settings",
         "path": "tools/pydantic-settings/"
        },
        {
         "text": "cross-env",
         "path": "tools/cross-env/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "prompts",
       "me": true,
       "facts": [
        "MIT",
        "Gid 68",
        "98.1M/wk"
       ]
      },
      {
       "name": "Commander",
       "why": "Complete Node.js solution for building command-line interfaces with minimal boilerplate.",
       "path": "tools/commander/",
       "facts": [
        "MIT",
        "Gid 82",
        "788M/wk"
       ]
      }
     ],
     "more": "Compare prompts with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install prompts"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for prompts yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm prompts"
  ],
  [
   "Category",
   "Dev workflow and config"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "68.2"
  ],
  [
   "Rank in category",
   "#99 of 299"
  ],
  [
   "GitHub",
   "terkelg/prompts"
  ],
  [
   "Last change",
   "May 14, 2025"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/terkelg.png"
}