← All projects
Learning resources

LangGPT

A structured, template-based way to write clear, reusable prompts for AI chatbots.

Research-backedNew this week

What it does

LangGPT is a method for writing prompts, the instructions you give an AI chatbot. Instead of loose tips, it offers a fill-in template with sections such as role, profile, goals, skills, rules and workflow.

Its makers say many popular chatbots already recognise the LangGPT style, so you can simply ask one to "write a prompt the LangGPT way". The project also shares example prompts, essays on prompt design and a skill for Claude Code.

Much of the extra material, such as the essays and example library, is written in Chinese.

Who it's for

Anyone who uses AI chatbots and wants more reliable results from their prompts.

Can I use it without coding?

Yes. You can use the template by copying it into any chatbot. The optional Claude Code skill takes a little setup. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Computer
An ordinary computer is fine
API key
Not needed

Try it

  1. Ask any major chatbot to write you a prompt the LangGPT way.
  2. Or copy the basic template from the project page and fill in the role, goals, rules and workflow for your task.
Official download page

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page or the official download page above. Copies with similar names exist for many popular projects.
  • License (Apache-2.0): Permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it