Skip to content

Instantly share code, notes, and snippets.

View noseratio's full-sized avatar

Andrew Nosenko noseratio

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"
@codeninja
codeninja / Agent.py
Last active December 1, 2025 13:37
A Google ADK Agentic team to update mongoose from version 6 to version 8 in multiple repositories.
from google.adk.agents import Agent
from google.adk.events import Event
from google.adk.agents.invocation_context import InvocationContext
from google.genai.types import Content, Part
from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset
from google.adk.tools.mcp_tool import StdioConnectionParams, StreamableHTTPConnectionParams, SseConnectionParams
from google.adk.tools.agent_tool import AgentTool
from pydantic import BaseModel, Field
from mcp import StdioServerParameters
@philiplaureano
philiplaureano / llm-chat-demo.csx
Created August 17, 2024 05:02
A simple ChatGPT 4o-mini client, written with fsEnsemble in C# script. All you need to do is bring your own OpenAI key.
#r "nuget: OpenAI, 1.11.0"
#r "nuget: fsEnsemble, 0.1.5"
using System;
using System.Text;
using System.Threading.Channels;
using System.Threading.Tasks;
using OpenAI_API;
using OpenAI_API.Chat;
using OpenAI_API.Models;
@marvinhagemeister
marvinhagemeister / bind-plugin.ts
Last active June 8, 2025 06:48
Preact Signals `bind:value`
import { options } from "preact";
import { Signal } from "@preact/signals";
// Add `bind:value` to JSX types
declare global {
namespace preact.createElement.JSX {
interface HTMLAttributes {
"bind:value"?: Signal<string | string[] | number | undefined>;
}
}
@davidwhitney
davidwhitney / Container.test.ts
Last active May 2, 2023 11:34
TypeScript Really Simple DI
import { Container, Inject } from "./Container";
describe("Container", () => {
it("should be able to get a class", () => {
const container = new Container();
container.register(TestClass);
const result = container.get<TestClass>(TestClass);
@noseratio
noseratio / remove-unwanted-windows11-apps.ps1
Last active January 19, 2025 13:20
Windows 11 autorun resident apps that I have to remove manually
# Teams 2.0 (no work account support yet)
winget uninstall MicrosoftTeams_8wekyb3d8bbwe
# Your Phone
winget uninstall Microsoft.YourPhone_8wekyb3d8bbwe
# Widgets (Web Experience Pack)
winget uninstall MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
# Cortana
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Single File Web Component</title>
<style>
body {
background-color: #eee;
font-family: Helvetica, sans-serif;
}
@akarpov89
akarpov89 / InterpolatedParsing.cs
Created October 1, 2021 14:58
Interpolated parsing technique
using System.Runtime.CompilerServices;
using static ParsingExtensions;
string input = "Name: Andrew; Age: 31";
string? name = null;
int age = 0;
if (input.TryParse($"Name: {Placeholder(ref name)}; Age: {Placeholder(ref age)}"))
{
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
public class ReplayLimitedSubscriptionsSubject<T> : ISubject<T>
{
private readonly ISubject<T> _subject = new Subject<T>();
private readonly int _replayMaxSubscriptions;
private ReplaySubject<T> _replaySubject;
private int _subscriptionsCount = 0;
@MelbourneDeveloper
MelbourneDeveloper / JsonValue.cs
Created June 24, 2021 07:44
Json Data Structure
using System.Collections.Immutable;
namespace JsonDataStructure
{
public record JsonValue
{
public ValueType ValueType { get; }
public string? StringValue { get; init; }
public bool? BooleanValue { get; init; }