Skip to content

Instantly share code, notes, and snippets.

View joshcartme's full-sized avatar

Josh Cartmell joshcartme

View GitHub Profile

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@joshcartme
joshcartme / gist:3943826
Created October 24, 2012 04:26
cartridge order setup which adds in tax total
def custom_order_setup(self, request):
"""
Set order fields that are stored in the session, item_total
and total based on the given cart, and copy the cart items
to the order. Called in the final step of the checkout process
prior to the payment handler being called.
Adds tax to the order total.
"""
self.key = request.session.session_key
self.user_id = request.user.id